Control Web Panel
WebPanel => How to => Topic started by: yeknafar on January 11, 2019, 09:49:32 AM
-
Hello
I have changed my server name to srv2.mydomain.com but I can not login.
I could login till some days ago but I cannot now.
I tried these links too:
http://srv2.mydomain.com:2082
http://srv2.mydomain.com:2030
http://srv2.mydomain.com:2031
Thank you
-
since this issue was not clearly explained with the exact error there can be several issues
1st. try to check that hostname subdomain is resolving to the correct ip
-
Thanks for your attention and answer
I did. the subfomain is pointing to my IP. I could login till some days ago.
When I go to http://srv2.mydomain.com I can get HTTP Test Page but wehn I go to http://srv2.mydomain.com:2030 it says:
Unable to connect
This site can’t be reached
-
I checked /etc/sysconfig/network too. my hostname is set correctly.
-
then try to access cwp by ip:2030 if that works
example
http://121.122.123.124:2030
if that doesn't work then you need to check cwpsrv logs you can find info about it on the wiki.
-
Thanks for your kindness
When I use
/usr/local/cwpsrv/logs/
/usr/local/cwp/php71/var/log/
It says:
-bash: /usr/local/cwp/php71/var/log/: Is a directory
-bash: /usr/local/cwpsrv/logs: Is a directory
-
I restarted CWP and it says:
Failed to start CentOS Web Panel service (daemon).
LOCAL: Socket file /var/run/clamd.amavisd/clamd.sock is in use by another process.
I think I fixed the camd with these codes
service clamd stop
rm -f /var/run/clamd.amavisd/clamd.sock
service clamd start
But I have this error yet:
Failed to start CentOS Web Panel service (daemon).
Thanks
-
Do a hard restart of your vps itself at your service provider command shell.
Changing hostname might need a system reboot