Author Topic: Apache error after deleted one account  (Read 8191 times)

0 Members and 1 Guest are viewing this topic.

Apache error after deleted one account
« on: December 09, 2016, 06:47:21 PM »

After deleted one account i have that error:

Code: [Select]
Iniciando httpd: Warning: DocumentRoot [/home/wallpape/public_html] does not exist
httpd: bad user name wallpape

and apache not start... what happend¿?

note: i rebuild all vhost but nothing...

After i remove user list and i create again solved...
Code: [Select]
Changing password for user 4kwide.
passwd: all authentication tokens updated successfully.
Changing shell for 4kwide.
Shell changed.

but not a solutions... bug detected?

« Last Edit: December 09, 2016, 07:14:22 PM by robbyq »

Re: Apache error after deleted one account
« Reply #1 on: April 02, 2019, 12:44:06 AM »
I think this is a "bug" that should be solved. I hope CWP team can see this.
Even... now I recreate the account, and not solve the problem. Apache error..

note: CWPPro

Re: Apache error after deleted one account
« Reply #2 on: April 02, 2019, 02:50:15 AM »
This is a bug.

This is a solution before bug solved:

Delete config in /usr/local/apache/conf.d/vhosts-ssl.conf

You should delete these:

<VirtualHost XXX.XXX.XXX.XXX:8443>
   ServerAlias www.DELETED-DOMAIN.COM
   ServerAdmin webmaster@DELETED-DOMAIN.COM
   DocumentRoot /home/DELETED-ACCOUNT/public_html
   UseCanonicalName Off
   ScriptAlias /cgi-bin/ /home/DELETED-ACCOUNT/public_html/cgi-bin/

   # Custom settings are loaded below this line (if any exist)
   # Include "/usr/local/apache/conf/userdata/DELETED-ACCOUNT/DELETED-DOMAIN.COM/*.conf

   SSLEngine on
   SSLProtocol All -SSLv2 -SSLv3
   SSLCertificateFile /etc/pki/tls/certs/DELETED-DOMAIN.COM.cert
   SSLCertificateKeyFile /etc/pki/tls/private/DELETED-DOMAIN.COM.key
   SSLCertificateChainFile /etc/pki/tls/certs/DELETED-DOMAIN.COM.bundle
   SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

   <IfModule mod_userdir.c>
      UserDir disabled
      UserDir enabled DELETED-ACCOUNT

   <IfModule mod_suexec.c>

   <IfModule mod_suphp.c>
      suPHP_ConfigPath /home/DELETED-ACCOUNT

   <Directory "/home/DELETED-ACCOUNT/public_html">
      AllowOverride All


Be careful, you should delete only deleted domain anda account. start from <VirtualHost XXX.XXX.XXX.XXX:8443> and ended in </VirtualHost>. Becareful