Can't access admin

Discussion in 'Install/Configuration' started by donny84, Mar 14, 2009.

  1. donny84

    donny84 New Member

    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.
  2. mistwang

    mistwang LiteSpeed Staff

    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. sonofcolin

    sonofcolin New Member

    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. donny84

    donny84 New Member

    hello

    try this it worked for me

    /etc/init.d/iptables stop
  5. mistwang

    mistwang LiteSpeed Staff

    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. sonofcolin

    sonofcolin New Member

    I just tried this. There are no errors from cli, but still no pages served for admin.
  7. mistwang

    mistwang LiteSpeed Staff

    Is the admin port open? Please try

    telnet <IP_of_PPC_server> <port_for_lsws_admin>

    from another box.
  8. sonofcolin

    sonofcolin New Member

    Yes - it's open.
    Connected to <hostname>
    I can't even connect from localhost.
  9. mistwang

    mistwang LiteSpeed Staff

    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.
  10. sonofcolin

    sonofcolin New Member

    Yes, admin_php is running, as is lsphp.
    I can connect to the intel admin machine on localhost and network.
  11. mistwang

    mistwang LiteSpeed Staff

    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. sonofcolin

    sonofcolin New Member

    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:
    Still, a blank page on admin login.
  13. mistwang

    mistwang LiteSpeed Staff

    maybe the best way to solve this is to PM me a temp root login and I can take a look.
  14. mistwang

    mistwang LiteSpeed Staff

    Please download the 4.0 release package and upgrade again. The problem with PPC release has been fixed.
  15. sonofcolin

    sonofcolin New Member

    Thanks. The new package installation works.

Share This Page