Problems with my Unreal IRC server

These are old archives. They are kept for historic purposes only.
mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post by mr pink » Mon Aug 21, 2006 7:19 am

Im still getting a permission error for normal users when trying to start it, I have tryed chmod 777 and changing the owner and group but it does naff all

Also IRCD isnt running at all on the machine, I cant think anything else I can try

thanks for the help

pinky

core
Posts: 17
Joined: Sun Jul 02, 2006 10:51 pm

Post by core » Mon Aug 21, 2006 12:09 pm

First of all, you need to setup your ircd to directory, that can be accessed by normal user. Best choise - to create special user and group (for example user and group named "ircd")

For example,
create the directory to setup ircd to.
mkdir /usr/local/ircd
create special user and group for ircd:
groupadd ircd -g 10000
useradd ircd -u 10000 -g ircd -s /bin/bash -M
change owner of directory to newly created user/group, and set correct permissions:
chown ircd:ircd /usr/local/ircd
chmod 0750 /usr/local/ircd
then to create new session, type from root:
su - ircd
then download sources and install ircd as usually to /usr/local/ircd
Error binding socket tp IP 100.*.*.*** port 6667 IRC.node.com[]: Address already in use
this error means that some daemon already listening on port 6667.

you can find it by typing something like
netstat -apn | head -n 2 && netstat -apn | grep LISTEN | grep 6667
if you want to terminate daemon that listening on port 6667, you can do something like
kill -15 12345
where 12345 - PID, that you see in netstat output.

mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post by mr pink » Mon Aug 21, 2006 12:28 pm

Thanks alot for that core I shall do that, when trying the

Code: Select all

netstat -apn | head -n 2 && netstat -apn | grep LISTEN | grep 6667 

Code: Select all

root-ado-node3:/root>netstat -apn | head -n 2 && netstat -apn | grep LISTEN | gr 
ep 6667 
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name 
Which I presume nothing is running? But I have a feeling its lying.

regards
will




[/code]

Post Reply