Paul Larson
Basic Pleskian
OS: CentOS Linux 7.4.1708 (Core)
Plesk: Onyx Version 17.5.3 Update #23, last updated on Sept 30, 2017 02:04 PM
Installed CentOS on an office PC to try a local Plesk. I'm within the 15 day trial, in case that means anything.
Everything is great!
However, I realized the 80gb drive won't be enough for our local website testing. So I mounted an XFS partition at
/vhost-drive/, and ran the transvhost.pl script as follows.
perl transvhosts.pl --dest-dir /vhost-drive/ --correct-scripts
Short version: When I run transvhost, the web vhost files are moved and the script reports success. But websites simply do not work, and spew out the following errors. (I'm sanitizing domain names with "Example.com")
my.plesk.server systemd[1]: Starting The Apache HTTP Server...
my.plesk.server httpd[8153]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: Permission denied
my.plesk.server systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
my.plesk.server kill[8155]: kill: cannot find process ""
my.plesk.server systemd[1]: httpd.service: control process exited, code=exited status=1
my.plesk.server systemd[1]: Failed to start The Apache HTTP Server.
my.plesk.server systemd[1]: Unit httpd.service entered failed state.
my.plesk.server systemd[1]: httpd.service failed.
Stranger still, if I re-run transvhost.pl and move files back to the standard location of /var/www/vhosts, *everything* works perfectly again.
Even verifying permissions, is there a reason Plesk vhosts shouldn't work from another volume or partition?
Plesk: Onyx Version 17.5.3 Update #23, last updated on Sept 30, 2017 02:04 PM
Installed CentOS on an office PC to try a local Plesk. I'm within the 15 day trial, in case that means anything.
Everything is great!
However, I realized the 80gb drive won't be enough for our local website testing. So I mounted an XFS partition at
/vhost-drive/, and ran the transvhost.pl script as follows.
perl transvhosts.pl --dest-dir /vhost-drive/ --correct-scripts
Short version: When I run transvhost, the web vhost files are moved and the script reports success. But websites simply do not work, and spew out the following errors. (I'm sanitizing domain names with "Example.com")
my.plesk.server systemd[1]: Starting The Apache HTTP Server...
my.plesk.server httpd[8153]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: Permission denied
my.plesk.server systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
my.plesk.server kill[8155]: kill: cannot find process ""
my.plesk.server systemd[1]: httpd.service: control process exited, code=exited status=1
my.plesk.server systemd[1]: Failed to start The Apache HTTP Server.
my.plesk.server systemd[1]: Unit httpd.service entered failed state.
my.plesk.server systemd[1]: httpd.service failed.
Stranger still, if I re-run transvhost.pl and move files back to the standard location of /var/www/vhosts, *everything* works perfectly again.
Even verifying permissions, is there a reason Plesk vhosts shouldn't work from another volume or partition?