Questions tagged [debug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
25 votes
6 answers
113k views

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 ...
0 votes
0 answers
16 views

Where can I find the output of exim's 'debug_print'? -- years later

There is an old thread: Where can I find the output of exim's 'debug_print'? (so yes I did search for existing questions, I did find an exact match , but I'm not allowed to comment + it's ...
1 vote
1 answer
2k views

How to enable debug logging for GRE?

How to enable debug logging for module ip_gre on linux 2.6?
5 votes
3 answers
34k views

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 ...
1 vote
0 answers
191 views

View logs from short lived containers in docker stack

Similar to this question, but with the intricacies of the docker stack added. While debugging short lived containers on vanilla docker is "easy", you just do docker logs -f "...
0 votes
0 answers
94 views

Disable Cisco Router syslog messages

I am trying to disable syslog messages from showing in my cisco 1kv tty. The conundrum is terminal monitor has a single command to set the logging level #logging terminal <severity>, and if I ...
27 votes
4 answers
71k views

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 ...
3 votes
1 answer
433 views

How to debug Ansible dict for failed ports with wait_for module?

I have written the below playbook to fetch the failed port status. - name: Check port status wait_for: host: 127.0.0.1 port: "{{ item }}" timeout: 2 state: started ...
1 vote
1 answer
534 views

How to debug what Windows Admin Center is doing?

I'm having issues with Windows Admin Center and the user interface doesn't really help troubleshooting them; thus I'd like to have a closer look at what WAC is actually doing with the servers it ...
157 votes
6 answers
304k views

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) ...
42 votes
7 answers
109k views

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 ...
0 votes
0 answers
73 views

Errors blocking WP admin access and when attempting debugging in host Google Cloud Platform

Wordpress VM instance site in Google Cloud Platform is showing an error message which links to debug information, tried the steps in SDK from a tutorial, but not working, not experienced enough to ...
1 vote
1 answer
8k views

Ansible print debug message result variable

I have a simple task that I cannot overcome. I have a playbook that returns AWS EC2 instance configuration. I need to only print (display) private_ip_address. Here my playbook --- - hosts: local ...
29 votes
2 answers
107k views

check port open without telnet [closed]

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 <destination> and know it was there, even if telnet could not ...
4 votes
1 answer
7k views

centos 8: debuginfo-install can't find kernel-debuginfo package

I have a machine with CentOS-8 installed, kernel shipped with it is 4.18.0. I need to install debiginfo package: % sudo dnf debuginfo-install kernel-4.18.0-193.19.1.el8_2.x86_64 enabling epel-modular-...
1 vote
3 answers
2k views

How to get a debug output from the find command?

I have the following find command: find /home/ -type d -name "something" what I want to achieve is to know which directory/file is checked by the find command no matter the fact that it does or ...
0 votes
0 answers
87 views

pt-pmp fails to run on percona 5.5 ubuntu 12.04

Command: [mysql] root:/mnt# pt-pmp --pid 16898 Wed Dec 7 18:41:51 UTC 2016 warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffd4126000 18 libaio::??(libaio....
0 votes
1 answer
367 views

Memory level for Ceph logs. What's this for?

I want to increase the logging level of some OSDs, but I don't understand what the memory level is for. I didn't find an exact explanation in the documentation. Is there a need to increase this level? ...
1 vote
0 answers
761 views

Git pull in Powershell and how to get the output of a command

I am pretty new to using PowerShell for automation. I want to ssh into a machine, and run a git pull in it. This works when I do it through the powershell manually, but not when I automate it through ...
2 votes
2 answers
7k views

Help trying to figure out why IIS7 is crashing / locking up / denying connections

I've got a pretty busy website that is running on a single web front end machine, on W2K8 + IIS7. Every now and then - eg. maybe monday at 3am or something, then a few days later .. some early ...
1 vote
1 answer
567 views

Crash utility exit with error in Rhel6.6

Crash utility fails with below error. crash /usr/lib/debug/lib/modules/2.6.32-504.el6.x86_64.debug/vmlinux vmcore crash 6.1.0-5.el6 Copyright (C) 2002-2012 Red Hat, Inc. Copyright (C) 2004, 2005, ...
1 vote
0 answers
91 views

deep debug/monitoring LSI RAID cotroller

I happen to be I stile use LSI RAID controller for Lustre file system in Centos 5. Sometimes Lustre have file system have failure. In my opinion it can be connected with working LSI RAID controller ...
1 vote
1 answer
2k views

Using ftrace to spy on files being created?

We are in this scenario: https://stackoverflow.com/questions/7304826/how-to-debug-a-multithreaded-hung-process-in-linux When we try to look at a rogue process (which is consuming 100% CPU) then it's ...
1 vote
0 answers
521 views

ProFTPD options: how to debug

Within a Red Hat Enterprise Linux Server release 7.6 (Maipo) I would like to use the module mod_ban in order to set a ClientConnectRate event. The service is started as: systemctl start proftpd ...
0 votes
1 answer
48 views

IIS10 PHP 7.04 pass through and show everything

I'm using internet information server 10,and I have an error in php. I can't debug using "echo", because IIS10 cancel all the html render if an error has been found. PHP.ini: cgifix_pathinfo=1 ...
0 votes
1 answer
761 views

What does "grabbed scoreboard slot" mean when running Apache in debug mode?

I am running Apache 2.2 in debug mode, and I see that the error_log constantly shows the following: [Tue Dec 19 10:02:06 2017] [debug] proxy_util.c(1909): proxy: grabbed scoreboard slot 0 in child ...
0 votes
1 answer
534 views

Interpreting a Deadlock Log / XDL file

I've generated the following XML + XDL: <deadlock> <victim-list> <victimProcess id="processc1eaf13468" /> </victim-list> <process-list> <process id="...
1 vote
1 answer
7k views

Enabling javax.net.debug=all on Tomcat 8 breaks HTTPS with "EC AlgorithmParameters not available"

In troubleshooting an issue with my Tomcat servlet I decided to enable network debugging by editing /var/apache-tomcat-8.5.5/bin/setenv.sh and changing the line export JAVA_OPTS="-Xms512m -Xmx1536m -...
1 vote
0 answers
24k views

TCP traceroute to specific port?

Is it possible to use tcptraceroute to probe a certain port? The documentation in the man pages seems to suggest that the '-p' port flag is for UDP, and when used with tcptraceroute, is for specifying ...
5 votes
1 answer
3k views

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 ...
5 votes
1 answer
553 views

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 ...
6 votes
1 answer
2k views

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: ...
1 vote
3 answers
4k views

Display "iftop" on web

I do iftop -i eth1 > out.txt It does produce the file with "encrypted" UI content such as [(B[)0[[1;80r[[mO[[?7h[[?1h[=[[H[[J[[0;7mO Listening on eth1 [[1;48H[[mO12.5Kb Is it possible to display ...
0 votes
1 answer
35 views

Determine slow/problematic peer in network

Is it possible to see which peer in the network along the way to the actual server is slowing internet speed? On the server i'm testing internet speed and it's very very good, but from office it's ...
1 vote
0 answers
1k views

How to proceed in analyzing IIS 7.5 Debug Diagnostic Tool dump from w3wp.exe thread crash from Windows Process Activation Service

I am using the Debug Diagnostic Tool (DebugDiag v1.2) on a few production Windows Server 2008 R2 Standard servers running a custom web application built in-house on IIS 7.5 to create crash dump files. ...
1 vote
1 answer
169 views

Different Linux Distributions Producing Different Machine Generated Code [closed]

I have a very interesting and frustrating issue. The company that I work for uses an application to do simulation and verification for electrical engineering. This application produces output based ...
2 votes
1 answer
2k views

Where are the available debug tokens for the Net-SNMP tools listed?

In snmpcmd(1), under "Generic Options", it says, -D[TOKEN[,...]] Turn on debugging output for the given TOKEN(s). Try ALL for extremely verbose output. What tokens ...
3 votes
1 answer
709 views

ISC DHCPD memory leak solutions and or workarounds

Background: I have recently been put in charge of finding the root of and/or fixing a memory leak with an ISC DHCPD (4.2.5-P1) installation on a Debian (Lenny) Unix server. I have been researching ...
6 votes
3 answers
66k views

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 ...
1 vote
1 answer
1k views

How to analyze a windows system hang (not crash)

I've got a customer with intermittent System hangs. The System in case is a Windows Terminal Server 2008R2 SP1. Sometimes one session in the Server will freeze. Everyone else can work as usual, but ...
0 votes
1 answer
3k views

w3wp.exe crash (rewrite.dll) IIS 7.5

I'm experiencing several crashes in the last days on our production server and I can't figure out how to fix this issue. The server hosts an ecommerce application, written in classic ASP, that runs ...
0 votes
1 answer
678 views

mongodb : Can create new thread on FreeBSD?

We experienced some strange thing in our mongodb gridfs platform. The platform actually is a bi Xeon E5 (bi quad core) with 128GB of memory, running on freebsd 9 with a zfs pool dedicated for mongodb. ...
1 vote
1 answer
3k views

tail command not updating output for debug files

I know that tail -f /var/log/messages will be keep updating on screen as the contents of file gets updated. But when I tried the same thing with a debug file system's file it is not working , any idea?...
0 votes
1 answer
57 views

How to prevent printing of "debug path" in stdout?

Sys Vers: ubuntu precise 12.04 LTS I seem to have a config setting that forces an executable to log to stdout (or stderr) the current directory it walks through. All commands execute successfully ...
1 vote
1 answer
2k views

Windows DNS Debug Logging Performance Impact

Similar to this question, Logging DNS requests on a windows DNS resolver, I am curious how much of a performance hit/impact enabling DNS Debug Logging will have on a server. Per the Microsoft links, ...
0 votes
1 answer
829 views

Building debuginfo RPM at alternate prefix

I have an RPM that I'm building to install at an alternate root via %define _prefix /home/other/root This works fine for the binary package. The -debuginfo package, however, still lists all of its ...
0 votes
2 answers
840 views

why nginx rewrite post request from /login to //login?

There is a if statement, which will rewrite url when the client is Android. Everything ok. But, something got strange. Nginx will write post request /login to //login, even if the block of if ...
4 votes
1 answer
717 views

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", ...
6 votes
1 answer
8k views

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 ...
-2 votes
1 answer
66 views

Whom to request debug analysis assistance from Microsoft? [closed]

I believe our organization has a MSDN subscription from Microsoft. While scouring the Internet for information to assist with crash dump analysis I noticed a post stating that there is some limited ...