Restarting Apache Web Server error

mywish1

Active Member
Sep 13, 2014
31
1
8
cPanel Access Level
Root Administrator
when i try to restart my apache server i got follow error
Unable to open log file “/etc/apache2/logs/error_log” - No such file or directory at /usr/local/cpanel/Cpanel/HttpUtils/ApRestart.pm line 294.
how to fix i have centos 7.0 linux dedicated server
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello @mywish1,

Can you confirm if the symbolic link for the /etc/apache2/logs path points to the /var/log/apache2/ directory on this system? You can check with the following command:

Code:
ls -al /etc/apache2/logs
Thank you.