|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] cronolog and restarting Apache web server serious error
Annette Strupp-Adams writes: > Configuration: > > - cronolog version 1.6.1 > - Apache web server 1.3.12 > - JServ engine 1.1 > - Platform: Solaris 7 on a Sun UltraSPARC 60 > > I installed cronolog and added the foll. line to the httpd.conf file: > > CustomLog "|/<absolute path to cronolog>/cronolog /<absolute path to Apache's > log directory>/logs/%Y/%b/ access_log" > > > Apache 1.2.12 did not come with a TransferLog directive. > > After restarting Apache, the access log was written to the newly created > directory. However, when I restarted Apache this morning, I got the foll. > error message in the error_log file (which does not use cronolog) and the > access log stopped to be appended to the log file that cronolog had created. > > > Here is the output from the error log file. Stopping and starting Apache > did not solve the problem: > > [Wed Aug 9 10:36:41 2000] [warn] long lost child came home! (pid 14037) > usage: /<path to cronolog>/cronolog [OPTIONS] logfile-spec > > -H NAME, --hardlink=NAME maintain a hard link from NAME to current log > 0 -S NAME, --symlink=NAME maintain a symbolic link from NAME to current log > -l NAME, --link=NAME same as -S/--symlink > -h, --help print this help, then exit > -o, --once-only create single output log from template (not > rotated) > -x FILE, --debug=FILE write debug messages to FILE > ( or to standard error if FILE is "-") > -a, --american American date formats > -e, --european European date formats (default) > -s, --start-time=TIME starting time > -z TZ, --time-zone=TZ use TZ for timezone > -V, --version print version number, then exit > usage: /<path to cronolog>/cronolog [OPTIONS] logfile-spec > > -- end of error message excerpt > > This message repeated itself many times. It seems as though upon restarting > Apache and executing the CustomLog directive in the httpd.conf file, there > is a problem. > > Can anyone tell me what is wrong here ? > I suspect it is the space before the word "access_log". The filename template should not contain spaces, or if it does should be suitably escaped from the shell. What you are seeing in the error log is the usage message from cronolog. Perhaps cronolog should have a default filename to log to in case of errors such as these. > Thank you, > > Annette > > > Annette Strupp-Adams > Senior Systems Analyst > astrupp@xxxxxxxxxxx > National Library of Medicine > Andrew -- Andrew Ford, Director Ford & Mason Ltd Tel: +44 1531 829900 A.Ford@xxxxxxxxxxxxxxxx South Wing, Compton House Fax: +44 1531 829901 http://www.ford-mason.co.uk Compton Green, Redmarley Mobile: +44 7785 258278 http://www.refcards.com Gloucester, GL19 3JB, UK
|