🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
38 messages
38 total messages Started by jdd Wed, 30 Apr 2014 16:21
ctlinnd: no innd.pid file; did server die?
#86139
Author: jdd
Date: Wed, 30 Apr 2014 16:21
20 lines
1632 bytes
Hello,

I try to make inn works with openSUSE 13.1.

  just sent a post to the openSUSE mailing list, with no answer yet (not 
surprising).

http://lists.opensuse.org/opensuse/2014-04/msg01071.html

I post also here because last time the problem was related to systemd and 
/var/run being tmpfs.

I beg now most distributions uses systemd, so I wonder how you solve such problem

thanks
jdd


-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86138
Author: David Hume
Date: Wed, 30 Apr 2014 17:24
23 lines
2130 bytes
jdd <jdd@dodin.org> writes:


> I try to make inn works with openSUSE 13.1.
>
>  just sent a post to the openSUSE mailing list, with no answer yet
> (not surprising).
>
> http://lists.opensuse.org/opensuse/2014-04/msg01071.html
>
> I post also here because last time the problem was related to systemd
> and /var/run being tmpfs.
>
> I beg now most distributions uses systemd, so I wonder how you solve
> such problem
>


Have you checked for error messages in /var/log/news/?

I found all I had to do was run makehistory, but I was only testing
local posts.
Re: ctlinnd: no innd.pid file; did server die?
#86142
Author: jdd
Date: Wed, 30 Apr 2014 17:58
11 lines
1471 bytes
Le 30/04/2014 19:24, David Hume a écrit :

> Have you checked for error messages in /var/log/news/?

yes, nothing relevant

jdd


-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86143
Author: Julien ÉLIE
Date: Thu, 01 May 2014 06:49
30 lines
2179 bytes
Hi jdd,

> I try to make inn works with openSUSE 13.1.
>
> news@s-r:~> /usr/lib/news/bin/ctlinnd mode
> ctlinnd: no innd.pid file; did server die?
> ctlinnd: cannot send "mode" command (sendto failure): No such file or
> directory
>
> I beg now most distributions uses systemd, so I wonder how you solve
>  such problem

What happens when you run the following command as the *news* user?
     rc.news start

Anything logged into the news.crit / news.err and news.notice files in 
your log directory?
Is logging (syslog) properly set and active for the news service?

What is the result of:
     ctlinnd checkfile
     inncheck

-- 
Julien ÉLIE

« – Redde Caesari quae sunt Caesaris.
   – Eh ?
   – Y en a rendre à César ce qui y en a appartenir à César. »
     (Saugrenus)
Re: ctlinnd: no innd.pid file; did server die?
#86144
Author: jdd
Date: Thu, 01 May 2014 07:32
66 lines
3654 bytes
Le 01/05/2014 08:49, Julien ÉLIE a écrit :

> What happens when you run the following command as the *news* user?
>      rc.news start

I can't run this as "news", only as root and the real synatx is:

s-r:~ # systemctl status inn.service
inn.service - LSB: Inter Net News Server (INN)
    Loaded: loaded (/etc/init.d/inn)
    Active: active (exited) since mer. 2014-04-30 16:40:44 CEST; 16h ago
   Process: 1208 ExecStop=/etc/init.d/inn stop (code=exited, status=0/SUCCESS)
   Process: 3586 ExecStart=/etc/init.d/inn start (code=exited, status=0/SUCCESS)

avril 30 16:40:44 s-r systemd[1]: Starting LSB: Inter Net News Server (INN)...
avril 30 16:40:44 s-r su[3596]: (to root) root on (null)
avril 30 16:40:44 s-r su[3596]: pam_unix(su:session): session opened for user 
news by (uid=0)
avril 30 16:40:44 s-r systemd[1]: Started LSB: Inter Net News Server (INN).
mai 01 09:17:29 s-r systemd[1]: Started LSB: Inter Net News Server (INN).

but, thanks, this morning my brain is clearer and I notice I misundertood the 
message, specially the "(exited)" part.

on my terminal, "active (exited)" is green, so I supposed (error!) than all 
was fine, when it only mean that the inn automatic start is enabled, but inn 
is not started, or better was closed immediately after starting. The following 
logs do not mean anything for me

> What is the result of:
>      ctlinnd checkfile

need running inn :-(

>      inncheck
>
news@s-r:~> /usr/lib/news/bin/inncheck
defined(@array) is deprecated at /usr/lib/news/bin/inncheck line 625.
         (Maybe you should just omit the defined()?)

don't know what O can do, I just installed the openSUSE provided package (no 
compilation on my side)

