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.