Install fails on Ubuntu

Discussion in 'Install/Configuration' started by Devrim, Mar 1, 2010.

  1. Devrim

    Devrim New Member

    I just downloaded lsws and here are the errors I get,

    ---
    Installing, please wait...

    groupadd: group lsadm exists
    useradd: user lsadm exists
    usermod: unknown group apache
    chgrp: invalid group: `apache'
    Your current PHP engine /usr/local/lsws/fcgi-bin/lsphp is renamed to lsphp.old
    chown: invalid user: `apache:apache'
    chown: invalid user: `apache:apache'
    Congratulations! The LiteSpeed Web Server has been successfully installed.
    Command line script - "/usr/local/lsws/bin/lswsctrl"
    can be used to start or stop the server.

    -----

    When you replace Apache with LiteSpeed, remember to stop Apache completely.
    On most Linux servers, you should do:

    service httpd stop
    chkconfig httpd off
    or
    service apache stop
    chkconfig apache off

    If "Port Offset" has been set to "0", you should do it now.

    Press [ENTER] to continue


    Would you like to start it right now [Y/n]? Y

    [OK] Your trial license key will expire in 14 days!
    [ERROR] Failed to start lshttpd!
    lshttpd: no process killed
    [OK] Your trial license key will expire in 14 days!
    [ERROR] Failed to start lshttpd!

    [ERROR] Failed to start the web server. For trouble shooting information,
    please refer to documents in "/usr/local/lsws/docs/".
    ----

    Ubuntu's apache user is www-data, is that what's causing this problem ?
  2. Devrim

    Devrim New Member

    /usr/local/lsws/bin/lswsctrl start
    [OK] Your trial license key will expire in 14 days!
    [ERROR] Failed to start lshttpd!
    lshttpd: no process killed
    [OK] Your trial license key will expire in 14 days!
    [ERROR] Failed to start lshttpd!
  3. mistwang

    mistwang LiteSpeed Staff

    When you run the install.sh, when answer "using Litespeed web server with a hosting control panel?" you need to select "NONE". then use "www-data" as the user.

    Please remove /usr/local/lsws directory, then try again.
  4. Devrim

    Devrim New Member

    Hi Mistwang, Thanks. But I do need it with Plesk. If I select none how does it import all the rest of the settings ?
  5. mistwang

    mistwang LiteSpeed Staff

Share This Page