• 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.

Apache confiruation generation failed with empty message.

fruel-

New Pleskian
This is the first time after the upgrade to Plesk 11 that I try to reconfigure the webserver. Executing httpdmng results always in an empty error message.

System: Plesk 11.0.9 on Ubuntu 10.04

Httpdmng:
# /opt/psa/admin/sbin/httpdmng --reconfigure-all
2012-09-25T13:37:22+02:00 ERR (3): Apache config (13485730410.75418600) generation failed:

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

Details: Empty error message from utility.
cat /usr/local/psa/admin/logs/panel.log
...
2012-09-25T13:27:06+02:00 ERR (3): Apache config (13485724250.83164700) generation failed:
2012-09-25T13:30:03+02:00 ERR (3): Apache config (13485726030.14623400) generation failed:
2012-09-25T13:37:22+02:00 ERR (3): Apache config (13485730410.75418600) generation failed:

Configuration database (mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -Be "SELECT * FROM Configurations")
id name file version objectType objectId status description serviceNodeId active
19 server /opt/psa/admin/conf/generated/13485730390.87367900_server.include 13485730390.87367900 server NULL ok NULL 1 true
20 domainVhost 13485730410.75418600 domain 1 error 1 true
21 domainVhostIpDefault 13485730410.75418600 domain 1 error 1 true
22 domainWebmailHorde 13485730410.75418600 domain 1 error 1 true

Email:
Subject: Unable to configure a web server on the host <...>
Unable to generate the web server configuration file on the host <...> because of the following errors:

Please resolve the errors in web server configuration templates and generate the file again.
What errors in the web server configuration templates? I never changed them.

Any idea on how to fix this?
 
httpdmng --reconfigure FAILS ERR (3): Apache config generation failed

I am having the same problem.

Just updated from 10.4.4 to 11.0.9 and now the vhosts config files cannot be updated or regenerated.

Always fail with ERR (3): Apache config (13530904540.36973600) generation failed
(with different file number of course)

System CentOS 5.8 (Final)
Panel Version: 11.0.9 Update #26

Running bootstrap repair produces only warning
Passwords for some MySQL users were not upgraded.
All MySQL DB users that may be used by Panel MUST have passwords in new 41-character format in order for Panel to function properly

As part of the bootstrap repair it also tries to do a reconfigure but it fails with the same error

Please help if you found a solution for this!
 
SOLVED - apache config reconfig failure

I thought I would save others a ton of grief with this.

If you are getting this, the problem seems to be a conflict between the older 10.4.4 panel configurations and the newer 11.0.9 vhosts configurations.

I found that the new system does not "like" the old version include files in client directories: I cannot confirm becauase there is no useful information in the error logs.

This worked for me though:


## wipe files using xargs ... great if you have large number of files
echo /usr/local/psa/admin/conf/generated/* | xargs rm -f
echo /var/www/vhosts/*/conf/*.include | xargs rm -f

## then run

usr/local/psa/admin/bin/httpdmng --reconfigure-all -no-restart

## I use -no-restart becauase we have hundreds of websites on this server ..

I hope this helps someone
 
Answered

I ran into the same issue where I was getting back the error messages unable to configure the server configuration from Plesk but the error field was blank. I did however get one error along the same lines as OP:

httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 8 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 30 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/domain.com/conf/13485481340.06254200_httpd.include: No such file or directory

The errors started to appear after upgrading from 10.4.4, now currently running 11.0.9 MU34

I tried to run bootstrap 11.0.9 and that would take down our client sites.

I spent a couple hours last night which ended up with my hosting company advising that I need to do a whole server re-install. I tried your method and it works so thanks so much for posting this!
 
Last edited:
Back
Top