but then the error message may be relevant - it's normal if the pid file is 
not there, inn is closed.

the only log is errlog (other files are empty):

innd: dbz: wrong of_t size (4)
innd: dbzinit: getconf failure
innd: can't dbzinit /var/lib/news/history Numerical argument out of domain
innd: dbzclose: not opened!
innd: can't dbzclose /var/lib/news/history Numerical argument out of domain
innd: SERVER can't open history /var/lib/news/history: Numerical argument out 
of domain

I can't say this is clear :-(, but it may be for you :-)

thanks
jdd




-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86145
Author: Julien ÉLIE
Date: Thu, 01 May 2014 12:18
56 lines
3109 bytes
Hi jdd,

>> What happens when you run the following command as the *news* user?
>>      rc.news start
>
> I can't run this as "news", only as root and the real synatx is:
>
> s-r:~ # systemctl status inn.service

Why couldn't you run the <pathbin in inn.conf>/rc.news script shipped 
with INN as the news user?  Is there an error when you run this script?



> inn.service - LSB: Inter Net News Server (INN)
>     Loaded: loaded (/etc/init.d/inn)

What is the contents of /etc/init.d/inn?



> news@s-r:~> /usr/lib/news/bin/inncheck
> defined(@array) is deprecated at /usr/lib/news/bin/inncheck line 625.
>          (Maybe you should just omit the defined()?)
>
> don't know what O can do, I just installed the openSUSE provided package
> (no compilation on my side)

This warning is normal and has already been fixed in INN 2.5.4 (coming 
soon).
Besides that warning, no other problem mentioned by inncheck?  Then 
that's fine.



> the only log is errlog (other files are empty):
>
> innd: dbz: wrong of_t size (4)
> innd: dbzinit: getconf failure
> innd: can't dbzinit /var/lib/news/history Numerical argument out of domain
> innd: dbzclose: not opened!
> innd: can't dbzclose /var/lib/news/history Numerical argument out of domain
> innd: SERVER can't open history /var/lib/news/history: Numerical
> argument out of domain

What is the contents of the /var/lib/news/ directory?

Has the part about the initialization of the database files been done, 
near the end of the "Configure" section of the following page:
     http://www.eyrie.org/~eagle/software/inn/docs/checklist.html

-- 
Julien ÉLIE

« Jésus-Christ est un exemple pour tous : même en mauvaise posture,
   il n'a jamais baissé les bras. »
Re: ctlinnd: no innd.pid file; did server die?
#86146
Author: jdd
Date: Thu, 01 May 2014 14:22
93 lines
4275 bytes
Le 01/05/2014 14:18, Julien ÉLIE a écrit :
> Hi jdd,
>
>>> What happens when you run the following command as the *news* user?
>>>      rc.news start
>>
>> I can't run this as "news", only as root and the real synatx is:
>>
>> s-r:~ # systemctl status inn.service
>
> Why couldn't you run the <pathbin in inn.conf>/rc.news script shipped with INN
> as the news user?  Is there an error when you run this script?

