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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th February 2013, 13:23
jurrien jurrien is offline
Junior Member
 
Join Date: Jun 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Admin login failed after upgrading to 3.0.5

Hi,

I upgraded ispconfig to version 3.0.5 and I had some problems. I'm running on Centos 5.
First I had to change /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter the exec part to " exec /usr/bin/php-cgi -d magic_quotes_gpc=off

Ok fine I get an admin page again but when I tried to login it rejects my password. Euhm...?

Oke fine I click on Password Lost... I have to fill in a email adres and login. Oke the login is admin but I don't remember the email address. Is there a place in the database where I can look it up? Never filled the e-mail for a account...

What is a way to fix this?
Reply With Quote
Sponsored Links
  #2  
Old 26th February 2013, 13:49
jurrien jurrien is offline
Junior Member
 
Join Date: Jun 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also other user also cannot login with the ispconfig contral panel.

No errors in /var/log/httpd/ log files...
Reply With Quote
  #3  
Old 26th February 2013, 14:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Quote:
First I had to change /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter the exec part to " exec /usr/bin/php-cgi -d magic_quotes_gpc=off
Which path was in the file before you updated it?

Quote:
Oke fine I click on Password Lost... I have to fill in a email adres and login. Oke the login is admin but I don't remember the email address. Is there a place in the database where I can look it up? Never filled the e-mail for a account...
This does not nescessarily mean that the password is wrong, so dont update the admin password. The same error occurs when php is not able to connect to mysql.

Pleasecheck if your are able to login to mysql (e.g. with phpmyadmin) with the login details from file /usr/local/ispconfig/interface/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 26th February 2013, 14:08
jurrien jurrien is offline
Junior Member
 
Join Date: Jun 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Which path was in the file before you updated it?
/usr/lib/cgi-bin/php

Quote:
Originally Posted by till View Post
This does not nescessarily mean that the password is wrong, so dont update the admin password. The same error occurs when php is not able to connect to mysql.

Pleasecheck if your are able to login to mysql (e.g. with phpmyadmin) with the login details from file /usr/local/ispconfig/interface/lib/config.inc.php
Yes, no problems to login into the database.
Reply With Quote
  #5  
Old 26th February 2013, 14:11
Germanius Germanius is offline
Senior Member
 
Join Date: Dec 2009
Location: Hannover
Posts: 119
Thanks: 37
Thanked 26 Times in 16 Posts
Default

Similar problem here. After upgrading from 3.0.5 RC to stable the loginpage of ISPC loads very slowly. I can not login anymore.
No problem to login via phpmyadmin, it loads very fast.
Reply With Quote
  #6  
Old 26th February 2013, 14:15
jurrien jurrien is offline
Junior Member
 
Join Date: Jun 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Germanius View Post
Similar problem here. After upgrading from 3.0.5 RC to stable the loginpage of ISPC loads very slowly. I can not login anymore.
No problem to login via phpmyadmin, it loads very fast.
Oke! I thought my webserver was very busy but indeed also my inlog page loads very slowly.
Reply With Quote
  #7  
Old 26th February 2013, 14:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

We found the reason for the first issue with the path, it is a bug in ispconfig versions before 3.0.5 which inserted a wrong path, the problem was not visible till now as the ispconfig interface had a mod_php fall back which has been removed now for security reasons.

The second issue is most likely related to the first one, php-fcgi has a problem to connect to mysql.

Here the steps for a short fix:

Edit the file ispconfig vhost file:

Centos: /etc/httpd/conf/sites-enabled/000-ispconfig.vhost
Debian / Ubuntu: /etc/apache2/sites-enabled/000-ispconfig.vhsot

and change the lines:

Code:
#  <IfModule mod_php5.c>
#    DocumentRoot /usr/local/ispconfig/interface/web/
#    AddType application/x-httpd-php .php
#    <Directory /usr/local/ispconfig/interface/web>
#      # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp"
#      Options FollowSymLinks
#      AllowOverride None
#      Order allow,deny
#      Allow from all
#	  php_value magic_quotes_gpc        0
#    </Directory>
#  </IfModule>
to:

Code:
  <IfModule mod_php5.c>
    DocumentRoot /usr/local/ispconfig/interface/web/
    AddType application/x-httpd-php .php
    <Directory /usr/local/ispconfig/interface/web>
      # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp"
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
	  php_value magic_quotes_gpc        0
    </Directory>
  </IfModule>
Then run:

chmod 660 /usr/local/ispconfig/interface/lib/config.inc.php

and restart apache. Then try to login again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 26th February 2013, 14:38
jurrien jurrien is offline
Junior Member
 
Join Date: Jun 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm sorry but it is still slow and not working and I can't login with any user on the control panel.
Reply With Quote
  #9  
Old 26th February 2013, 15:03
Germanius Germanius is offline
Senior Member
 
Join Date: Dec 2009
Location: Hannover
Posts: 119
Thanks: 37
Thanked 26 Times in 16 Posts
Default

Quote:
Originally Posted by jurrien View Post
I'm sorry but it is still slow and not working and I can't login with any user on the control panel.
Same here.
Reply With Quote
  #10  
Old 26th February 2013, 15:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

What's your PHP version?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 02:29
Being Spammed/Hacked/Probed not sure PLEASE HELP! kresser General 10 29th October 2010 17:25
Cannot login to SquirrelMail sellotape Installation/Configuration 13 26th October 2010 11:03
Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu? friday Installation/Configuration 16 10th May 2007 16:25
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


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


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