🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Ernie Oporto Thu, 08 Jan 1998 00:00
unable to do news.daily!
#25069
Author: Ernie Oporto
Date: Thu, 08 Jan 1998 00:00
18 lines
986 bytes
This happened some time during the holidays, and now I have a full disk on
the news server.  When I went to expire some stuff with news.daily, I got
the following, stating that it was locked by....what?

Help!

/news/bin/news.daily: Locked by
Server status:
Server running
Allowing remote connections
Parameters c 14 i 0 (2) l 1000000 o 51 t 300 H 2 T 60 X 0 normal specified

-Ernie



Re: unable to do news.daily!
#24989
Author: Ernie Oporto
Date: Thu, 08 Jan 1998 00:00
54 lines
2285 bytes

Specifically, it's failing at this point in "news.daily".

##  Lock out others.
shlock -p $$ -f ${LOCK} || {
    ( echo "$0: Locked by `cat ${LOCK}`"; ${INNSTAT} ) | eval ${MAIL}
    exit 1
}
It never makes the lockfile and the "cat" spits nothing out, so I get my
blank offender.

Was running fine and then just up and died when the disk filled up while I
was gone over vacation.  Ever since then my log is full of these:

cat: cannot open /var/news/locks/LOCK.newgroup.log
/news/bin/writelog: Cannot grab lock /var/news/locks/LOCK.newgroup.log, held
by:
Can't write PID to "/var/news/locks/shlock20580", No space left on device
cat: cannot open /var/news/locks/LOCK.badcontrol.log
/news/bin/writelog: Cannot grab lock /var/news/locks/LOCK.badcontrol.log,
held by:

Yet, it is still receiving and transferring news back and forth from other
servers, so I don't think I ran out of inodes.

Here is "/usr/ucb/df" on that filesystem, which innwatch.ctl knows about:
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s6    8316189 3374955 4109624    46%    /news

HELP!??!?
-Ernie


Ernie Oporto wrote in message <693dde$7go$1@newnews.Warren.MENTORG.COM>...
>This happened some time during the holidays, and now I have a full disk on
>the news server.  When I went to expire some stuff with news.daily, I got
>the following, stating that it was locked by....what?
>
>Help!
>
>/news/bin/news.daily: Locked by
>Server status:
>Server running
>Allowing remote connections
>Parameters c 14 i 0 (2) l 1000000 o 51 t 300 H 2 T 60 X 0 normal specified
>
>-Ernie
>
>



Re: unable to do news.daily!
#25070
Author: Hans Lambermont
Date: Fri, 09 Jan 1998 00:00
21 lines
1358 bytes
Ernie Oporto wrote:
> the following, stating that it was locked by....what?
> /news/bin/news.daily: Locked by

From news.daily:
PROGNAME=news.daily
LOCK=${LOCKS}/LOCK.${PROGNAME}

so it's 'another' news.daily. Probably isn't there anymore. Check the
pid
in the lockfile, and if it isn't there anymore; remove the lock file.

Hans
-- 
Ir. Hans Lambermont        http://www.mpn.cp.philips.com/Hans.Lambermont
TIS/INS, VN507                        Hans.Lambermont@mpn.cp.philips.com
Origin IT Systems Management/NL bv    phone/fax: (+31 40 27) 85376/88729
PO Box 218, 5600MD Eindhoven, Netherlands          GSM: (+31) 6 53252172

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads