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

Problems with my Unreal IRC server

Post 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
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.
mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post 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?
T-rexke
Posts: 147
Joined: Sat Mar 18, 2006 4:37 pm

Post 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
Ron2K

Post 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.
mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post 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
Ron2K

Post by Ron2K »

I suspect that you're listening on a port that's already open.
mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post by mr pink »

Is it listed in the config file?
Ron2K

Post 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.
mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post 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
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.
mr pink
Posts: 8
Joined: Wed Aug 16, 2006 10:41 am
Location: Cambridge UK

Post by mr pink »

I was wrong it doesnt appear to be running
static-x
Posts: 28
Joined: Sat Jul 23, 2005 2:43 am

Post by static-x »

add bash to your server
then login as normal user
type bash if it is installed.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

And can i ask what exactly that has to do with Unreal?
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post 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 :)
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
Post Reply