Forget password admincp

#1
hi
i forget password in admin web console
i login to ssh and type command and run
/path/to/lsws/admin/misc/create_admin_keypair.sh
and :
e is 65537 (0x10001)
create_admin_keypair.sh: line 11:../fcgi-bin/admin_php: cannot execute
binary file

and run : $SERVER_ROOT/admin/misc/admpass.sh
.
.
admpass.sh: line 58: /root/lsws-4.0.12/admin/misc/../fcgi-bin/admin_php: cannot execute binary file
administrator s username/password is update succesfully!

and when i try to login : Invalid credentials.

what i do ?

please help me ! :(
 

NiteWave

Administrator
#2
should be a permission issue.

what's the user you login as? root or other?

can the login user run admin_php?

output of:
#ls -l /root/lsws-4.0.12/admin/misc/../fcgi-bin/admin_php

?

normally, when forgot password, run admin_php is ok, no need run create_admin_keypair.sh

not good to install lsws under /root, try other directory for example /usr/local/lsws
 
Top