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

Change VHost location Crashed

GabrielMarais

New Pleskian
Hi Guys

I have a new server installed with Plesk 12. I changed the VHOSTS location with the command
root@vhost-za-01:/mnt/vdb1# /usr/local/psa/bin/transvhosts.pl --dest-dir /mnt/vdb1/plesk

The script ran and produced the following error :-

Moving files to new directory...
Correct psa configuration file...
Correct passwd file...
Correct php-fpm pools configuration...
Correct database...
Update hosting settings...
done
Update subdomains settings...
done
Update system users settings...
done
[2014-08-05 06:31:41] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Unable to read apache features from the service node: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 16 of /etc/apache2/plesk.conf.d/server.conf:
DocumentRoot must be a directory
get_apache_path: '/usr/sbin/apache2ctl -V' failed


Error occured while sending feedback. HTTP code returned: 502
Error occured while sending feedback. HTTP code returned: 502
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2014-08-05 06:31:47] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-08-05 06:31:50] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2014-08-05 06:31:52] ERR [panel] Apache config (14072203060.83575900) generation failed: Template_Exception: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 16 of /etc/apache2/plesk.conf.d/server.conf:
DocumentRoot must be a directory

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Error occured while sending feedback. HTTP code returned: 502
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 16 of /etc/apache2/plesk.conf.d/server.conf:
DocumentRoot must be a directory


Can`t reconfigure web server


Now I can't get into the Plesk control panel software, and the new sites are coming up with 502 Bad Gateway.

Any help appreciated.


Regards, Gabriel
 
Back
Top