Questions tagged [debug]
The debug tag has no usage guidance.
64
questions
1
vote
0
answers
58
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
55
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 ...
3
votes
1
answer
262
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
275
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 ...
0
votes
0
answers
66
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
6k
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
...
4
votes
1
answer
6k
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-...
0
votes
1
answer
337
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
684
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 ...
1
vote
0
answers
83
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
460
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
43
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
732
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
495
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
536
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, ...
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....
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 -...
5
votes
2
answers
32k
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
23k
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 ...
27
votes
4
answers
70k
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 ...
5
votes
1
answer
523
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: ...
0
votes
1
answer
27
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.
...
6
votes
3
answers
63k
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 ...
157
votes
6
answers
287k
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)
...
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 ...
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 ...
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?...
3
votes
1
answer
693
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 ...
29
votes
2
answers
101k
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 ...
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
670
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
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
54
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 ...
0
votes
1
answer
783
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 ...
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 ...
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 ...
1
vote
1
answer
166
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 ...
0
votes
2
answers
821
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
690
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 ...
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 ...
-2
votes
1
answer
62
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 ...
0
votes
2
answers
2k
views
Debug VPN latency
Our openVPN VPN is having random latency issues (in particulier with ssh and smb).
How can I determine the cause of this latency? Can I play on the MSS with iperf for example, and how?
0
votes
1
answer
272
views
Debug kernel booting to blank screen
I have a machine which works fine with the precompiled 'generic' ubuntu kernel (3.0.0-13) but when I try to boot up the precompiled 'virtual' ubuntu kernel (3.0.0-13) it just puts me on a blank screen ...
2
votes
2
answers
14k
views
How to see PHP error stack trace/dump?
Currently my web application can print error when host on my local machine.
When I host it on Amazon EC2 server. The error page is empty/blank.
I want to see the error stack trace when run on EC2, ...
1
vote
2
answers
4k
views
Postfix still trying to send spam despite closing open relay [duplicate]
I have a small server at home, which has postfix installed. It's only use is to return the results of cronjobs and email out externally for a few other scripts. I use my ISP's mail server as a relay ...
1
vote
2
answers
413
views
How to analyze system calls when your disk is in read only and strace output is "Bus error"?
We have a HW problem with the disks, that made all the mount points to be read only. Output of dmesg:
end_request: I/O error, dev sda, sector 15574609
sd 0:0:0:0: SCSI error: return code = 0x00040000
...