Forget password admincp

Discussion in 'Bug Reports' started by pakhmeh, Feb 7, 2010.

  1. pakhmeh

    pakhmeh New Member

    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 ! :(
  2. NiteWave

    NiteWave Administrator

    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
  3. mistwang

    mistwang LiteSpeed Staff

Share This Page