Page 2 of 2

Posted: Mon Aug 21, 2006 7:19 am
by mr pink
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

Posted: Mon Aug 21, 2006 12:09 pm
by core
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.

Posted: Mon Aug 21, 2006 12:28 pm
by mr pink
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]