6 04 2011

Plesk Apache 2 Test Page showing on each website

bigCat Posted in Linux - Comment.isBlank

娘的手贱升级plesk。。。禁用了named导致错误\r\n所有页面指向apache默认页面 返回码403\r\n\r\nhttp://forum.parallels.com/showthread.php?t=106506\r\n\r\n\r\n\r\nERROR while trying to untar named run-root directory structure I'm on a VPS running Plesk v10.0.1, Linux 2.6.9-023stab052.4-smp.\r\n\r\nWhilst updating a component on Plesk it seemed to want to reconfigure a whole bunch of things. I get an error:\r\n\r\n===> Installing and configuring Named Server\r\n\r\nChecking for the system groups and users necessary for named (bind)...\r\nChecking for the group 'named'...\r\nGroup 'named' already exists\r\n\r\nChecking for the user 'named'...\r\nUser 'named' already exists\r\n\r\nStop running named daemon\r\nTrying to stop service named... done\r\nTrying to untar named run-root directory structure...\r\nERROR while trying to untar named run-root directory structure\r\nCheck the error reason(see log file: /tmp/pp10.9.0-bootstrapper.101127.18.56.log), fix and try again\r\n\r\n\r\n**** Product post-install failed.\r\n\r\n***** problem report *****\r\nERROR while trying to untar named run-root directory structure\r\nCheck the error reason(see log file: /tmp/pp10.9.0-bootstrapper.101127.18.56.log), fix and try again\r\n\r\nTo complete product installation one should run bootstrapper script:\r\n/usr/local/psa/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair\r\n\r\n\r\n\r\nI check the log file and it just says the same message. I run the bootstrapper repair and it errors with the same message but it tells me that it's trying to find the file /usr/local/psa/tmp/run-root.tar but can't find it.\r\n\r\nBecause of this all my websites are down. I just get a page not found error on every domain.\r\n\r\nAny ideas? Thank you. \r\n\r\nRight I've fixed it!\r\n\r\nIf anyone else has this issue then here is how to fix it....\r\n\r\nBrowse to\r\n\r\nAnd locate your correct version of Plesk and the correct version for your OS.\r\n\r\nMine was: PSA_10.0.1 then dist-rpm-CentOS-5-x86_64\r\n\r\nGo into the base folder and download the package that starts "plesk-core".\r\n\r\nOnce downloaded copy to your server in the /tmp directory.\r\n\r\nThen run the following commands:\r\n\r\ncd /tmp\r\nrpm2cpio plesk-core*.rpm | cpio -idv --no-absolute-filenames\r\n\r\nThis will extract a whole bunch of stuff into the /tmp directory.\r\n\r\nNext browse to /tmp/usr/local/psa/tmp and you will find the run-root.tar\r\n\r\nCopy this into your /usr/local/psa/tmp folder and then run the bootstrapper repair, in my case it was the following:\r\n/usr/local/psa/tmp/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair\r\n\r\nThis should complete with no errors!!! \r\n

Host: (miao) | Word: Press | Code: HTML5