Control Web Panel

Other => Other => Topic started by: Cancel on January 14, 2019, 08:28:56 PM

Title: Admin Login Problem
Post by: Cancel on January 14, 2019, 08:28:56 PM
Hello,i have a problem with my server,i try to login on my admin (http://www.hostech.host:2030) page but i receive error ERR_CONNECTION_REFUSED,but other sites I've hosted on this server are going.
anyone who can help me?

thx!
Title: Re: Admin Login Problem
Post by: studio4host on January 15, 2019, 08:23:18 AM
do you have port 2030 open and also does cwp  works on your server ?

you can check if cwp is working like this
netstat -tlpn|grep 2030


if port 2030 is shown then it works and you probably have some other firewall or closed port restriction.
Title: Re: Admin Login Problem
Post by: Cancel on January 15, 2019, 10:19:38 AM
i do not see port 2030...
https://i.imgur.com/YJHAM8Y.png
Title: Re: Admin Login Problem
Post by: studio4host on January 15, 2019, 11:48:10 AM
then probably cwp is not working

try
sh /scripts/restart_cwpsrv
service cwpsrv status

if that fails try to check cwpsrv logs,info about paths is on the wiki

possible issue could be a hostname certificate whch you can fix with this command if you can't do it manually by editing files
sh /scripts/cwpsrv_rebuild_user_conf
Title: Re: Admin Login Problem
Post by: Cancel on January 15, 2019, 01:08:56 PM
ERROR: https://i.imgur.com/UPedaeu.png

PS: And also i can not to connect with putty or ftp.
I use VNC to conect on vps!
Title: Re: Admin Login Problem
Post by: Gogo on January 15, 2019, 02:33:41 PM
Run  journalctl -xe  and paste output here.

Seems your firewall settings are messed up, because connection refused error in browsers is 99,9% sure that port isn't opened or you are on the firewall's black list.
Title: Re: Admin Login Problem
Post by: Cancel on January 15, 2019, 02:55:02 PM
Code: [Select]
[root@sv1 ~]# journalctl -xe
-- The result is failed.
Jan 15 15:48:39 sv1.hostech.host systemd[1]: Unit cwpsrv.service entered failed
Jan 15 15:48:39 sv1.hostech.host systemd[1]: cwpsrv.service failed.
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#56821 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#12062 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#49711 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#59408 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#35753 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#44936 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#16728 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#8629 (filmeo
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#10533 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#23040 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#50553 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#14914 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#64125 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#19077 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#29131 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#16113 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#36233 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#51581 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#39025 (filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#20915 (filme
lines 2622-2644/2644 (END)
-- The result is failed.
Jan 15 15:48:39 sv1.hostech.host systemd[1]: Unit cwpsrv.service entered failed state.
Jan 15 15:48:39 sv1.hostech.host systemd[1]: cwpsrv.service failed.
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#56821 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#12062 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#49711 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#59408 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#35753 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#44936 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#16728 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#8629 (filmeonline.bid): query (cache) 'filme
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#10533 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#23040 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#50553 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#14914 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#64125 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#19077 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#29131 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#16113 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#36233 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#51581 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#39025 (filmeonline.bid): query (cache) 'film
Jan 15 15:48:41 sv1.hostech.host named[2463]: client 95.211.190.197#20915 (filmeonline.bid): query (cache) 'film
~
~
~
~
~
~
~
~
~
~
~
lines 2622-2644/2644 (END)
[root@sv1 ~]# journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has finished shutting down.
Jan 15 15:56:16 sv1.hostech.host systemd[1]: Starting CentOS Web Panel service (
-- Subject: Unit cwpsrv.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has begun starting up.
Jan 15 15:56:16 sv1.hostech.host cwpsrv[32507]: cwpsrv: [emerg] SL_CTX_use_Priva
Jan 15 15:56:16 sv1.hostech.host cwpsrv[32507]: cwpsrv:configuration file /usr/l
Jan 15 15:56:16 sv1.hostech.host systemd[1]: cwpsrv.service: control process exi
Jan 15 15:56:16 sv1.hostech.host systemd[1]: Failed to start CentOS Web Panel se
-- Subject: Unit cwpsrv.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has failed.
--
-- The result is failed.
Jan 15 15:56:16 sv1.hostech.host systemd[1]: Unit cwpsrv.service entered failed
Jan 15 15:56:16 sv1.hostech.host systemd[1]: cwpsrv.service failed.
lines 2456-2478/2478 (END)
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has finished shutting down.
Jan 15 15:56:16 sv1.hostech.host systemd[1]: Starting CentOS Web Panel service (daemon)...
-- Subject: Unit cwpsrv.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has begun starting up.
Jan 15 15:56:16 sv1.hostech.host cwpsrv[32507]: cwpsrv: [emerg] SL_CTX_use_PrivateKey_file("/etc/pki/tls/private
Jan 15 15:56:16 sv1.hostech.host cwpsrv[32507]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf tes
Jan 15 15:56:16 sv1.hostech.host systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Jan 15 15:56:16 sv1.hostech.host systemd[1]: Failed to start CentOS Web Panel service (daemon).
-- Subject: Unit cwpsrv.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has failed.
--
-- The result is failed.
Jan 15 15:56:16 sv1.hostech.host systemd[1]: Unit cwpsrv.service entered failed state.
Jan 15 15:56:16 sv1.hostech.host systemd[1]: cwpsrv.service failed.
~
~
~
~
~
~
~
~
~
~
~

Title: Re: Admin Login Problem
Post by: Gogo on January 15, 2019, 03:42:20 PM
I didn't mention that this 99.9%  includes not running processes.

As studio4host mentione above hostname ssl cert can be reason for not starting cwp, you can try .
(run as root)
Try to run:
Code: [Select]
sh /usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_sslThen:
Code: [Select]
sh /usr/local/cwpsrv/htdocs/resources/scripts/restart_cwpsrv
If won't work after that, check if /etc/pki/tls/certs/hostname.crt  exist (it should be symbolic link linked to hostname sub.domain.tld.crt  located in the same ...certs/ directory).
Title: Re: Admin Login Problem
Post by: Cancel on January 15, 2019, 04:30:38 PM
I didn't mention that this 99.9%  includes not running processes.

As studio4host mentione above hostname ssl cert can be reason for not starting cwp, you can try .
(run as root)
Try to run:
Code: [Select]
sh /usr/local/cwpsrv/htdocs/resources/scripts/generate_hostname_sslThen:
Code: [Select]
sh /usr/local/cwpsrv/htdocs/resources/scripts/restart_cwpsrv
If won't work after that, check if /etc/pki/tls/certs/hostname.crt  exist (it should be symbolic link linked to hostname sub.domain.tld.crt  located in the same ...certs/ directory).

Done!
Thx for promt respons!

T/C!