oh... openSUSE have a lot of rcXX things, so I didn't understand there was an 
inn one :-(

running rc.news do nothing (no message, no inn or news daemon)

>
>
>
>> inn.service - LSB: Inter Net News Server (INN)
>>     Loaded: loaded (/etc/init.d/inn)
>
> What is the contents of /etc/init.d/inn?

too long to be pasted here:

http://culte.org/temp/inn

>
>
>
>> news@s-r:~> /usr/lib/news/bin/inncheck
>> defined(@array) is deprecated at /usr/lib/news/bin/inncheck line 625.
>>          (Maybe you should just omit the defined()?)
>>
>> don't know what O can do, I just installed the openSUSE provided package
>> (no compilation on my side)
>
> This warning is normal and has already been fixed in INN 2.5.4 (coming soon).
> Besides that warning, no other problem mentioned by inncheck?  Then that's fine.

ok, thanks

>
>
>
>> the only log is errlog (other files are empty):
>>
>> innd: dbz: wrong of_t size (4)
>> innd: dbzinit: getconf failure
>> innd: can't dbzinit /var/lib/news/history Numerical argument out of domain
>> innd: dbzclose: not opened!
>> innd: can't dbzclose /var/lib/news/history Numerical argument out of domain
>> innd: SERVER can't open history /var/lib/news/history: Numerical
>> argument out of domain
>
> What is the contents of the /var/lib/news/ directory?

s-r:/usr/lib/news # ls /var/lib/news/ -l
total 16
-rw-r--r-- 1 news news  225 sept. 28  2013 active
-rw-r--r-- 1 news news    0 sept. 28  2013 active.times
drwxr-xr-x 2 news news 4096 sept. 28  2013 backoff
-rw-r--r-- 1 news news    0 sept. 28  2013 history
-rw-r--r-- 1 news news   76 sept. 28  2013 history.dir
-rw-r--r-- 1 news news    0 sept. 28  2013 history.pag
-rw-r--r-- 1 news news  333 sept. 28  2013 newsgroups


>
> Has the part about the initialization of the database files been done, near
> the end of the "Configure" section of the following page:
>      http://www.eyrie.org/~eagle/software/inn/docs/checklist.html
>

the file says: (However, it is not necessary to do that since INN takes care 
of these files during the setup.)

remember I don't feed any news group, inn is only used with mailman list.

I had until now a perfectly working inn install. I tryed to copy the inn.conf 
and the readers.conf from the old version without luck. Is there an other 
thing I have to do to move an inn install?

notice than previous data of this post are done with fresh install, not moved one

thanks
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86147
Author: jdd
Date: Fri, 02 May 2014 17:13
22 lines
2048 bytes
well... still not working, but...

Looking on the net I found some message about 32 bits proc or 64 bits, that 
could explain the out of domain message. The old server was 32 bits and the 
new one is 64 bits.

so I followed the instructions to rebuild a database and now I do not have 
anymore error messages. the error file is still empty.

but inn still do not start either. "rc.news start" don't give any message and

news@s-r:/var/lib/news> /usr/lib/news/bin/ctlinnd mode
ctlinnd: no innd.pid file; did server die?
ctlinnd: cannot send "mode" command (sendto failure): Connection refused

I'm lost :-(

thanks
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86148
Author: Jeffrey M. Vinocur
Date: Sat, 03 May 2014 02:09
24 lines
2078 bytes
In article <536258af$0$2046$426a74cc@news.free.fr>, jdd  <jdd@dodin.org> wrote:
>
>I had until now a perfectly working inn install. I tryed to copy the inn.conf 
>and the readers.conf from the old version without luck. Is there an other 
>thing I have to do to move an inn install?

Yes, you will need to make sure you have all the data (it is not
clear to me if you are trying to install the new version over the
old version or in a separate machine.

Trying to copy all the necessary data and indexes between
machines is a bit error-prone...we tend to recommend setting up
the new server fresh (with same configuration but empty
databases) and then feeding the articles across:
http://www.eyrie.org/~eagle/faqs/inn.html#S6.4


(Although I get the sense even your fresh install is not working,
so there is some other issue.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: ctlinnd: no innd.pid file; did server die?
#86149
Author: jdd
Date: Sat, 03 May 2014 07:13
41 lines
3011 bytes
Le 03/05/2014 04:09, Jeffrey M. Vinocur a écrit :
> In article <536258af$0$2046$426a74cc@news.free.fr>, jdd  <jdd@dodin.org> wrote:
>>
>> I had until now a perfectly working inn install. I tryed to copy the inn.conf
>> and the readers.conf from the old version without luck. Is there an other
>> thing I have to do to move an inn install?
>
> Yes, you will need to make sure you have all the data (it is not
> clear to me if you are trying to install the new version over the
> old version or in a separate machine.

the initial machine is dead, but I have a backup of the files. I first tried 
(with no luck) to copy the inital files, but with no luck, so I tried to 
install a fresh config with no better luck, I'm here now.

This newsgroup is only to have a nntp gateway to my mailing lists, so I don't 
really need a data archive (mailman archives the mails anyway)

>
> Trying to copy all the necessary data and indexes between
> machines is a bit error-prone...we tend to recommend setting up
> the new server fresh (with same configuration but empty
> databases)

that's what I try to do, but the default openSUE install do not work

>Although I get the sense even your fresh install is not working,
> so there is some other issue.)
>
>
yes. last time there was also a problem due to systemd and /var/run being in 
ram, but this part seems to have been fixed

the problem is that right now inn fails silently. Is there a way to have a 
more verbose inn? I can still install it from scratch, but it's a heavy work :-(

thanks
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86150
Author: Ray Banana
Date: Sat, 03 May 2014 08:02
36 lines
2516 bytes
Thus spake jdd <jdd@dodin.org>
 
> the problem is that right now inn fails silently. Is there a way to
> have a more verbose inn? I can still install it from scratch, but it's
> a heavy work :-(

INN should write error messages about the missing dbz file to errlog,
but in order to fix your problem you have to manually do the following:

,-------------------------------------------------
| In case you need to create empty initial database files, import an
| active file (owned by news) and execute as the news user: 
|
|    cd <pathdb in inn.conf>
|
|    touch newsgroups
|    touch active.times
|
|    touch history
|    <pathbin in inn.conf>/makedbz -i
|    mv history.n.hash  history.hash
|    mv history.n.index history.index
|    mv history.n.dir   history.dir
|
|    chmod 644 *
`------------------------------------------------

As can be seen from your directory listing in a previous post, there is
no history.index file in your installation, so you have to create it by
running makedbz as described above.

hth

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: ctlinnd: no innd.pid file; did server die?
#86151
Author: jdd
Date: Sat, 03 May 2014 09:41
11 lines
1580 bytes
Le 03/05/2014 10:02, Ray Banana a écrit :

> running makedbz as described above.

this is now fixed, but inn do not still run, and there are no more any error 
message

jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86152
Author: Ray Banana
Date: Sat, 03 May 2014 11:09
19 lines
2089 bytes
Thus spake jdd <jdd@dodin.org>
 
> Le 03/05/2014 10:02, Ray Banana a écrit :

>> running makedbz as described above.

> this is now fixed, but inn do not still run, and there are no more any
> error message

Please check ownership and access rights for /var/log/news and the files
contained in that directory.

You might also want to start innd with the -d option. This will prevent
innd from going to the background and redirecting output to log files,
i.e. you should see all output from innd in the console. 

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: ctlinnd: no innd.pid file; did server die?
#86153
Author: jdd
Date: Sat, 03 May 2014 16:59
19 lines
2000 bytes
Le 03/05/2014 13:09, Ray Banana a écrit :

> Please check ownership and access rights for /var/log/news and the files
> contained in that directory.

no change, still news:news

>
> You might also want to start innd with the -d option. This will prevent
> innd from going to the background and redirecting output to log files,
> i.e. you should see all output from innd in the console.
>
interesting, but how can I do that? reading rc.news didn't give any clue :-(

thanks
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86154
Author: Ray Banana
Date: Sat, 03 May 2014 17:32
16 lines
2151 bytes
Thus spake jdd <jdd@dodin.org>
 
>> You might also want to start innd with the -d option. This will prevent
>> innd from going to the background and redirecting output to log files,
>> i.e. you should see all output from innd in the console.
> interesting, but how can I do that? reading rc.news didn't give any clue :-(

Add -d to the innflags: parameter in your inn.conf

innflags: "-d"

and start inn as usual. 

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: ctlinnd: no innd.pid file; did server die?
#86158
Author: jdd
Date: Sat, 03 May 2014 18:51
27 lines
2252 bytes
Le 03/05/2014 19:32, Ray Banana a écrit :
> Thus spake jdd <jdd@dodin.org>
>
>>> You might also want to start innd with the -d option. This will prevent
>>> innd from going to the background and redirecting output to log files,
>>> i.e. you should see all output from innd in the console.
>> interesting, but how can I do that? reading rc.news didn't give any clue :-(
>
> Add -d to the innflags: parameter in your inn.conf
>
> innflags: "-d"
>
> and start inn as usual.
>
gives absolutely nothing

I uncommented the "Starting innd" chain in rc.inn and I get it printed, but 
still nothing to the screen :-(

and still no log!!!

:-(

thanks
jdd
-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86182
Author: Ray Banana
Date: Sat, 03 May 2014 19:03
14 lines
2164 bytes
Thus spake jdd <jdd@dodin.org>
 
>> and start inn as usual.
> gives absolutely nothing
> I uncommented the "Starting innd" chain in rc.inn and I get it
> printed, but still nothing to the screen :-(
> and still no log!!!

Please try to run rc.news as per Julien's post instead of SuSE's init
script and see if that will show inn's output on the screen.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: ctlinnd: no innd.pid file; did server die?
#86195
Author: jdd
Date: Sat, 03 May 2014 21:22
22 lines
2272 bytes
Le 03/05/2014 21:03, Ray Banana a écrit :
> Thus spake jdd <jdd@dodin.org>
>
>>> and start inn as usual.
>> gives absolutely nothing
>> I uncommented the "Starting innd" chain in rc.inn and I get it
>> printed, but still nothing to the screen :-(
>> and still no log!!!
>
> Please try to run rc.news as per Julien's post instead of SuSE's init
> script and see if that will show inn's output on the screen.
>
it's always what I did :-(

but suse init script din't give any thing more :-(

:-(

jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86197
Author: Ray Banana
Date: Sun, 04 May 2014 06:10
41 lines
3243 bytes
Thus spake jdd <jdd@dodin.org>
 
> Le 03/05/2014 21:03, Ray Banana a écrit :
>> Thus spake jdd <jdd@dodin.org>
>>>> and start inn as usual.
>>> gives absolutely nothing
>>> I uncommented the "Starting innd" chain in rc.inn and I get it
>>> printed, but still nothing to the screen :-(
>>> and still no log!!!
>> Please try to run rc.news as per Julien's post instead of SuSE's init
>> script and see if that will show inn's output on the screen.
> it's always what I did :-(
> but suse init script din't give any thing more :-(

I have now a VM running a fresh install of OpenSUSE 13.1 64 bit with INN
installed from the OpenSUSE repository. I can confirm that inn will not
start after a fresh install without running makehistory and makedbz manually.

However, if I uncomment the innflags option in the OpenSUSE inn.conf
(/etc/news/inn.conf) and add "-d" to it, running "/etc/init.d/inn start"
as root will not return to the command prompt, as innd remains in the
foreground and writes stdout and stderr output to the console. The same
happens if I run "/usr/lib/news/bin/rc.news start" as user news, so I
wonder why it would behave differently on your system.

In addition to 

/var/log/news/news.err 
/var/log/news/news.crit
/var/log/news/news.notice

you might want to check 

/var/log/messages and
/var/log/warn 

for messages from inn or innd. 

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org
Re: ctlinnd: no innd.pid file; did server die?
#86198
Author: jdd
Date: Sun, 04 May 2014 12:31
39 lines
2855 bytes
Le 04/05/2014 08:10, Ray Banana a écrit :

> I have now a VM running a fresh install of OpenSUSE 13.1 64 bit with INN
> installed from the OpenSUSE repository.

great! thanks for the help.

and it remember me than I have lot of virtual machines at home and I could do 
the same. I did and could begin to understand better

I'm logging (han writing) all modification to report to openSUSE bugzilla :-)

So... I removed all the news related folder in my real server (after 
uninstalling inn, of course). The goal is to make as little change as possible.

then I changed the domain in inn.conf.

I noticed the folder's ownership is not correct, as root I had to change 
/usr/lib/news and /usr/lib/news/bin to news:news

I run inncheck -a -v -f -pedantic -perm

(notice an error in the doc, it needs only one "-" in front of pedantic and perm).

It made me change the permissions of /usr/lib/news/bin/innbind from 4554 to 4550

Then I could run makehistory and "makedbz -i", copy history.n.pag to 
history.pag and history.n.dir to history.dir (the doc is wrong there, no or no 
more .hash and .index)

and now innd starts!

to be continued, but getting forward :-)

thanks a lot!
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86199
Author: jdd
Date: Sun, 04 May 2014 16:17
45 lines
2765 bytes
Le 04/05/2014 14:31, jdd a écrit :

> to be continued, but getting forward :-)

bo forward, yes and no :-(

still can't connect to inn from outside the server.

* I can lauch inn with rc-news, ctlinnd mode gives:

news@s-r:~> bin/ctlinnd mode
Server running
Allowing remote connections
Parameters c 10 i 50 (0) l 5000000 o 1011 t 300 H 2 T 60 X 0 normal specified
Not reserved
Readers follow enabled
Perl filtering enabled

then

news@s-r:~> bin/ctlinnd newgroup test2
Ok


telnet to localhost 119 gives an answer

pine on localhost connect to inn, but do not show any group...

from my home, telnet news.culte.org don't works

jdd@linux-zckr:~> telnet news.culte.org 119
Trying 176.31.97.25...
Connected to news.culte.org.
Escape character is '^]'.
400 NNTP server unavailable.  Try later!
Connection closed by foreign host.

and thunderbird anwsers "server unavailable"

ideas?
thanks
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86200
Author: Jeffrey M. Vinocur
Date: Sun, 04 May 2014 17:34
10 lines
1307 bytes
In article <5366680f$0$2114$426a74cc@news.free.fr>, jdd  <jdd@dodin.org> wrote:
>
>400 NNTP server unavailable.  Try later!

Now you need to check your logs.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: ctlinnd: no innd.pid file; did server die?
#86204
Author: jdd
Date: Sun, 04 May 2014 17:58
24 lines
1940 bytes
Le 04/05/2014 19:34, Jeffrey M. Vinocur a écrit :
> In article <5366680f$0$2114$426a74cc@news.free.fr>, jdd  <jdd@dodin.org> wrote:
>>
>> 400 NNTP server unavailable.  Try later!
>
> Now you need to check your logs.
>
>
well...

I have no firewall at the moment. inn logs are simply empty.

oh... thanks

the error file was empty, the only one I had to look at before, but there was 
an other "news.notice" that flagged an error in readers.conf (forgotten ")

now it works!

thanks
jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86205
Author: Julien ÉLIE
Date: Sun, 04 May 2014 18:28
33 lines
3056 bytes
Hi jdd,

> I run inncheck -a -v -f -pedantic -perm
>
> (notice an error in the doc, it needs only one "-" in front of pedantic
> and perm).

It is not an error in the doc.  Both "-pedantic" and "--pedantic" work. 
  Same thing for "-perm" and "--perm".
The preferred way is "--pedantic" and "--perm" because it is the 
standard way to write and disambiguate long option names.
"-perm" could indeed be read as "-p -e -r -m".

See <http://perldoc.perl.org/Getopt/Long.html>:

%
This function adheres to the POSIX syntax for command line options, with 
GNU extensions. In general, this means that options have long names 
instead of single letters, and are introduced with a double dash "--". 
Support for bundling of command line options, as was the case with the 
more traditional single-letter approach, is provided but not enabled by 
default.
%

inncheck enables the bundling_override option so as to keep its legacy 
behaviour (allowing "-perm" to mean "--perm").


-- 
Julien ÉLIE

« Jésus-Christ est un exemple pour tous : même en mauvaise posture,
   il n'a jamais baissé les bras. »
Re: ctlinnd: no innd.pid file; did server die?
#86206
Author: Julien ÉLIE
Date: Sun, 04 May 2014 18:30
15 lines
1870 bytes
Hi jdd,

> now it works!

Please report the problems you saw about permissions and history 
database not being created during a fresh install to openSUSE bugzilla.

In case you have other questions about INN, feel free to ask in this 
newsgroup.

-- 
Julien ÉLIE

« Jésus-Christ est un exemple pour tous : même en mauvaise posture,
   il n'a jamais baissé les bras. »
Re: ctlinnd: no innd.pid file; did server die?
#86208
Author: jdd
Date: Sun, 04 May 2014 21:02
22 lines
2206 bytes
Le 04/05/2014 20:28, Julien ÉLIE a écrit :
> Hi jdd,
>
>> I run inncheck -a -v -f -pedantic -perm
>>
>> (notice an error in the doc, it needs only one "-" in front of pedantic
>> and perm).
>
> It is not an error in the doc.  Both "-pedantic" and "--pedantic" work.  Same
> thing for "-perm" and "--perm".

not on my install, -- gives an error (option unknown)


I have no personal advice :-(

only tried to see what worked

jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86209
Author: jdd
Date: Sun, 04 May 2014 21:03
19 lines
1825 bytes
Le 04/05/2014 20:30, Julien ÉLIE a écrit :
> Hi jdd,
>
>> now it works!
>
> Please report the problems you saw about permissions and history database not
> being created during a fresh install to openSUSE bugzilla.

yes, I'm used of doing so

>
> In case you have other questions about INN, feel free to ask in this newsgroup.
>
many thanks, great help received!!

jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86210
Author: jdd
Date: Mon, 05 May 2014 05:50
19 lines
1647 bytes
Le 04/05/2014 20:30, Julien ÉLIE a écrit :
> Hi jdd,
>
>> now it works!
>
> Please report the problems you saw about permissions and history database not
> being created during a fresh install to openSUSE bugzilla.

here it is

https://bugzilla.novell.com/post_bug.cgi

any comment welcome

jdd


-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86212
Author: jdd
Date: Mon, 05 May 2014 05:52
19 lines
1908 bytes
Le 04/05/2014 20:30, Julien ÉLIE a écrit :
> Hi jdd,
>
>> now it works!
>
> Please report the problems you saw about permissions and history database not
> being created during a fresh install to openSUSE bugzilla.

here

https://bugzilla.novell.com/show_bug.cgi?id=876287

(other link was wrong)

jdd


-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86213
Author: Julien ÉLIE
Date: Mon, 05 May 2014 17:39
32 lines
3084 bytes
Hi jdd,

>> It is not an error in the doc.  Both "-pedantic" and "--pedantic" 
>> work.  Same
>> thing for "-perm" and "--perm".
> 
> not on my install, -- gives an error (option unknown)

When running "inncheck --test" (an unknown option), do you see something like
the lines below, mentioning "--pedantic" with two dashes?

% inncheck --test
Unknown option: test
Usage error: Unknown option.
Usage:
	inncheck [-afqv] [--noperm|perm] [--pedantic] [file | file=value...]
File to check may be followed by "=path" to use the specified path.  All
files are checked if -a is used or if --perm is not used.  Files that may
be checked are:
     active                   control.ctl              control.ctl.local   
     expire.ctl               incoming.conf            inn.conf            
     innfeed.conf             moderators               newsfeeds           
     nntpsend.ctl             passwd.nntp              readers.conf        
     storage.conf        



-- 
Julien ÉLIE

« Jésus-Christ est un exemple pour tous : même en mauvaise posture,
  il n'a jamais baissé les bras. »
Re: ctlinnd: no innd.pid file; did server die?
#86218
Author: jdd
Date: Mon, 05 May 2014 17:52
35 lines
3014 bytes
Le 05/05/2014 19:39, Julien ÉLIE a écrit :
> Hi jdd,
>
>>> It is not an error in the doc.  Both "-pedantic" and "--pedantic"
>>> work.  Same
>>> thing for "-perm" and "--perm".
>>
>> not on my install, -- gives an error (option unknown)
>
> When running "inncheck --test" (an unknown option), do you see something like
> the lines below, mentioning "--pedantic" with two dashes?

only one dash:

news@s-r:~> bin/inncheck --test
defined(@array) is deprecated at bin/inncheck line 625.
         (Maybe you should just omit the defined()?)
Usage error: Unknown flag `--test'.
Usage:
         inncheck [-v] [-noperm] [-pedantic] [-perms [-fix] ] [-a|file...]
File to check may be followed by "=path" to use the specified path.  All
files are checked if -a is used or if -perms is not used.  Files that may
be checked are:
      active                   control.ctl              control.ctl.local
      expire.ctl               incoming.conf            inn.conf
      moderators               newsfeeds                nntpsend.ctl
      passwd.nntp              readers.conf


inn 2.5.2-21.1.2 openSUSE

jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86219
Author: jdd
Date: Mon, 05 May 2014 18:08
12 lines
2123 bytes
Le 05/05/2014 19:52, jdd a écrit :

> only one dash:

and same on ubuntu

http://manpages.ubuntu.com/manpages/gutsy/man8/inncheck.8.html

jdd

-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86220
Author: Julien ÉLIE
Date: Mon, 05 May 2014 18:10
21 lines
2773 bytes
Hi jdd,

>> When running "inncheck --test" (an unknown option), do you see
>> something like
>> the lines below, mentioning "--pedantic" with two dashes?
>
> only one dash
>
> inn 2.5.2-21.1.2 openSUSE

inncheck shipped with INN 2.5.2 does not recognize "--pedantic".  If you 
look at "man inncheck" on your news server, you should not see that syntax.
"--pedantic" has been understood since INN 2.5.3.  I believe the 
documentation you are looking at is the one for the latest STABLE 2.5 
version (on eyrie.org), which is not exactly the version you are running.

-- 
Julien ÉLIE

« Jésus-Christ est un exemple pour tous : même en mauvaise posture,
   il n'a jamais baissé les bras. »
Re: ctlinnd: no innd.pid file; did server die?
#86221
Author: John F. Morse
Date: Mon, 05 May 2014 19:00
89 lines
4932 bytes
On 05/05/2014 12:52 PM, jdd wrote:
> Le 05/05/2014 19:39, Julien ÉLIE a écrit :
>> Hi jdd,
>>
>>>> It is not an error in the doc.  Both "-pedantic" and "--pedantic"
>>>> work.  Same
>>>> thing for "-perm" and "--perm".
>>>
>>> not on my install, -- gives an error (option unknown)
>>
>> When running "inncheck --test" (an unknown option), do you see something like
>> the lines below, mentioning "--pedantic" with two dashes?
>
> only one dash:
>
> news@s-r:~> bin/inncheck --test
> defined(@array) is deprecated at bin/inncheck line 625.
>         (Maybe you should just omit the defined()?)
> Usage error: Unknown flag `--test'.
> Usage:
>         inncheck [-v] [-noperm] [-pedantic] [-perms [-fix] ] [-a|file...]
> File to check may be followed by "=path" to use the specified path.  All
> files are checked if -a is used or if -perms is not used.  Files that may
> be checked are:
>      active                   control.ctl              control.ctl.local
>      expire.ctl               incoming.conf            inn.conf
>      moderators               newsfeeds                nntpsend.ctl
>      passwd.nntp              readers.conf
>
>
> inn 2.5.2-21.1.2 openSUSE
>
> jdd
>


Quite different than what I see for INN 2.5.3-3 using Debian 7.4 Wheezy
3.2.54-2 x86_64 GNU/Linux (kernel is not up-to-date):


john@r102:/var/spool/news$ apt-cache policy linux-image-3.2.0-4-amd64
linux-image-3.2.0-4-amd64:
  Installed: 3.2.54-2
  Candidate: 3.2.57-3
  Version table:
     3.2.57-3 0
        500 http://debian.mirrors.tds.net/debian/ wheezy/main amd64 Packages
 *** 3.2.54-2 0
        100 /var/lib/dpkg/status
     3.2.46-1+deb7u1 0
        500 http://security.debian.org/ wheezy/updates/main amd64 Packages


This difference includes the use of "flag" for "option," and two additional
checks (innfeed.conf and storage.conf):


news@r102:~$ inncheck --test
Unknown option: test
Usage error: Unknown option.
Usage:
    inncheck [-afqv] [--noperm|perm] [--pedantic] [file | file=value...]
File to check may be followed by "=path" to use the specified path.  All
files are checked if -a is used or if --perm is not used.  Files that may
be checked are:
     active                   control.ctl              control.ctl.local  
     expire.ctl               incoming.conf            inn.conf           
     innfeed.conf             moderators               newsfeeds          
     nntpsend.ctl             passwd.nntp              readers.conf       
     storage.conf       
news@r102:~$


Likely the good intentions of the OpenSUSE maintainer, and/or the Debian
maintainer?

However, I've always used the single hyphen, and a double hyphen also works.

Here is another manual page example:

http://linux.die.net/man/8/inncheck


-- 
John

When a person has -- whether they knew it or not -- already
rejected the Truth, by what means do they discern a lie?
Re: ctlinnd: no innd.pid file; did server die?
#86222
Author: jdd
Date: Mon, 05 May 2014 20:51
29 lines
2912 bytes
Le 05/05/2014 20:10, Julien ÉLIE a écrit :
> Hi jdd,
>
>>> When running "inncheck --test" (an unknown option), do you see
>>> something like
>>> the lines below, mentioning "--pedantic" with two dashes?
>>
>> only one dash
>>
>> inn 2.5.2-21.1.2 openSUSE
>
> inncheck shipped with INN 2.5.2 does not recognize "--pedantic".  If you look
> at "man inncheck" on your news server, you should not see that syntax.
> "--pedantic" has been understood since INN 2.5.3.  I believe the documentation
> you are looking at is the one for the latest STABLE 2.5 version (on
> eyrie.org), which is not exactly the version you are running.
>
I run the openSUSE version, said to be the number I wrote and with the same 
man page as the ubuntu one

according to the man page it's not so recent

"INN 2.5.2  2010-03-14  INND(8)"

jdd


-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86223
Author: jdd
Date: Mon, 05 May 2014 20:55
51 lines
2961 bytes
Le 05/05/2014 21:00, John F. Morse a écrit :

> However, I've always used the single hyphen, and a double hyphen also works.


I got:

news@s-r:~> bin/inncheck -a -v -f --pedantic --perm
defined(@array) is deprecated at bin/inncheck line 625.
         (Maybe you should just omit the defined()?)
Usage error: Unknown flag `--pedantic'.

and there is no version newer than 2.5.2 in openSUSE repos (including factory)

openSUSE Factory

     official release
         2.5.2
         32 Bit
         64 Bit
         Source
     1 Click Install

     openSUSE:Factory:DVD
         2.5.2
         64 Bit
         Source
     1 Click Install
     openSUSE:Factory:Pow...
         2.5.2
         ppc
         Source
     1 Click Install
     server:mail
         2.5.2
         32 Bit
         64 Bit
         Source
     1 Click Install
     home:sbrabec:gpg-off...
         2.5.2
         32 Bit
         64 Bit
         Source
     1 Click Instal

jdd


-- 
http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86248
Author: .
Date: Wed, 07 May 2014 12:16
26 lines
1380 bytes
jdd <jdd@dodin.org> wrote:
>Hello,
>
>I try to make inn works with openSUSE 13.1.
>
>  just sent a post to the openSUSE mailing list, with no answer yet (not

>surprising).
>
>http://lists.opensuse.org/opensuse/2014-04/msg01071.html
>
>I post also here because last time the problem was related to systemd and

>/var/run being tmpfs.
>
>I beg now most distributions uses systemd, so I wonder how you solve such
problem
>
>thanks
>jdd
>
>
>-- 
>http://www.dodin.org
Re: ctlinnd: no innd.pid file; did server die?
#86249
Author: jdd
Date: Wed, 07 May 2014 12:50
8 lines
1283 bytes
works now, I will report later

jdd



-- 
http://www.dodin.org
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