houghi | 24 Dec 2011 23:39
Favicon
Gravatar

Fetchnews doesn't fetch any news

I have a NAS QNAP TS-410 and installed leafnode on it. The service is
running. I can telnet to it and I even can get a post into the queue and
see that with newsq:

[~] # newsq 
Contents of queue in directory /opt/var/spool/news/out.going:
19406-1324730814-3: complete        194 bytes, spooled Sat Dec 24 13:47:42
2011
	From:       houghi@...
	Newsgroups: be.test
	Subject:    Test 01
	Message-ID: <u6ugs8-eui.ln1@...>

However when I try to fetch news, I can't seenm to get it to work.

[~] # fetchnews -f -vvvv
leafnode 1.11.7: verbosity level is 4, debugmode is 0
Forced active fetch requested from command-line (option -f).
try_lock(timeout=5), fqdn="nas.houghi"
erased stale pid 5027 host nas.houghi lockfile /opt/var/spool/news/leaf.node/lock.file
news.sunsite.dk: connecting to port nntp...
Aborted

The config file is from another system that works. The connecting to port nntp works as well:

[~] # telnet news.sunsite.dk nntp
200 news.sunsite.dk NNRP Service Ready - staff@... (posting ok).
quit
205 Transferred 73 bytes in 0 articles, 0 groups.  Disconnecting.
Connection closed by foreign host.
(Continue reading)

Martin Brunzel | 25 Dec 2011 07:49
Picon
Picon

Re: Fetchnews doesn't fetch any news

Hello,

On Sat, Dec 24, 2011 at 11:39:47PM +0100, houghi wrote:
> I have a NAS QNAP TS-410 and installed leafnode on it. The service is
> running. I can telnet to it and I even can get a post into the queue and
> see that with newsq:

What kind of OS is running on this multimedia server/storage server? By
now I only found some short notice about a "qpkg plugin system".

> [~] # fetchnews -f -vvvv
> leafnode 1.11.7: verbosity level is 4, debugmode is 0
> Forced active fetch requested from command-line (option -f).
> try_lock(timeout=5), fqdn="nas.houghi"
> erased stale pid 5027 host nas.houghi lockfile /opt/var/spool/news/leaf.node/lock.file
> news.sunsite.dk: connecting to port nntp...
> Aborted

Point of failure is the connection to the other server in fetchnews. To
me it looks like this "Aborted" was not written by fetchnews.

How long is the time between the connecting-message and the aborted?

> The config file is from another system that works. The connecting to port nntp works as well:

Same version of leafnode?

What computer did you make your telnet-attempt from? Was it the NAS QNAP
or was it your PC? Try telnetting from QNAP, if possible.

(Continue reading)

houghi | 25 Dec 2011 10:16
Favicon
Gravatar

Re: Fetchnews doesn't fetch any news

On Sun, Dec 25, 2011 at 07:49:32AM +0100, Martin Brunzel wrote:
> Hello,
> 
> On Sat, Dec 24, 2011 at 11:39:47PM +0100, houghi wrote:
> > I have a NAS QNAP TS-410 and installed leafnode on it. The service is
> > running. I can telnet to it and I even can get a post into the queue and
> > see that with newsq:
> 
> What kind of OS is running on this multimedia server/storage server? By
> now I only found some short notice about a "qpkg plugin system".

The OS is Linux:
[~] # uname -a
Linux nas 2.6.33.2 #1 Sun Oct 2 02:10:57 CST 2011 armv5tel unknown

> > [~] # fetchnews -f -vvvv
> > leafnode 1.11.7: verbosity level is 4, debugmode is 0
> > Forced active fetch requested from command-line (option -f).
> > try_lock(timeout=5), fqdn="nas.houghi"
> > erased stale pid 5027 host nas.houghi lockfile /opt/var/spool/news/leaf.node/lock.file
> > news.sunsite.dk: connecting to port nntp...
> > Aborted
> 
> Point of failure is the connection to the other server in fetchnews. To
> me it looks like this "Aborted" was not written by fetchnews.

OK. A telnet to the server is possible when I do it by hand.

> How long is the time between the connecting-message and the aborted?

(Continue reading)

Matthias Andree | 27 Dec 2011 11:52
Picon
Picon

Re: Fetchnews doesn't fetch any news

Am 24.12.2011 23:39, schrieb houghi:
> I have a NAS QNAP TS-410 and installed leafnode on it. The service is
> running. I can telnet to it and I even can get a post into the queue and
> see that with newsq:
>
> [~] # newsq 
> Contents of queue in directory /opt/var/spool/news/out.going:
> 19406-1324730814-3: complete        194 bytes, spooled Sat Dec 24 13:47:42
> 2011
> 	From:       houghi@...
> 	Newsgroups: be.test
> 	Subject:    Test 01
> 	Message-ID: <u6ugs8-eui.ln1@...>
>
> However when I try to fetch news, I can't seenm to get it to work.
>
> [~] # fetchnews -f -vvvv
> leafnode 1.11.7: verbosity level is 4, debugmode is 0
> Forced active fetch requested from command-line (option -f).
> try_lock(timeout=5), fqdn="nas.houghi"
> erased stale pid 5027 host nas.houghi lockfile /opt/var/spool/news/leaf.node/lock.file
> news.sunsite.dk: connecting to port nntp...
> Aborted
I can't support somebody else's packages, but if you can compile
packages for your QNAP, we may still have a way forward.

