Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Frans Lawaetz
Seva, I wish I had been able to inspect the system but with limits.conf corrupted I couldn't log in and opted to rebuild the OS as it was a production server. Next time (I'm really hoping there won't be one) I will pull a drive and mount it elsewhere. The syslog messages the host sent indicated t

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Seva Gluschenko
Frans, this all sounds very strange indeed. I never heard that Cfengine would be able to harm any file because of corruption in transfer. If you kept the damaged file and that moment cfengine inputs by any change, it would be really good data to analyze. I've experienced some inconsistencies relat

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Frans Lawaetz
On 11/09/2010 05:46 AM, Seva Gluschenko wrote: > No, definitely. A file isn't installed in place of older one until > it's copied succefully. > Seva, that's what has me so alarmed. Like you and Neil pointed out, I can take steps to minimize the odds of cf-serverd getting terminated while e

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Seva Gluschenko
No, definitely. A file isn't installed in place of older one until it's copied succefully. 2010/11/9 Bas van der Vlies : > > On 9 nov 2010, at 10:53, Seva Gluschenko wrote: > >> Well, Cfengine reports in deed that a file was corrupted in transfer. >> It doesn't report about replacing the old file,

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Bas van der Vlies
On 9 nov 2010, at 10:53, Seva Gluschenko wrote: > Well, Cfengine reports in deed that a file was corrupted in transfer. > It doesn't report about replacing the old file, though, i.e. don't > treat the message that seriously. > ? It could not login into the system due a corrupted file. > 2010/1

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Seva Gluschenko
Well, Cfengine reports in deed that a file was corrupted in transfer. It doesn't report about replacing the old file, though, i.e. don't treat the message that seriously. 2010/11/9 Bas van der Vlies : > Maybe i am misreading the info. But the mail is about a file gets corrupted > during a copy.  

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Bas van der Vlies
Maybe i am misreading the info. But the mail is about a file gets corrupted during a copy. to my knowledge this should not happen when On 9 nov 2010, at 10:22, Seva Gluschenko wrote: > Of course, Cfengine3 acts the same way, file never gets installed > directly in place of an older file. > M

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-09 Thread Seva Gluschenko
Of course, Cfengine3 acts the same way, file never gets installed directly in place of an older file. 2010/11/9 Bas van der Vlies : > > On 9 nov 2010, at 08:37, Seva Gluschenko wrote: > >> Frans, >> >> since you're terminating cf-serverd in the middle of a file transfer, >> the receiving agent rea

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-08 Thread Bas van der Vlies
On 9 nov 2010, at 08:37, Seva Gluschenko wrote: > Frans, > > since you're terminating cf-serverd in the middle of a file transfer, > the receiving agent reasonably treats it as a corruption. There's > nothing wrong with it. On the other hand, why terminating cf-serverd > when you just need to re

Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-08 Thread Seva Gluschenko
Frans, since you're terminating cf-serverd in the middle of a file transfer, the receiving agent reasonably treats it as a corruption. There's nothing wrong with it. On the other hand, why terminating cf-serverd when you just need to restart cf-execd? Modify your promise and feel safe. 2010/11/8

Cfengine Help: Re: "was not able to copy file" - critical corruption during cf-agent run

2010-11-08 Thread no-reply
Forum: Cfengine Help Subject: Re: "was not able to copy file" - critical corruption during cf-agent run Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19137,19138#msg-19138 To avoid the the clients connecting to the server while the server is restarting s

"was not able to copy file" - critical corruption during cf-agent run

2010-11-08 Thread Frans Lawaetz
Hi- I recently implemented a "service cfengine3 restart" weekly cron job as a workaround to the MAX_FD bug that others and myself have seen. I neglected to except the master from the restart so when cf-serverd was killed a number of hosts complained about in-flight transfers or not being able to