Questions tagged [debug]

60 questions
1
vote
3 answers

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 does not match the name I have set. Basically I want…
1
vote
1 answer

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? I tried ftrace and tried this: tail -f trace…
kumar
  • 423
  • 2
  • 9
  • 23
1
vote
1 answer

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 this one user can't log in again, the session can…
Sam
  • 909
  • 4
  • 15
  • 26
1
vote
1 answer

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,…
John
  • 2,266
  • 6
  • 44
  • 60
1
vote
1 answer

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 could I use besides ALL? What do the tokens mean?…
neirbowj
  • 289
  • 2
  • 9
1
vote
1 answer

Different Linux Distributions Producing Different Machine Generated Code

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 on a random seed. Once you have the random seed…
Nick
  • 37
  • 3
1
vote
3 answers

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 this as a web xhtml output somehow? cat out.txt on my…
DmitrySemenov
  • 755
  • 2
  • 14
  • 27
1
vote
2 answers

Postfix still trying to send spam despite closing open relay

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 host. It recently came to my attention that the…
yoda230
  • 191
  • 2
  • 7
1
vote
2 answers

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 We want to analyze a program that is currently…
ompemi
  • 13
  • 3
1
vote
1 answer

Tools to help identify unknown server issue

We've been struggling to identify a issue where all our bespoke systems crash at least once a day. We haven't changed all our systems to we're trying to pin down what else has changed which is resulting in all of these crashes. We're also doing…
1
vote
1 answer

PHP server --enable-debug side effects

Is it safe to compile php with --enable-debug on a production environment server? Which could be the consequences?
Andras Gyomrey
  • 204
  • 1
  • 3
  • 7
1
vote
1 answer

Asterisk debug dialplan with incoming number and callerid

How to debug dialplan with incoming CallerID ? im haveing context [pstn] with incoming _1000 number and CallerID = 123123123 ("external number of calling person") How can i locally check this situation? solution like dialplan show 123123123@pstn…
MealstroM
  • 1,517
  • 1
  • 16
  • 31
1
vote
1 answer

How to enable debug logging for GRE?

How to enable debug logging for module ip_gre on linux 2.6?
Boris
1
vote
1 answer

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 connection: local gather_facts: false become:…
housemd
  • 15
  • 1
  • 4
1
vote
0 answers

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 the code. What I have is: $Password =…
user2116599
  • 111
  • 2