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 9th September 2005, 00:28
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default Save in Management/Server/Settings doesn't work

Hi there,
saving the settings in Management/Server/Settings doesn't work...
I can see a process
Code:
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
after clicking on save which runs for about 2 mins. (and obviously fails, since .ispconfig_lock is still there after it disappears)
Meanwhile ISPConfig sends me to the server status page and when I return to the server settings, again "Server 1", www (the default stuff) is displayed.
Where do I have to look to find out what's wrong? What is writeconf.php trying to do? Where is this information stored in the database? Is there a log file which tells me what's going on?
Regards,
~jm
Reply With Quote
Sponsored Links
  #2  
Old 9th September 2005, 10:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

Quote:
Originally Posted by jmroth
Hi there,
saving the settings in Management/Server/Settings doesn't work...
I can see a process
Code:
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
after clicking on save which runs for about 2 mins. (and obviously fails, since .ispconfig_lock is still there after it disappears)
Meanwhile ISPConfig sends me to the server status page and when I return to the server settings, again "Server 1", www (the default stuff) is displayed.
Where do I have to look to find out what's wrong? What is writeconf.php trying to do? Where is this information stored in the database? Is there a log file which tells me what's going on?
Regards,
~jm
When you edit something in Management/Server/Settings, the configuration for all websites is updated so it may take some time depending on how many websites you have. If the lockfile does not disappear, have a look at the ispconfig logfile:

/home/admispconfig/ispconfig/ispconfig.log

When you always get the default stuff in the server settings, have a look at the mySQL database, how many records are in the table isp_server? There should be only one, generated by the installer script or have you installed the sql-dump manually?
Reply With Quote
  #3  
Old 9th September 2005, 15:54
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

Hi there,
I have actually done the dump manually and the isp_server table is empty...
I did it this way because the installer script complained because the table was already there...
The logfile says nothing except
INFO - Signalfile Set: update
Regards,
~jm
Reply With Quote
  #4  
Old 9th September 2005, 16:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
 
Default

Quote:
Originally Posted by jmroth
Hi there,
I have actually done the dump manually and the isp_server table is empty...
I did it this way because the installer script complained because the table was already there...
The logfile says nothing except
INFO - Signalfile Set: update
Regards,
~jm
Installing the dump manually wont work!

1) Delete ISPConfig:

rm -rf /root/ispconfig
rm -rf /home/admispconfig

2) Delete the mySQL databse with e.g phpMyAdmin. The complete database, not only the tables inside.

3) Unpack the installer again and run the setup script.

If you have any problems with the installer, please post them to the forum.
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


All times are GMT +2. The time now is 13:58.


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