Page 1 of 1

error loading /modules/commands.so

Posted: Tue Apr 27, 2004 9:01 pm
by kernelerrror
I get the following error on startup

Code: Select all

[root@lucifer ircd]# ./unreal start
Starting UnrealIRCd
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2

* Loading IRCd configuration ..
* unrealircd.conf:6: loadmodule /modules/commands.so: failed to load: tmp/3125869.commands.so: cannot open shared object file: No such file or directory
[error] IRCd configuration failed to load
Possible error encountered (IRCd seemily not started)
The file modules/command.so exists
the tmp directory exists with chmod 777 any help would be appreciated

Posted: Tue Apr 27, 2004 9:47 pm
by codemastr
/modules/commands.so != modules/commands.so

Posted: Tue Apr 27, 2004 9:56 pm
by kernelerrror
thnax dont know how I missed that but it works great now.

Posted: Thu Apr 29, 2004 3:01 pm
by Dada-Bhai
codemastr wrote:/modules/commands.so != modules/commands.so
what do u mean? what i have to do can u plz tell me in details? i am also getting the same error.

Posted: Thu Apr 29, 2004 3:09 pm
by Ron2K
(*NIX n00bs, tsk tsk)

The leading / means that it will look for /modules/commands.so (obviously wrong). Without it, it will look in /path-to-Unreal3.2/modules/commands.co (obviously right).

Heh, I use Windows, and even I know this...

Posted: Thu Apr 29, 2004 3:18 pm
by Dada-Bhai
loadmodule "src/modules/commands.so"; >>> i wrote this, whats wrong with it? will i remove src/ ?

Posted: Sat May 01, 2004 11:19 am
by Gotisch
I have sort of the same problem, the server was running fine, when it suddenly crashed and when i try to restart it, it says :
* unrealircd.conf:1: loadmodule src/modules/commands.so: failed to load: tmp/130182B5.commands.so: undefined symbol: m_svsfline_Init

there is an m_svsfline.c in the module dir, but no .so could it be that ?

Posted: Sat May 01, 2004 12:34 pm
by katsklaw
(*NIX n00bs, tsk tsk)
Everyone was a '*NIX n00b' at one point in time, including yourself.

Posted: Sat May 01, 2004 8:05 pm
by brut
not really 100% relavant to the subject, just an observation, it looked to me like from your post you were loged in w/ root , and its (corrrect me if im wrong) generaly not the best policy to run the ircd from the root account, it would be best to make a less privelaged account and run your ircd from there

Posted: Tue May 04, 2004 9:06 pm
by AngryWolf
To Gotisch: Could you please recompile (=reinstall?) your ircd and find out whether the problem disappears? I think it's just a problem with mixing binary files (for example, a new compilation of ircd with a previous compilation of commands.so).