rotatelogs

This is a discussion on rotatelogs within the Linux Web Servers forums, part of the Web Server and Related Forums category; Apached 2.0 i want to rotoate the logs whenever they reach a few megs but i keep getting these ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-03-2004
Keith Page
 
Posts: n/a
Default rotatelogs

Apached 2.0

i want to rotoate the logs whenever they reach a few megs but i keep
getting these errors that the file handle doesn't exist.

ERROR:
1 Previous file handle doesn't exists
/var/logs/httpd/httpd-www.green-light.net-access_log.1094161519
piped log program '/usr/local/sbin/rotatelogs
/var/logs/httpd/httpd-www.green-light.net-access_log 2M' failed
unexpectedly
1 Previous file handle doesn't exists
/var/logs/httpd/httpd-www.green-light.net-access_log.1094161524
piped log program '/usr/local/sbin/rotatelogs
/var/logs/httpd/httpd-www.green-light.net-access_log 2M' failed
unexpectedly

Conf file:
ErrorLog "|/usr/local/sbin/rotatelogs
/var/logs/httpd/httpd-green-light.net-error_log 2M"
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0