httpd error after updating

alexelixir

Verified User
Joined
Jun 9, 2011
Messages
36
Location
Russia
just installed and updated everything and after update i got this error
# service httpd start
Starting httpd: AH00534: httpd: Configuration error: No MPM loaded.

i try to solve this by
./build apache
./build php n

nut not working
using centos 5.7 mod_php +modruid2
php 5.4.8
 
just installed and updated everything and after update i got this error
# service httpd start
Starting httpd: AH00534: httpd: Configuration error: No MPM loaded.

i try to solve this by
./build apache
./build php n

nut not working
using centos 5.7 mod_php +modruid2
php 5.4.8

Please post your options.conf file and try "./build rewrite_confs".
 
Code:
[root@serevr custombuild]# cat options.conf 
#PHP settings.
Default version of PHP is always php1_release. Possible values for php1/php2_release: 5.3, 5.4, no. php1/php2_mode: mod_php, php-fpm or suphp)
php1_release=5.4
php2_release=no
php1_mode=mod_php
php2_mode=php-fpm
php_ini=no
#Possible values - production or development
php_ini_type=production
ioncube=no
zend=yes

#Possible values - 5.1, 5.5
mysql=5.5
mysql_inst=no
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups

#Possible value: 2.4
apache_ver=2.4
mod_ruid2=yes
secure_htaccess=no
harden-symlinks-patch=yes

#Web applications
phpmyadmin=yes
squirrelmail=no
roundcube=no

#Mail options
exim=yes
eximconf=yes
clamav=yes
spamassassin=no
dovecot=yes

#Statistics
awstats=no
webalizer=yes

#FTP options - possible values: proftpd, pureftpd
ftpd=pureftpd

#Jailed shell
jail=no

#Autoconf/automake/libtool options
autoconf=yes
automake=yes
libtool=yes
curl=yes

#new version of zlib and libxml2 (experts only)
zlib=no
new_zlib=no
new_xml2=yes

#Custombuild options
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=no
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files.directadmin.com

#Cron settings
cron=yes
cron_frequency=daily
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#Cloudlinux settings
cloudlinux=no
 
[root@serevr custombuild]# ./build rewrite_confs
Using 46.17.**.** for your server IP
Restarting apache.
Stopping httpd: [FAILED]
Starting httpd:
[root@serevr custombuild]#
 
working now
rewrite command worked
thanx

https is start but on the main admin page their is some error
Fatal error: Directive 'register_long_arrays' is no longer available in PHP in Unknown on line 0
93y3ltt7b



and when i build php again
./build php n
then it finish with this error


PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

Fatal error: Directive 'register_long_arrays' is no longer available in PHP in Unknown on line 0
make[1]: *** [install-pear-installer] Error 1
make: *** [install-pear] Error 2
[root@serevr custombuild]#
 
Last edited:
just installed and updated everything and after update i got this error
# service httpd start
Starting httpd: AH00534: httpd: Configuration error: No MPM loaded

I've just faced it as well, as fixed with suggestion of Martynas Bendorius:

Code:
./build rewrite_confs

More debugging info:

Code:
Starting httpd: AH00534: httpd: Configuration error: No MPM loaded.

root@server:/usr/local/directadmin/custombuild# ps aux | grep apache
root      6959  0.0  0.0  10388   876 pts/1    S+   08:34   0:00 grep apache

root@server:/usr/local/directadmin/custombuild# ./build rewrite_confs
Using 94.xxx.xxx.xxx for your server IP
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Restarting apache.

root@server:/usr/local/directadmin/custombuild# ps aux | grep apache
apache    9158  0.0  0.1  73960 13464 ?        S    08:36   0:00 /usr/sbin/httpd -k start -DSSL
apache    9159  0.0  0.1 420676 15420 ?        Sl   08:36   0:00 /usr/sbin/httpd -k start -DSSL
apache    9160  0.0  0.1 355440 15464 ?        Sl   08:36   0:00 /usr/sbin/httpd -k start -DSSL
root      9238  0.0  0.0  10388   872 pts/1    S+   08:36   0:00 grep apache
root@server:/usr/local/directadmin/custombuild#
 
Back
Top