Click to See Complete Forum and Search --> : How do I resolve this Apache error?


Carl Pender
03-11-2003, 09:57 AM
I have set up an Apache webserver and I got a couple of cgi scripts running properly. I shutdown my computer and when I restarted it the cgi scripts wouldn't work and I was given this error in the error log file:

[Tue Mar 11 13:48:43 2003] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Mar 11 13:48:43 2003] [notice] Apache/2.0.44 (Unix) configured -- resuming normal operations

Does anybody know how to resolve this problem?

I restarted the Apache webserver but still it wont work.

Any help will be much appreciated. Thanking you in advance

Carl Pender

EscapeCharacter
03-11-2003, 10:10 AM
have you tried deleting the old pid file?

Carl Pender
03-11-2003, 10:22 AM
I tried that but now when I try to restart the apache web server it gives me this error message:

(98)Address already in use: make_sock: could not bind to address [::]:8080
no listening sockets available, shutting down
Unable to open logs

It was working on 8080 before and it wont now. Originally I had it on port 80 but it wouldn't work so I changed it to 8080 and it worked but now it's giving me this message. I dont understand it. I tried going back to 80 but still no joy.

HELP!!!!!!!!!!!

chrism01
03-11-2003, 01:24 PM
ok try this: in one of my admin classes a while ago, i remember being told that some programmers don't implement restart "cleanly" ie they send a signal (-HUP ?) to the daemon, so it just re-reads the config file, but doesn't actually stop. Always safer to do a "stop" followed by a "start".
If you want to delete any files, do it while stopped, as some are locked open...