#1  
Old 24th April 2006, 23:16
benjami benjami is offline
Member
 
Join Date: Nov 2005
Location: Mediterranean Sea > Majorca Island
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default How many delay is normal?

Hi,

I've deleted one administrator email user, john, then empty the recycle bin. All is correct: the Maildir symlink points to the /home/www/web15/user/john/Maildir that doesn't exists (I use Courier instead WU).

Then I've moved one existing user (joseph) to administrator. No changes in the symlink after many than 2 hours.

Now I've modified this account (joseph): added «catchAll email» and SSH access. With this changes, the Maildir symlink now is correct only 5 minutes after the change: /home/www/web15/user/joseph/Maildir. Then I've unselected the SSH access and I can see the changes in /etc/passwd. Good!

Seems that some changes have long delay --or maybe doesn't works? What is the normal delay that I can should wait for?

I've previously seen this detail with one new site: only when I've created new users (administrator, catchAll email, SSH) the new site appears in /etc/apache2/vhosts/Vhosts_ispconfig.conf and apache2 service reloaded.

One detail that maybe is important: the server is in one intranet with the 192.168.1.150 IP. I'm out of the office working with the Internet router IP that with NAT «see» the 192.168.1.150:81. I can see that my browser looks for some details in 192.168.1.150 and maybe some PHP scripts doesn't works for this reason.

Thanks for this great software --and sorry for my poor english

Last edited by benjami; 24th April 2006 at 23:27. Reason: typos and more details
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2006, 17:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What's the output of
Code:
ls -la /root/ispconfig
?

Can you run this?
Code:
strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
Do you see any errors (segmentation faults)? PHP 5.1.2 has a few bugs that cause segmentation faults on some systems...
__________________
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 29th May 2006, 16:27
benjami benjami is offline
Member
 
Join Date: Nov 2005
Location: Mediterranean Sea > Majorca Island
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tests done

Quote:
Originally Posted by falko
What's the output of
Code:
ls -la /root/ispconfig
?
Code:
$ ls -la /root/ispconfig
total 120
drwxr-xr-x  9 root root  4096 2006-05-26 14:52 .
drwxr-xr-x  8 root root  4096 2006-04-12 21:25 ..
-rwxr-xr-x  1 root root 55866 2005-11-26 14:09 cronolog
-rwxr-xr-x  1 root root  9673 2005-11-26 14:09 cronosplit
drwxr-xr-x 12 root root  4096 2005-11-26 13:21 httpd
drwxr-xr-x 11 root root  4096 2005-11-26 14:09 isp
-rw-r--r--  1 root root     9 2006-05-26 14:52 .old_path_httpd_root
drwxr-xr-x  6 root root  4096 2005-11-26 13:18 openssl
drwxr-xr-x  6 root root  4096 2005-11-26 13:24 php
drwxr-xr-x  4 root root  4096 2005-11-26 14:09 scripts
drwxr-xr-x  4 root root  4096 2005-11-26 14:09 standard_cgis
drwxr-xr-x  2 root root  4096 2005-11-26 14:09 sv
-rwx------  1 root root  8190 2005-11-26 14:09 uninstall
Quote:
Originally Posted by falko
Can you run this?
Code:
strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
Do you see any errors (segmentation faults)? PHP 5.1.2 has a few bugs that cause segmentation faults on some systems...
Works fine, no segmentation fault errors. Is one Debian Etch with PHP4.

I've replied too late (I'm sorry for the delay) because today I've used ISPConfig from the intranet --and I see the same delays too.

Maybe is due that I should press the «save» button of the main «ISP Site» page after any user changes?

NOTE: is one old ISPConfig version: 2.1.1. Yes, is time to upgrade ...
Reply With Quote
  #4  
Old 29th May 2006, 17:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by benjami
NOTE: is one old ISPConfig version: 2.1.1. Yes, is time to upgrade ...
Yes, try that. The latest release comes with PHP 5.1.4 where the developers solved some problems with segmentation faults, etc.
__________________
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
  #5  
Old 16th June 2006, 13:30
benjami benjami is offline
Member
 
Join Date: Nov 2005
Location: Mediterranean Sea > Majorca Island
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Today I can ca reproduce this delay problem:

I change one user email password in the ISPConfig interface, but in the user still have the old password.

Running

Code:
strace /root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
this message loops again and again:

Code:
stat64("/root/ispconfig/.ispconfig_lock", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
The file:

Code:
$ ls -l /root/ispconfig/.ispconfig_lock
-rw-r--r-- 1 root root 0 2006-06-15 08:50 /root/ispconfig/.ispconfig_lock
Is safe that I delete this file or I should wait for / force another ISPConfig process?

Update: After browsing this forum looking for .ispconfig_lock:

- I've deleted .ispconfig_lock
- Run (as root) root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
Code:
start
chmod: no s'ha pogut accedir a "joan:web10": El fitxer o directori no existeix (traduction: chmod: can't access to "joan:web10": file or directory not found)
ERROR: Nothing parsed, nothing printed <BR>
UPDATE USER: 153
ende
- I don't see errors in ISPConfig log (before and after).
- No .ispconfig_lock file now.

Loking for the .ispconfig_lock file presence reason.

Last edited by benjami; 16th June 2006 at 16:34. Reason: update
Reply With Quote
  #6  
Old 16th June 2006, 18:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

You can delete the lock file. It's created by the ISPConfig backend to prevent that a second backend process is running at the same time trying to write configuration files.
If during a backend run the process is aborted for some reason (power failure, ...), then the .ispconfig_lock file remains in /root/ispconfig, preventing further updates to be written to the configuration files.
__________________
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
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
normal HTTPD wont start traxxdata Installation/Configuration 4 1st February 2008 18:23
I can use web-ftp but i can't login normal ftp !!! kong121s Installation/Configuration 12 24th April 2006 20:58
FTP: normal user not jailed fuchsbox Installation/Configuration 3 15th December 2005 21:33


All times are GMT +2. The time now is 07:48.


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