Page 1 of 2

Problems with my Unreal IRC server

Posted: Wed Aug 16, 2006 10:45 am
by mr pink
Im new to configuring IRCD so I think there is a bit problem with my config file but I cant really nail it down so wondered if anyone could help me, here is the startup errors when I do a

Code: Select all

./unreal start

Code: Select all

Well I thought I had it working but alas no,

any ideas ?

root-node:/root/Desktop/Unreal3.2>./unreal start
Starting UnrealIRCd
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
v3.2.5
using TRE 0.7.2 (GPL)
using OpenSSL 0.9.7a Feb 19 2003

* Loading IRCd configuration ..
[warning] unrealircd.conf:322: link hub.mynet.com with ZIP option enabled on a non-ZIP compile
[error] unrealircd.conf:538: tld::motd: : No such file or directory
[error] unrealircd.conf:539: tld::rules: : No such file or directory
[error] unrealircd.conf:736: set::kline-address must be an e-mail or an URL
[error] 4 errors encountered
[error] IRCd configuration failed to pass testing
Possible error encountered (IRCd seemily not started)
================================================== ===
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
================================================== ===
tail: cannot open `/root/Desktop/Unreal3.2/ircd.log' for reading: No such file or directory
root-node:/root/Desktop/Unreal3.2>exit

Also it appears I have no ircd.log in my /root/Desktop/Unreal3.2 and when I created a log file it did nothing !

any suggestions would be most appreciated

Posted: Wed Aug 16, 2006 10:49 am
by Jobe
One suggestion would be dont run UnrealIRCd as root. Which judging by thos file paths is what it appears you're trying to do.

Posted: Wed Aug 16, 2006 12:32 pm
by mr pink
I get a permission denyed when doing a ./unreal start as a normal user, Im new to chmod etc what shall I use to allow permissions for all users?

Posted: Wed Aug 16, 2006 12:33 pm
by T-rexke

Code: Select all

error] unrealircd.conf:538: tld::motd: : No such file or directory 
[error] unrealircd.conf:539: tld::rules: : No such file or directory 
you shoul make a notepad file and name it ircd.motd and another one named ircd.rules and save it as all files

Code: Select all

[error] unrealircd.conf:736: set::kline-address must be an e-mail or an URL 
put your email adress there

Posted: Thu Aug 17, 2006 5:49 am
by Ron2K
T-rexke wrote:

Code: Select all

error] unrealircd.conf:538: tld::motd: : No such file or directory 
[error] unrealircd.conf:539: tld::rules: : No such file or directory 
you shoul make a notepad file and name it ircd.motd and another one named ircd.rules and save it as all files
Or, of course, simply remove the relevant section from your unrealircd.conf. Personally, I don't have a use for the tld{} block.

Posted: Fri Aug 18, 2006 7:30 am
by mr pink
hey guys thanks for the help so far im nearly there but now I have hit a brick wall again when I try and connect it displays the error message

Code: Select all

irc.foonet.com[]:Address already in use
I cant see anything of the sort in the config file :(

any help appreciated

pinky

Posted: Fri Aug 18, 2006 8:29 am
by Ron2K
I suspect that you're listening on a port that's already open.

Posted: Fri Aug 18, 2006 8:38 am
by mr pink
Is it listed in the config file?

Posted: Fri Aug 18, 2006 8:46 am
by Ron2K
Read the documentation on listen blocks. Take note that, if you're running on a shell account, you'll have to listen to a specific IP address.

If you try that and I'm wrong, you may post back asking for an apology and a fresh diagnosis, but not before.

Posted: Fri Aug 18, 2006 9:20 am
by mr pink
I have added the IP in the listen block where it was required but it is still displaying the same error message

thanks for the help I did also read http://www.vulnscan.org/UnrealIRCd/unre ... istenblock

Which sort of helped, I also just had a brainwave it might be a another irc server still running on that port which I set up ages but gave up and didnt bother it, it may still be running?

Instead of minimising errors its also produced another one

Code: Select all

Error binding socket tp IP 100.*.*.*** port 6667 IRC.node.com[]: Address already in use
It may also be of help that its only going to be a internal IRC server on our network asnd it will not be for public use so I may be able to slacken some parts?

kind regards

./pinky

Posted: Fri Aug 18, 2006 10:44 am
by Jobe
Try using an IRC client to connect to port 6667 while you have'nt got Unreal running. If it succesfully connects there is another IRC server running. In which case you will need to track it down and shut it down.

Posted: Fri Aug 18, 2006 11:57 am
by mr pink
I was wrong it doesnt appear to be running

Posted: Fri Aug 18, 2006 8:36 pm
by static-x
add bash to your server
then login as normal user
type bash if it is installed.

Posted: Sat Aug 19, 2006 10:38 am
by Jobe
And can i ask what exactly that has to do with Unreal?

Posted: Sat Aug 19, 2006 4:51 pm
by White_Magic
Jobe - if u read back u would see what it has to do :)
im a *nix noob but i believe thats the soulation to allowing him/her to run the command line as a normal user rather than root.


u`ll need to check all ur running processes to track it and then u`ll be able to kill it using kill command. -
so by typing 'ps' that should list ur running processes.
after that read http://unixhelp.ed.ac.uk/shell/jobz5.html
about killing processes and jobs

hope this helps :)