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 12th November 2011, 00:26
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default [SOLVED] Can't login after update to 3.0.4

Hi there.

Started an update in the hosting control panel with Do ISPConfig-Update...
After that the WebInterface was no longer reachable.

Searched around a little bit and found that the update created an empty config.inc.php.

copied back the config.inc.php from backup and run the ispconfig_update.sh from commandline.

After all steps run successfully no login is possible. Logging in to mysql with root is ok, logging in with ispconfig withe the password from config.inc.php returns: ERROR 1045 (28000): Access denied for user 'ispconfig'@'localhost' (using password: YES)

Logging in tho other services like IMAP or ftp is no longer working.

Defined WebSites are running, other Databases are reachable...

Fount nothing really helpful in any logs...

My anyone can give me hints to search the Problem...

Thnx and best regards.

dbvadmin

Last edited by dbvadmin; 12th November 2011 at 23:34.
Reply With Quote
Sponsored Links
  #2  
Old 12th November 2011, 12:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

From which version did you update? Which distribution do you use? How exactly did you run the update? From which directory? Did you do this as root?
__________________
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
  #3  
Old 12th November 2011, 14:16
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi thx for reply.

Forgot those things....

Quote:
From which version did you update? Which distribution do you use? How exactly did you run the update? From which directory? Did you do this as root?
Update from 3.0.3 on a debian 6 squeeze logged in as root.

Startet the update from /opt/ispconfgi_install/install using the command php -q update.php

Already tried to reset the admin-pw, but nothing changed.

Think it's somewhere a problem accessing databases... but found nothing in logs. May you give me a hint, where to look after db-access-problems ?

Thx for helping

dbvadmin
Reply With Quote
  #4  
Old 12th November 2011, 16:26
stone1555 stone1555 is offline
HowtoForge Supporter
 
Join Date: Aug 2011
Location: USA
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to stone1555 Send a message via Yahoo to stone1555
Default

I'm new at this but check this file:

/usr/local/ispconfig/server/lib/mysql_clientdb.conf

and make sure your info is correct there.
Reply With Quote
  #5  
Old 12th November 2011, 18:11
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by stone1555 View Post
I'm new at this but check this file:

/usr/local/ispconfig/server/lib/mysql_clientdb.conf

and make sure your info is correct there.
Thx for your advice, but it's the correct value from the actual mysql-root account.

Is there any chance to set debug values to any config file to get more information about what's going wrong ?

dbvadmin
Reply With Quote
  #6  
Old 12th November 2011, 18:30
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I've now activated the general.log option in my.cnf to check out what db-connections are wrong.

Will update this thread when I found something.

dbvadmin
Reply With Quote
  #7  
Old 12th November 2011, 19:51
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

partly successful...

FOund wrong db-password in interface/config.inc.php

Now I can log in to the Interface, but at the Moment no ftp or Mail-Login possible...

Where are the passwords for those services stored ?

dbvadmin
Reply With Quote
  #8  
Old 12th November 2011, 19:56
stone1555 stone1555 is offline
HowtoForge Supporter
 
Join Date: Aug 2011
Location: USA
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to stone1555 Send a message via Yahoo to stone1555
Default

Try starting the services manually and see what you get. When you try to ftp or connect to webmail, whats the error your getting? All the ftp and mail passords / logins should be stored in mysql table. you may also want to login to phpmyadmin as root and double check your data exists.
Reply With Quote
  #9  
Old 12th November 2011, 20:54
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by stone1555 View Post
Try starting the services manually and see what you get. When you try to ftp or connect to webmail, whats the error your getting? All the ftp and mail passords / logins should be stored in mysql table. you may also want to login to phpmyadmin as root and double check your data exists.
GEtting further and further....

It seems the configs of the services had the wrong passwort. e.g. /etc/courier/authmysqlrc

Set the correct pw and restarted courier-authdaemon and can access squirrel.

Will check all other services, but will give a summary at the end

Best regards.

dbvadmin
Reply With Quote
  #10  
Old 12th November 2011, 23:33
dbvadmin dbvadmin is offline
Junior Member
 
Join Date: Jul 2011
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

OK, got it all running...

Copied the complete etc-dir to a local drive and searched for the wrong passwort. Replaced it in every file, where it's been found and rebootet the machine.

Now everything is well running again.

Thx for any hint

Best regards,

dbvadmin
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
F11 courier-imap fails. Nachogrande General 6 1st November 2010 17:55
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 12:32.


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