• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

httpdmng failure

HostaHost

Regular Pleskian
Getting this error while trying to run httpdmng to fix a different issue:

Code:
 /usr/local/psa/admin/bin/httpdmng --reconfigure-all
2011-09-30T15:47:28-04:00 ERR (3): Apache config (13174120420.88236500) generation failed: Syntax error on line 14551 of /usr/local/psa/admin/conf/generated/13174120420.88236500_server.include:
<VirtualHost> directive missing closing '>'

Syntax error on line 14551 of /usr/local/psa/admin/conf/generated/13174120420.88236500_server.include:
<VirtualHost> directive missing closing '>'

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

Details: Empty error message from utility.

Only problem is that there definitely is not a missing closing tag for the virtual host because I read through the entire file an confirmed they all match up. The line the error occurs on is in the middle of the <VirtualHost \ clause that defines some of the IP addresses on the server, but not all of them; Plesk seems to break them up into chunks. I removed some IP's to see if that helped but didn't. The error did begin occurring immediately after our last IP address addition, so I do think the issue is related to the number of IP addresses on the server; perhaps once you get to a certain point the config becomes invalid?

New sites being added to the server seem to still function correctly, I'm guessing because of the "Include /usr/local/psa/admin/conf/vhosts_bootstrap.conf" in the last successful config and the fact that those individual site config files are still being generated correctly.

I tried to debug this issue using strace to see what exactly httpdmng was doing when it failed but it seems Parallels has outsmarted me there:

Code:
DEBUGGER DETECTED... Bye!
 
No more this but this with php -v:

Failed loading /usr/lib64/php/modules/ZendGuardLoader.so: /usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: gc_remove_zval_from_buffer
 
Back
Top