Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Moved httpd/error_log, caused problems

Moved httpd/error_log, caused problems
Thread Tools
torifile
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Jan 16, 2004, 02:50 AM
 
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
     
qyn
Dedicated MacNNer
Join Date: Dec 2000
Location: sj ca
Status: Offline
Reply With Quote
Jan 16, 2004, 03:34 AM
 
You restarted apache, right?
     
torifile  (op)
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Jan 16, 2004, 03:54 AM
 
Originally posted by qyn:
You restarted apache, right?
No. I'll try that and see if it works.

edit: sheesh. Something so simple. Thanks!
     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 16, 2004, 10:34 AM
 
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 Links
Forum 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 On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 12:31 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,