Finding problems in a program and trying to solve these.

learn more… | top users | synonyms

0
votes
1answer
120 views

Add causing php-script to mysql-slow.log

If you enable the line log_slow_queries = /var/log/mysql/mysql-slow.log in /etc/my.cnf or /etc/mysql/my.cnf then that will log all queries, that take longer than the setting in long_query_time. ...
1
vote
1answer
552 views

If I have a process which is supposed to be receiving data from multicast, how can I check if it actually is?

I can check gstack, but just because I see the listener threads on the recv call does not mean that call is not returning. One other thing I thought was to do something like: netstat -lupe | grep ...
0
votes
1answer
367 views

strace vs. log4cxx performance hit?

I need to debug some issue on a production server, and I'm trying to decide whether to use strace or the log4cxx logging library; one crucial characteristic I need to know before, is which of the two ...
3
votes
1answer
2k views

How to debug Node + Socket.io CPU Issues

We are running a Node Socket.io server with Express 3. The server is monitored using Forever. The service is running well, but the CPU grows throughout the day, until it reaches 90%+ and then suddenly ...
0
votes
2answers
276 views

Server does not load WordPress - No HTML nor PHP Errors

I just switched my Dreamhost WordPress site on my VPS from PHP 5.2 Fast CGI to 5.3 CGI. Somehow WordPress now refuses to load and shows a white screen of death on all WordPress pages. PHP Info and ...
0
votes
1answer
230 views

Can pingdom shut down/slow down a site on Heroku?

We have a Rails app on Heroku. We have 2 dynos. We're noticing that the site is not loading today with frequency. Lots of Request timeouts. Also, assets in particular, which are also hosted on ...
1
vote
2answers
42 views

debugging cache control

How can I check if a website is being cached correctly? I would like the webpages to be cached by browsers, but I also would like that page updates be visible immediatly when a user visits teh ...
0
votes
1answer
59 views

increasing log level to catch issues

How do you increase the log level for apache to add coredumpdirectory and to catch any segfaults. I am trying to debug some issues and need apache to log every little bit of activitiy.
-2
votes
1answer
70 views

Investigate why user has access to a folder [closed]

How can I understand why a particular user has access to a particular shared folder? Security tab of the folder contains a long list of groups groups and the user is not a direct member of any of ...
0
votes
2answers
346 views

CherryPy 3 with Apache 2 using ModWSGI: stack traces?

I am trying to show stack traces or at least some sort of errors rendered to the HTML response while using a WSGI script. A ModuleNotFound exception is raised when I tried to import a module the ...
1
vote
0answers
157 views

Is Snort able to efficiently demux and log large HTTP POST requests?

I'm trying to debug some failed HTTP POST requests containing large file uploads (~500 MB). The end-user is receiving strange HTTP responses that are not being logged in either varnish's varnishncsa ...
2
votes
1answer
3k views

centos 6 debuginfo repository does not have httpd debug version available

I am trying to get the debug version of httpd so I can use it in conjunction with gdb. I am having a hard time getting them, and they don't seem to be in the standard epel-debuginfo repository. What ...
2
votes
1answer
1k views

Apache 403 after configuring varnish

I just don't know where else to look and what else to do. I keep getting a 403 error on all my vhosts after setting varnish 3.0 Apacher log: [error] [client 127.0.0.1] client denied by server ...
1
vote
0answers
318 views

Debugging apache seg fault with gdb

Apache on a production server of mine is seg faulting intermittently. I have enabled core dump option in apache configuration and have several dumped core files. Unfortunately, since it is a ...
4
votes
1answer
282 views

Crash dump analysis

I hope this isn't a stupid question, and if it is, then I want to at least get it over with so I don't feel so dumb in the future. Here we are, loading up a Windows crash dump with Windbg. Here are ...
2
votes
1answer
2k views

Failure to obtain IP with ARP over Wi-Fi with personal Wi-Fi router in client mode

I'm trying to connect a Samsung TV to the Internet using a TL-MR3020 personal wireless router in client mode. The TV fails to connect to the network. It sees the ethernet cable connected though. ...
3
votes
1answer
935 views

SQL Server Debugging: “Unable to Step. Invalid operation”

I'm debugging a call to a Stored Procedure in SSMS (2012). Frequently, and various random points in the code, a dialog pops up: Microsoft SQL Server Management Studio: Unable to Step. Invalid ...
1
vote
2answers
863 views

Diagnose hard lockup on Linux

During past month one of my Debian Squeeze (Linux 2.6.32-bpo.5-amd64) machines did lock up twice, hard. No response to ARP, dark console, Caps Lock, Num Lock not working, Magic SysRq ineffective. ...
0
votes
1answer
3k views

IP Camera working on lan but not on internet

My IP cam model is Genius 350TR, I tested the cam at home on lan and internet and it worked. Then I shifted it to an office. It works on the office lan setup but I cannot connect to the ip cam from ...
3
votes
4answers
4k views

Failed Request Tracing XML fails to display in Internet Explorer (IIS 7.5)

