alsorory

Member
Feb 21, 2020
7
3
3
turkey
cPanel Access Level
Root Administrator
Restarting Apache Web Server

Unable to open log file “/usr/local/apache/logs/error_log” - No such file or directory at /usr/local/cpanel/Cpanel/HttpUtils/ApRestart.pm line 300.

and here is the output of these code

ls -al /usr/local/apache
ls -al /usr/local/apache/logs

[[email protected] ~]# ls -al /usr/local/apache
total 16
drwxr-xr-x 4 root root 4096 Sep 26 2020 .
drwxr-xr-x. 18 root root 4096 Jul 1 2021 ..
lrwxrwxrwx 1 root root 28 Sep 26 2020 access_log -> /etc/apache2/logs/access_log
drwxr-xr-x 2 root root 4096 Sep 26 2020 bin
drwxr-xr-x 4 root root 4096 Jan 1 08:46 conf
lrwxrwxrwx 1 root root 25 Sep 26 2020 domlogs -> /etc/apache2/logs/domlogs
lrwxrwxrwx 1 root root 27 Sep 26 2020 error_log -> /etc/apache2/logs/error_log
lrwxrwxrwx 1 root root 13 Sep 26 2020 htdocs -> /var/www/html
lrwxrwxrwx 1 root root 17 Sep 26 2020 logs -> /etc/apache2/logs
lrwxrwxrwx 1 root root 20 Sep 26 2020 modules -> /etc/apache2/modules
[[email protected] ~]# ls -al /usr/local/apache/logs
lrwxrwxrwx 1 root root 17 Sep 26 2020 /usr/local/apache/logs -> /etc/apache2/logs
 

quietFinn

Well-Known Member
Feb 4, 2006
1,652
325
438
Finland
cPanel Access Level
Root Administrator
How about this:
ls -la /etc/apache2/logs

and this:
df -h
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,045
111
118
Houston, TX
cPanel Access Level
Root Administrator
I have as issues anyone got any solution?
Hello! I have replied to you about this in another thread.