LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Bug Reports (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=9)
-   -   Admin login problems (http://www.litespeedtech.com/support/forum/showthread.php?t=3478)

felosi 10-29-2009 07:24 PM

Admin login problems
 
On the servers I have upraded to 4.0.11 I cannot login the web console. It crashes any browser I try it with - chrome, ie, firefox. The login page comes up, I press the login button and it just sits there, IN IE it gave a warning about some script running on the page causing problems.

Is anyone else having this issue? It is that way with every server I have upgraded to 4.0.11 on.

NiteWave 10-29-2009 07:31 PM

manually run
lsws/admin/misc/create_admin_keypair.sh

may resolve the issue.

felosi 10-30-2009 02:17 PM

same thing. Im gonna try a downgrade and see if that helps

PSS 11-05-2009 12:42 PM

Was this resolved? I'm not going to upgrade if there is a risk loosing access to admin CP.

mistwang 11-05-2009 06:59 PM

We use RSA key to encrypt user name/password now if plain HTTP connection is used. Sometimes, the javascript RSA encryption code does not like the RSA key pair and the script crashes. We have noticed that, and usually create a new pair of key can fix that. Sometimes, it takes for a while for the java script to finish.

There is another solution to setup self signed SSL certificate for the admin listener, if connection is encrypted, the javascript RSA encryption will be turned off.

Clockwork 11-14-2009 08:27 AM

same problem here, I'm also receiving this error in the error.log:

Quote:

2009-11-14 17:23:01.681 NOTICE [xxx:54702-0#_AdminVHost] [STDERR] PHP Warning: file_get_contents(/usr/local/lsws/admin/conf/jcryption_keypair) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: Permission denied in /usr/local/lsws/admin/html.4.0.11/login.php on line 24
2009-11-14 17:23:15.101 NOTICE [xxx:54702-0#_AdminVHost] [STDERR] PHP Warning: fopen(/usr/local/lsws/admin/conf/jcryption_keypair) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /usr/local/lsws/admin/html.4.0.11/classes/DUtil.php on line 217
2009-11-14 17:23:15.101 NOTICE [xxx:54702-0#_AdminVHost] [STDERR] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Operation not permitted in /usr/local/lsws/admin/html.4.0.11/login.php on line 37

mistwang 11-14-2009 04:41 PM

Which user "admin_php" run as? lsadmin?
who own /usr/local/lsws/admin/conf/jcryption_keypair? what is the permission mask for jcryption_keypair and /usr/local/lsws/admin/conf/.

Clockwork 11-15-2009 02:12 AM

Quote:

Originally Posted by mistwang (Post 17446)
Which user "admin_php" run as? lsadmin?

yes, lsadm

Quote:

who own /usr/local/lsws/admin/conf/jcryption_keypair? what is the permission mask for jcryption_keypair
-rw------- 1 www-data www-data 530 13. Nov 11:22 jcryption_keypair

Quote:

and /usr/local/lsws/admin/conf/.
drwx--S--- 2 lsadm lsadm 4096 13. Nov 11:22 conf

mistwang 11-15-2009 11:20 AM

jcryption_keypair should be owned by lsadm:lsadm

Clockwork 11-15-2009 11:21 AM

works, thanks.


All times are GMT -7. The time now is 04:13 AM.