web admin console error?

Discussion in 'Install/Configuration' started by Robbert, Aug 11, 2012.

  1. Robbert

    Robbert New Member

    hi Dear friends

    i am installed litespeed my vps

    i am change web login port and admin console port

    installing finished

    i am loggoed admin only 1 login

    later i am try but it is dont accept me

    what is problem _?

    and what is litespeed_?

    php web master console_?


    who can help me _?

    this forum time gmt -8

    my hour gmt+3

    have a nice sleeping :D

    Regards
  2. webizen

    webizen New Member

    you can check the admin error log (/usr/local/lsws/admin/logs/error.log) for more details from shell console.
  3. Robbert

    Robbert New Member

    hello dear friend

    i dont be it

    i am reinstall os

    how to work this system

    can you tell me

    :eek:
  4. webizen

    webizen New Member

  5. Robbert

    Robbert New Member

  6. webizen

    webizen New Member

    you need a paid license for running enterprise edition. no license is needed for standard edition.
  7. Robbert

    Robbert New Member

    enterprise edition

    standard edition

    WHAT is these different how to learn this
  8. webizen

    webizen New Member

  9. Robbert

    Robbert New Member

  10. webizen

    webizen New Member

  11. Robbert

    Robbert New Member

    Dear Friend mr.webizen i can 1 logged later dont login what is problem little speed_?

    /usr/local/lsws/admin/logs/error.log it is 0 kb :S

    what happened_?
  12. Robbert

    Robbert New Member

    /usr/local/lsws/admin/conf#

    admin_config.xml




    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <adminConfig>
        <listenerList>
            <listener>
                <name>adminListener</name>
                <address>[COLOR=black][B]*:3535[/B][/COLOR]</address>
                <secure>0</secure>
            </listener>
        </listenerList>
            <enableCoreDump>1</enableCoreDump>
        <sessionTimeout>3600</sessionTimeout>
        <security>
            <accessControl>
                <allow>ALL</allow>
                <deny></deny>
            </accessControl>
        </security>
        <logging>
             <log>
                 <useServer>0</useServer>
                 <fileName>$VH_ROOT/logs/error.log</fileName>
                 <rollingSize>10M</rollingSize>
                 <logLevel>INFO</logLevel>
             </log>
             <accessLog>
                 <useServer>0</useServer>
                 <fileName>$VH_ROOT/logs/access.log</fileName>
                 <keepDays>90</keepDays>
                 <rollingSize>10M</rollingSize>
                 <logReferer>1</logReferer>
                 <logUserAgent>1</logUserAgent>
             </accessLog>
        </logging>
    
    </adminConfig>
    

    Code:
    access.log
    
    [B]login ip[/B] - - [15/Aug/2012:04:07:12 +0400] "POST /login.php HTTP/1.1" 200 1185 "http://xxxx:3535/login.php" "Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1"
    
    
  13. Robbert

    Robbert New Member

    htpasswd

    adminuser:$1$4O2QsIsk$XVx.QWA3rh57eQtbUI4mb/

    how to convert this encrypyted_?
  14. NiteWave

    NiteWave Administrator

    run
    /usr/local/lsws/admin/misc/admpass.sh to overwrite it
  15. Robbert

    Robbert New Member

    Code:
    #!/bin/sh
    
    CUR_DIR=`dirname "$0"`
    cd $CUR_DIR
    CUR_DIR=`pwd`
    
    
    SUCC=0
    cat <<EOF
    
    Please specify the user name of administrator.
    This is the user name required to login the administration Web interface.
    
    EOF
    
    printf "%s" "User name [admin]: "
    read ADMIN_USER
    if [ "x$ADMIN_USER" = "x" ]; then
        ADMIN_USER=admin
    fi
    
    cat <<EOF
    
    Please specify the administrator's password.
    This is the password required to login the administration Web interface.
    
    EOF
    
    while [ $SUCC -eq "0" ];  do
        printf "%s" "Password: "
        stty -echo
        read PASS_ONE
        stty echo
        echo ""
        if [ `expr "$PASS_ONE" : '.*'` -ge 6 ]; then
            printf "%s" "Retype password: "
            stty -echo
            read PASS_TWO
            stty echo
            echo ""
            if [ "x$PASS_ONE" = "x$PASS_TWO" ]; then
                SUCC=1
            else
                echo ""
                echo "[ERROR] Sorry, passwords does not match. Try again!"
                echo ""
            fi
        else
            echo ""
            echo "[ERROR] Sorry, password must be at least 6 charactors!"
            echo ""
        fi
    done
    
    
    # generate password file
    
    ENCRYPT_PASS=`$CUR_DIR/../fcgi-bin/admin_php -q $CUR_DIR/htpasswd.php $PASS_ONE`
    echo "$ADMIN_USER:$ENCRYPT_PASS" > $CUR_DIR/../conf/htpasswd 
    if [ $? -eq 0 ]; then
        echo "Administrator's username/password is updated successfully!"
    fi
    
    
  16. webizen

    webizen New Member

    do you try to decrypt password file? you are unable to decrypt password for security reason. password can only be reset (see command in NiteWave's post).

    if you mean you can not login with the same password after a while, you can check the password file and see if it is changed since last time you login.
  17. Robbert

    Robbert New Member

    Dear webizen i dont understand this solution :S
  18. Robbert

    Robbert New Member

    Dear friend i am removed debian

    but i will next time install

    now i want to understand this software :S

Share This Page