LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Can not restart httpd”File size limit exceeded(core dumped) $HTTPD -DSSL” (https://www.linuxquestions.org/questions/linux-server-73/can-not-restart-httpd%94file-size-limit-exceeded-core-dumped-%24httpd-dssl%94-761394/)

sreejithedl 10-12-2009 12:07 PM

Can not restart httpd”File size limit exceeded(core dumped) $HTTPD -DSSL”
 
root@server [~]# /etc/init.d/httpd start
/etc/init.d/httpd: line 83: 7147 File size limit exceeded(core dumped) $HTTPD -DSSL
/etc/init.d/httpd start: httpd could not be started

Fix:-
===

1) Login to the server via ssh

2)Empty the apache error log file which is eating up disk space.

root@server [~]#:> /usr/local/apache/logs/error_log

3)Restart apache

root@server [~]#/scripts/restartsrv_httpd

Issue will be fixed now.

sreejithedl 10-12-2009 12:07 PM

<mod edit removed advertised link>

unSpawn 10-12-2009 12:24 PM

Quote:

Originally Posted by sreejithedl (Post 3716587)
1) Login to the server via ssh

This action has nothing to do with the actual fix.


Quote:

Originally Posted by sreejithedl (Post 3716587)
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 (Post 3716587)
root@server [~]#:>

Using non-std prompts can be confusing. Better not use those in examples.


Quote:

Originally Posted by sreejithedl (Post 3716587)
/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 (Post 3716587)
root@server [~]#/scripts/restartsrv_httpd

And that definately is not a default command to restart Apache.


Quote:

Originally Posted by sreejithedl (Post 3716588)

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.


All times are GMT -5. The time now is 05:56 AM.