🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Antonio Tue, 24 Sep 2002 11:39
Two problems with inn2-2.3.2: innfeed and innwatch
#60639
Author: Antonio
Date: Tue, 24 Sep 2002 11:39
65 lines
3438 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am runnig an inn2 server on a debian box. Everything has been running
smoothly for almost a year but, recently, I have been getting two error 
messages I cannot cope with.

1.- /usr/lib/news/bin/innwatch: [: 4294967295: integer expression
expected.

After searching google I have seen how this was fixed in former
versions of inn by editing innwatch.ctl; the problem is my innwatch.ctl
differs from those in the examples I have found so far. This is my
innwatch.ctl file:

!!! test -f ${LOCKS}/innd.pid && echo 0 || echo 1 ! eq ! 1 ! exit ! innd
dead
!!! cat ${LOCKS}/LOCK.${PROGNAME} ! ne ! $$ ! exit ! innwatch replaced

##  threshold throttle, below restart limit undo whatever was done.
!load!load hiload! uptime | tr -d ,. | awk '{ print $(NF - 2) }' ! lt !
${INNWATCHLOLOAD} ! go ! loadav
!hiload!+ load! uptime | tr -d ,. | awk '{ print $(NF - 2) }' ! gt !
${INNWATCHHILOAD} ! throttle ! loadav
!load!+! uptime | tr -d ,. | awk '{ print $(NF - 2) }' ! gt !
${INNWATCHPAUSELOAD} ! pause ! loadav

!!! ${INNDF} . ! lt ! ${INNWATCHSPOOLSPACE} ! throttle ! No space
(spool)
!!! ${INNDF} ${BATCH} ! lt ! ${INNWATCHBATCHSPACE} ! throttle ! No space
(newsq)
!!! ${INNDF} ${PATHDB} ! lt ! ${INNWATCHLIBSPACE} ! throttle ! No space
(newslib)
!!! ${INNDF} -i . ! lt ! ${INNWATCHSPOOLNODES} ! throttle ! No space
(spool inodes)
!!! ${INNDF} ${OVERVIEWDIR} ! lt ! ${INNWATCHSPOOLSPACE} ! throttle ! No
space (overview)

2.- For a couple of days, right after adding some groups to the server,
I have been getting this error message in my logs:

Sep 23 13:25:08 antonio innfeed[10898]: Could not retrieve
@0501000000BD000000010000000000000000@: (null)

I understand innfeed has a problem trying to find the article it wants
to sent out, maybe because the article does not exist, but I haven't
been able to find relevant information about how to fix this either.

Thanks in advance.

- -- 
Un saludo.

Antonio <antonio@escomposlinux.org>
Clave p�blica gnupg en pgp.escomposlinux.org
Usuario Linux registrado n� 189536

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9kE852t+2vrJ8PLURAsT7AJoCSoquYgQrA0lx5vcvQnsaGM9iJACfex6x
uHv2twlpsWHK2g63BRotWvc=
=ocvw
-----END PGP SIGNATURE-----
Re: Two problems with inn2-2.3.2: innfeed and innwatch
#60643
Author: Marco d'Itri
Date: Tue, 24 Sep 2002 15:14
11 lines
1331 bytes
antonio@escomposlinux.org wrote:

>1.- /usr/lib/news/bin/innwatch: [: 4294967295: integer expression
>expected.
http://www.bofh.it/~md/newinn/ has a fix (already sent upstream).
OTOH it's untested and it may have introduced new brokeness.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *
Re: Two problems with inn2-2.3.2: innfeed and innwatch
#60651
Author: Remco Blaakmeer
Date: Tue, 24 Sep 2002 18:37
27 lines
2156 bytes
On Tue, 24 Sep 2002 11:39:57 GMT, Antonio <antonio@escomposlinux.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I am runnig an inn2 server on a debian box. Everything has been running
> smoothly for almost a year but, recently, I have been getting two error 
> messages I cannot cope with.
> 
> 1.- /usr/lib/news/bin/innwatch: [: 4294967295: integer expression
> expected.

This happens when the news spool is on a reiserfs filesystem. The number
of free inodes, as reported by df, is larger than the largest number the
shell can handle in arithmetic expressions. Because reiserfs works
differently from ext2fs (I don't know all the details), this number will
always be the same and its value is irrelevant.

> !!! ${INNDF} -i . ! lt ! ${INNWATCHSPOOLNODES} ! throttle ! No space
> (spool inodes)

This line causes the error. If you delete it, or comment it out, the
message will not appear.

Remco
-- 
remco3:  19:25:01 up 5 days, 17:08,  9 users,  load average: 2.24, 2.11, 2.05
Re: Two problems with inn2-2.3.2: innfeed and innwatch
#60656
Author: Jeffrey M. Vinocur
Date: Wed, 25 Sep 2002 02:42
20 lines
1664 bytes
In article <ampvhb$1rm$1@wonderland.linux.it>,
Marco d'Itri  <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> wrote:
>antonio@escomposlinux.org wrote:
>
>>1.- /usr/lib/news/bin/innwatch: [: 4294967295: integer expression
>>expected.
>http://www.bofh.it/~md/newinn/ has a fix (already sent upstream).
>OTOH it's untested and it may have introduced new brokeness.

I can't seem to find your patch, do you recall when (or under
what Subject) you sent it?

(If you have a patch just for that behavior, I have a test
machine currently exhibiting that problem with Reiser and thus
can test and commit.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Two problems with inn2-2.3.2: innfeed and innwatch
#60661
Author: Russ Allbery
Date: Wed, 25 Sep 2002 04:09
20 lines
1824 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> I can't seem to find your patch, do you recall when (or under
> what Subject) you sent it?

> (If you have a patch just for that behavior, I have a test
> machine currently exhibiting that problem with Reiser and thus
> can test and commit.)

Marco sent me a couple in private e-mail; the basic idea is to cap free
inodes at maxint in inndf.  I think that makes sense to do.  I'll try to
commit tomorrow (today, I had horrid lag that made it really hard to do
any work).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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