• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

VHOST-Problem after PLESK 8.3.0 Update

D

dtyfrm

Guest
After my successful update to PLESK 8.3.0 all my vhosts are not available. the web-data is still on the disc under /srv/www/vhosts/[vhost-domain]/httpdocs but it seems the apache is not routing the web-requests to the correct folders.

when i try to go to my vhost-domains via webbrowser it says "error 403", because the apache doesn't fetch the data from the correct disc-folder. the error-log of apache says it looks in "srv/www/httpdocs" for ALL vhost-domains. mybe the vhost-config is overwriten or not included in the http.conf anymore?! the correct vhost-configs of each domain are still in "/srv/www/vhosts/[vhost-domain]/conf/http.include" - but i don't know if apache gets it.

please help! thanks!
 
Solution to VHOST-Problem

Hi!

When I update Plesk 8.2.1 to 8.3, I got the same error.

For solve this problem you have to follow the nexts steps:

1) Connect via SSH to Plesk Server
2) Login as ROOT.
3) Run the next command: /usr/local/psa/admin/sbin/websrvmng -a -v
4) Your VHOSTS Plesk File will be regenerated in /etc/httpd/conf.d/zz010_psa_httpd.conf or similar.
5) Restart APACHE Daemon.

This was worked for me and my server!

Good Luck

Best Regads!!! and Happy New Year 2008 ;-)

Sergi Ortega
Host & WebMaster
TeamValles S.L.
 
Error after command

Hello,

if I try to proceed your steps I get an error from my Server:

h1057932:/ # /usr/local/psa/admin/sbin/websrvmng -a -v
websrvmng: Unable to open file /srv/www/vhosts/backpackerpoint.com/conf/httpd.include.new for writing: No such file or directory

System error 2: No such file or directory
websrvmng: Unable to open file /srv/www/vhosts/backpackerpoint.com/conf/httpd.include.new for writing: No such file or directory

System error 2: No such file or directory

If I try to delete the client with backpackerpoint.com from Plesk I get this Error:

Error: Unable to remove client: Unable to remove hosting: Unable to delete subdomain #2: Unable to delete SysUser: SysUser->systemRemove() failed: usermng failed: usermng: Unable to getpwnam for user movies
System error 2: No such file or directory
usermng: Error: invalid user 'movies'
System error 2: No such file or directory

I think I that I could proceed your steps If I delete this client. But how???
 
Is there a user "movies" in /etc/passwd? If no, you can add it and change the home directory for him manually to /srv/www/vhosts/backpackerpoint.com.
It looks like the directory /srv/www/vhosts/backpackerpoint.com/ does not exists at all, however it remains in the Plesk database. In this case you can try to create the directory manually with "mkdir". Then you will be able to delete it properly from Plesk CP.
 
Thanks,

I maked new directories and added the users to passwd. After that I could remove the clients. Everything is done...

Bye
 
Back
Top