Questions tagged [debugging]

Finding problems in a program and trying to solve these.

Filter by
Sorted by
Tagged with
1 vote
1 answer
548 views

Can only debug once

I can only debug a query once, after that I get this error and have to restart Management Studio. Unable to start T-SQL Debugging. Could not connect to computer '(local)'. The requested name is ...
0 votes
2 answers
156 views

How to debug Apache issue or upgrade Apache

Something (dunno what, perhaps GIT which I just upgraded) is causing my connection to loalhost to work veeeery slowly. Using WinXP Pro. I was thinking to upgrade Apache, but could not figure out ...
1 vote
1 answer
146 views

Should I Install Windows 2003 Server Debugging Symbols in a Production Environment?

I have a software vendor that has requested that we install the Windows debugging symbols and the desktop heap monitor in our production environment. The vendor is trying to determine if we are ...
0 votes
2 answers
352 views

how do I troubleshoot rdp

I have one Windows XP SP3 pc on the domain that I cannot rdp into. The xp pc is enabled for rdp sessions. Port 3389 is open in the firewall. There are no errors in the event logs. I have tried to rdp ...
1 vote
0 answers
605 views

GRE debug: "adding 0 encap bytes"?

What this debug message actually means? Shouldn't encapsulation add 24 extra bytes or not? For what reason encapsulation is not adding bytes to original packet in this debug message? Dec 28 23:45:39....
2 votes
2 answers
1k views

Command that will take a 'system snapshot' of a linux system for later diagnosis?

I am running a Ubuntu Linux server with Apache, wsgi, django and mysql on it. Recently something happened and the wsgi processes frooze up. Restarting apache solved the problem. As with many live ...
1 vote
4 answers
3k views

503 service unavailable when debugging PHP script in Zend Studio

I have a web server with apache 2.0 installed. It comes with Zend Server install pack. When I’m trying to debug my php files apache serves a blank page with 503 service unavailable. Of course slow ...
1 vote
2 answers
1k views

Debug Nexenta/OpenSolaris core files?

I have a Sun x4540 that was recently converted to NexentaStor Enterprise Edition from an earlier OpenSolaris. The system disks were wiped and the zpools were exported and reimported. I'm hosting ...
0 votes
1 answer
358 views

Coldfusion crashing when I initiate debugging session?

I've been trying to hook up eclipse to RDS for a CF8 testing server I have in my office. Every time I try to test the connection, the CF8 application server service crashes. When I check the event ...
0 votes
1 answer
2k views

I would like to redirect port 8140 on my public IP address (ip1) to port 8140 on Internet host (ip2)

edit3: i would like to get exactly what is descripted in http://shorewall.net/FAQ.htm#faq1g but it doesn't work for me. edit3 end; os: debian squeeze shorwall: 4.4.11.6-3 3 computers a, b & c; ...
1 vote
1 answer
2k views

How to read Windows Server 2008 (x64, SP2) memory dumps?

My server suddenly started crashing every time I debug a chunk of code on my laptop which accesses the database on the server remotely. It's done it twice now, and I've stopped trying to debug my code ...
1 vote
1 answer
89 views

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 ...
0 votes
1 answer
367 views

Simple MySQL query locking up until database restart

I have a very simple query that runs in 216ms on my development machine but was taking more than 45 seconds on my production server, that is, until I restarted MySQL there: UPDATE `forum_categories` ...
9 votes
3 answers
5k views

Performing root-cause analysis

I want to learn more about how to perform root-cause analysis. More times than not, our department tells the user to try rebooting (thier Windows XP system), which actually "fixes" a good number of ...
1 vote
1 answer
65 views

Apache/PHP Configuration question - Where else can info.php be disabled besides php.ini?

Sorry for the bone head Q. but I rarely need to reinstall my server :) I wish to enable phpinfo() function. My php.ini config file has the disable_functions directive blank--which I understand is the ...
3 votes
2 answers
7k views

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, ...
2 votes
2 answers
2k views

How to intercept socket traffic on solaris?

I'm not very familiar with Solaris, so maybe there are tools that I don't know about. I need to debug the communication between two components on the same machine, talking to each other using a normal ...
2 votes
1 answer
312 views

how to debug the apache output filter

i am working on the output filter but it is behaving very abnormally. i am not gettin the the data from the server in continous chunk. it's like first data from the server then next chunk will be the ...
1 vote
1 answer
777 views

Debug tips for intermittent slow responses from Confluence

I've started seeing a situation on our internal Atlassian Confluence instance where we get snappy performance most of the time, but a couple of times an hour requests (both read and write operations) ...
0 votes
2 answers
417 views

Where to get the source tar of zend debugger for PHP 5.3.x for linux?

I went here,but the web debugger only contains the windows version zenddebugger.dll, where to get the source tar of zend debugger or better the zenddebugger.so for linux?
0 votes
1 answer
224 views

Where do I find the Java command line tool "Gdb"?

Where do I find the Java command line tool "Gdb" ? It's not included in my Sun JDK 1.6 distribution. I need a way to take a java core dump from a live java instance.
1 vote
1 answer
453 views

How do I troubleshoot network connectivity problems in windows?

I'd really like to understand how to debug my network connectivity issues, but everything I find on the internet is either for basic users on "How to add a wireless network" or it's people talking ...
1 vote
3 answers
5k views

How to debug website that isn't loading

So I've got a website up and running with nginx/php-fpm/ubuntu It works really well (and fast) and uses hardly any memory. My client started an ad campaign yesterday, and there were a couple times ...
1 vote
1 answer
1k views

How to get more information from the system crash

I'd like to debug an issue I'm having with a linux (debian stable) server, but I'm running out of ideas of how to confirm any diagnosis. Some background: The servers are running DL160 class with ...
1 vote
1 answer
247 views

