Control Web Panel
WebPanel => Apache => Topic started by: robbyq on December 09, 2016, 06:47:21 PM
-
Hi,
After deleted one account i have that error:
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...
Changing password for user 4kwide.
passwd: all authentication tokens updated successfully.
Changing shell for 4kwide.
Shell changed.
but not a solutions... bug detected?
-
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
-
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