Starting UnrealIRCd problem

These are old archives. They are kept for historic purposes only.
Post Reply
zaw
Posts: 2
Joined: Mon Apr 04, 2005 2:16 pm

Starting UnrealIRCd problem

Post by zaw »

ircd was compiled without errors but wher I've started it, it wrote:

* Loading IRCd configuration ..
* unrealircd.conf:34: loadmodule src/modules/commands.so: failed to load: tmp/9CB18D05.commands.so: cannot open shared object file: No such file or directory

What does this mean and where I shoud search for my mistake? It's the first non-commented line in config file, so it's not config filre
What do i do wrong?
Shelluser
Posts: 38
Joined: Tue Feb 01, 2005 8:30 pm
Location: The Netherlands
Contact:

Re: Starting UnrealIRCd problem

Post by Shelluser »

zaw wrote:ircd was compiled without errors but wher I've started it, it wrote:

* unrealircd.conf:34: loadmodule src/modules/commands.so: failed to load: tmp/9CB18D05.commands.so: cannot open shared object file: No such file or directory

What does this mean and where I shoud search for my mistake?
There are a couple of possible causes. Is this running on a *nix environment ? If so then check if the useraccount which runs the ircd can create / write to the tmp directory. Also make sure that the partition on which this is installed isn't mounted noexec.
With kind regards, Peter

NekoNet IRC
www.neko-net.org / [url=irc://irc.neko-net.org:6667]irc.neko-net.org[/url]
zaw
Posts: 2
Joined: Mon Apr 04, 2005 2:16 pm

Re: Starting UnrealIRCd problem

Post by zaw »

Shelluser wrote: There are a couple of possible causes. Is this running on a *nix environment ? If so then check if the useraccount which runs the ircd can create / write to the tmp directory. Also make sure that the partition on which this is installed isn't mounted noexec.
Yes, it's *nix environment.
User has write access to tmp
Moreower, I've set 777 rights ti ensure.
Partiotion is /usr, so isn't noexec.

Funny thing - I've just tried same compilation/configuration process on FreeBSD (this on is on Slackware Linux), it has similar results - the same erorr message.
Ron2K

Post by Ron2K »

I think that there might be a FAQ question about this, but I'm getting error 504 (Gateway Timeout) trying to access the FAQ (so that I could find out for you)... so you'll have to check for yourself.
Shelluser
Posts: 38
Joined: Tue Feb 01, 2005 8:30 pm
Location: The Netherlands
Contact:

Re: Starting UnrealIRCd problem

Post by Shelluser »

zaw wrote:Yes, it's *nix environment.
User has write access to tmp
Moreower, I've set 777 rights ti ensure.
Partiotion is /usr, so isn't noexec.
Just to make sure because this is happening on more than one environment: I'm not referring to /tmp but the tmp subdirectory in your Unreal configuration directory.

In addition to that (now that I've re-read) I'm wondering what your 'loadmodule' line looks like. Normally you'd specify the modules directory but in your case I see:

Code: Select all

* unrealircd.conf:34: loadmodule src/modules/commands.so: failed to load
So my question: where does the 'src' come from ?

Don't tell me you're running all of this from the directory to which you unpacked the Unreal archive? If so then I'd strongly suggest that you first read the documentation (from that same directory: doc/unreal32docs.html).
With kind regards, Peter

NekoNet IRC
www.neko-net.org / [url=irc://irc.neko-net.org:6667]irc.neko-net.org[/url]
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Re: Starting UnrealIRCd problem

Post by Darvocet »

zaw wrote:Funny thing - I've just tried same compilation/configuration process on FreeBSD (this on is on Slackware Linux), it has similar results - the same erorr message.
Ive compiled unreal on about 4 different versions of slackware, and 2 of freebsd, and i've never seen the problem your explaining.

I would try deleting the user that its installed as example ircd, then in slack do "adduser ircd" set it with basic settings, basic shell, etc. then log out, and login as the ircd user. wget, untar, ./Config, and make and it should work outta the box. (with your configs of course).
- Darvocet
Sr. Network Admin: EpicIRC.Net
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

Post by Mr_S »

Shell user has hit the problem perfectly!

that error i have found is to do with no "permissions" or ability to write to the file. (Say for example, a user trying to do what an admin is allowed to do)

i cannot remember but chmod setting but that is where your problem will lie! :)
Post Reply