Search Again:

Re: passwd file issue and multiple ssh requests

From: Dawn D. Pfaltzgraff
Date: Thursday, July 3, 2003
Time: 9:26:53 am


Does anyone have any perl script on how to wait for a lock file?

At 10:05 AM 7/3/2003 -0600, you wrote:

>The scripts are just running a modification script to "hold" the emails,
>the problem is in these accounts there is more than one email and it's
>trying to do them at the same time. There is no way for Optigold to know
>to only send one session at a time to a server?
>
>Dawn
>
>At 04:55 PM 7/1/2003 -0700, you wrote:
>>Dawn D. Pfaltzgraff wrote:
>>
>> > A little background. Every once in a while our passwd file on our UNIX
>> > based mail server seems to disappear. The master password file is there,
>> > just not the passwd file. We have narrowed it down to the fact that two
>> > ssh requests try to run at the same time last night and thus locked the
>> > file and "corrupted" the passwd file. So my question is this, the account
>> > that caused the issue had two emails associated with it and they both
>> tried
>> > to request ssh sessions with our mail server at the same time. How do
>> I get
>> > the 2 emails to pause between requests so that this doesn't happen again?
>>
>>What exactly are they doing in the SSH session? If you are triggering a
>>script of some sort, you may want to modify that script to take into account
>>a locked file (with a lock file or something), then have the script pause
>>for a few seconds and check again if it's locked...
>>
>> - Shawn
>>
>>----------------------------------
>>Shawn D. Hogan
>>President, Digital Point Solutions
>>http://www.digitalpoint.com
>>(858) 452-3696
>>
>>
>>---------------------------------------------------
>>To subscribe, unsubscribe or to search list archive
>>please visit http://www.optigold.com/lists/isp.html
>>---------------------------------------------------
>
>
>Dawn D. Pfaltzgraff
>System Administrator
>Premier Systems -plains.net
>ddpfz@plains.net
>(970-848-0475)
>
>
>
>---------------------------------------------------
>To subscribe, unsubscribe or to search list archive
>please visit http://www.optigold.com/lists/isp.html
>---------------------------------------------------


Dawn D. Pfaltzgraff
System Administrator
Premier Systems -plains.net
ddpfz@plains.net
(970-848-0475)



---------------------------------------------------
To subscribe, unsubscribe or to search list archive
please visit http://www.optigold.com/lists/isp.html
---------------------------------------------------



Messages In This Thread:



Return to Digital Point Solutions' Home Page