🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
4 messages
4 total messages Started by Greg Hennessy Mon, 11 Jan 1999 00:00
Expire problems with linux and Cnews
#1657
Author: Greg Hennessy
Date: Mon, 11 Jan 1999 00:00
26 lines
1558 bytes
I am running c-news-CR.G on a linux Redhat 5.2 with kernel 2.0.36. I
ran a similar version of news on my older 4.2 box sucessfully, and am
the only user so I don't run inn. I find that I have errors with
expire, with an error message of: 

To: newscrisis
Subject: news (urgent): possible expire problems

awk: cmd. line:21: (FILENAME=- FNR=3287) fatal error: internal error

I have traced this down to the upact program, trying to execute the
line: 

          dir = substr($0, 1, length($0)-3)       # trim off /.:

Part of my problem is that I don't understand awk. I suspect that the
problem is a small incompatibity of either awk or some other shell
tool. This bit of code is trying to update the active file. Can anyone
offer advice to what upact is supposed to be doing? And how it does
it? OR has everyone stopped using c--news and is going to inn?

Thank you


Re: Expire problems with linux and Cnews
#1653
Author: Hello Kittyhawk
Date: Mon, 11 Jan 1999 00:00
46 lines
2193 bytes
In article <77b0nf$b21$1@clarknet.clark.net>,
Greg Hennessy <gsh@clark.net> wrote:
|
|I am running c-news-CR.G on a linux Redhat 5.2 with kernel 2.0.36. I
|ran a similar version of news on my older 4.2 box sucessfully, and am
|the only user so I don't run inn. I find that I have errors with
|expire, with an error message of: 
|
|To: newscrisis
|Subject: news (urgent): possible expire problems
|
|awk: cmd. line:21: (FILENAME=- FNR=3287) fatal error: internal error
|
|I have traced this down to the upact program, trying to execute the
|line: 
|
|          dir = substr($0, 1, length($0)-3)       # trim off /.:
|
|Part of my problem is that I don't understand awk. I suspect that the
|problem is a small incompatibity of either awk or some other shell
|tool. This bit of code is trying to update the active file. Can anyone
|offer advice to what upact is supposed to be doing? And how it does
|it? OR has everyone stopped using c--news and is going to inn?


	I still use C news since it is far more versatile
	& manageable for small servers, etc. (it won't do
	for large full-feed servers however).


	This looks like an awk bug - probably a newer
	version is needed - it's really gnu awk, yes?


	I don't use upact here, but rather a hacked version
	of updatemin, which is faster & more robust


-- 
  ,u,	 Bruce Becker		Toronto, Ontario	1 416 699 1868
a \i\	 Internet: bdb@gts.org	Uucp: ...!gts!bdb
 `/o/-e	 Every mile is two in winter.
 _\ >_	 	 		- George Herbert


Re: Expire problems with linux and Cnews
#1654
Author: M. Buchenrieder
Date: Mon, 11 Jan 1999 00:00
32 lines
1702 bytes
gsh@clark.net (Greg Hennessy) writes:


>I am running c-news-CR.G on a linux Redhat 5.2 with kernel 2.0.36. I
>ran a similar version of news on my older 4.2 box sucessfully, and am
>the only user so I don't run inn. I find that I have errors with
>expire, with an error message of: 

>To: newscrisis
>Subject: news (urgent): possible expire problems

>awk: cmd. line:21: (FILENAME=- FNR=3287) fatal error: internal error

>I have traced this down to the upact program, trying to execute the
>line: 

>          dir = substr($0, 1, length($0)-3)       # trim off /.:

[...]

Hmm. Did you try (as user news) running it manually with "sh -x ..."
to see the error output ? I'm running CR.G on a SuSE 5.3 system, with
no problems at all. It could be either an error in your active file
or an incompatibility with GNU awk and the RH5.2 libc6 libs.

Michael
-- 
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum


Re: Expire problems with linux and Cnews
#1661
Author: Greg Hennessy
Date: Tue, 12 Jan 1999 00:00
14 lines
1347 bytes
In article <F5E1Hp.68L@scrum.muc.de>,
M. Buchenrieder <mibu@scrum.muc.de> wrote:
>Hmm. Did you try (as user news) running it manually with "sh -x ..."
>to see the error output ? I'm running CR.G on a SuSE 5.3 system, with
>no problems at all. It could be either an error in your active file
>or an incompatibility with GNU awk and the RH5.2 libc6 libs.

The c-new rpm file I am using was actually for a SuSe system, and I'm
on redhat. I use gawk-3.0.3-3. I switched to a updatemin program given
to me by another poster, and that solved my problem. What version of
gawk do you have installed?


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