[clug] Debian Woody log rotation error
Ian Matters
ian at iristech.com.au
Tue May 24 02:57:59 GMT 2005
Thanks Andrew.
It turned out to be a misconfiguration in my /etc/apache/httpd.conf
file. I'm running a couple of virtual hosts on ports other than port
80 and stuffed up big time. All working now.
Cheers, Ian
------------------------------------------
Mr Ian Matters
Canberra, Australia
Phone : (02) 6258 3079 [+61 2 6258 3079]
Mobile : 0410 009 046 [+61 410 009 046]
Email : ian at iristech.com.au
Web : http://www.iristech.com.au
--
On 24/05/2005, at 10:16 AM, Andrew Pollock wrote:
> On Tue, May 24, 2005 at 06:46:07AM +1000, Ian Matters wrote:
>
>> I have been receiving he following error for the past couple of
>> mornings:
>>
>> /etc/cron.daily/logrotate:
>> error running shared postrotate script for /var/log/apache/*.log
>> run-parts: /etc/cron.daily/logrotate exited with return code 1
>>
>> Can anybody give me any clues about what I should do the correct the
>> problem please? The files in /var/log/apache look OK to me but maybe
>> the problem is with the scripts themselves.
>>
>>
>
> Well assuming woody's /etc/logrotate.d/apache has the same
> postrotate script
> as sarge's, whichever of "invoke-rc.d apache reload" and
> "/etc/init.d/apache reload" is being run is exiting with the return
> code of
> 1.
>
> Try running the above by hand and see if spits out any errors.
>
> regards
>
> Andrew
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>
>
More information about the linux
mailing list