New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Cannot connect to Admin Panel while trying to install Auto SSl on Hostname

Started by tnvrulhq, April 14, 2020, 04:24:16 PM

Previous topic - Next topic

tnvrulhq

Hello,

I tried to install Auto SSL for my hostname via this  wiki video (How to install SSL on hostname, very old tuturial and thats my mistake) and after restart I now cannot access my admin panel, the error displayed on browser is refused to connect.


When coonected via ssh the following errors are displayed:

# sh /scripts/restart_cwpsrv
Job for cwpsrv.service failed because the control process exited with error code                                                            . See "systemctl status cwpsrv.service" and "journalctl -xe" for details.
[root@eagle ~]# systemctl status cwpsrv.service
● cwpsrv.service - CentOS Web Panel service (daemon)
   Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2020-04-15 01:59:24 AEST; 3s ago
  Process: 22744 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)

cwpsrv.service: control process exited, code=exited status=1
Failed to start CentOS Web Panel service (daemon).
Unit cwpsrv.service entered failed state.
cwpsrv.service failed.
# journalctl -xe
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwpsrv.service has finished shutting down.
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.
cwpsrv: [warn] he "ssl" directive is deprecated, use the "listen ... ssl" directive instead
cwpsrv: [emerg] nexpected end of file, expecting ";" or "}" in /usr/local/cwpsrv/conf.d/cwp-
cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
cwpsrv.service: control process exited, code=exited status=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.
Unit cwpsrv.service entered failed state.
cwpsrv.service failed.
lines 2661-2684/2684 (END)

Could anyone help?

studio4host

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.