[Cialug] uucp-style lock files?

Bailey, Jonathan C bailj0 at bp.com
Tue Jul 19 10:45:25 CDT 2005


Any reason you're using sendpage? I'd think its only for numeric paging.
Even that is a bit outdated. What geek doesn't carry an alphanumeric
pager or cellphone? That's what I use for alerts...


Jon 

-----Original Message-----
From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org] On
Behalf Of Nathan C. Smith
Sent: Tuesday, July 19, 2005 10:42 AM
To: 'cialug at cialug.org'
Subject: [Cialug] uucp-style lock files?



I'm trying to set up sendpage 'http://www.sedpage.org' to send pages to
my pager.  I'm getting an error in messages about the lockfile.  Are
lockfiles something I need to create or should they have been created
for me?

Here are the messages:

Jul 19 10:34:39 nagios sendpage[3881]: skytel/q112178727903881000:
state=Queued, to=smith_skytel, from=smith at ipmvs.com(localhost), size=23
Jul 19 10:34:49 nagios sendpage[3522]: Modem 'sportster': cannot access
lockfile '/var/lock/LCK..ttyS0': Permission denied Jul 19 10:34:49
nagios sendpage[3522]: No modems available Jul 19 10:34:49 nagios
sendpage[3522]: proto startup failed (All modems presently in use) Jul
19 10:34:49 nagios sendpage[3522]: skytel/q112178727903881000:
state=Temp-Failure, to=smith_skytel, from=smith at ipmvs.com, size=23,
PC=All modems presently in use Jul 19 10:35:00 nagios sendpage[3887]:
skytel/q112178730003887000:
state=Queued, to=smith_skytel, from=smith at ipmvs.com(localhost), size=23

The directory /var/lock/LCK was not there so I created it.  I assigned
group and user ownership to uucp and assigned permissions similar to the
other lock directories.  but I still get the errors above.  From what I
can find it sounds like this locking technique may be outdated.  Is
anyone else using sendpage?  Did you run into this problem, did you get
around it?

I used minicom to confirm my modem is on ttyS0 and I have created a
symbolic link to /dev/modem.

Any help or useful pointers would be much appreciated.

-Nate

_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list