error loading /modules/commands.so

These are old archives. They are kept for historic purposes only.
Post Reply
kernelerrror
Posts: 2
Joined: Tue Apr 27, 2004 8:57 pm
Contact:

error loading /modules/commands.so

Post 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
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

/modules/commands.so != modules/commands.so
-- codemastr
kernelerrror
Posts: 2
Joined: Tue Apr 27, 2004 8:57 pm
Contact:

Post by kernelerrror »

thnax dont know how I missed that but it works great now.
Dada-Bhai
Posts: 6
Joined: Thu Apr 29, 2004 2:41 pm

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

Post 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...
Dada-Bhai
Posts: 6
Joined: Thu Apr 29, 2004 2:41 pm

Post by Dada-Bhai »

loadmodule "src/modules/commands.so"; >>> i wrote this, whats wrong with it? will i remove src/ ?
Gotisch

Post 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 ?
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

(*NIX n00bs, tsk tsk)
Everyone was a '*NIX n00b' at one point in time, including yourself.
brut

Post 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
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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).
Post Reply