Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st July 2006, 12:28
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default admin login problems.

I have had several isp_config servers running fine without issue for several months. The perfect setup for FC4 and the installation guide worked first time every time. Great work.

One of my servers has just developed a problem with the admin login interface. I can no longer login.

I goto https://my.tld.com:81 and attempt to login.
Username admin - and I enter the wrong password on purpose - I get an err101

Username admin and the RIGHT password - I get redirected to a file that does not exist: /login/login_fehler.php

(I know that it is the right password as I reset it using mysql)

I do not have this file on my other ispconfig servers....
And AFAIK nothing has changed in my environment....

Nothing of interest in the logs, only the 404.....
Reply With Quote
Sponsored Links
  #2  
Old 31st July 2006, 12:30
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default

I thought I would mention that the httpd2 server for my websites is running fine. And that phpmyadmin on apache1.3:81 is also fine.
Reply With Quote
  #3  
Old 31st July 2006, 12:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Quote:
Originally Posted by robd
I know that it is the right password as I reset it using mysql
Did you encrypt the password with md5 like? passwort = md5('yournewpassword')

Please check in the /home/admispconfig/ispconfig/config.inc.php file thate the username and password for the mysql database are correct.

Please check with 'netstat -tap' that connections to mysql over TCP are enabled.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 31st July 2006, 13:04
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default

Till, thanks for getting back to me.

mysql is running and listening for connections:
tcp 0 0 localhost.localdomain:mysql *:* LISTEN 1506/mysqld

Password was encrypted using MD5.

If i enter the WRONG password I get err=101.
If I enter the right password I get the 404.
Reply With Quote
  #5  
Old 31st July 2006, 13:06
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default

The file "/home/admispconfig/ispconfig/config.inc.php" is not found on my server - perhaps recent server crash killed this file.

Will attempt to find one in backups.
Reply With Quote
  #6  
Old 31st July 2006, 13:07
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hangon....the file is not found on my other server either and on my other server I can login no problems.
Reply With Quote
  #7  
Old 31st July 2006, 13:17
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Did you encrypt the password with md5 like? passwort = md5('yournewpassword')
SQL query:
UPDATE `sys_user` SET `passwort` = MD5( 'new_password' ) WHERE `doc_id` =1 LIMIT 1 ;
Reply With Quote
  #8  
Old 31st July 2006, 13:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

Please check your browser settings, if you accidently denied cookies from this server permanantly.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 31st July 2006, 13:31
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
Default

I have cleared my cache and all cookies for this server in two web browsers. I am still unable to login - I am being passed through a login loop.

Quote:
86.53.51.109 - - [31/Jul/2006:11:30:44 +0100] "POST /login/login.php HTTP/1.1" 200 119
86.53.51.109 - - [31/Jul/2006:11:30:44 +0100] "GET /login/trylogin.php?v= HTTP/1.1" 302 5
86.53.51.109 - - [31/Jul/2006:11:30:44 +0100] "GET /index.php? HTTP/1.1" 302 5
86.53.51.109 - - [31/Jul/2006:11:30:45 +0100] "GET /login.php?err= HTTP/1.1" 200 1933
Reply With Quote
  #10  
Old 31st July 2006, 13:34
robd robd is offline
Member
 
Join Date: Dec 2005
Posts: 44
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

this is me forcing a failed err=101 login

Quote:
86.53.51.109 - - [31/Jul/2006:11:33:41 +0100] "GET /login.php HTTP/1.1" 200 1933
86.53.51.109 - - [31/Jul/2006:11:33:46 +0100] "POST /login/login.php HTTP/1.1" 302 5
86.53.51.109 - - [31/Jul/2006:11:33:46 +0100] "GET /login.php?err=101 HTTP/1.1" 200 1998
86.53.51.109 - - [31/Jul/2006:11:33:46 +0100] "GET /design/default/style.css HTTP/1.1" 200 3331
86.53.51.109 - - [31/Jul/2006:11:33:46 +0100] "GET /design/default/images/login_logo.png HTTP/1.1" 200 8795
Reply With Quote
Reply

Bookmarks

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
initial admin login incorrect mgburr General 16 1st September 2008 00:14
kann keine mails empfangen odin1 Installation/Configuration 5 6th July 2006 12:13
Problems with pop login darkcoder Installation/Configuration 17 17th June 2006 13:18
Details on problem /mailuser login and more (long) linutzy Installation/Configuration 11 15th February 2006 18:45
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 00:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.