I have installed the Tracing feature and enabled failed request tracing for a website, to debug a Classic ASP website. The XML logs are created upon occurring errors, however when I open them in IE, ...
1
vote
1answer
321 views

Node app crashes after a while on micro EC2 instance even with supervisor

I'm using supervisor to start my node.js application on a micro EC2 instance. However, the app only stays running for some time until it eventually shuts down. Not exactly sure how long the app stays ...
1
vote
2answers
1k views

Amazon EC2 instance - issuing “top” command just goes blank on the ssh terminal

I have created an Amazon EC2 micro instance, running Amazon AMI. I logged into the server using ssh client. Once it logs in successfully, if I issue the "top" command, the top output never shows up ...
2
votes
2answers
301 views

sshd immediately core dumps after fsck repair

I have a centos server that recently needed a fsck repair on it's main hard drive. After fixing a bunch of inode issues (booting from a system rescue disk), the box booted clean. Most of the ...
4
votes
2answers
3k views

How to trace Apache 301 Moved Permanently?

I have one virtual host on my machine, which I am accessing localy. I am running apache2 under windows 7. When accessing this host, I see in Fiddler, that server redirects browser to different remote ...
5
votes
4answers
11k views

How can I investigate sustained high CPU usage by Microsoft.Exchange.Rpc.ClientAccess.Service.exe?

One CAS server in our array has nearly 90% of its 4 CPUs used. The remaining CAS servers are at 30 percent. How should I investigate what is causing this increase? Below is a graph of: Six ...
2
votes
0answers
347 views

A tool to measure overhead of establishing TCP connections

I need a tool which would while doing port forwarding measure how much time was spent establishing TCP connections vs total time passed. Charles debugging proxy has the port forwarding feature and ...
1
vote
1answer
68 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 ...
1
vote
0answers
406 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 ...
1
vote
2answers
880 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 ...
0
votes
2answers
281 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 ...
3
votes
1answer
1k views

Why can't openSSL verify google's certificate?

When I run the command openssl -connect www.google.com:443 from a Debian VM, I get the following within the output: Verify return code: 20 (unable to get local issuer certificate) What's going ...
1
vote
0answers
408 views

ColdFusion server won't to start

I'm trying to debug coldfusion application in Adobe Coldfusion builder 2.0 and I coldfusion server won't start. Here is log of console: [localServer]:Listening for transport dt_socket at address: ...
0
votes
1answer
258 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
1answer
1k 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; ...
4
votes
2answers
11k views

How to debug “HTTP request sent, awaiting response”?

I have a Linux server on an ADSL connection, and I just noticed that sometimes I get Connecting to example.com|xxx.xxx.xxx.122|:80... connected. HTTP request sent, awaiting response... when I use ...
5
votes
3answers
6k views

How can I find out where a file is physically located on the disk (block numbers)?

This is an obscure question, I know. I'm trying to do some performance testing of some disks on a Linux box. I'm getting some inconsistent results, running the same test on the same disk. I know ...
3
votes
3answers
58 views

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 ...
1
vote
1answer
74 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 ...
1
vote
2answers
9k views

Unable to start Apache2 service on Solaris 10

This is a default installation of Solaris 10 x86. No tweaks or customization. 1) I first enable apache2. bash-3.00# svcadm enable apache2 2) Restart apache2 bash-3.00# svcadm restart apache2 3) ...
9
votes
3answers
2k 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 ...
4
votes
3answers
984 views

Send bash -x output to logfile without interupting standard output

Is there a way to send the information displayed by running a bash script with the -x option to a file, while not changing the standard output seen by a user running the script? This is a debugging ...
1
vote
1answer
55 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 ...
0
votes
1answer
2k views

Should I expect ICMP transit traffic to show up when using debug ip packet with a mask on a Cisco IOS router?

So I am trying to trace an ICMP conversation between 192.168.100.230/32 an EZVPN interface (Virtual-Access 3) and 192.168.100.20 on BVI4. # sh ip access-lists 199 10 permit icmp 192.168.100.0 ...
1
vote
2answers
2k 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, ...
1
vote
1answer
467 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 ...
2
votes
2answers
960 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 ...
0
votes
1answer
259 views

How do I find out what's causing an access denied error?

I am getting an access denied error when I try to run a vbs script that uses WMI to do some stuff to IIS on Windows 7. Is there some sort of tool that can tell me what's causing the access denied?
4
votes
2answers
12k views

All connections from this network get stuck in SYN_RECV state, connections from my home or phone properly get ESTABLISHED

My server (a linode VPS) suddenly started to timeout on every request yesterday. I'm pretty inexperienced in networking and would love to learn a process for debugging these connectivity issues. ...
1
vote
1answer
582 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) ...
1
vote
1answer
277 views

DHeapmon not reporting expected number of total desktops in IIS6

Hope someone can help me make sense of this. I'm trying to debug some COM+ errors we see in our production environment and a few of them report that the desktop heap is exhausted, so I installed ...