Questions tagged [debug]
60 questions
146
votes
5 answers
How can I debug a docker container initialization?
I had an issue with a container, even though it builds perfectly it does not properly start. The cause is a workaround I've added to the Dockerfile (for having a self-configured /etc/hosts routing)
RUN mkdir -p -- /lib-override /etc-override && cp…
estani
- 2,011
- 2
- 17
- 12
40
votes
7 answers
Switch on PAM debugging to Syslog
How do I switch on PAM debugging in Debian Squeeze at the admin level?
I have checked every resource I was able to find. Google, manpages, whatever. The only thing I haven't tried yet (I simply not dare to, did I mention that I hate PAM?) is…
Tino
- 1,103
- 1
- 12
- 16
29
votes
2 answers
check port open without telnet
What do people use when Telnet is not installed to check a port is open and reachable? E.g. I used to use the technique of telnet and know it was there, even if telnet could not interact with the system on the other end.
With Windows…
Karl
- 437
- 1
- 4
- 8
26
votes
4 answers
Ansible: Is it possible to "cat file" and export it's output to screen while playing a playbook and not as debug?
I wrote a playbook which installs and configures Google Authenticator per user.
I want the last step of the playbook to cat the google_authenticator configuration file.
Using the "debug" module I am able to get the data to be displayed on screen but…
Itai Ganot
- 10,424
- 27
- 88
- 143
19
votes
6 answers
How can I enable logging for requests going through mod proxy
Is there a way to log requests going through mod proxy? I need a way to debug my configuration, because I don't seem to be getting where I should be. I need the following information:
headers of incoming requests
what is being sent to the proxy…
Kariem
- 501
- 2
- 6
- 14
8
votes
6 answers
What is the maximum memory that an IIS6 web site/app pool can use?
I have an IIS 6 server running on Windows 2003 SP2 x86. The server has 4GB of RAM and runs consistently with 2GB allocated.
I realise that with x86, the server won't utilize all of the 4GB RAM and the application space is also limited but the IIS…
Robin M
- 453
- 2
- 8
- 14
7
votes
3 answers
How to troubleshoot Windows? Post your checklist
There is sometimes a situation when Windows suddenly goes crazy: is slow, unresponsive, some things don't work, it crashes. I wonder how do you approach diagnosing those issues.
I'm merely a programmer, not really knowing Windows too deply. There is…
ya23
- 491
- 1
- 5
- 9
6
votes
1 answer
Bash to start missing debugger after update to 4.2
I'm on Centos 7.2. Yesterday I've made an update of bash to version bash-4.2.46-19.el7.x86_64 and now on login I get this:
-bash: /usr/share/bashdb/bashdb-main.inc: No such file or directory
-bash: warning: cannot start debugger; debugging mode…
Konstantin
- 161
- 4
6
votes
1 answer
Java process (OpenDS) consumes all cpu (futex flood) - how to debug futex?
Today I noticed that my LDAP server (OpenDS) consumes 100% CPU on every available core. Fast diagnose showed me that there is a lot of ETIMEDOUT during the futex lock.
How Can I debug it to figure out what is happening and how to fix…
bluszcz
- 409
- 1
- 6
- 16
5
votes
1 answer
Strange behaviour ssh -> bash --> (tty no echo) --> c program?
At job we have an old C program which works with industrial hand terminals from Honeywell.
That terminal has its own ssh client to connect to a linux redhat 6.6 server. Once it is connected to the linux box (using a certain user), a C program is…
user3834683
- 61
- 3
5
votes
3 answers
How to find out the cause of linux server crash after rebooting
Here is the deal,
come to work only to find out one server isn't responding at all, the machine is turned on, but the screen doesn't show anything att all, doesn't respond to keyboard inputs (I don't have sys rq keys enabled).
The server needs to be…
zidarsk8
- 384
- 1
- 3
- 12
5
votes
1 answer
Analyzing BSOD dump file from Windows 2008 R2 SP1
I have a problem with a virtual Windows Server 2008 R2 SP1 server running withing VMWare. The server is running Citrix and also has Symantec Endpoint protection installed. It randomly crashes and goes to BSOD.
Investigating the event log didn't…
user176320
- 139
- 2
- 4
- 11
4
votes
2 answers
How to send Ansible debug messages to another file?
If you do the following:
- name: print to stdout
command: echo "My log information"
register: logdata
- debug: msg="{{ logdata.stdout }}"
The logdata register variable's contents will be displayed along with the complete ansible log. I would…
0aslam0
- 141
- 1
- 1
- 6
4
votes
1 answer
Why does strace open, read 512 bytes, and THEN fstat libncurses?
I've got the following strace output that I'm going through to teach myself a little more about the flow of programs. Here's the section that's confusing me:
16:08:02 open("/lib/libncurses.so.5", O_RDONLY) = 3 <0.000046>
16:08:02 read(3, "\x7f\"...,…
MLACitation
- 43
- 3
4
votes
3 answers
Identifying a process that leaks memory
On a linux server (Ubuntu Lucid), my used swap keeps growing by the hour on a server, and I'm having a hard time identifying which process is growing in swap.
What tool can I use to monitor this?
raphink
- 11,337
- 6
- 36
- 47