Can't access admin

#1
Hello, after stuggling for a while to get this to work, I eventually changed my control panel from pesk to cpanel

before i used to access my cpanel on https://serverIP2087
Nothing there anymore...

I installed litespeed ent trial

I set it to replace apache and told it I was using cpanel the rest was default configuration.

However it seems to startup fine I get no errors, but I cannot access the admin panel anywhere

I have tried
https://serverIP:1080
https://serverIP:8080
https://serverIP:8088
https://serverIP:7080
https://serverIP:2087
etc etc

Nothing comes up on anything.

Anyone have any idea?

when I stop service and start it this is what it says...

[~]# /opt/lsws/bin/lswsctrl start
[OK] Your trial license key will expire in 14 days!
httpd (pid 4704?) not running
[OK] lshttpd: pid=5571.
 

mistwang

LiteSpeed Staff
#2
LiteSpeed should not affect cPanel/WHM access, as cPanel/WHM service is independent to Apache or LiteSpeed. Please check "cpsrvd" is running or not.
 
#3
As an addition to this, I have just installed LSWS 4 (standard) on a test intel (10.5) mac and test ppc mac (10.4) for testing purposes. Both install ok and serve pages. Both have exact same settings, but admin doesn't work on 10.4 PPC (and this will be the server!) The admin page comes up blank - no errors.
 
#4
As an addition to this, I have just installed LSWS 4 (standard) on a test intel (10.5) mac and test ppc mac (10.4) for testing purposes. Both install ok and serve pages. Both have exact same settings, but admin doesn't work on 10.4 PPC (and this will be the server!) The admin page comes up blank - no errors.
hello

try this it worked for me

/etc/init.d/iptables stop
 

mistwang

LiteSpeed Staff
#5
Please try to execute
/opt/lsws/admin/fcgi-bin/admin_php

from command line, if it fails, means that bundled PHP binary does not work for 10.4 PPC. the binary is built for 10.3 PPC I believe.
 
#6
Please try to execute
/opt/lsws/admin/fcgi-bin/admin_php

from command line, if it fails, means that bundled PHP binary does not work for 10.4 PPC. the binary is built for 10.3 PPC I believe.
I just tried this. There are no errors from cli, but still no pages served for admin.
 

mistwang

LiteSpeed Staff
#9
if cannot connection form localhost, then localhost was blocked.
and you should not expect the admin console will work for localhost.
Also check if there is "admin_php" running when you access the admin console, there should be.
 

mistwang

LiteSpeed Staff
#11
can you "truss" or "ktrace" the admin_php, see if it get the request?
You can enable debug logging for admin console by changing lsws/admin/conf/admin_config.xml, <logLevel> from "ERROR" to "DEBUG".
 
#12
If I run ktrace -p <pid> for admin_php nothing happens. The command is accepted. No errors.
When I access the login page via a browser, in the admin logs I see the following:
GET /login.php HTTP/1.1" 200 995
Still, a blank page on admin login.
 
Top