• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

DocumentRoot must be a directory, no Apache Restart/Start.

Jens-UweW2

New Pleskian
Hi,

the apache is down and will not startet. I have type the command "/usr/local/psa/admin/bin/httpdmng --reconfigure-all" with the follow error:

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

stdout:


stderr:
Syntax error on line 7 of /opt/psa/admin/conf/generated/13463444630.24331900_server.include:
DocumentRoot must be a directory

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

2012-08-30T18:34:24+02:00 ERR (3): Apache config (13463444630.24331900) generation failed: Syntax error on line 7 of /opt/psa/admin/conf/generated/13463444630.24331900_server.include:
DocumentRoot must be a directory

Syntax error on line 7 of /opt/psa/admin/conf/generated/13463444630.24331900_server.include:
DocumentRoot must be a directory

PleskUtilException: /opt/psa/admin/bin/httpdmng '--reconfigure-server' '-no-restart' failed with message: Empty error message from utility.
file: /opt/psa/admin/plib/common_func.php3
line: 1047
code: 0
trace: #0 /opt/psa/admin/plib/common_func.php3(965): util_exec('httpdmng', Array, Array, 'msg', NULL)
#1 /opt/psa/admin/plib/Os.php(17): smart_exec('httpdmng', Array, Array, 'msg')
#2 /opt/psa/admin/plib/Os.php(28): Os::exec('httpdmng', Array, 'msg')
#3 /opt/psa/admin/plib/api-common/Httpdmng.php(89): Os::execEx('httpdmng', Array)
#4 /opt/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.

Line 7 in the 13463444630.24331900_server.include is this: DocumentRoot "/var/www/vhosts/default/htdocs"

Update will not work on this VM, to many errors. I must fix this error manually!

What can i do?

best regards

PS: Panel-Version 10.4.4 Update #20
BS Linux 2.6.9-023stab053.2-smp Debian
 
Last edited:
Back
Top