Please get me a stack backtrace [1], and possibly try setting
debugmode=1 or debugmode=2 in the configuration file.

If your package had the debug symbols stripped off (which is common for
(Continue reading)

houghi | 27 Dec 2011 20:52
Favicon
Gravatar

Re: Fetchnews doesn't fetch any news

On Tue, Dec 27, 2011 at 11:52:11AM +0100, Matthias Andree wrote:
> I can't support somebody else's packages, but if you can compile
> packages for your QNAP, we may still have a way forward.

I understand that. I also understand that this might not be directly
leafnode related.

It is indeed stripped:
/opt/sbin/fetchnews: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.14, stripped

[~] # leafnode-version -v
version: leafnode-1.11.7
current machine: Linux nas 2.6.33.2 #1 Sun Oct 2 02:10:57 CST 2011
armv5tel unknown
sysconfdir: /opt/etc
spooldir: /opt/var/spool/news
lockfile: /opt/var/spool/news/leaf.node/lock.file
IPv6: no
pcre version: 8.20 2011-10-21

A standard ./configure gives me at the end:
checking for grep that handles long lines and -e... configure: error: no
acceptable grep could be found in
/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/opt/bin:/opt/sbin:/usr/xpg4/bin

Installing a new grep does not seem to be working. I will try to figure
that out first. Thanks already.

houghi
(Continue reading)

houghi | 27 Dec 2011 21:39
Favicon
Gravatar

Re: Fetchnews doesn't fetch any news

On Tue, Dec 27, 2011 at 08:52:33PM +0100, houghi wrote:
> Installing a new grep does not seem to be working. I will try to figure
> that out first. Thanks already.

Seemed to have been a download issue. So now I get till the following with
./configure:

checking for tcpd... none
configure: creating ./config.status
config.status: creating subst
awk: ./conf6YIJF6/subs.awk:2: Unexpected token
config.status: error: could not create subst

This is awk linked to busybox. So I installed gawk and that gave me:
checking for argv0... none
checking for tcpd... none
configure: creating ./config.status
config.status: creating subst
gawk: ./confyf7eSi/subs.awk:2: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# ""
gawk: ./confyf7eSi/subs.awk:2:                                 ^ syntax error
gawk: ./confyf7eSi/subs.awk:3: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# ""
gawk: ./confyf7eSi/subs.awk:3:                                     ^ syntax error
<snip 50+ lines>
gawk: ./confyf7eSi/subs.awk:31: S["/; s/!.*/"]=AMDEPBACKSLASH!\%!_!# "\\"
gawk: ./confyf7eSi/subs.awk:31:                               ^ syntax error
config.status: error: could not create subst

:-/

houghi
(Continue reading)

Matthias Andree | 29 Jan 2012 09:47
Picon
Picon

Re: Fetchnews doesn't fetch any news

Am 27.12.2011 21:39, schrieb houghi:
> On Tue, Dec 27, 2011 at 08:52:33PM +0100, houghi wrote:
>> Installing a new grep does not seem to be working. I will try to figure
>> that out first. Thanks already.
> 
> Seemed to have been a download issue. So now I get till the following with
> ./configure:
> 
> checking for tcpd... none
> configure: creating ./config.status
> config.status: creating subst
> awk: ./conf6YIJF6/subs.awk:2: Unexpected token
> config.status: error: could not create subst
> 
> This is awk linked to busybox. So I installed gawk and that gave me:
> checking for argv0... none
> checking for tcpd... none
> configure: creating ./config.status
> config.status: creating subst
> gawk: ./confyf7eSi/subs.awk:2: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# ""
> gawk: ./confyf7eSi/subs.awk:2:                                 ^ syntax error
> gawk: ./confyf7eSi/subs.awk:3: S["/; s/!.*/"]=am__EXEEXT_FALSE!%!_!# ""
> gawk: ./confyf7eSi/subs.awk:3:                                     ^ syntax error
> <snip 50+ lines>
> gawk: ./confyf7eSi/subs.awk:31: S["/; s/!.*/"]=AMDEPBACKSLASH!\%!_!# "\\"
> gawk: ./confyf7eSi/subs.awk:31:                               ^ syntax error
> config.status: error: could not create subst

Sorry for not getting to this sooner, it simply slipped my attention
somehow.
(Continue reading)


Gmane