should be a permission issue.
what's the user you login as? root or other?
can the login user run admin_php?
#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