• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Problem with apache

bokken

Basic Pleskian
Hello, i having problems starting apache, im getting this error.


# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 10 of /usr/local/psa/admin/conf/generated/13540196600.18644200_horde.include: Syntax error on line 31 of /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf: Could not open configuration file /usr/local/psa/admin/conf/generated/13539939590.34363900_recaudalia_com_webmail.include: No such file or directory
[FAILED]


I tryed to repair the apache templates:

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

stdout:


stderr:
httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 10 of /usr/local/psa/admin/conf/generated/13540196600.18644200_horde.include: Syntax error on line 31 of /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf: Could not open configuration file /usr/local/psa/admin/conf/generated/13539939590.34363900_recaudalia_com_webmail.include: No such file or directory

file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 71
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('e2c306114d76a7f...', 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-11-27T13:34:21+01:00 ERR (3): Apache config (13540196600.18644200) generation failed: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 10 of /usr/local/psa/admin/conf/generated/13540196600.18644200_horde.include: Syntax error on line 31 of /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf: Could not open configuration file /usr/local/psa/admin/conf/generated/13539939590.34363900_recaudalia_com_webmail.include: No such file or directory

httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 10 of /usr/local/psa/admin/conf/generated/13540196600.18644200_horde.include: Syntax error on line 31 of /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf: Could not open configuration file /usr/local/psa/admin/conf/generated/13539939590.34363900_recaudalia_com_webmail.include: No such file or directory

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: 1065
code: 0
trace: #0 /usr/local/psa/admin/plib/common_func.php3(983): 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.


This its a big problem, no webserver working.

:(

What its the problem?
 
Try to switch webmail status for the domain and reconfigure all configs again. Or switch webmail to another if not help. Possible you encountered some db inconsistency.
 
After
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
the error
httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 10 of /usr/local/psa/admin/conf/generated/13540196600.18644200_horde.include: Syntax error on line 31 of /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf: Could not open configuration file /usr/local/psa/admin/conf/generated/13539939590.34363900_recaudalia_com_webmail.includ e: No such file or directory
reproduced?

And whe space character in the error "includ e" is not misprint on the forum?
Try to remove this config from /usr/local/psa/admin/conf/webmail_horde_bootstrap.conf manually and regenerate configs again:
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Back
Top