Finding problems in a program and trying to solve these.
Questions tagged [debugging]
202 questions
3
votes
1 answer
What are the first steps to debug nginx default page not showing on fresh Ubuntu vm install?
On a fresh Ubuntu 14.04 virtual machine I've run the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nginx
sudo service nginx start
In a browser, if I go to the VM's ip or domain the default nginx page is not…

Shwaydogg
- 151
- 1
- 7
3
votes
3 answers
Identifying "Lock Timeout" errors on SQL Server 2000
Our ERP software uses a SQL Server 2000 database. When we run a specific task on the software that used to take few seconds, a 300 seconds delay happens and SQL Server returns the error "Lock Timeout. SQL Server connection timeout".
I tried to…
e686e4d0
3
votes
1 answer
How do you disable Just-in-Time debugging messages?
In a relatively new installation of Windows Server 2008 R2, there are occasional popup messages about Just-in-time debugging. These may come up in w3wp.exe when a search bot accesses an aspx application. These messages are local Windows popups, not…

xpda
- 151
- 2
- 10
3
votes
2 answers
View headers of HTML requests to apache
Is there a good way of viewing a detailed version of incoming requests to apache? At the minimum I'd like to check for the existence of a specific header and check its value. Requests are not coming from a browser, so it's tricky to view them…

AlexMA
- 133
- 1
- 1
- 6
3
votes
1 answer
Investigating a potential CPU failure
On a Ubuntu server that I am using for computations I have recently observed that some CPU extensive programs (GUROBI,CPLEX) often segfault.
Being in correspondence with tech support of the respective programs I was suggested that it may be a…

Jernej
- 133
- 5
3
votes
1 answer
Windows 2003 r2 reboots after a few seconds from initiated
I'm having troubles with a virtual machine on a ESXi running windows server 2003 r2. The problem is that every time it initiates and displays the login window, the machine reboots with no warnings, no alerts, no bsod either. It doesn't matter what I…

kique
- 31
- 1
3
votes
1 answer
Windbg: Can't get next object after a Free object
I know that fragmentation typically occurs when an object collected by
garbage collection is marked as a "free" block, but the object
occupying the next address space is pinned. I can get a list of Free
objects, but cannot seem to find out what is…

Jeff Costa
- 481
- 3
- 9
3
votes
3 answers
debugger in bash
I use
sh -xv my_script.sh
to debug the /bin/sh script.
How do I debug /bin/bash scripts?
I am getting the following error and I need to know the line that needs to edit.
# ./batch_master.sh
'@'10.10.10.10.' (using password: NO)user 'companycuser

shantanuo
- 3,579
- 8
- 49
- 66
3
votes
2 answers
Debugging perceived network saturation
I'm having a network issue where one machine is saying it is sending data at a rate of 150 Mbit/s but the other machine is receiving at a mere 100 Mbit/s. The sending application eventually crashes, complaining of being out of memory (it's actually…

Fylke
- 133
- 1
- 6
3
votes
1 answer
Debug 500 Internal Server Error on IIS
Might be a n00b question.
I have an IIS server with a site where I can host our website. But if I host the same website as an application in an existing site, it gives us a 500 error.
But my question is how do I go about debugging it? Event logs…

Xster
- 133
- 1
- 1
- 4
3
votes
3 answers
Are there any risks to enabling SQL Debugging
In our current environment, developers are not allowed to use SQL Debugging against any of the QA servers. It's not clear to me why the decision was made.
What factors should be considered to decide in favor or against enabling SQL debugging?
I'm…

Euro Micelli
- 133
- 2
- 5
3
votes
2 answers
How do I figure out what is changing the userWorkstations attribute in Active Directory?
I just took over the IT for a medium sized business with a three domain controllers (2003/2008 Standard) and whenever I create a new user, after some time the user account cannot log into most machines on the network. I have traced this back to the…

Martin
- 131
- 4
2
votes
1 answer
iis 7 worker process memory leaks / hangs
From my diagnosis the worker process stops responding randomly, the server becomes very slow with 100% cpu utilization. I'm not certain but I think its because of w3wp.exe process which is my app pool.
At this time, no websites respond, I have to…

hadi
- 56
- 1
- 5
2
votes
2 answers
how to debug/troubleshoot collectd?
I have an issue with custom script using exec plugin. From shell the script works well and nothing useful in /var/log/collectd.log.
LoadPlugin logfile
LogLevel info
File "/var/log/collectd.log"
Timestamp…

Putnik
- 2,217
- 4
- 27
- 43
2
votes
0 answers
How to reliably capture Linux kernel log messages in case of a system debilitating crash (BUG, panic)?
I'd like to have access to the lines/tracebacks/whatever whispered by the kernel right before dying. This has proven problematic, because all interfaces I have access to become disabled. Post-reboot, systemd journal has not been able to record…

lkraav
- 786
- 1
- 8
- 22