Control Web Panel
WebPanel => Installation => Topic started by: mta on May 10, 2017, 01:37:33 AM
-
centos 7 / auto install (not eror)
ip:80 server test page working
Starting Nmap 6.40 ( http://nmap.org ) at 2017-05-10 01:30 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00014s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 986 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
2030/tcp open device2
3306/tcp open mysql
10025/tcp open unknown
Device type: general purpose
Running: Linux 3.X
OS CPE: cpe:/o:linux:linux_kernel:3
OS details: Linux 3.7 - 3.9
Network Distance: 0 hops
-
Try to disable iptables or csf to see if panel is working or not.
# service iptables stop
# csf -x
-
[root@a]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
[root@a]# csf -x
csf and lfd have been disabled, use 'csf -e' to enable
*server test page work
* panel page not work (2030 or 2031 port)
-
try restarting cwp from command line
sh /scripts/restart_cwpsrv
-
[root@a]# sh /scripts/restart_cwpsrv
[root@a]#
No error no reaction :)
-
if cwp works but you can't access it then its firewall related issue, this can be company or provider blocking ACL.
-
port block ? ( u answer yes ; how to change port ? )
"google compute engine" using
-
port block ? ( u answer yes ; how to change port ? )
"google compute engine" using
Hi, you have to ask your service provider about that
-
I have same problem, i use 0.9.8.188
I tried restart service, reinstall cwp, but not working please help
-
I have same problem, i use 0.9.8.188
I tried restart service, reinstall cwp, but not working please help
-
I have same problem, i use 0.9.8.188
I tried restart service, reinstall cwp, but not working please help
for start update your cwp since ver 188 is old
sh /scripts/update_cwp
then you should check if your port is listed there
if yes that could mean yo ur server provider has the port closed or your internet provider.
Also you can clean your iptables list to be sure that this issue is not a server system firewall related.
csf -x
iptables -F
service iptables save
-
when i try to update, there show error
php fatal error:
the encode file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in unknown in line 0
-
looks like you have too old version then which was not upgraded for a long time and you would need to do this manually.
I wouldn't recommend that you do this by yourself if you are not an experienced linux admin and the best would be that you contact cwp support.
-
can you give me tutorial or link to upgrade cwp manually?
i will try upgrade manually, i dont have cwp support
-
you would need to do that by checking upgrade scripts and once you know what they are doing then you will also know what to do...as I said that is not for beginners.
-
after 1 week, and i am too lazy to move 50 domain to new server, i found way to back my cwp admin panel.
1. i clone my vm and roll back to latest config that working well.
2. update cwp 0.9.8.188 to 0.9.8.268 using manual update, sh /script/update-cwp
3. and i found cwp using this link to update http://dl1.centos-webpanel.com/files/cwp2-latest
4. i back to error cwp server and try running script, sh /script/cwp2-latest
5. and finally my cwp running well i can open again my cwp admin page on 2030
Solved
-
Hello,
I followed all of instructions (my server have Centos v7, So change command accordingly).
But for me port 2030 and 2031 both are not working. returning timeout error.
I also check "iptables" and "Port" -
Port is listening -
[root@xxxxxxxxxxxxxxxxxxxxx ~]# lsof -i :2030
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cwpsrv 794 root 24u IPv4 15146 0t0 TCP *:device2 (LISTEN)
cwpsrv 796 root 24u IPv4 15146 0t0 TCP *:device2 (LISTEN)
cwpsrv 797 root 24u IPv4 15146 0t0 TCP *:device2 (LISTEN)
----------------------------------------------
iptables configuration -
[root@xxxxxxxxxxxxxxxxxxxxx ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
f2b-SSH tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2030
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2031
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain f2b-SSH (1 references)
target prot opt source destination
REJECT all -- 61.177.172.60 0.0.0.0/0 reject-with icmp-port-unreachable
RETURN all -- 0.0.0.0/0 0.0.0.0/0
Can you please provide some guidance how can i resolve this problem?
Thanks in advance.
-
maybe your provider is blocking the custom ports so you need to contact them.
-
when i try to update, there show error
php fatal error:
the encode file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
in unknown in line 0
I had the same problem and I fixed it by just installing CWP again over it. I have CentOs 6.9 (Final)
cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
sh cwp-latest
It kept all the settings I had before. But to be sure copy all databases and files from your users.