httpd: Syntax error - undefined symbol: ap_unixd_mpm_set_signals

susheelrao

Registered
Feb 8, 2022
1
0
1
India
cPanel Access Level
Root Administrator
Hello,

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:

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
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.

I'll monitor the status of the internal case, and update this thread with more information as it becomes available.

Thank you.
I am facing a problem on my Cloudlinux server

[[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
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,499
1,971
363
cPanel Access Level
Root Administrator
Hey there! Since there are a few different configuration files involved with those errors, it's probably best if we examined the server directly. If you could open a support ticket with our team and then post the number here I'll be sure to follow along so this thread can be updated with a resolution.