Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th August 2012, 19:58
Nakkel Nakkel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 2
Thanked 1 Time in 1 Post
Default ISPConfig 3 settings not applied on underlying system

Hi,

I noticed few days ago that our ISPConfig server was behaving a bit funky as it refused to let a Shell user login after a password change. After few tries we noticed that the password wasnt actually changed and the old one was still active. We dug around a bit and found that even though ISPConfig seemed work fine on the surface, nothing actually was happening on the underlying system. We can edit and create new customers, shell users, FTP users etc. but those are modified or created only in the ISPConfig database, not in our web folders or passwd/shadow files.

We did a server migration few weeks back and the setup was working ok after that as we signed up couple of new users after the migration and their accounts are working.

I tried to put the server on debug logging, but as that is done inside ISPConfig, nothing actually gets logged. :P

We have a Debian 6.0.5 with ISPConfig 3.0.4.6.

I have peeked and poked around without avail, so any pointers where to look for the problem are appreciated.

Thank you.

- J
Reply With Quote
Sponsored Links
  #2  
Old 19th August 2012, 11:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Are there any errors in ISPConfig's Monitor module?

What's the output of
Code:
 ls -la /usr/local/ispconfig/server/temp/
?
__________________
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 19th August 2012, 11:32
Nakkel Nakkel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
Are there any errors in ISPConfig's Monitor module?
Nothing recent, only old ones from the time the server was migrated and the database password was wrong but that was fixed.

Quote:
Originally Posted by falko View Post
What's the output of
Code:
 ls -la /usr/local/ispconfig/server/temp/
?

root@foo:~# ls -la /usr/local/ispconfig/server/temp/
total 12
drwxr-s--- 2 ispconfig ispconfig 4096 Aug 19 12:27 .
drwxr-s--- 13 ispconfig ispconfig 4096 Apr 19 13:17 ..
-rw------- 1 ispconfig ispconfig 227 Jul 24 16:50 rescue_module_serverconfig.ser.txt
Reply With Quote
  #4  
Old 19th August 2012, 13:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Please run the command as described in the debug FAQ article and post the output.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 19th August 2012, 13:23
Nakkel Nakkel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
Please run the command as described in the debug FAQ article and post the output.
I presume you are referring to this: http://www.faqforge.com/linux/debugg...-of-a-failure/

The result for that one is

root@foo:~# /usr/local/ispconfig/server/server.sh
finished.

- J
Reply With Quote
  #6  
Old 19th August 2012, 14:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

This indicates that debuggin is not enabled or the mysql server is unreachable. Please check again that you enebaled loglevel debug in the ispconfig interface for the server were you had run the command.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 21st August 2012, 19:42
Nakkel Nakkel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
This indicates that debuggin is not enabled or the mysql server is unreachable. Please check again that you enebaled loglevel debug in the ispconfig interface for the server were you had run the command.
I double checked and the loglevel was at "Debug" when the command was executed.

Also the database is reachable as the changes done inside ISPConfig are saved there, I checked by hand, but those settings are not applied in any underlying configs (apache, shell, ftp).
Reply With Quote
  #8  
Old 26th August 2012, 14:21
Nakkel Nakkel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 2
Thanked 1 Time in 1 Post
Default

I did a manual update (php -q update.php) and reconfigured services. Now I get some error messages.


Quote:
26.08.2012-12:18 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
26.08.2012-12:18 - WARNING - Unable to connect to local server.
26.08.2012-12:18 - DEBUG - No Updated records found, starting only the core.
26.08.2012-12:18 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
And on userinterface

Quote:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 76
So it seems to be ispconfig database user password mismatch. Any ways to correct this?

- J
Reply With Quote
  #9  
Old 26th August 2012, 14:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Ensure that the mysql passwords for the ispconfig user in the files /usr/local/ispconfig/server/lib/config.inc.php and /usr/local/ispconfig/interface/lib/config.inc.php are corret so that the ispconfig interface and server part can connect to the dbispconfig mysql database.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 26th August 2012, 14:39
Nakkel Nakkel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 8
Thanks: 2
Thanked 1 Time in 1 Post
 
Default

As far as I can see, they are the same on database and config files. I checked from our previous server and there seems to be difference in the way the password is stored. On the old server it looks like its MD5 or SHA1 hashed (*FB928...) and on the new its some long string with all lowercase letters and numbers.

Still the string is same in configs and database.

- J
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
Auto Start ISPConfig royrobinson Installation/Configuration 15 30th May 2012 10:48
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
ISPConfig system stoped johnking Installation/Configuration 7 27th October 2005 02:37


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


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