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

0 Members and 1 Guest are viewing this topic.

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

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
[FALLÓ]

and apache not start... what happend¿?

note: i rebuild all vhost but nothing...
NOTE2:

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 »

Offline
*
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

Offline
*
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>
   ServerName DELETED-DOMAIN.COM
   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
   SSLCipherSuite ALL:!ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
   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>

   <IfModule mod_suexec.c>
      SuexecUserGroup DELETED-ACCOUNT DELETED-ACCOUNT
   </IfModule>

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

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

</VirtualHost>

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