Webadmin console on CentOS 8

#1
Hi all,
I'm new to this forum, so I hope I got the correct section for asking for support.
I successfully installed OLS and CyberPanel on an unmanaged VPS with CentOS 8.
Everything was working fine, the only problem is that I cannot access OLS WebAdmin console after a while (I would say, around 60 minutes).
To make things clearer:
1. I start my VPS/Litespeed (even with systemctl start lsws).
2. Everything works, I can access webadmin console on port :7080
3. I wait for around 60 minutes (approximately)
4. I cannot access webadmin console anymore on :7080 (browser gives me a connection timeout - it does not connect).
5. If I restart lsws (systemctl restart lsws) or via CyberPanel, I can access webadmin console on :7080 for the next hour, then the problem happens again.

Some outputs AFTER one hour, when I cannot access webadmin:
Code:
systemctl status lsws
● lshttpd.service - OpenLiteSpeed HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/lshttpd.service; enabled; vendor preset: disa>
   Active: active (running) since Sun 2020-08-23 19:50:39 CEST; 40min ago
  Process: 55481 ExecStop=/usr/local/lsws/bin/lswsctrl delay-stop (code=exited, status=0>
  Process: 55493 ExecStart=/usr/local/lsws/bin/lswsctrl start (code=exited, status=0/SUC>
Main PID: 55511 (litespeed)
   CGroup: /system.slice/lshttpd.service
           ├─55511 openlitespeed (lshttpd - main)
           ├─55516 openlitespeed (lscgid)
           ├─55521 openlitespeed (lshttpd - #01)
           ├─55522 openlitespeed (lshttpd - #02)
           └─56032 lsphp

Aug 23 19:50:36 oxygen-antartikos systemd[1]: Starting OpenLiteSpeed HTTP Server...
Aug 23 19:50:37 oxygen-antartikos lswsctrl[55493]: [OK] litespeed: pid=55511.
Aug 23 19:50:39 oxygen-antartikos systemd[1]: Started OpenLiteSpeed HTTP Server.
Code:
tcp        3      0 0.0.0.0:7080            0.0.0.0:*               LISTEN
tcp      497      0 [*Server IP*]:7080      [My IP]:63139      ESTABLISHED
tcp      317      0 [*Server IP*]:7080      [My IP]:62844      ESTABLISHED
tcp       79      0 127.0.0.1:7080          127.0.0.1:34402         CLOSE_WAIT
udp        0      0 0.0.0.0:7080            0.0.0.0:*
udp        0      0 0.0.0.0:7080            0.0.0.0:*
[root@oxygen-antartikos oxygenadmin]#
Curl -i does not give any output.

Any solution on how to sort this out? Will provide any log if needed, just tell me where to look for!
Port 7080 is NOT blocked by firewall (otherwise I guess I would never be able to access console).
Thanks in advance :)
 

Cold-Egg

Administrator
#2
Hi,

After 7080 failed to connect, please try SSH into the server and curl localhost. e.g.
Code:
curl -Ik https://127.0.0.1:7080
Please share the output, thx
 
#5
Hi @Pong ,
Yes, the process was up and running.
By the way, it seems the web-admin console is now working again as expected. What I did:
- Rebooted the web server (just normal shutdown / power on again)
- Restarted PowerDNS
Apparently, the issue was related to PowerDNS not working properly (as of now I can't figure out what was the issue and link between the two, will do a bit more troubleshooting in the next days - or if you have any ideas please let me know :) )

Thanks!
 
Top