*BSD News Article 75302


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!agate!howland.reston.ans.net!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!in2.uu.net!news.bridge.net!news
From: Olavio Junior <microetc@microetc.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: IRCd 2.8.21 on FreeBSD 2.1.0 | HELP |
Date: Fri, 02 Aug 1996 17:51:29 -0400
Organization: BridgeNet, LC - Internet for South FLorida (305.374.3031)
Lines: 53
Message-ID: <32027861.4B6D@microetc.com>
Reply-To: microetc@microetc.com
NNTP-Posting-Host: microetc.microetc.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4Gold (WinNT; I)

Hi,
About IRCd,
I tryied adding the package:
"Message: Unable to fetch package irc-2.8.21 from selected 
media(ftp.freebsd.org).
No Package add will be done."
So, I downloaded "ports/net/irc" ...
run "make" :

==>Extracting for irc-2.8.21
==>Patching for irc-2.8.21
==>Applying FreeBSD patches for irc-2.8.21
==>Configuring for irc-2.8.21
==>Building for irc-2.8.21
Building common
...
Building ircd

res.c: In function 'send_res_msg':
res.c:313: warning: passing arg 5 of 'sendto' from incompatible pointer 
type
...
s_bsd.c: In function 'inetport'
s_bsd.c:259: warning: passing arg 2 of 'bind' from incompatible pointer 
type

s_bsd.c: In function 'check_init'
s_bsd.c:581: warning: passing arg 2 of 'getpeername' from incompatible 
pointer type

s_bsd.c: In function 'polludp'
s_bsd.c:2256: warning: passing arg 5 of 'recvfrom' from incompatible 
pointer type

s_bsd.c:2287: warning: passing arg 5 of 'sendto' from incompatible 
pointer type


Then I try to run ircd and can't.
If I try as root:
"ERROR: do not run ircd setuid root. Make it setuid a normal user."
If I try as user:
"chdir: Permission denied"

I'm trying to fix those problem for one week, and was unable to do it 
work!
I tryied adding in inetd.conf :
irc     stream  tcp     wait    root( tryed others too) /etc/ircd       
ircd -i

Nothing seems to work.
Can you help me??
olavio@microetc.com