Quote:
Originally Posted by sreejithedl
1) Login to the server via ssh
|
This action has nothing to do with the actual fix.
Quote:
Originally Posted by sreejithedl
2)Empty the apache error log file which is eating up disk space.
|
(log)rotate the logfile instead: there's reasons for logging requests and errors.
Quote:
Originally Posted by sreejithedl
root@server [~]#:>
|
Using non-std prompts can be confusing. Better not use those in examples.
Quote:
Originally Posted by sreejithedl
/usr/local/apache/logs/error_log
|
That may or may not be a default logfile location depending on FSSTND, FHS, LSB or software defaults.
Quote:
Originally Posted by sreejithedl
root@server [~]#/scripts/restartsrv_httpd
|
And that definately is not a default command to restart Apache.
Quote:
Originally Posted by sreejithedl
|
It's not rocket science, it's not an exotic problem and the answer we already got (search LQ).
You could have just written "logrotate logfile, then restart Apache."
So I don't see a need for pushing your web log.