• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

upgrade to plesk 10.4.4: configuration broken (apache down)

B

basw80

Guest
Hey there,

After an upgrade to plesk 10.4.4, the webserver won't start any more.
I can't seem to pinpoint the problem, the error messages are to vague.
Errors occur when I try:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-server
or
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all

PleskUtilException: '/usr/local/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443' failed with code 255.

stdout:
Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

stderr:
Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('06f1c5c41011b41...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(82): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(202): Template_Writer_Apache->restart()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(313): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/WebServerManager.php(199): WebServerManager_Adapter_Apache->reconfigureServer(Object(Db_Table_Row_ServiceNode))
#9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(123): WebServerManager->reconfServer()
#10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#11 {main}

2011-12-05T10:40:57+01:00 ERR (3): Apache config (13230780550.62305300) generation failed: Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start

The error-mail I receive:
Generating new Apache configuration on host <hostname> failed because the following error(s) occurred:
Can not restart web server: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start
Please fix error(s) in templates of Apache configuration and retry generating the configuration file.

I surely would like to fix the errors, but where can I find the exact errors?
/var/log/sw-cp-server/error_log does not give me more detail.

Also:
apachectl -t
Syntax OK
 
Last edited by a moderator:
Same Problem

I need help please. I have the same problem. This is not how expected a simple upgrade to look like.

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PleskUtilException: '/usr/local/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443' failed with code 255.

stdout:
Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start


stderr:
Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('7384a88e7d87a7b...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(82): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(202): Template_Writer_Apache->restart()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager.php(311): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/api-common/Httpdmng.php(117): WebServerManager->sync()
#9 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#10 {main}

2011-12-21T00:48:31+01:00 ERR (3): Apache config (13244249010.44677900) generation failed: Can not restart web server: Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start

Can not restart web server: Service /etc/init.d/apache2 failed to start
Service /etc/init.d/apache2 failed to start

PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-domains' 'abc.com' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1047
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
#1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
#2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
#3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(101): Os::execEx('httpdmng', Array)
#4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#5 {main}

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => abc.com
)

Details: Empty error message from utility.
 
Looks like I have now joined the thread after just updating my CP. BIG MISTAKE, AGAIN!

Anyone got a bright idea what to look for, best laugh its email the error to me but I can't find it?

Here is my error below:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code 1.

stdout:


stderr:
Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('7c43e90e06faa45...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_Writer_Apache->test()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(313): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/WebServerManager.php(199): WebServerManager_Adapter_Apache->reconfigureServer(Object(Db_Table_Row_ServiceNode))
#9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(123): WebServerManager->reconfServer()
#10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#11 {main}

2012-01-16T16:49:13+00:00 ERR (3): Apache config (13267325530.30295600) generation failed: Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-server' '-no-restart' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1047
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
#1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
#2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
#3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(89): Os::execEx('httpdmng', Array)
#4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#5 {main}

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: Empty error message from utility.
 
Last edited by a moderator:
Here is the output from trying a Bootstrapper 10.13.4 repair

START Bootstrapper 10.13.4 repair AT Mon Jan 16 17:02:21 GMT 2012

**** Product repair started.

===> Checking for previous installation ... found.
Create user 'psaadm' and group 'psaadm'
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Create group swkey-data
Checking for the group 'swkey-data'...
Group 'swkey-data' already exists

Checking for the group 'swkey-data'...
Trying to add supplementary group 'swkey-data' for user 'psaadm'... already there
Create Mail accounts
Checking for the group 'popuser'...
Group 'popuser' already exists

Checking for the user 'popuser'...
User 'popuser' already exists

Checking for the user 'mhandlers-user'...
User 'mhandlers-user' already exists

Trying to got legacy variables... done
Trying to save legacy variables... done
Checking for the system groups and users necessary for ftp server...
Checking for the group 'psaftp'...
Group 'psaftp' already exists

Checking for the user 'psaftp'...
User 'psaftp' already exists


Trying to start service mysqld... mysqld (pid 31935) is running...
done
Checking for the system groups and users necessary for Apache...
Checking for the group 'apache'...
Group 'apache' already exists

Checking for the user 'apache'...
User 'apache' already exists


===> Checking for the necessary system accounts
Checking for the system groups and users necessary for MySQL...
Checking for the group 'mysql'...
Group 'mysql' already exists

Checking for the user 'mysql'...
User 'mysql' already exists

Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'apache'... already there
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaftp'... already there
Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Trying to start service mysqld... mysqld (pid 31935) is running...
done
Trying to establish test connection... connected
done
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.10.13.4-10.13.4.20120116-170226.dump.gz
Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell

Create PPSB support group
Checking for the group 'psasb'...
Group 'psasb' already exists

Checking for the group 'psasb'...
Trying to add supplementary group 'psasb' for user 'psaadm'... already there
Checking for the group 'psasb'...
Trying to add supplementary group 'psasb' for user 'apache'... already there

===> Performing safe prep-install database actions


===> Upgrading database

Trying to start service mysqld... mysqld (pid 31935) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 010134
Version is OK, no need to create psa database.
Trying to backup MySQL database... done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.10.13.4-10.13.4.20120116-170231.dump.gz
no upgrade for 80
no upgrade for 81
no upgrade for 82
no upgrade for 83
no upgrade for 84
no upgrade for 86
no upgrade for 90
no upgrade for 92
no upgrade for 93
no upgrade for 95
no upgrade for 100
no upgrade for 101
no upgrade for 107
no upgrade for 108
no upgrade for 109
no upgrade for 1010
no upgrade for 1011
no upgrade for 1012
no upgrade for 1013
Trying to set psa database version to 010134... Warning: there are no bootstrapper prep_install actions for component 'horde'
Warning: there are no bootstrapper prep_install actions for component 'mail-pc-driver'
Deferring webserver configuration
Trying to start service mysqld... mysqld (pid 31935) is running...
done
Trying to establish test connection... connected
done
Trying to generate default psa SSL Certificate... default certificate already exists
done
Trying to install PAM module... PAM configuration loaded from (directory="/etc/pam.d", file="/etc/pam.conf"). Configuration contains 36 file(s)
calculated 1 position(s) to change 'password' stacks
required 'password' stack(s) modified (in memory)
PAM configuration saved (directory="/etc/pam.d", file="/etc/pam.conf")
done
Checking that /bin/false registered as login shell...
/bin/false already registered as a login shell

Checking for ftp home directory for 'clients' group...
@psacln
'@psacln' is already in the /etc/ftpchroot

Trying to register service xinetd... done
Trying to restart service xinetd... xinetd (pid 4212) is running...
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
done
Checking for the group 'psaadm'...
Trying to add supplementary group 'psaadm' for user 'sw-cp-server'... already there
Trying to register service xinetd... done
Setting the default locale
The default locale is set to en-US (ENGLISH, UNITED STATES)


===> Installing rbash
Checking that /bin/rbash registered as login shell...
/bin/rbash
/bin/rbash is already registered as login shell

Trying to define valid mysql credentials... Trying to establish test connection... connected
done
Trying to start service mysqld... mysqld (pid 31935) is running...
done
Trying to establish test connection... connected
done

===> Installing Admin Server

===> Installing Apache Server
Trying to stop service httpd... httpd is stopped
done
Copying apache files... done

*** SNIP***
 
Part two of snip

===> Installing and configuring Named Server

Checking for the system groups and users necessary for named (bind)...
Checking for the group 'named'...
Group 'named' already exists

Checking for the user 'named'...
User 'named' already exists

Stop running named daemon
Trying to stop service named... number of zones: 15
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
named (pid 5381) is running...
Stopping named: .[ OK ]
done
Trying to untar named run-root directory structure... mknod: `dev/random': File exists
mknod: `dev/urandom': File exists
done
Trying to set up default permissions... done
Trying to stop service named... rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
done
Trying to start service named... rndc: connect failed: 127.0.0.1#953: connection refused
named is stopped
Starting named: [ OK ]
done
Trying to install chrooted environment... `/bin/bash' -> `bash'
`/lib64/libtermcap.so.2' -> `/var/www/vhosts/chroot/lib64/libtermcap.so.2'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/cat' -> `cat'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/cp' -> `cp'
`/lib64/libacl.so.1' -> `/var/www/vhosts/chroot/lib64/libacl.so.1'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libattr.so.1' -> `/var/www/vhosts/chroot/lib64/libattr.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/bin/grep' -> `grep'
`/lib64/libpcre.so.0' -> `/var/www/vhosts/chroot/lib64/libpcre.so.0'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/usr/bin/head' -> `head'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/usr/bin/id' -> `id'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/usr/bin/less' -> `less'
`/usr/lib64/libncursesw.so.5' -> `/var/www/vhosts/chroot/lib64/libncursesw.so.5'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/bin/ln' -> `ln'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/ls' -> `ls'
`/lib64/librt.so.1' -> `/var/www/vhosts/chroot/lib64/librt.so.1'
`/lib64/libacl.so.1' -> `/var/www/vhosts/chroot/lib64/libacl.so.1'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libpthread.so.0' -> `/var/www/vhosts/chroot/lib64/libpthread.so.0'
`/lib64/libattr.so.1' -> `/var/www/vhosts/chroot/lib64/libattr.so.1'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/bin/mkdir' -> `mkdir'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/bin/more' -> `more'
`/lib64/libtermcap.so.2' -> `/var/www/vhosts/chroot/lib64/libtermcap.so.2'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/mv' -> `mv'
`/lib64/libacl.so.1' -> `/var/www/vhosts/chroot/lib64/libacl.so.1'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libattr.so.1' -> `/var/www/vhosts/chroot/lib64/libattr.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/bin/pwd' -> `pwd'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/rm' -> `rm'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/rmdir' -> `rmdir'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
which: no sash in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin)
`/bin/sh' -> `sh'
`/lib64/libtermcap.so.2' -> `/var/www/vhosts/chroot/lib64/libtermcap.so.2'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/usr/bin/tail' -> `tail'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/touch' -> `touch'
`/lib64/librt.so.1' -> `/var/www/vhosts/chroot/lib64/librt.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libpthread.so.0' -> `/var/www/vhosts/chroot/lib64/libpthread.so.0'
`/usr/bin/du' -> `du'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/vi' -> `vi'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libtermcap.so.2' -> `/var/www/vhosts/chroot/lib64/libtermcap.so.2'
`/lib64/libacl.so.1' -> `/var/www/vhosts/chroot/lib64/libacl.so.1'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/lib64/libattr.so.1' -> `/var/www/vhosts/chroot/lib64/libattr.so.1'
`/bin/true' -> `true'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/bin/false' -> `false'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/usr/bin/scp' -> `scp'
`/lib64/libcrypto.so.6' -> `/var/www/vhosts/chroot/lib64/libcrypto.so.6'
`/lib64/libutil.so.1' -> `/var/www/vhosts/chroot/lib64/libutil.so.1'
`/lib64/libz.so.1' -> `/var/www/vhosts/chroot/lib64/libz.so.1'
`/lib64/libnsl.so.1' -> `/var/www/vhosts/chroot/lib64/libnsl.so.1'
`/lib64/libcrypt.so.1' -> `/var/www/vhosts/chroot/lib64/libcrypt.so.1'
`/lib64/libresolv.so.2' -> `/var/www/vhosts/chroot/lib64/libresolv.so.2'
`/usr/lib64/libgssapi_krb5.so.2' -> `/var/www/vhosts/chroot/lib64/libgssapi_krb5.so.2'
`/usr/lib64/libkrb5.so.3' -> `/var/www/vhosts/chroot/lib64/libkrb5.so.3'
`/usr/lib64/libk5crypto.so.3' -> `/var/www/vhosts/chroot/lib64/libk5crypto.so.3'
`/lib64/libcom_err.so.2' -> `/var/www/vhosts/chroot/lib64/libcom_err.so.2'
`/usr/lib64/libnss3.so' -> `/var/www/vhosts/chroot/lib64/libnss3.so'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/usr/lib64/libkrb5support.so.0' -> `/var/www/vhosts/chroot/lib64/libkrb5support.so.0'
`/lib64/libkeyutils.so.1' -> `/var/www/vhosts/chroot/lib64/libkeyutils.so.1'
`/usr/lib64/libnssutil3.so' -> `/var/www/vhosts/chroot/lib64/libnssutil3.so'
`/usr/lib64/libplc4.so' -> `/var/www/vhosts/chroot/lib64/libplc4.so'
`/usr/lib64/libplds4.so' -> `/var/www/vhosts/chroot/lib64/libplds4.so'
`/usr/lib64/libnspr4.so' -> `/var/www/vhosts/chroot/lib64/libnspr4.so'
`/lib64/libpthread.so.0' -> `/var/www/vhosts/chroot/lib64/libpthread.so.0'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/usr/bin/groups' -> `groups'
Trying to install sftp-server binary into chroot environment... `/usr/libexec/openssh/sftp-server' -> `/var/www/vhosts/chroot/usr/libexec/openssh/sftp-server'
done
`/lib64/libcrypto.so.6' -> `/var/www/vhosts/chroot/lib64/libcrypto.so.6'
`/lib64/libutil.so.1' -> `/var/www/vhosts/chroot/lib64/libutil.so.1'
`/lib64/libz.so.1' -> `/var/www/vhosts/chroot/lib64/libz.so.1'
`/lib64/libnsl.so.1' -> `/var/www/vhosts/chroot/lib64/libnsl.so.1'
`/lib64/libcrypt.so.1' -> `/var/www/vhosts/chroot/lib64/libcrypt.so.1'
`/lib64/libresolv.so.2' -> `/var/www/vhosts/chroot/lib64/libresolv.so.2'
`/usr/lib64/libgssapi_krb5.so.2' -> `/var/www/vhosts/chroot/lib64/libgssapi_krb5.so.2'
`/usr/lib64/libkrb5.so.3' -> `/var/www/vhosts/chroot/lib64/libkrb5.so.3'
`/usr/lib64/libk5crypto.so.3' -> `/var/www/vhosts/chroot/lib64/libk5crypto.so.3'
`/lib64/libcom_err.so.2' -> `/var/www/vhosts/chroot/lib64/libcom_err.so.2'
`/usr/lib64/libnss3.so' -> `/var/www/vhosts/chroot/lib64/libnss3.so'
`/lib64/libc.so.6' -> `/var/www/vhosts/chroot/lib64/libc.so.6'
`/lib64/libdl.so.2' -> `/var/www/vhosts/chroot/lib64/libdl.so.2'
`/usr/lib64/libkrb5support.so.0' -> `/var/www/vhosts/chroot/lib64/libkrb5support.so.0'
`/lib64/libkeyutils.so.1' -> `/var/www/vhosts/chroot/lib64/libkeyutils.so.1'
`/usr/lib64/libnssutil3.so' -> `/var/www/vhosts/chroot/lib64/libnssutil3.so'
`/usr/lib64/libplc4.so' -> `/var/www/vhosts/chroot/lib64/libplc4.so'
`/usr/lib64/libplds4.so' -> `/var/www/vhosts/chroot/lib64/libplds4.so'
`/usr/lib64/libnspr4.so' -> `/var/www/vhosts/chroot/lib64/libnspr4.so'
`/lib64/libpthread.so.0' -> `/var/www/vhosts/chroot/lib64/libpthread.so.0'
`/lib64/libselinux.so.1' -> `/var/www/vhosts/chroot/lib64/libselinux.so.1'
`/lib64/libsepol.so.1' -> `/var/www/vhosts/chroot/lib64/libsepol.so.1'
`/etc/termcap' -> `/var/www/vhosts/chroot/etc/termcap'
done

***SNIP***
 
Last but not least here is the final part of the full Bootstrapper 10.13.4 repair log.

Gets to be a real joy every time I do an update, beginning to ask myself why do I do it? Madness I suppose. Please help if you can as obviously now have all sites and webmail down on this server.

===> Installing phpMyAdmin
Trying to create pmadb... done
done
===> Installing /usr/sbin/suexec replacement
Trying to backup original /usr/sbin/suexec... done
`/usr/local/psa/suexec/psa-suexec' -> `/usr/sbin/suexec'
Trying to upgrade APS controller database... done
Database is up-to-date
no upgrade for 80
no upgrade for 81
no upgrade for 82
no upgrade for 83
no upgrade for 84
no upgrade for 86
no upgrade for 90
no upgrade for 92
no upgrade for 93
no upgrade for 95
no upgrade for 100
no upgrade for 101
no upgrade for 107
no upgrade for 108
no upgrade for 109
no upgrade for 1010
no upgrade for 1011
no upgrade for 1012
no upgrade for 1013
Trying to set psa database version to 010134... Trying to stop service named... number of zones: 15
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
named (pid 10038) is running...
Stopping named: .[ OK ]
done
Trying to start service named... number of zones: 15
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
named (pid 10733) is running...
done
Trying to clean up compiled python modules... Trying to install site isolation settings... config found. Nothing to be done Trying to update Components... done
Trying to executing mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not exists
==> Checking for: mail_postfix_transport_restore... ok
==> Checking for: mail_spam_restore... ok
done
Trying to start service httpd... httpd is stopped
Starting httpd: Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

WARNING!
Some problems are found during start(see log file: /tmp/plesk_10.4.4_installation.log)

Continue...

PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code 1.

stdout:


stderr:
Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('17ccf187cfdb5f3...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_Writer_Apache->test()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(313): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/WebServerManager.php(199): WebServerManager_Adapter_Apache->reconfigureServer(Object(Db_Table_Row_ServiceNode))
#9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(123): WebServerManager->reconfServer()
#10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#11 {main}

2012-01-16T17:03:54+00:00 ERR (3): Apache config (13267334330.37604900) generation failed: Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-server' '-no-restart' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1047
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
#1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
#2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
#3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(89): Os::execEx('httpdmng', Array)
#4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#5 {main}

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: Empty error message from utility.
Trying to register service psa... done
Trying to create Virtual Hosts directory... done
Trying to sync default virtual host... done
Trying to register service courier-imap... done
Trying to start service courier-imap... couriertcpd (pid 11444 11435 11427 11417) is running...
done

===> Checking for previous installation ... found.
install default license key ...not needed, license from 9.x found

Trying to start psa...





Congratulations!
All stages of the upgrade were successful.
psa is now running on your system.
To complete the system configuration process, please proceed to URL:
https://MY DOMAIN:8443/ or
https://MY IP ADDRESS:8443/
Use 'admin' and '<YOUR ADMIN PASSWORD>' as login name and password.

Further, use the following commands to start and stop the system:
/etc/init.d/psa start and
/etc/init.d/psa stop respectively.


**** Product repair completed successfully.

STOP Bootstrapper 10.13.4 repair AT Mon Jan 16 17:04:03 GMT 2012
 
Last edited by a moderator:
After perform bootstrapper, in PLESK main page, it shows:

Error: New files of configuration for Apache web server were not built due to errors in configuration templates.

How do I proceed to fix this?
 
By doing a
mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -Nse"select * from Configurations where status='error'\G"
as per looking at the following KB's

1.http://kb.parallels.com/en/112815
2.http://kb.parallels.com/en/111605
3.http://kb.parallels.com/en/112885
4.http://kb.parallels.com/en/112520
5.http://kb.parallels.com/en/112882

Gave an output:

mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -Nse"select * from Configurations where status='error'\G"
*************************** 1. row ***************************
1
server
/usr/local/psa/admin/conf/generated/13257716390.02848600_server.include
13267334330.37604900
server
NULL
error
Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

1
*************************** 2. row ***************************
2
serverHorde
/usr/local/psa/admin/conf/generated/13257716390.02848600_horde.include
13267334330.37604900
server
NULL
error
Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

1

And said error file /etc/httpd/conf/httpd.conf shows:

Binary file /etc/httpd/conf/httpd.conf matches
AddType text/html .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Include /etc/httpd/conf.d/zz010_psa_httpd.conf
GracefulShutDownTimeout 3
AddOutputFilter INCLUDES .shtml
 
Last edited by a moderator:
Looked at the following KB, output below.

1. http://kb.parallels.com/en/112556

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PleskUtilException: '/usr/local/psa/admin/bin/apache-config' '-t' failed with code 1.

stdout:


stderr:
Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(4, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('e66bf79d4642c71...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Template/Writer/Apache.php(58): Service_Agent->commit()
#4 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(196): Template_Writer_Apache->test()
#5 /usr/local/psa/admin/plib/Template/Configuration/Applier.php(117): Template_Configuration_Applier->_applyConfigurationsToServiceNode(1, Array)
#6 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(125): Template_Configuration_Applier->applyConfiguration(true)
#7 /usr/local/psa/admin/plib/WebServerManager/Adapter/Apache.php(313): WebServerManager_Adapter_Apache->sync()
#8 /usr/local/psa/admin/plib/WebServerManager.php(199): WebServerManager_Adapter_Apache->reconfigureServer(Object(Db_Table_Row_ServiceNode))
#9 /usr/local/psa/admin/plib/api-common/Httpdmng.php(123): WebServerManager->reconfServer()
#10 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#11 {main}

2012-01-16T18:09:10+00:00 ERR (3): Apache config (13267373490.52465100) generation failed: Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

Syntax error on line 1 of /etc/httpd/conf/httpd.conf:
Invalid command 'Binary', perhaps misspelled or defined by a module not included in the server configuration

PleskUtilException: /usr/local/psa/admin/bin/httpdmng '--reconfigure-server' '-no-restart' failed with message: Empty error message from utility.
file: /usr/local/psa/admin/plib/common_func.php3
line: 1047
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
#1 /usr/local/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
#2 /usr/local/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
#3 /usr/local/psa/admin/plib/api-common/Httpdmng.php(89): Os::execEx('httpdmng', Array)
#4 /usr/local/psa/admin/sbin/httpdmng(13): Httpdmng->__construct()
#5 {main}

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: Empty error message from utility.

Need to know what is the best thing to do next as do not want to start chasing my tail down the wrong track!

Is having only 7 lines in /etc/httpd/conf/httpd.conf as per my previous post correct?
 
Last edited by a moderator:
Comment " # GracefulShutDownTimeout 3AddOutputFilter INCLUDES .shtml " solves this issue but realy i wonder whats the reason of this ?
 
each time httpd restarted it dies

Each time including the AutoInstaller auto install failed to restart httpd, the log files has no clue, except this mail is sent to root.

--------snip---------
Generating new Apache configuration on host <ns2.DOMAIN.com> failed because the following error(s) occurred:

Can not restart web server: Service /etc/init.d/httpd failed to start
Service /etc/init.d/httpd failed to start


Please fix error(s) in templates of Apache configuration and retry generating the configuration file.
-------snip--------

and needed to run bootstrapper.sh repair each time to start httpd. this is strange error, but each time its not practical to run bootstrapper script.

It seems its bug in 10.4.4 as it some times failes to generate config files, some time apache controller error.
 
Back
Top