/var/log issues on captivators

Here are the instructions for salvaging a full /var/log on a captivator.

1. Use 'df' and 'ls' to determine that /var/log/httpd/access_log is the source of the problem. Often a "sudo du /var/log/* | sort -n" works well.

2. Stop the web server: sudo /sbin/service httpd stop

3. Truncate the large file: sudo su - -c "cat /dev/null > error_log"

4. Restart the web server: sudo /sbin/service httpd start

5. Restart syslog: sudo /sbin/service syslog restart



Keywords:captivator, var/log, log files   Doc ID:8348
Owner:Tom K.Group:Network Services
Created:2008-10-16 19:00 CDTUpdated:2008-10-16 19:00 CDT
Sites:Network Services, Systems & Network Control Center, Systems Engineering
Feedback:  0   0