Questions tagged [debugging]

Finding problems in a program and trying to solve these.

202 questions
0
votes
0 answers

How to enable/install kernel-debuginfo linux-4.14.14 on amzn-linux?

I'm on an amzn-linux instance which by default runs linux-4.9. I've compiled and booted linux-4.14.14 from source and I've compiled systemtap from source. Now I'd like to get them both working nicely together. Systemtap requires linux-debuginfo…
Michael Martinez
  • 2,645
  • 3
  • 24
  • 35
0
votes
1 answer

NTP rejecting upstream due to "peer_dist"

Currently NTP is rejecting its upstream and is drifting quite badly (15 seconds of offset so far and growing). When checking the reason using ntpq the flash code is flash=400 peer_dist. Checking the NTP documentation the peer is marked as distant if…
Paradise
  • 101
  • 1
  • 2
0
votes
2 answers

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 more often for an hour or so, and then it stops…
Jens Schauder
  • 485
  • 1
  • 4
  • 10
0
votes
1 answer

503 service unavailable debugging PHP files

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 server-side code is tying up Apache requests for far…
user25932
  • 11
  • 2
  • 3
0
votes
2 answers

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 how to upgrade. The installer warns me that I should…
SamGoody
  • 111
  • 3
0
votes
0 answers

Drupal on Apache: Consecutive PHP errors "Maximum execution time of 240 seconds exeeded"

This Apache/MySQL server (Debian 8) running a Drupal site shows a strange behaviour: There's always one Apache process running with 100% CPU utilization (according to htop). Every four minutes (~240 seconds), the process terminates and immediately…
flight
  • 394
  • 4
  • 14
0
votes
1 answer

Log all bash actions with multiple scripts

Using the command below, I can log all actions that happened inside that script. bash -x script.sh Sadly, the script calls another script, which does not have the -x setting active then, i.e. the setting is not inherited by child scripts. So, is…
helt
  • 101
  • 2
0
votes
1 answer

Debug Logging daily task

I manage a domain with 4 domain controllers and i have been asked to enable Debug Logging for Incoming and Request packets. I have set the maximum size of the log file to 500MB. First question I have, when it reaches 500MB it overwrites the log file…
Cranta Ionut
  • 179
  • 3
  • 4
  • 12
0
votes
1 answer

Error with a specific bash script

I must first of all shamefully admit that I unfortunately know nothing about scripts... I am simply trying to use one that seems to fit my goal. I am running a VPS node with OpenVZ, and I need a script which will automatically restart the VPS…
0
votes
1 answer

Debugging random SQL login failure from Web Server

This is a very basic level question, but it could really benefit from some extra help in the diagnosis. We have a 2005 SQL Server Named: SERVERNAME-PROD We have a Web Apps Server that's running IIS 8.5 named: WEBAPPS-PROD For a while we've been…
KyleMit
  • 488
  • 4
  • 9
  • 22
0
votes
1 answer

Installation of FreeBSD freezes on VMware

I am trying to install FreeBSD on VMware by mounting FreeBSD-9.2-RELEASE-i386-dvd1.iso. The installation proceeds fine untill i reach the following screen I have been waiting for an hour and nothing happens so I have assumed that the installation…
Computernerd
  • 139
  • 7
0
votes
1 answer

Debugging slow network

I've been tasked with debugging why my company's network connection is running slow. Having no previous experience in this field I have absolutely no clue where to begin or what tools to use. The comapny has around 30 employees and the entire…
0
votes
2 answers

How to debug Repository.fetch_changesets runned from ./script/rails runner

For some time I have been updating changesets manually on server with following command's: $ cd /custom/www-data/ $ source /custom/www-data/.rvm/scripts/rvm $ ./script/rails runner "Repository.fetch_changesets" -e production fatal: bad object…
vskubriev
  • 686
  • 9
  • 15
0
votes
1 answer

How to watch a file, who accesses or uses

I am looking forward a way to watch a file to get following information Which process does open, read, write it? When? Result. (e.g. can they write on it, or can they read it, etc.) Strace helps us to watch which files a process opens, but how can…
Shnkc
  • 109
  • 5
0
votes
1 answer

Website goes down for just me. How should I diagnose (what log files to check?) (Nginx + php5-fpm)

Summary I've been running a website on a VPS and I ran into my first bit of downtime (~4 minutes). However the website was only down for me and I can't see anything in the obvious log files. Where should I be looking? There's no entries in…
split_account
  • 169
  • 4
  • 11