🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Matthias Wach Sun, 14 Mar 2004 18:21
INN: Can't bind inet socket
#68586
Author: Matthias Wach
Date: Sun, 14 Mar 2004 18:21
34 lines
2264 bytes
i just recompiled my INN with "enable largefiles" support for buffers >2GB.
"make" and "make install" all very well.

But always i get the error message that innd can't bind the inet socket...
I rebootet the system i think 5 or 6 times... all the same.
What can be the reason for this ?

[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
Starting innd.
[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
Starting innd.
inndstart: can't bind inet socket: Address already in use
[root@salimbo news]#

err.notice:

Mar 14 12:13:58 salimbo innd: SERVER descriptors 1024
Mar 14 12:13:58 salimbo innd: SERVER outgoing 1011
Mar 14 12:13:58 salimbo innd: SERVER ccsetup control:15
Mar 14 12:13:58 salimbo innd: SERVER lcsetup localconn:17
Mar 14 12:13:58 salimbo innd: SERVER rcsetup remconn:3
Mar 14 12:15:24 salimbo inndstart: can't bind inet socket: Address already
in use





................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Re: INN: Can't bind inet socket
#68589
Author: Paul Tomblin
Date: Sun, 14 Mar 2004 18:37
13 lines
1527 bytes
In a previous article, "Matthias Wach" <webmaster@salimbo.com> said:
>But always i get the error message that innd can't bind the inet socket...
>I rebootet the system i think 5 or 6 times... all the same.
>What can be the reason for this ?

Because it's already running.  Are you sure you aren't starting it from
/etc/rc5.d/?


-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
"I find your lack of clue...disturbing" - SithAdmin Vader.
Re: INN: Can't bind inet socket
#68590
Author: Matthias Wach
Date: Sun, 14 Mar 2004 19:09
30 lines
2108 bytes
i disabled the start in my "etc/rc.local" by putting a "#" at beginning.
or have i to reload this information elsewhere ?
i only edited the file.

"Paul Tomblin" <ptomblin+netnews@xcski.com> schrieb im Newsbeitrag
news:c328pr$utd$3@allhats.xcski.com...
> In a previous article, "Matthias Wach" <webmaster@salimbo.com> said:
> >But always i get the error message that innd can't bind the inet
socket...
> >I rebootet the system i think 5 or 6 times... all the same.
> >What can be the reason for this ?
>
> Because it's already running.  Are you sure you aren't starting it from
> /etc/rc5.d/?
>
>
> -- 
> Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
> "I find your lack of clue...disturbing" - SithAdmin Vader.





................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Re: INN: Can't bind inet socket
#68592
Author: Matthias Wach
Date: Sun, 14 Mar 2004 19:17
120 lines
4961 bytes
there is no "innd" running.....

[root@salimbo news]# ps -A
  PID TTY          TIME CMD
    1 ?        00:00:03 init
    2 ?        00:00:00 keventd
    3 ?        00:00:01 ksoftirqd_CPU0
    4 ?        00:00:00 kswapd
    5 ?        00:00:00 bdflush
    6 ?        00:00:00 kupdated
    9 ?        00:00:00 mdrecoveryd
   10 ?        00:00:00 kjournald
  122 ?        00:00:00 kjournald
  411 ?        00:00:00 syslogd
  416 ?        00:00:00 klogd
  528 ?        00:00:00 sshd
  547 ?        00:00:00 xinetd
  597 ?        00:00:00 sendmail
  598 ?        00:00:00 sendmail
  616 ?        00:00:00 httpd
  639 ?        00:00:00 httpd
  640 ?        00:00:00 httpd
  641 ?        00:00:00 httpd
  642 ?        00:00:00 httpd
  643 ?        00:00:00 httpd
  644 ?        00:00:00 httpd
  645 ?        00:00:00 httpd
  646 ?        00:00:00 httpd
  647 ?        00:00:00 httpd
  648 ?        00:00:00 httpd
  649 ?        00:00:00 httpd
  650 ?        00:00:00 httpd
  651 ?        00:00:00 httpd
  652 ?        00:00:00 httpd
  653 ?        00:00:00 httpd
  654 ?        00:00:00 httpd
  655 ?        00:00:00 httpd
  656 ?        00:00:00 httpd
  657 ?        00:00:00 httpd
  658 ?        00:00:00 httpd
  659 ?        00:00:00 httpd
  660 ?        00:00:00 httpd
  661 ?        00:00:00 httpd
  662 ?        00:00:00 httpd
  663 ?        00:00:00 httpd
  664 ?        00:00:00 httpd
  665 ?        00:00:00 httpd
  666 ?        00:00:00 httpd
  667 ?        00:00:00 httpd
  668 ?        00:00:00 httpd
  670 ?        00:00:00 httpsd
  693 ?        00:00:00 crond
  694 ?        00:00:00 gcache
  695 ?        00:00:00 httpsd
  696 ?        00:00:00 httpsd
  697 ?        00:00:00 httpsd
  698 ?        00:00:00 httpsd
  699 ?        00:00:00 httpsd
  700 ?        00:00:00 httpsd
  701 ?        00:00:00 httpsd
  702 ?        00:00:00 httpsd
  703 ?        00:00:00 httpsd
  704 ?        00:00:00 httpsd
  723 ?        00:00:00 healthd
  744 ?        00:00:00 safe_mysqld
  760 ?        00:00:00 rmserver
  789 ?        00:00:00 syswatchd
  823 ?        00:00:00 mysqld
  828 ?        00:00:00 rmserver
  829 ?        00:00:00 rmserver
  830 ?        00:00:00 rmserver
  834 ?        00:00:00 monstd
  861 ?        00:00:00 mysqld
  867 ?        00:00:00 mysqld
  896 tty1     00:00:00 mingetty
  897 tty2     00:00:00 mingetty
  898 tty3     00:00:00 mingetty
  899 tty4     00:00:00 mingetty
  900 tty5     00:00:00 mingetty
  901 tty6     00:00:00 agetty
  905 ?        00:00:00 rmserver
  906 ?        00:00:00 rmserver
  907 ?        00:00:00 rmserver
  908 ?        00:00:00 rmserver
  909 ?        00:00:00 rmserver
  910 ?        00:00:00 rmserver
  911 ?        00:00:00 rmserver
  912 ?        00:00:00 rmserver
  913 ?        00:00:00 rmserver
  914 ?        00:00:00 rmserver
  915 ?        00:00:00 rmserver
  916 ?        00:00:00 rmserver
  917 ?        00:00:00 rmserver
  918 ?        00:00:00 rmserver
  919 ?        00:00:00 rmserver
  920 ?        00:00:00 rmserver
  921 ?        00:00:00 rmserver
  922 ?        00:00:00 rmserver
  923 ?        00:00:00 rmserver
  924 ?        00:00:00 rmserver
  925 ?        00:00:00 sshd
  927 ?        00:00:00 sshd
  928 pts/0    00:00:00 bash
  976 ?        00:00:00 sshd
  978 ?        00:00:00 sshd
  979 ?        00:00:00 sftp-server
 1005 pts/0    00:00:00 su
 1006 pts/0    00:00:00 bash
 1025 pts/0    00:00:00 ps





................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Re: INN: Can't bind inet socket
#68593
Author: Paul Tomblin
Date: Sun, 14 Mar 2004 19:46
16 lines
1844 bytes
In a previous article, "Matthias Wach" <webmaster@salimbo.com> said:
>there is no "innd" running.....

But in the example you posted originally, you started it and then started
it again.  Of course it's going to tell you it's already running if it's
already running.

One thing to check is make sure that inndstart is setuid root.


-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
When I hear the history of some of the more ugly European cities, with
"... destroyed in 14xx, burnt in 16xx ..." I get the urge to ask why
they keep rebuilding it and if they can't get the hint.
Re: Can't bind inet socket
#68594
Author: Matthias Wach
Date: Sun, 14 Mar 2004 22:56
52 lines
2886 bytes
ok, i solved this problem.
I made a complete new installation and now it works.
INN just recreates the history... it now runs over one hour...
time to make coffee

"Matthias Wach" <webmaster@salimbo.com> schrieb im Newsbeitrag
news:4054a278$0$97641$a8266bb1@news.titannews.com...
> i just recompiled my INN with "enable largefiles" support for buffers
>2GB.
> "make" and "make install" all very well.
>
> But always i get the error message that innd can't bind the inet socket...
> I rebootet the system i think 5 or 6 times... all the same.
> What can be the reason for this ?
>
> [root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
> Starting innd.
> [root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
> Starting innd.
> inndstart: can't bind inet socket: Address already in use
> [root@salimbo news]#
>
> err.notice:
>
> Mar 14 12:13:58 salimbo innd: SERVER descriptors 1024
> Mar 14 12:13:58 salimbo innd: SERVER outgoing 1011
> Mar 14 12:13:58 salimbo innd: SERVER ccsetup control:15
> Mar 14 12:13:58 salimbo innd: SERVER lcsetup localconn:17
> Mar 14 12:13:58 salimbo innd: SERVER rcsetup remconn:3
> Mar 14 12:15:24 salimbo inndstart: can't bind inet socket: Address already
> in use
>
>
>
>
>
> ................................................................
>        Posted via TITANnews - Uncensored Newsgroups Access
>              >>>> at http://www.TitanNews.com <<<<
> -=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-
>





................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Re: INN: Can't bind inet socket
#68600
Author: Jeffrey M. Vinocur
Date: Mon, 15 Mar 2004 00:58
18 lines
1480 bytes
In article <4054a278$0$97641$a8266bb1@news.titannews.com>,
Matthias Wach <webmaster@salimbo.com> wrote:
>What can be the reason for this ?
>
>[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
>Starting innd.
>[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
>Starting innd.
>inndstart: can't bind inet socket: Address already in use

Wait, you start INN twice, and of course it doesn't work the
second time, because the first one is still running.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN: Can't bind inet socket
#68602
Author: Jeffrey M. Vinocur
Date: Mon, 15 Mar 2004 01:04
17 lines
1528 bytes
In article <4054afab$0$97623$a8266bb1@news.titannews.com>,
Matthias Wach <webmaster@salimbo.com> wrote:
>there is no "innd" running.....

Well, I'm a bit curious what's listening on port 119 then, unless
it's just the kernel waiting before reusing the port.  (You can
check with netstat.)

But if there's no innd running, then your problem is that INN is
silently crashing -- the "can't bind socket" thing is a red
herring.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN: Can't bind inet socket
#68626
Author: Matthias Wach
Date: Mon, 15 Mar 2004 17:31
39 lines
2396 bytes
yes, but there was some time between the starts.
normally inn starts or not. if i call rc.news twice there came a message
like "INN is running"
but the problem is solved. i made a new installation 2 days ago.
thanks for help.
now i have another problem to setup the core dumps.
see my other thread. inn crashes. running more than on or two hours is not
possible.

"Jeffrey M. Vinocur" <jeff@litech.org> schrieb im Newsbeitrag
news:c32v46$6lg$2@puck.litech.org...
> In article <4054a278$0$97641$a8266bb1@news.titannews.com>,
> Matthias Wach <webmaster@salimbo.com> wrote:
> >What can be the reason for this ?
> >
> >[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
> >Starting innd.
> >[root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
> >Starting innd.
> >inndstart: can't bind inet socket: Address already in use
>
> Wait, you start INN twice, and of course it doesn't work the
> second time, because the first one is still running.
>
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org





................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Re: INN: Can't bind inet socket
#68636
Author: Remco Blaakmeer
Date: Mon, 15 Mar 2004 23:08
25 lines
1458 bytes
"Matthias Wach" <webmaster@salimbo.com> wrote in
news:4054a278$0$97641$a8266bb1@news.titannews.com: 

> i just recompiled my INN with "enable largefiles" support for buffers
> >2GB. "make" and "make install" all very well.
> 
> But always i get the error message that innd can't bind the inet
> socket... I rebootet the system i think 5 or 6 times... all the same.
> What can be the reason for this ?
> 
> [root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
> Starting innd.
> [root@salimbo news]# su news -c '/usr/local/news/bin/rc.news'
> Starting innd.
> inndstart: can't bind inet socket: Address already in use
> [root@salimbo news]#

What's the output from
# netstat -tlp | grep nntp
and
# ps fuUnews
?

Remco
Re: INN: Can't bind inet socket
#68641
Author: Matthias Wach
Date: Tue, 16 Mar 2004 01:37
37 lines
2352 bytes
> What's the output from
> # netstat -tlp | grep nntp
> and
> # ps fuUnews
> ?
>

[root@salimbo etc]# netstat -tlp | grep nntp
tcp        0      0 *:nntp                  *:*                     LISTEN
1099/innd
[root@salimbo etc]# ps fuUnews
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
news       953  0.0  0.3  5508 1596 ?        S    19:32   0:00 sshd:
news@pts/0
news       954  0.0  0.2  2272 1208 pts/0    S    19:32   0:00 -bash
news      1099  1.2  3.7 156184 19080 ?      R    19:34   0:00
/usr/local/news/bin/innd -p
news      1101  0.1  0.4  3564 2360 ?        SN   19:34   0:00
/usr/bin/perl -w /usr/local/
news      1102  0.0  0.2  2976 1060 ?        DN   19:34   0:00
/usr/local/news/bin/innfeed
news      1104  0.0  0.1  1648  668 ?        SN   19:34   0:00
/usr/local/news/bin/ninpaths
[root@salimbo etc]#

does it looks good ?





................................................................
       Posted via TITANnews - Uncensored Newsgroups Access
             >>>> at http://www.TitanNews.com <<<<
-=Every Newsgroup - Anonymous, UNCENSORED, BROADBAND Downloads=-

Re: INN: Can't bind inet socket
#68656
Author: Remco Blaakmeer
Date: Tue, 16 Mar 2004 18:04
14 lines
1224 bytes
"Matthias Wach" <webmaster@salimbo.com> wrote in
news:40565a34$0$31946$a8266bb1@news.titannews.com: 

> news      1099  1.2  3.7 156184 19080 ?      R    19:34   0:00
> /usr/local/news/bin/innd -p
  ^^^^^^^^^^^^^^^^^^^^^^^^
INN is running. If you try to start it again, it's no wonder you get the 
"can't bind inet socket" error.

Remco
-- 
Honda XL650V TransAlp
Suzuki DR350S "GetAlife"
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