Article View: aus.computers.linux
Article #54358Apache can't bind during log rotate
From: Graham Miller
Date: Sun, 09 Nov 1997 00:00
Date: Sun, 09 Nov 1997 00:00
28 lines
1079 bytes
1079 bytes
Hi there, I have a Red Hat Linux 4.2 system running Apache out of the box. All works well except I kept getting console messages overnight: httpd: could not bind to port 80 bind: address already in use I have changed the crontab file to activate .daily during the day and they seem to come while the logs are being rotated. I have not played with the /etc/logrotate.d/apache file which uses: postrotate killall -HUP httpd endscript Elsewhere on the Web (the apache site I think) I have seen the following recommended: /kill -HUP `cat /var/run/httpd.pid` Can anyone shed some light on this? And is it likely that logrotate is the culprit? Thanks Graham
Technical Details
Message-ID:
<01bced0a$be29d640$c401a8c0@gmp120>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,13295409da17651e,start X-Google-Attributes: gid102983,public From: "Graham Miller" <graham@gmcs.com.au> Subject: Apache can't bind during log rotate Date: 1997/11/09 Message-ID: <01bced0a$be29d640$c401a8c0@gmp120> X-Deja-AN: 288076173 Organization: Graham Miller Computer Services Newsgroups: aus.computers.linux