Control Web Panel

WebPanel => Apache => Topic started by: jeffusher on May 23, 2015, 06:24:20 AM

Title: Deleted accounts still in vhosts.conf
Post by: jeffusher on May 23, 2015, 06:24:20 AM
Had a strange problem yesterday.

I recently cleared out a couple of old accounts and deleted them from the server.
All went well, no error messages.

Today I added a new account and on the restart httpd would not start at all.

Error message stated that "/home/public_html/xxxx" does not exist.

The xxxx was the username of the account I deleted previously.

In the end I had to add the accounts back to recreate the missing directories and all is OK now.

So it looks like when I delete an account the vhosts file is not removing the entry on reload.

Any ideas? I'll never be able to delete an account again ;-)

Jeff
Title: Re: Deleted accounts still in vhosts.conf
Post by: jeffusher on July 07, 2015, 09:00:52 AM
Anyone able to offer support on this? Problem is still there. Just deleted an account and Apache fails to reload as it says the directory for the account I deleted is missing. Have to recreate the account for Apache to load correctly.

Regards

Jeff
Title: Re: Deleted accounts still in vhosts.conf
Post by: brijendrasial on July 07, 2015, 12:17:06 PM
delete entry of the path from vhost file.
Title: Re: Deleted accounts still in vhosts.conf
Post by: Administrator on July 07, 2015, 06:42:46 PM
or you can rebuild apache vHosts