Koozali.org: home of the SME Server

IRCD rpm

comomac

IRCD rpm
« on: July 09, 2003, 01:00:46 PM »
Hi

I had searched the forum and the google and spent a whole day looking for IRCD for E-smith 5.6. Can anyone post a link or rpm please?

Thank you in advance

Nathan Fowler

Re: IRCD rpm
« Reply #1 on: July 09, 2003, 09:28:04 PM »

comomac

Re: IRCD rpm
« Reply #2 on: July 09, 2003, 10:23:10 PM »
Nathan

I downloaded and installed the rpm file and I also edited the ircd.conf file. But I kept getting the problem.

E-Smith 5.6 install


[root@esmith root]# rpm -ivh ircd-2.10.3p3-fr1.i386.rpm
Preparing...                ########################################### [100%]
   1:ircd                   ########################################### [100%]

~~~~the ircd.conf is edited~~~

[root@esmith root]# ircd
ircd: error: unable to find "/usr/sbin/iauth".
[root@esmith root]#


and the /usr/sbin/iauth file does exist.

Weird

Nathan Fowler

Re: IRCD rpm
« Reply #3 on: July 10, 2003, 12:02:18 AM »
According to the rpm details, iauth should be provided.

Try a "find /|grep -i iauth" and see if it's in another directory...

comomac

Re: IRCD rpm
« Reply #4 on: July 10, 2003, 12:39:08 AM »
This is what i get.
Anything that looks suspicious?

[root@esmith root]# find /|grep -i iauth
/var/ircd/etc/ircd/iauth.conf
/var/ircd/usr/sbin/iauth
/usr/sbin/iauth
/usr/share/doc/ircd-2.10.3p3/iauth-internals.txt
/usr/share/doc/ircd-2.10.3p3/iauth.conf.5
/usr/share/doc/ircd-2.10.3p3/iauth.8
/usr/share/man/man8/iauth.8.gz
/usr/share/man/man5/iauth.conf.5.gz
[root@esmith root]#

Nathan Fowler

Re: IRCD rpm
« Reply #5 on: July 10, 2003, 12:40:53 AM »
According to that, /usr/sbin/iauth exists ;)

Now check permissions on that, and ensure you don't have to be root to execute ircd.

comomac

Re: IRCD rpm
« Reply #6 on: July 10, 2003, 01:20:39 AM »
Permission?

How can I do that?
What do I have to type or do?

Sorry, I am still new to penguin :P

Nathan Fowler

Re: IRCD rpm
« Reply #7 on: July 10, 2003, 01:23:10 AM »
For the sake of simplicity, I'd just:

chmod +x  /usr/sbin/iauth

comomac

Re: IRCD rpm
« Reply #8 on: July 10, 2003, 01:30:14 AM »
still got the same error :\

[root@esmith sbin]# chmod +x /usr/sbin/iauth
[root@esmith sbin]# ls -l iauth
lrwxrwxrwx    1 root     root           29 Jul 13 12:29 iauth -> ../../var/ircd/usr/sbin/iauth
[root@esmith sbin]# ircd
ircd: error: unable to find "/usr/sbin/iauth".
[root@esmith sbin]#

Nathan Fowler

Re: IRCD rpm
« Reply #9 on: July 10, 2003, 01:53:21 AM »
Looks like a bad symlink?

rm /usr/sbin/iauth
cp /var/ircd/usr/sbin/iauth /usr/sbin/iauth
chmod +x /usr/sbin/iauth

comomac

Re: IRCD rpm
« Reply #10 on: July 10, 2003, 02:02:02 AM »
Hmm, still don't work :(
Could it be the rpm's fault?

[root@esmith sbin]# rm /usr/sbin/iauth
rm: remove /usr/sbin/iauth'? y
[root@esmith sbin]# cp /var/ircd/usr/sbin/iauth /usr/sbin/iauth
[root@esmith sbin]# chmod +x /usr/sbin/iauth
[root@esmith sbin]# ircd
ircd: error: unable to find "/usr/sbin/iauth".
[root@esmith sbin]# cd /usr/sbin/
[root@esmith sbin]# ls iauth
iauth
[root@esmith sbin]# ls -l iauth
-rwx--x--x    1 root     root        30444 Jul 13 13:51 iauth
[root@esmith sbin]# ./iauth
iauth 2.10.3p3
        +USE_POLL
[root@esmith sbin]# ircd
ircd: error: unable to find "/usr/sbin/iauth".
[root@esmith sbin]#

Nathan Fowler

Re: IRCD rpm
« Reply #11 on: July 10, 2003, 02:04:23 AM »
I'm not sure, looks like ircd is stupid if you ask me.  See what command-line arguments are available for running ircd, and if you can force it not to see if iauth exists, or if you can supply a location.

comomac

Re: IRCD rpm
« Reply #12 on: July 10, 2003, 02:32:15 AM »
Hmmm, this is getting no where :(

Is there an easier way to install an ircd?

What do u suggest? Or shall i stick and try to fix it?

Nathan Fowler

Re: IRCD rpm
« Reply #13 on: July 10, 2003, 02:35:13 AM »
I don't know that I have any suggestions, you could try compiling from source.

comomac

Re: IRCD rpm
« Reply #14 on: July 10, 2003, 02:37:25 AM »
I guess I could try that. Hmm, now I have to deal with e-smith which dont have compiler installed.

Doug M.

Re: IRCD rpm
« Reply #15 on: July 11, 2003, 10:43:27 AM »
You need to edit the file "/etc/init.d/ircd"

Change line 35 from:

    daemon /usr/sbin/ircd

to

    daemon /usr/sbin/ircd -s

When  this  option  is specified, iauth will not be started.  This  means  that  the  IRC  daemon  will perform  "ident  lookups"  (RFC 1413) internally to attempt to authenticate incoming  connections.   No other authentication mechanism will be used.

To use ircd you need to run it from this script;

/etc/init.d/ircd {start|stop|status|restart|condrestart|reload}


Hope this helps. I've never ran an irc daemon before. Might play with it myself for awhile :)

comomac

Re: IRCD rpm
« Reply #16 on: July 11, 2003, 12:43:42 PM »
Doug

I tried, but the ircd still dont work :(

it loads but it don't look like its running. the mirc just say there is no server something like that.

Bob Todd

Re: IRCD rpm
« Reply #17 on: July 11, 2003, 04:33:25 PM »
dare I suggest that you need to check the tcp ports that the irc daemon is running on are open to your network / internet.

Mac Ma

Re: IRCD rpm
« Reply #18 on: July 12, 2003, 07:22:43 AM »
How can I do that. I am sure that the port are 6667, from the ircd.conf

Nathan Fowler

Re: IRCD rpm
« Reply #19 on: July 12, 2003, 07:27:31 AM »
You could run:

netstat -apvt

This would display the listening daemons and the TCP ports they are listening on, additionally, it would also provide the process and PID.

woofus

IRCD rpm
« Reply #20 on: March 26, 2004, 05:50:59 AM »
Ok same thing is happening to me. I am using hybrid ircd. I installed it from RPM in 5.5 and it worked fine. Now i installed the same version of Hybrid by RPM in 6.0 and it does the same thing described above.
I see the process running. Netstat shows it listening.
Did anyone get this working? Any ideas?