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

Issue Plesk Onyx and Centos 7: transvhost.pl breaks all of my websites

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?
 
Perhaps that problem may be related to mount options which could affect some permissions, etc.
Also 'plesk repair fs' could be useful there.
 
Mount options seem identical, e.g.

/dev/mapper/centos-root / xfs defaults 0 0
/dev/mapper/centos-home /home xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
/dev/sdb1 /vhost-drive xfs defaults 0 0

I did try `plesk repair fs` when I noticed the issue as well to no avail.
 
Back
Top