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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Unable to login to the adminpanel

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2005, 05:50 AM
Falcon Falcon is offline
New Member
 
Join Date: Jul 2005
Posts: 6
Default Unable to login to the adminpanel

Hello

I'm using your latest release, 2.0.7 (lsws-2.0.7-std-i386-linux.tar.gz) for my linux 2.6 i386 machine, I followed the docs/install and everything works fine except the authorization when I'm supposed to login, it never accepts me and I have absolutley no clue why.

A friend of mine is also using your server, and he has doublechecked that I am not doing anything wrong in the installation-process (I download it to my useraccount, which is a non-root acc, decompresse it, run install, and connect to the www-admin-page).

It's not like I'm using a very sofisticated password nor username (login: admin pass: 123456) either.

Whats else.. Hmm, yeah, the normal (non-admin) site works fine, and both "Hello World from CGI script", "phpinfo.php", "missing page", "Password protected content" and "blocked area" works.

[EDIT]
I have also tried to use the admpass.sh (and even restarted the server afterwards), but no success there either.
[/EDIT]

Thanks in advance!
--Falcon.
Reply With Quote
  #2  
Old 07-09-2005, 07:01 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Please check the password file, at lsws/admin/conf/htpasswd, see if the password file is in good shape. Also, be careful with file permission.

Is lsws installed as your non-root account?
Reply With Quote
  #3  
Old 07-09-2005, 08:53 AM
Falcon Falcon is offline
New Member
 
Join Date: Jul 2005
Posts: 6
That certainly did the trick, or, or atleast your attention did. It seems like the admpasswd.sh isn't really stable, because it didn't gave me any errormsges when I used it. However, I changed the password with the help of htpasswd, (which I figured generated the same types of passwords), and then it worked.

1. htpasswd -n admin
2. <inputs password twice>
3. Copy the result to the "lsws/admin/conf/htpasswd"-file.
4. Done.

Thanks alot mistwang!
Reply With Quote
  #4  
Old 07-09-2005, 12:08 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You are welcome! :-)

Usually, the admpass.sh works fine, but it may fail under certain environment.
Would you mind showing us the content of the htpasswd file generated by admpass.sh, it can help us fixing the bug.

Thanks!
George
Reply With Quote
  #5  
Old 07-09-2005, 02:36 PM
Falcon Falcon is offline
New Member
 
Join Date: Jul 2005
Posts: 6
Sure! I'll do anything I can to help such a great webserver as yours.
Here's how my htpasswd looks like:
Quote:
Falcon:bUw17Xjejk/7Fo
Reply With Quote
  #6  
Old 07-11-2005, 11:45 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Thank you, Falcon, :-)

I might be wrong, but I think that's your current password file generated by htpasswd. What I real interested in is the content of the password file created by adminpass.sh. Sorry for the confusion.

Can you help with that?

Thanks,

George
Reply With Quote
  #7  
Old 08-05-2005, 12:56 AM
Falcon Falcon is offline
New Member
 
Join Date: Jul 2005
Posts: 6
Default Sorry

Sorry for this big time difference, I've been on a holiday and haven't been online since. However, I noticed now that it wasn't your litespeed webserver to blame, I had myself not set the proper permissions (I had 600) on the htpasswd-file, and as a result, the user running the webserver could not read it. I doubt that you'd still want the text that is inside after hearing that, but if you still do, please repeat.

// Falcon.
Reply With Quote
  #8  
Old 08-05-2005, 08:18 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Ok, I see.

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
cPanel Login Broken After Litespeed Install Rodney-E2 Apache Migration/Compatibility 8 05-10-2007 03:18 PM
login with persistent cookies? ts77 Feedback/Feature Requests 3 12-04-2006 10:32 AM
login problem Dani Bug Reports 6 01-05-2006 09:35 AM
CGI and Admin login fails sderrick Install/Configuration 2 05-17-2005 05:09 PM
Can't login to admin area after re-install nigel Install/Configuration 2 02-14-2005 05:04 PM


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



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