Apache problem

Sven

New member
Joined
Apr 26, 2006
Messages
4
Upon installing ImageMagick using this guide, all domain names went offline after trying to restart httpd at the last step, ironically displaying:
Apache is functioning normally

I removed 'extension=imagick.so' back from the php.ini, tried to restart httpd again, but resulted in an error I regrettably cannot remember. Rebuild the configs, didn't work, rebuild apache, didn't work, rebuild all d, received this error:
Code:
AH00534: httpd: Configuration error: More than one MPM loaded.

Upon reading this topic with a similar issue, I went back to custombuild 1.x with apache 2.2 and rebuild everything with all d. This led to the following error somewhere in the output:
Code:
dataskq: command: action=rewrite&value=httpd
Restarting apache.
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 39 of /etc/httpd/conf/extra/httpd-mpm.conf:
Invalid command 'MaxRequestWorkers', perhaps misspelled or defined by a module not included in the server configuration
Which is some config direction from apache 2.4. I stopped here before doing more damage.

Any help is seriously appreciated
--

Before installing ImageMagick, a user received these cron job errors:
Code:
/usr/local/bin/php: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - libMagickCore.so.2: cannot open shared object file: No such file or directory in Unknown on line 0

CB 2.0 config file was:
Code:
#PHP settings.
#Default version of PHP is always php1_release. Possible values for php1/php2_release: 5.3, 5.4, 5.5, no. php1/php2_mode: mod_php, fastcgi, php-fpm or suphp)
php1_release=5.4
php2_release=no
php1_mode=mod_php
php2_mode=php-fpm
htscanner=yes
php_ini=no
php_timezone=CEST
#Possible values - production or development
php_ini_type=production
ioncube=yes
x-mail-header=yes
zend=yes

#HTTP server. Possible values: apache, nginx
webserver=apache

#Apache settings
#Possible value: 2.4
apache_ver=2.4
mod_ruid2=yes
secure_htaccess=no
harden-symlinks-patch=yes
use_hostname_for_alias=no
redirect_host=xxx
redirect_host_https=no

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

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

#Mail options
exim=yes
eximconf=no
clamav=yes
spamassassin=yes
dovecot=yes
pigeonhole=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

#versions of zlib, apr_util and libxml2 (experts only)
zlib=no
new_zlib=no
new_xml2=yes
new_pcre=no
new_suphp=no
old_apr_util=no

#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=admin@xxx
notifications=yes
da_autoupdate=yes
updates=yes
webapps_updates=yes

#Cloudlinux settings
cloudlinux=no
cagefs=no
Only extra on the server is the danginx plug-in.
 
Back
Top