web admin console error?

#1
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
 
#11
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
/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"
 
#15
run
/usr/local/lsws/admin/misc/admpass.sh to overwrite it
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
 

webizen

Well-Known Member
#16
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.
 
Top