
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,888
Thanks: 693
Thanked 4,188 Times in 3,205 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,888
Thanks: 693
Thanked 4,188 Times in 3,205 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,888
Thanks: 693
Thanked 4,188 Times in 3,205 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,888
Thanks: 693
Thanked 4,188 Times in 3,205 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.
|

5th August 2012, 22:11
|
|
Member
|
|
Join Date: Apr 2012
Posts: 76
Thanks: 32
Thanked 5 Times in 4 Posts
|
|
Command "/usr/local/ispconfig/server/server.sh" returned:
Code:
PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
And after that "finish".
I bought this would affect the php in any way? Or is this serious?
NOTE: I tried to fix it, by adding "M" or "G" at the end of "apc.shm_size=512", how ever that didn't seem to make any effect.
|
| Thread Tools |
|
|
| Display Modes |
Linear 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 18:25.
|
Recent comments
16 hours 1 min ago
21 hours 26 sec ago
22 hours 26 min ago
23 hours 19 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 21 hours ago
1 day 23 hours ago