This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Installation / Re: This site can’t be reached after install CWP
« on: July 11, 2018, 04:30:34 AM »
I tried to run the following code, now CWP is working but still show a lot of errors
then
then
then reboot the system, reload_cwpsrv, restart_cwpsrv... can access CWP both at port 2030 and 2031 now.
Continue to fix other bugs...
Code: [Select]
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/pki/tls/private/hostname.key -out /etc/pki/tls/certs/hostname.crt
then
Code: [Select]
sudo openssl dhparam -out /etc/pki/tls/certs/dhparam.pem 2048
then
Code: [Select]
cat /etc/pki/tls/certs/dhparam.pem | sudo tee -a /etc/pki/tls/certs/apache-selfsigned.crt
then reboot the system, reload_cwpsrv, restart_cwpsrv... can access CWP both at port 2030 and 2031 now.
Continue to fix other bugs...
2
Installation / Re: This site can’t be reached after install CWP
« on: July 11, 2018, 03:47:19 AM »
I tried to run your script but it shows:
Try to add domain name, hostname after the script but still the same.
Tks a lot.
Code: [Select]
[root@vps41234 scripts]# bash generate_hostname_ssl
hostname: Name or service not known
Usage: generate_hostname_ssl <domain>
Try to add domain name, hostname after the script but still the same.
Tks a lot.
3
Installation / Re: This site can’t be reached after install CWP
« on: July 10, 2018, 02:51:14 PM »
view error_log it show the below error
2018/07/11 04:47:05 [emerg] 32348#0: BIO_new_file("/etc/pki/tls/certs/hostname.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/pki/tls/certs/hostname.crt','r') error:2006D080:BIO routines:BIO_new _file:no such file)
what should i do next?
Tks a lot for your help.
2018/07/11 04:47:05 [emerg] 32348#0: BIO_new_file("/etc/pki/tls/certs/hostname.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/pki/tls/certs/hostname.crt','r') error:2006D080:BIO routines:BIO_new _file:no such file)
what should i do next?
Tks a lot for your help.
4
Installation / This site can’t be reached after install CWP
« on: July 10, 2018, 09:58:25 AM »
Dear all,
After install on fresh VPS Centos 7 with instruction from http://centos-webpanel.com/installation-instructions
I try to access by port 2030 or https with port 2031, but CWP show refused to connect.
I check status for cwpsrv from command line, it show disable, try to start cwpsrv but show error
● 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 Tue 2018-07-10 23:56:25 +07; 4s ago
Process: 1894 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: Failed to start CentOS Web Panel service (daemon).
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: Unit cwpsrv.service entered failed state.
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: cwpsrv.service failed.
May I know what cause the problem, and how to solve it.
Tks a lot for you help.
After install on fresh VPS Centos 7 with instruction from http://centos-webpanel.com/installation-instructions
I try to access by port 2030 or https with port 2031, but CWP show refused to connect.
I check status for cwpsrv from command line, it show disable, try to start cwpsrv but show error
● 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 Tue 2018-07-10 23:56:25 +07; 4s ago
Process: 1894 ExecStartPre=/usr/local/cwpsrv/bin/cwpsrv -t (code=exited, status=1/FAILURE)
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: cwpsrv.service: control process exited, code=exited status=1
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: Failed to start CentOS Web Panel service (daemon).
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: Unit cwpsrv.service entered failed state.
Jul 10 23:56:25 vps41234.superdata.vn systemd[1]: cwpsrv.service failed.
May I know what cause the problem, and how to solve it.
Tks a lot for you help.
Pages: [1]