Current time: 05-19-2024, 01:05 PM Hello There, Guest! (LoginRegister)


Post Reply 
ispcp.conf
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: ispcp.conf
(12-10-2009 04:15 PM)kotso Wrote:  ispcp-omega-trunk-20091207

does ispcp locks ispcp.conf while editing?

Yes. In theory, there can only be one backend operating (modifying things) at the same time, as you can see here (lock_ system implementation). Now, it seems that either "flock()" is not working properly on your system or there's another script modifying the config file, so do you have any idea about why this may happen? I only can think of a few possible reasons:

1. You're using NFS (or another non-flock-friendly) filesystem.
2. You've made a script that modifies the apache config file by itself.
3. For some reason, you call one of the manager scripts (ispcp-*-mngr) directly, without letting ispcp-rqst-mngr do its work.

Am I right on any of these? Can you provide more info on what was running when the file got corrupted?

Thanks and sorry for the inconvenience....
(This post was last modified: 12-10-2009 04:50 PM by kilburn.)
12-10-2009 04:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ispcp.conf - kotso - 12-10-2009, 02:51 AM
RE: ispcp.conf - kilburn - 12-10-2009, 04:37 AM
RE: ispcp.conf - kotso - 12-10-2009, 04:15 PM
RE: ispcp.conf - kilburn - 12-10-2009 04:46 PM
RE: ispcp.conf - kotso - 12-10-2009, 05:51 PM
RE: ispcp.conf - kilburn - 12-11-2009, 05:02 AM
RE: ispcp.conf - kotso - 12-11-2009, 04:58 PM
RE: ispcp.conf - kilburn - 12-11-2009, 05:30 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)