
26th July 2012, 18:27
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
I have to wait more than 10 minutes for ISPConfig to create a website?
Hey everyone. I've noticed I always have a problem adding new website into ISPConfig system. Whenever I make a new website, database for it, ftp for it and DNS zone, I always have to wait 15+ minutes, sometimes 30minutes? Why is that? Can I do anything to prevent this or speed it up or does ISPConfig normal take so long to process the data?
thanks in advance
|

26th July 2012, 20:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
Normally it takes about one minute to write the configuration to disk. Maybe a lock file of the server process has not been removed correctly, run:
rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
to remove it. If the problem happend again, then there is a problem with your server or system configuration that causes the server process to die. Debugging instructions for the server process can be found in the faq.
|

26th July 2012, 22:33
|
|
ISPConfig Developer
|
|
Join Date: Oct 2011
Location: NRW, Germany
Posts: 233
Thanks: 27
Thanked 56 Times in 31 Posts
|
|
I have the same problem on my servers.
The /usr/local/ispconfig/server/temp/.ispconfig_lock file was there. I removed it but no solution for the problem
Where can the debug guide be found?
|

27th July 2012, 08:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
http://www.faqforge.com/linux/debugg...-of-a-failure/
The lock file remains in case that the php process dies for whatever reason. When you test the debug, then you should test it at random times as the monitoring cronjobs run only when the current time can be divided by 5 ($minute%5 = 0) in case that the problem is causd by the monitor.
Last edited by till; 27th July 2012 at 08:02.
|

27th July 2012, 17:00
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
Quote:
Originally Posted by till
Normally it takes about one minute to write the configuration to disk. Maybe a lock file of the server process has not been removed correctly, run:
rm -f /usr/local/ispconfig/server/temp/.ispconfig_lock
to remove it. If the problem happend again, then there is a problem with your server or system configuration that causes the server process to die. Debugging instructions for the server process can be found in the faq.
|
THANK YOU till!!!
I did what you said and it only took around 10 seconds for the newly created website, ftp, database and DNS to become active!
PERFECT SOLUTION! (at least for me =))
Thanks again!
EDIT: ** Should I remove it more often? Or is this once in a year problem? =) I've been using ISPConfig for 6 months now.
|

27th July 2012, 17:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
I did not had it yet on my servers that a lock file was not deleted, so I guess it wont happen that often. But if there is a problem with the php installation or any of the applications that get called by ispconfig, it might happen that the php process dies again and can not remove the lock file. In that case, you should try to debug the issue to find the reason for the hanging process.
|

4th August 2012, 10:18
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
Thank you for the information till, I was away that's why I didn't answer. You say I should debug this issue? Can you refer me to a guide or tutorial on how to debug such issues?
|

4th August 2012, 10:31
|
|
Senior Member
|
|
Join Date: Jul 2011
Location: Switzerland
Posts: 151
Thanks: 21
Thanked 44 Times in 31 Posts
|
|
Quote:
Originally Posted by todx
Thank you for the information till, I was away that's why I didn't answer. You say I should debug this issue? Can you refer me to a guide or tutorial on how to debug such issues?
|
Hey,
You have to: ISPConfig -> System -> Server Config (take server which has problems) -> Server -> Loglevel = Debug
Afterwards you can do a
Code:
tail -f /var/log/ispconfig/ispconfig.log
|

4th August 2012, 12:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
Quote:
Originally Posted by todx
Thank you for the information till, I was away that's why I didn't answer. You say I should debug this issue? Can you refer me to a guide or tutorial on how to debug such issues?
|
See post #4 in this thread.
|

26th August 2012, 11:42
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
Ok, having problems again, I have to wait too long again (20 minutes now). I'll post the output of "server.sh" to show you the debug and if no one has a solution I will try to remove APC and see how it goes than.
Code:
root@cp:~# /usr/local/ispconfig/server/server.sh
26.08.2012-09:38 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
26.08.2012-09:38 - DEBUG - Found 2 changes, starting update process.
26.08.2012-09:38 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
26.08.2012-09:38 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
26.08.2012-09:38 - DEBUG - Network configuration disabled in server settings.
26.08.2012-09:38 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
26.08.2012-09:38 - DEBUG - Processed datalog_id 1996
26.08.2012-09:38 - DEBUG - Calling function 'update' from plugin 'apps_vhost_plugin' raised by event 'server_update'.
26.08.2012-09:38 - DEBUG - Calling function 'update' from plugin 'network_settings_plugin' raised by event 'server_update'.
26.08.2012-09:38 - DEBUG - Network configuration disabled in server settings.
26.08.2012-09:38 - DEBUG - Calling function 'update' from plugin 'postfix_server_plugin' raised by event 'server_update'.
26.08.2012-09:38 - DEBUG - Processed datalog_id 1997
26.08.2012-09:38 - DEBUG - Calling function 'restartHttpd' from module 'web_module'.
26.08.2012-09:38 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
Last edited by todx; 26th August 2012 at 11:46.
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 21:17.
|
Recent comments
2 days 12 hours ago
2 days 21 hours ago
2 days 23 hours ago
3 days 1 hour ago
3 days 2 hours ago
3 days 4 hours ago
3 days 5 hours ago
3 days 6 hours ago
3 days 22 hours ago
3 days 23 hours ago