How to use xdebug with eclipse IDE for PHP?

Hi my PHP project is set up on a remote test machine. I need to debug it using eclipse IDE. How shall I progress. I came to know i should prefer Xdebug rather than zend debugger. Please clarify my ...
2 votes
1 answer
455 views

Format Filename for Process Core Files per Session

Is there a way to change the core filename format per session instead of for the entire machine? On Linux the only way I can find is using sysctl as root: sudo /sbin/sysctl -w "kernel.core_pattern=...
2 votes
1 answer
4k views

Troubleshooting PHP High CPU on Production Server

We're trying to find a bug that will cause multiple PHP processes to be run at the same time and thus eating up the CPU resources for around 5 minutes. During these 5 minutes, our server will totally ...
2 votes
2 answers
7k views

Run as another user, but also as administrator

I am trying to debug a virtual machine (VM) running on a remote computer from my workstation (A). Both VM and A are running Windows 7 Enterprise. Apparently, I need to start the Remote Debugger ...
1 vote
2 answers
347 views

capture traffic between boards at PC using wireshark

I have two board connected using ethernet interface by means of switch. I have a linux machine connected to the switch where I run wireshark. I assign same IP address range for both boards and the PC....
1 vote
2 answers
220 views

How do I add a new virtual host to my apache?

<VirtualHost mydomain1.com:80> ServerAdmin webmaster@localhost ...stuff here </VirtualHost> <VirtualHost mydomain2.com:80> ServerAdmin webmaster@localhost ...stuff ...
1 vote
2 answers
2k views

Cannot receive start command

I have a WAMP install (Apache 2.2.3, PHP 5.2.8) with a working Zend Optimizer. As soon as I add the php.ini lines for Zend Debugger: [Zend Debugger] zend_extension_manager.debug_server_ts="C:\...
3 votes
2 answers
909 views

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

How to debug a website while running IIS 7?

I am running iis7 on my windows machine for testing purposes. Now I need to have access to the debugger so when something happens I can walk through it. Yet when I put debug lines on my site nothing ...
0 votes
1 answer
115 views

Will logging debugging incur a performance hit if I don't turn debugging on?

On a Cisco device, I know that enabling debugging can incur a performance hit since debugging has such a high priority on the CPU. I know that to log debugging, you have to set logging up to the ...
0 votes
3 answers
499 views

Server stop responding, where to look to know what happened?

I have a server that has been running for well over 5 months and suddently it stop responding. I couldn't ssh into it or anything else so I decided to reboot it and the reboot fixed it. I'm trying to ...
2 votes
1 answer
2k views

See full HTTP traffic in Tomcat logs

For debugging purposes, I need a way to see all HTTP traffic between our Tomcat installation and the test clients. How can I configure Tomcat to trace all HTTP traffic (and not just the headers)? We ...
0 votes
3 answers
126 views

What's XDebug used for?

test:coverage relies on XDebug to collect its information, you need to install it and enable it first. How does it work?
2 votes
3 answers
4k views

Simple HTTP server that will send the same file for all requests?

I need to debug a XML-RPC application, which sends XML replies over HTTP. I have a sample XML reply (i.e. data from the server, sent to the client that isn't working), I'd like to debug my application....
1 vote
1 answer
572 views

What does this mean in MySQL?

C:\Documents and Settings\Administrator>mysqld-nt --defaults-file="D:\MySQL\MySQ L Server 5.0\my.ini" --standalone --console 100125 10:47:26 InnoDB: Operating system error number 32 in a file ...
0 votes
2 answers
225 views

Random http 500 on wordpress

My wordpressblog produces http 500s on a small percentage of the requests. It doesn't seem to be tight to special urls, but it seems to happen clustered in time. i.e there are times when it happens ...
2 votes
1 answer
4k views

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....
11 votes
12 answers
701 views

What's the first thing you check when an untouched unix server starts going berserk?

So you have this neatly setup unix server and it's super fast and works swell and everything is great for months, and suddenly all kinds of weird errors start showing up for a variety of different ...
2 votes
2 answers
505 views

Cisco 2811 debug command

Is there a command that allows the debugs to be shown in color. It would be easier for my techs to read the debug outputs. Didn't see any that I could find. Thanks
3 votes
3 answers
2k views

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. ...
1 vote
2 answers
246 views

OpenSolaris/x86 responding sluggishly - frequent freezing

The system starts up fine, and for about 5 minutes (est.) things are fine. Then the system starts to get very sluggish ("choppy"): the mouse will freeze for two or three seconds, then release for ...
3 votes
1 answer
388 views

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 ...
5 votes
2 answers
11k views

Why would brk() in strace output be taking several seconds?

We've been noticing a significant slowdown of one of our applications when migrated to Ubuntu Hardy, amd64. It runs perfectly well on Debian Sarge i386. Running an 'strace -r' against the (Apache 1.3)...
1 vote
5 answers
133 views

How to debug problems over IM and the phone?

If, like me, you get friends, family, and coworkers with computer problems (whether it's server, desktop, or laptop related), who ask you to help over the phone or IM, how do you debug problems? I'm ...
2 votes
1 answer
1k views

Debugging WebDAV using gvfs

gvfs (gnome virtual file system) felt the need to reimplement some of the common filesystems. I'm trying to get people onto our WebDAV shares, but I'm getting pretty cryptic errors. What I'd like to ...
8 votes
2 answers
48k views

Online mod_rewrite testing tool

mod_rewrite statements can be hard to write and debug, therefore I need a lightweight online tool that enables me to test my RewriteCond, RewriteRule statements on the fly. Any such tool?