I am facing a problem on my Cloudlinux serverHello,
To update, internal case EA-6560 is open to track reports of the following path existing as a directory instead of as a symbolic link:
/etc/apache2/logs
The workaround is to move the directory to another location, setup the symbolic link, and update the EA4 packages using commands such as this:
Then, once everything is confirmed to work as expected, review the contents of the /etc/apache2-logs-backup/ directory and remove it after confirming none of the data in it is required.Code:mkdir -p /etc/apache2-logs-backup mv /etc/apache2/logs /etc/apache2-logs-backup/ ln -s /var/log/apache2 /etc/apache2/logs yum update
I'll monitor the status of the internal case, and update this thread with more information as it becomes available.
Thank you.
[[email protected] apache2]# /scripts/rebuildhttpdconf
warn [rebuildhttpdconf] Shared IP 78.140.174.156 is the domain forward ip. Apache will not have a shared vhost on this IP
warn [rebuildhttpdconf] Shared IP 78.140.174.156 is the domain forward ip. Apache will not have a shared vhost on this IP
Initial configuration generation failed with the following message:
The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.79ca3d95.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 119398) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/000_mod_mpm_prefork.conf: Cannot load modules/mod_mpm_prefork.so into server: /etc/apache2/modules/mod_mpm_prefork.so: undefined symbol: ap_run_child_stopping
Rebuilding configuration without any local modifications.
Failed to generate a syntactically correct Apache configuration.
Bad configuration file located at /etc/apache2/conf/httpd.conf.work.79ca3d95
Error:
The “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf.work.79ca3d95.cfgcheck -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 119399) reported error number 1 when it ended.
httpd: Syntax error in -C/-c directive: Syntax error on line 2 of /etc/apache2/conf.modules.d/000_mod_mpm_prefork.conf: Cannot load modules/mod_mpm_prefork.so into server: /etc/apache2/modules/mod_mpm_prefork.so: undefined symbol: ap_run_child_stopping
Followed the steps above but to no luck. Please help
Susheel