Author Topic: can't start Webpanel  (Read 13869 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
can't start Webpanel
« on: April 29, 2019, 05:38:57 PM »
Hello,

I installed new Web panel on CentOS 6. But how to run it? The IP_ADDRESS:2030 does not work. Says connection refused. I can't open in on localhost either. I turned off the firewall, still the same problem. I added 2030 port, still nothing. Apache is running. What could be wrong? Can someone help me with this?

Regards, Bogomil

Offline
*****
Re: can't start Webpanel
« Reply #1 on: April 30, 2019, 08:51:53 AM »
Hello, have you tried to restart the server and/or CWP? Try to do that if no ;)
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: can't start Webpanel
« Reply #2 on: April 30, 2019, 03:27:21 PM »
Hello,

Yes I restarted the server, still the same. How do I restart the CWP? It wasn't even started. But if server restarts some service connected to CWP should also restart. Or how do I reinstall it? If that would solve the problem.

Hello, have you tried to restart the server and/or CWP? Try to do that if no ;)

Offline
***
Re: can't start Webpanel
« Reply #3 on: May 01, 2019, 04:01:08 AM »
Post the result of the following command:
Code: [Select]
# netstat -tupln | grep -P ":2[0-3][0-9]+"

Regards,
Netino

Offline
*
Re: can't start Webpanel
« Reply #4 on: May 02, 2019, 04:56:29 PM »
Nothing happens. No output. What I'm doing wrong?

Post the result of the following command:
Code: [Select]
# netstat -tupln | grep -P ":2[0-3][0-9]+"

Regards,
Netino

Offline
*
Re: can't start Webpanel
« Reply #5 on: May 02, 2019, 05:39:16 PM »
CWPSRV can't start because of missing certificate

can not load certificates "etc/pki/tls/certs/hostname.crt" BIO_new_file()

this is the problem. what now?

Offline
*
Re: can't start Webpanel
« Reply #6 on: May 02, 2019, 09:49:16 PM »
Any reason you're using CentOS 6?

Obviously something went majorly wrong during the installation and you likely have more errors to come. I'd recommend reloading the OS with CentOS 7 and then installing CWP.

Offline
*****
Re: can't start Webpanel
« Reply #7 on: May 08, 2019, 07:38:57 AM »
Hello.

CWPSRV can't start because of missing certificate

can not load certificates "etc/pki/tls/certs/hostname.crt" BIO_new_file()

this is the problem. what now?

Try the command below:
Code: [Select]
/scripts/generate_hostname_ssl
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Can't start Webpanel
« Reply #8 on: May 13, 2019, 07:12:59 AM »
Steps to resolve the issue:-
==========

1. After CWP installation, First of all, Make sure 2030, 2031, 2086, 2087 Ports are opened on the server firewall.
2. To open ports in CSF, you will want to edit these lines in this file OR /etc/csf/csf.conf file.:-

run below command:-
$ vi /etc/csf/csf.conf

# Allow incoming TCP ports

TCP_IN =  "20,21,22,25,26,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,2030,2031,2086,2087"
# Allow outgoing TCP ports

TCP_OUT = "20,21,22,25,26,37,43,53,80,110,113,443,465,873,2087,2089,2703"
# Allow incoming UDP ports

UDP_IN = "20,21,53,465,6277,24441"
# Allow outgoing UDP ports

3. Save and exit the file via below command:-
$ Esc + :wq!

4. Restart the Firewall.

$ csf -r

Now check your CWP panel status.


5.If you're getting SSL certificate error so please follow the below steps:-

A. Make sure your server hostname resolving to your server IP address. And Check PTR records and make sure IP resolving to your server hostname.
B. If both are resolving then run below command on your CWP server.

$ /scripts/generate_hostname_ssl

C. Hostname add to /usr/local/apache/conf.d/hostname-ssl.conf.
D. Go to private key directory.
$ cd /etc/pki/tls/private
$ cat $hostname.key

E. Go to Certificate directory.
$ cd /etc/pki/tls/certs
$ cat $hostname.crt
$ cat $hostname.bundle

F. make sure the certificate and the private key are matching.
# refer below URL:-
https://www.sslshopper.com/certificate-key-matcher.html

and paste you crt and key and verify the same.

G. Edit the hostname virtualhost file.

$ vi /usr/local/apache/conf.d/hostname-ssl.conf


You will see SSL file path looks like this:-

SSLEngine on
SSLCipherSuite ALL:!ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
SSLProtocol All -SSLv2 -SSLv3
SSLCertificateFile /etc/pki/tls/certs/hostname.cert
SSLCertificateKeyFile /etc/pki/tls/private/hostname.key
SSLCertificateChainFile /etc/pki/tls/certs/hostname.bundle
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown


Please be ensure the path is correct of SSL files.

H. Check the Apache Syntax via run below command:-

$ /usr/local/apache/bin/apachectl -t

I. If the Sytax are Ok then restart httpd service.

$ service httpd restart

6. Restart the CWP, dovecot and postfix service.

$ service cwp restart
$ service dovecot restart
$ service postfix restart

7. Now check your CWP, It will works without any error.
+==================================+

Thank You
Shubhi

Offline
*****
Re: can't start Webpanel
« Reply #9 on: July 13, 2019, 02:37:55 PM »
CWP can be restarted by the command: /scripts/restart_cwpsrv
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: can't start Webpanel
« Reply #10 on: July 17, 2019, 06:09:43 AM »
you need to use port 2031 and you need to check that cwpsrv is running

sh /scripts/restart_cwpsrv
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.

Offline
***
Re: can't start Webpanel
« Reply #11 on: July 17, 2019, 03:52:30 PM »
Why is anyone trying to troubleshoot centos 6?

Offline
*****
Re: can't start Webpanel
« Reply #12 on: July 20, 2019, 06:49:17 AM »
it seems like the trouble with one-two servers and not a CWP trouble.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services