[Resolved] Problem Installing Litespeed

Discussion in 'Install/Configuration' started by SilentCoder, Sep 23, 2010.

  1. SilentCoder

    SilentCoder New Member

    Hello, im new to Linux and can someone tell me why i cannot install litespeed. I get this problem: ./functions.sh : line 53: more command not found. And then it freezes until i restart Winscp. Can someone tell me where am i suppose to install it.

    Thank you for your help.

    Additional Info : My OS is CentOS, Debian, openSUSE
    Last edited by a moderator: Oct 4, 2010
  2. NiteWave

    NiteWave Administrator

    no "more" utility on your linux.

    install it by
    yum install util-linux.i386 (if 32-bit linux)
    or
    yum install util-linux.x86_64 (if 64-bit linux)
  3. SilentCoder

    SilentCoder New Member

    /root/lsws-4.0.16$ yum install util-linux.i386
    -bash: line 6: yum: command not found

    thats what i get when installing utility.
  4. bharathvn

    bharathvn New Member

    Hi,

    Use this command yum install util-linux

    Thanks,
    Bharathvn
  5. bharathvn

    bharathvn New Member

    Sorry, Looks like Yum is not installed on your system

    Install YUM before your enter other command :)
  6. NiteWave

    NiteWave Administrator

    you need re-install the OS. your OS should be 1 of above 3. can't be all 3.
  7. SilentCoder

    SilentCoder New Member

    Actually its one of the 3 choice of operating system that i can choose.

    Either I have no idea on how to use Linux or Linux isn't working properly. It keep freezing at some commands.
    Last edited: Sep 25, 2010
  8. SilentCoder

    SilentCoder New Member

    These are the options i can choose from:

    [​IMG]

    Which one should i use?
    Last edited: Sep 26, 2010
  9. NiteWave

    NiteWave Administrator

    try CentOS 5.2 - LAMP first
  10. SilentCoder

    SilentCoder New Member

    i can install now properly but now i cannot start litespeed web server. I get this error:

    Code:
    [OK] The startup script has been successfully installed!
    Would you like to start it right now [Y/n]? Y
    
    /usr/local/lsws/bin/lswsctrl: line 69: ./litespeed: No such file or directory
    [ERROR] Failed to start litespeed!
    litespeed: no process killed
    /usr/local/lsws/bin/lswsctrl: line 69: ./litespeed: No such file or directory
    [ERROR] Failed to start litespeed!
    
    Maybe nobody user is having problem writing files. During installation what should i type in USER [nobody]?
    Last edited: Sep 27, 2010
  11. NiteWave

    NiteWave Administrator

    "nobody" should be fine. what's output of:
    ls -al
  12. SilentCoder

    SilentCoder New Member

    Here is the output:

    Code:
    total 116
    drwxr-xr-x 12 root root  4096 Sep 27 01:21 .
    drwxr-xr-x  3 root root  4096 Sep 27 01:22 ..
    drwxrwxr-x  5  500  500  4096 Aug 24 18:09 DEFAULT
    -rw-rw-r--  1  500  500   555 Apr 15  2003 INSTALL
    -rw-rw-r--  1  500  500  4014 Aug 24 18:11 LICENSE
    -rw-rw-r--  1  500  500  2214 Oct 27  2004 LICENSE.OpenLDAP
    -rw-rw-r--  1  500  500  6279 Jun 16  2003 LICENSE.OpenSSL
    -rw-rw-r--  1  500  500  3208 Jun 16  2003 LICENSE.PHP
    -rw-rw-r--  1  500  500     7 Aug 24 18:09 VERSION
    drwxrwxr-x 11  500  500  4096 Aug 24 18:09 add-ons
    drwxrwxr-x  6  500  500  4096 Aug 24 18:09 admin
    drwxrwxr-x  2  500  500  4096 Aug 24 18:11 bin
    drwxrwxr-x  3  500  500  4096 Sep 27 01:22 conf
    drwxrwxr-x  2  500  500  4096 Aug 24 18:09 docs
    drwxrwxr-x  2  500  500  4096 Aug 24 18:09 fcgi-bin
    -rw-rw-r--  1  500  500 34437 Jul 29 21:14 functions.sh
    -rwxrwxr-x  1  500  500   592 Aug 24 18:11 install.sh
    drwxrwxr-x  2  500  500  4096 Aug 24 18:09 lib
    drwxrwxr-x  2  500  500  4096 Aug 24 18:09 php
    drwxrwxr-x  3  500  500  4096 Aug 24 18:09 share
    
  13. NiteWave

    NiteWave Administrator

    sorry, typo in previous post. what's the output of
    ls -al /usr/local/lsws/bin/
  14. SilentCoder

    SilentCoder New Member

    The output would be:

    Code:
    total 7544
    drwxr-sr-x  2 root root    4096 Sep 27 01:22 .
    drwxr-sr-x 15 root root    4096 Sep 27 01:22 ..
    lrwxrwxrwx  1 root root      13 Sep 27 01:22 httpd -> lscgid.4.0.16
    lrwxrwxrwx  1 root root       7 Sep 27 01:22 litespeed -> lshttpd
    lrwxrwxrwx  1 root root      15 Sep 27 01:22 lscgid -> ./lscgid.4.0.16
    -r-sr-xr-x  1 root root   15020 Sep 27 01:22 lscgid.4.0.16
    lrwxrwxrwx  1 root root      16 Sep 27 01:22 lshttpd -> ./lshttpd.4.0.16
    -r-xr-xr-x  1 root root 7595495 Sep 27 01:22 lshttpd.4.0.16
    lrwxrwxrwx  1 root root      17 Sep 27 01:22 lswsctrl -> ./lswsctrl.4.0.16
    -r-xr-xr-x  1 root root    3947 Sep 27 01:22 lswsctrl.4.0.16
    -r-xr-xr-x  1 root root   76248 Sep 27 01:22 updateagent
    -r-xr-xr-x  1 root root     851 Sep 27 01:22 wswatch.sh
  15. NiteWave

    NiteWave Administrator

    what's output of
    sestatus ?
  16. SilentCoder

    SilentCoder New Member

    It says

    Code:
    root@euve10118:~# sestatus
    -bash: sestatus: command not found
  17. SilentCoder

    SilentCoder New Member

    I was scanning ports and seems like port 8088, 7080 are closed. Maybe thats the problem?
    Last edited: Sep 27, 2010
  18. NiteWave

    NiteWave Administrator

    does this file exist?
    /etc/selinux/config
    if exist, paste the content here.
  19. SilentCoder

    SilentCoder New Member

    No it doesn't exist.
  20. NiteWave

    NiteWave Administrator

    how about run
    cd /usr/local/lsws/bin
    ./lshttpd.4.0.16 -V

Share This Page