Author Topic: cwpsrv.service failed emerg  (Read 322 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
cwpsrv.service failed emerg
« on: July 29, 2017, 12:27:13 AM »
‚óŹ 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 Fri 2017-07-28 20:25:39 EDT; 3s ago
  Process: 2289 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)

Jul 28 20:25:39  server systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Jul 28 20:25:39  server systemd[1]: Failed to start CentOS Web Panel service (daemon).
Jul 28 20:25:39  server systemd[1]: Unit cwpsrv.service entered failed state.
Jul 28 20:25:39  server systemd[1]: cwpsrv.service failed.

-- Unit cwpsrv.service has begun starting up.
Jul 28 20:26:10  server cwpsrv[2322]: cwpsrv: [emerg] SL_CTX_use_PrivateKey_file("/etc/pki/tls/private/hostname.key")
Jul 28 20:26:10  server cwpsrv[2322]: cwpsrv:configuration file /usr/local/cwpsrv/conf/cwpsrv.conf test failed
Jul 28 20:26:10  server systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Jul 28 20:26:10  server 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.


Offline
*
Re: cwpsrv.service failed emerg
« Reply #1 on: July 29, 2017, 08:07:53 AM »
hostname change should resolve certificate issue with the hostname
From cwp save your hostname again and it wil generate a new certificate and key

If that fails you can co it from the command line (use option from cwp first as that is recommended)
Code: [Select]
sh /scripts/generate_hostname_ssl
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.