Questions tagged [debugging]
Finding problems in a program and trying to solve these.
202 questions
3
votes
2
answers
66
views
convenient way to get a shell with a systemd unit file restrictions?
assuming a modern linux host, is there any convenient way to spawn an interactive shell in the exact context systemd would use for a unit/service?
alternatively, any way to attach a shell to a running ...
0
votes
1
answer
323
views
Logs are not being printed out to the wildfly console
I got a problem with my wildfly server. I a trying to print logs, but they are not showing whatever changes to wildfly log configurations I am making. Here is the code with the initial class that runs,...
1
vote
0
answers
99
views
Strange interaction between UserDir and RedirectMatch in Apache (redirecting multiple slashes)
I have an Apache server (version 2.4.62-1~deb12u2 from Debian 12 “Bookworm”, currently the stable version of Debian) serving a site http://www.example.tld/ with UserDir activated, so http://www....
0
votes
0
answers
499
views
How to debug gpupdate?
My gpupdate can take upto 10 minutes to run instead of 40s.
How can I debug gpupdate ? :
PS C:\> ~/psh/time.ps1 gpupdate
Updating policy...
Computer Policy update has completed successfully.
User ...
0
votes
1
answer
268
views
Why dovecot use "postfix_accounts.users" to retrieve mail user information after username/password auth?
I had set up a mail server in my Rocky Linux 9.1 that comes with postfix, dovecot and mysql (refer to https://computingforgeeks.com/how-to-setup-mail-server-on-centos/).
Every thing is updated. (...
4
votes
2
answers
5k
views
Debugging Prometheus OOMkilled despite 6Gi limits
I'm at the end of my patience with a prometheus setup leveraging kube-prometheus-stack 44.3.0 (latest being 45).
I have two environments, staging and prod. In staging, my prometheus runs smoothly. In ...
2
votes
1
answer
30k
views
Tips to Debug CURL with a client - (56) Recv failure: Connection reset by peer site
A client of mine is trying to connect to our site via CURL. The command they are running is:
curl -Ik example.com
The response they receive is:
(56) Recv failure: Connection reset by peer site
They ...
1
vote
1
answer
591
views
jcmd works in console but fails in script
I'm getting mad with what should be a simple task: a java process is running, runs out of memory and a script runs.
SELinux is disabled.
in setenv.sh :
-XX:OnOutOfMemoryError='/opt/alfresco/scripts/...
1
vote
0
answers
3k
views
How can I see which commands ansible runs and their output?
I'm new to Ansible, and yes I know this has already been asked many times, but I already tried to apply advice I saw elsewhere.
I did export ANSIBLE_STDOUT_CALLBACK=debug and then ansible-playbook -...
1
vote
0
answers
879
views
Can Premature end of script headers be properly debugged? (getting the real error message?)
We are getting
[Wed Aug 25 15:06:05.484053 2021] [proxy_fcgi:error] [pid 24792:tid 140550620227328] [client xxxx:40224] Premature end of script headers: index.php, referer: https://www.example.com/
[...
0
votes
0
answers
1k
views
Debugging "upstream prematurely closed FastCGI request while reading upstream"
I am running an nginx + php-fpm setup. I recently ran into problem returning binary data to the Nginx server. Nginx show this in the error log:
2021/08/04 19:22:27 [error] 996463#996463: *1 upstream ...
1
vote
1
answer
2k
views
/etc/login.defs settings not taken into account: password aging
The following is done on a Ubuntu 20.04 system.
This is the scenario where I am facing an issue:
I edit the password aging settings in the login.defs file
Then I change the password of the user with ...
2
votes
1
answer
1k
views
How to get line number of error that .htaccess apache2 is reporting in /var/logs/error.log
I get a internal server error after adding redirects to .htaccess - I've added 600 of them.
I check /var/logs/error.log
[Wed May 12 16:26:02.600394 2021] [core:alert] [pid 8071] [client 127.127.127....
2
votes
1
answer
20k
views
What does `Accept-Encoding: gzip,deflate` mean?
Can someone explain what it means when I see Accept-Encoding: gzip,deflate when listening with ncat?
Does it mean the body is compressed? And if so, how can I decompress it?
$ nc -lnvp 4000
Ncat: ...
0
votes
0
answers
188
views
Is it possible to install Windows Debugging Tools via Powershell?
I've installed LeanSentry on one of my web servers to try and diagnose some performance issues I've been having. I need to install Windows Debugging Tools (from the Windows SDK) to get some memory ...