This is a discussion on apache dies within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello, a very strange thing is happening to my apache. I have been using apache+php-mysql in my workstation for ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, a very strange thing is happening to my apache. I have been using apache+php-mysql in my workstation for several years to test my web sites before uploading them. Two days ago, suddenly, apache died with no apparently reason while working, I tried to restart it but no way. It seems to restart, no errors in /var/log/apache/error.log or in /var/log/messages, "apachectl start" seems to work saying "/usr/sbin/apachectl start: httpd started" but it is false. So, i decided to sobstitute my httpd.conf with the default one, this time it restarts just for two or three clicks and then dies again, no errors in the logs files. I also tried to download the package and reinstalled it, just in case, but no luck. I am stuck, without apache i can not work as i like, but i don't know where to look for the problem. Any clue will be very appreciated. Regards, Stefano |
| |||
| On 28 Mar 2006 23:51:09 -0800, "stefano.troiani@gmail.com" <stefano.troiani@gmail.com> wrote: >I am stuck, without apache i can not work as i like, but i don't know >where to look for the problem. Apache just don't fall over and die on a whim... But then, I don't let it near PHP, that may be fatal >Any clue will be very appreciated. Out of disk space? /var or /tmp? Grant. -- Memory fault -- brain fried |
| |||
| On 2006-03-29, stefano.troiani@gmail.com <stefano.troiani@gmail.com> wrote: > Hello, > a very strange thing is happening to my apache. > I have been using apache+php-mysql in my workstation for several years > to test my web sites before uploading them. > Two days ago, suddenly, apache died with no apparently reason while > working, I tried to restart it but no way. > It seems to restart, no errors in /var/log/apache/error.log or in > /var/log/messages, "apachectl start" seems to work saying > "/usr/sbin/apachectl start: httpd started" but it is false. > So, i decided to sobstitute my httpd.conf with the default one, this > time it restarts just for two or three clicks and then dies again, no > errors in the logs files. > I also tried to download the package and reinstalled it, just in case, > but no luck. Start apache but with the following option, see if any useful info pops. apachectl fullstatus apachectl configtest ken |
| |||
| On 2006-03-29, No_One <no_one@no_where.com> wrote: > > Start apache but with the following option, see if any useful info pops. > > apachectl fullstatus > apachectl configtest > > ken To follow up on my own post, apache must already be started to use the above options....fuzzy thinking...sorry. ken |
| |||
| On 2006-03-29, stefano.troiani@gmail.com <stefano.troiani@gmail.com> wrote: [snip] > I am stuck, without apache i can not work as i like, but i don't know > where to look for the problem. > Any clue will be very appreciated. Apache 2.2, 2.0 or 1.3? For 1.3, you might want to try starting httpd from the command line with the -X parameter? Might give you some sort of indication as to the problem? http://httpd.apache.org/docs/1.3/programs/httpd.html Carl -- "D'you know, I don't think I've got it in me to shoot my flatmate, my Mum, and my girlfriend all in the same evening." - Shaun of the Dead |
| |||
| > Start apache but with the following option, see if any useful info pops. > apachectl fullstatus > apachectl configtest As I said I can start apache for 10 secs with a virgin httpd.conf until it dies, this is what i got: - Result of apachectl fullstatus: Looking up localhost Making HTTP connection to localhost Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access `http://localhost/server-status' Alert!: Unable to access document. lynx: Can't access startfile Result of apachectl configtest: Sintax OK |
| ||||
| On 2006-03-29, stefano.troiani@gmail.com <stefano.troiani@gmail.com> wrote: >> What does it means? > > Sorry for asking, I had to find it by myself and so i did. > > The log file reached 2Gb, I emptyed it and now it's fine. [chuckle] After seeing your previous post giving the results of "fullstatus" I was going to suggest a file system issue. This might be of use: http://httpd.apache.org/docs/1.3/logs.html#rotation Glad to have been able to help. Carl -- "D'you know, I don't think I've got it in me to shoot my flatmate, my Mum, and my girlfriend all in the same evening." - Shaun of the Dead |