Control Web Panel

WebPanel => How to => Topic started by: yeknafar on January 11, 2019, 09:49:32 AM

Title: How to login?
Post 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


Title: Re: How to login?
Post by: studio4host on January 11, 2019, 12:46:42 PM
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
Title: Re: How to login?
Post by: yeknafar on January 11, 2019, 12:51:46 PM
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
Title: Re: How to login?
Post by: yeknafar on January 11, 2019, 02:32:03 PM

I checked  /etc/sysconfig/network too. my hostname is set correctly.
Title: Re: How to login?
Post by: studio4host on January 11, 2019, 02:48:43 PM
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.
Title: Re: How to login?
Post by: yeknafar on January 11, 2019, 04:33:41 PM
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


Title: Re: How to login?
Post by: yeknafar on January 12, 2019, 07:52:58 PM
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
Title: Re: How to login?
Post by: adamjedgar on April 22, 2019, 08:37:46 PM
Do a hard restart of your vps itself at your service provider command shell.

Changing hostname might need a system reboot