LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Admin login problems

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2009, 07:24 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
Default 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.
Reply With Quote
  #2  
Old 10-29-2009, 07:31 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,217
manually run
lsws/admin/misc/create_admin_keypair.sh

may resolve the issue.
Reply With Quote
  #3  
Old 10-30-2009, 02:17 PM
felosi felosi is offline
Senior Member
 
Join Date: Jun 2007
Posts: 249
same thing. Im gonna try a downgrade and see if that helps
Reply With Quote
  #4  
Old 11-05-2009, 12:42 PM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
Was this resolved? I'm not going to upgrade if there is a risk loosing access to admin CP.
Reply With Quote
  #5  
Old 11-05-2009, 06:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #6  
Old 11-14-2009, 08:27 AM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
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
Reply With Quote
  #7  
Old 11-14-2009, 04:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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/.
Reply With Quote
  #8  
Old 11-15-2009, 02:12 AM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
Quote:
Originally Posted by mistwang View Post
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
Reply With Quote
  #9  
Old 11-15-2009, 11:20 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
jcryption_keypair should be owned by lsadm:lsadm
Reply With Quote
  #10  
Old 11-15-2009, 11:21 AM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
works, thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:43 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.