Invalid command 'ErrorLog' after updating to Apache version 2.4.55.

krisiskris

Verified User
Joined
Jan 2, 2019
Messages
29
I have two DirectAdmin servers that are almost identical regarding software, and I just updated Apache to version 2.4.55. on both of them. One went fine and works perfectly, the second is failing to start the httpd.service with the following error:
1675246306159.png
I tried rebuilding Apache with no luck, the build process is fine but still no httpd.service.

I also tried commenting out the mentioned line and retrying to start the service but I just get an almost identical error in a different .conf file
FYI. The line is in the files is:
Bash:
ErrorLog /var/log/httpd/error_log

I've been Googling the 'ErrorLog' in relation to Apache everywhere, but cannot find any results for matching cases.

Do you guys have any idea what a solution to this issue could be?
Thanks,
 
Humm that's strange. I did a quick look on a couple of servers and that line with an error doesn't match yours (shows off by one line, possibly deleted line in your configuration that old version is ignoring). Maybe need to do a "./build rewrite_confs" to update your configs?
 
Humm that's strange. I did a quick look on a couple of servers and that line with an error doesn't match yours (shows off by one line, possibly deleted line in your configuration that old version is ignoring). Maybe need to do a "./build rewrite_confs" to update your configs?
I tried the ./build rewrite_confs before downgrading, no change. Also tried rebuilding the installed php versions.
 
do you have any custom template ?
/usr/local/directadmin/data/template/custom/
 
Nope, doesn't look like it.
Bash:
cat /usr/local/directadmin/data/template/custom/
cat: /usr/local/directadmin/data/template/custom/: No such file or directory
Ah I see the folder is templates, plural. But that's empty too
 
Back
Top