|
|
Moved httpd/error_log, caused problems
|
|
|
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
For some reason my cron scripts don't seem to do the rotating of log files and my error_log had ballooned to unmanageable proportions. I've moved it to error_log.old and created a new file called error_log where it used to be (/var/log/httpd/) but it won't update with my errors (I make A LOT of them doing this php/mysql stuff). Permissions are like the access_log file (that is u+rw, g+r), owned by root and in the group wheel. Any ideas about how to fix it? TIA
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Dec 2000
Location: sj ca
Status:
Offline
|
|
You restarted apache, right?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
Originally posted by qyn:
You restarted apache, right?
No. I'll try that and see if it works.
edit: sheesh. Something so simple. Thanks!
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Originally posted by torifile:
No. I'll try that and see if it works.
edit: sheesh. Something so simple. Thanks!
BTW, for the cron job (/etc/weekly) to work, your computer has to be running (not sleeping or shutdown) when the job is set to run.
For the weekly script, that is 4:30 AM on Saturday by default (set in /etc/crontab).
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|