Thread View: news.software.nntp
4 messages
4 total messages
Started by David Swanger
Thu, 25 Feb 1999 00:00
INN 2.2, Solaris 2.7, installation probs
Author: David Swanger
Date: Thu, 25 Feb 1999 00:00
Date: Thu, 25 Feb 1999 00:00
25 lines
1158 bytes
1158 bytes
I'm trying to install INN 2.2. I did a config, make and make install, reconfiged some config files and then tried to run rc.news and got the errors: Feb 25 14:59:02 peking inndstart: inndstart cant setgroups Not owner Feb 25 14:59:02 peking inndstart: inndstart cant bind Permission denied I looked through dejanews and some considere this a setuid problem. The permissions on inndstart are: -r-sr-x--- 1 news news 112606 Feb 24 14:31 inndstart Any other ideas? All help will be greatly appreciated. -- David Swanger University Computing Auburn University, AL swangdb@mail.auburn.edu
Re: INN 2.2, Solaris 2.7, installation probs
Author: David Swanger
Date: Fri, 26 Feb 1999 00:00
Date: Fri, 26 Feb 1999 00:00
29 lines
1434 bytes
1434 bytes
Ooops, NOW when I try to connect to the server with tin, I get the message: tin tin 1.2 PL2 [UNIX] (c) Copyright 1991-93 Iain Lea. Connecting to peking.duc.auburn.edu... OOPSConnection to news server has timed out. Reconnect? (y/n): yOOPS Connecting to peking.duc.auburn.edu... OOPSConnection to news server has timed out. Reconnect? (y/n): yOOPS Connecting to peking.duc.auburn.edu... OOPSConnection to news server has timed out. Reconnect? (y/n): yOOPS Connecting to peking.duc.auburn.edu... OOPSConnection to news server has timed out. Reconnect? (y/n): yOOPS Connecting to peking.duc.auburn.edu... OOPSConnection to news server has timed out. Reconnect? (y/n): yOOPS -- David Swanger University Computing Auburn University, AL swangdb@mail.auburn.edu
Re: INN 2.2, Solaris 2.7, installation probs
Author: David Swanger
Date: Fri, 26 Feb 1999 00:00
Date: Fri, 26 Feb 1999 00:00
63 lines
2412 bytes
2412 bytes
Niels Bakker - Non PGP encrypted email deleted automatically. (niels@usenet.bakker.net) wrote:
: In article <7b4ga1$87d$1@ultranews.duc.auburn.edu>, David Swanger wrote:
: > -r-sr-x--- 1 news news 112606 Feb 24 14:31 inndstart
: Should be owned by root, so it can setuid(0) and bind() to port 119.
: -- Niels.
I chown'ed inndstart to belong to root. I ran the following command
from root:
su - news -c "/usr/local/news/bin/rc.news"
and received the error message:
/usr/local/news/bin/rc.news: /usr/local/news/bin/inndstart: cannot execute
If I run rc.news from root, it seems to work, ps -ef | grep inn
gives me:
news 12659 1 0 13:25:19 ? 0:01 /usr/local/news/bin/innd -p5 -L
news 12629 1 0 13:23:26 pts/3 0:00 /usr/bin/sh /usr/local/news/bin/innwatch
root 12667 12659 0 13:25:20 ? 0:00 /usr/local/news/bin/innfeed
root 12670 992 0 13:26:06 pts/3 0:00 grep inn
Is this correct or is innfeed supposed to belong to news instead of root?
Anyway, with innd running, I tried to connect with a usenet client
(tin) running from the same machine (peking.duc.auburn.edu). I
have the following entry in incoming.conf:
peer ME {
hostname: "localhost, 127.0.0.1, peking.duc.auburn.edu"
}
In nnrp.access, I have:
peking.duc.auburn.edu:RP:::*:
Yet when I try to connect to the server with tin, I get the error
message:
tin
tin 1.2 PL2 [UNIX] (c) Copyright 1991-93 Iain Lea.
Connecting to peking.duc.auburn.edu...
tin: 502 Could not get your access name. Goodbye.
I'm sure this is something trivial, I would aprreciate any
help I could get.
--
David Swanger
University Computing
Auburn University, AL
swangdb@mail.auburn.edu
Re: INN 2.2, Solaris 2.7, installation probs
Author: Igor Looren de Jong
Date: Mon, 01 Mar 1999 00:00
Date: Mon, 01 Mar 1999 00:00
42 lines
1912 bytes
1912 bytes
David Swanger wrote:
> I'm trying to install INN 2.2. I did a config,
> make and make install, reconfiged some config
> files and then tried to run rc.news and got
> the errors:
>
> Feb 25 14:59:02 peking inndstart: inndstart cant setgroups Not owner
> Feb 25 14:59:02 peking inndstart: inndstart cant bind Permission denied
>
> I looked through dejanews and some considere this a
> setuid problem. The permissions on inndstart are:
>
> -r-sr-x--- 1 news news 112606 Feb 24 14:31 inndstart
>
> Any other ideas? All help will be greatly appreciated.
>
> --
> David Swanger
> University Computing
> Auburn University, AL
> swangdb@mail.auburn.edu
I had the same problem and fixed it by setting uid/gid in the source:
inndstart.c:
< NewsUID = Sb.st_uid;
< NewsGID = Sb.st_gid;
---
> /* NewsUID = Sb.st_uid; */
> /* NewsGID = Sb.st_gid; */
> /* 19990213 */
> NewsUID = 8;
> NewsGID = 8;
Regards Igor
--
If you don't go to other men's funerals they won't go to yours.
-- Clarence Day
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