Frequently Asked Questions
I thought I didn't need this, but since I've been receiving many
reports about frequent problems, it looked better to write such a page.
Please read them before asking questions, many of the answers here can
help you out from trouble. You can also take a look at Syzop's FAQ page, which is
a great collection of general problems and their solutions.
1. (UNIX) Why do I get this
message when I try to load a module: *** Notice --
unrealircd.conf:1: loadmodule src/modules/modulename.so: failed to
load: tmp/74C1AB65.modulename.so: cannot open shared object file: No
such file or directory ?
The given path, "src/modules/modulename.so"
is invalid. Either you specified a wrong location for the module or "modulename.so" simply does
not exist in the "src/modules"
directory. In the loadmodule
directive you can specify a relative path starting from the main
UnrealIRCd directory (for example, "/home/user/Unreal3.2" or
whereever you installed it) or an absolute path, but we rather do the
latter one. So if "src/modules"
doesn't exist in the Unreal3.2 directory, than you probably did a "make install" when you
installed the ircd, in this case the proper location is "modules/", or if not, then
something else. You have to check it yourself. If the .so file doesn't exist,
perhaps the compilation failed or you didn't compile the module at all
(see compiling.php).
2. (UNIX) How can I fix this: ***
Notice -- unrealircd.conf:1:
loadmodule src/modules/modulename.c: failed to load: Cannot open
"tmp/D97DCEA0.modulename.c" ?
You can load only .so (binary) files. The .c files are C sources which aren't
understandable by the computer directly. They have to be compiled to
machine code (see compiling.php).
3. (UNIX)
Why do I get this message: *** Notice -- unrealircd.conf:3:
loadmodule src/modules/modulename.so: failed to load:
src/modules/modulename.so: undefined symbol: xxx ?
Make sure you
aren't using an old compilation of the module. Such problems can
generally happen when you install a new release of UnrealIRCd or you
simply rerun the ./Config
script and change some settings, but you forget to recompile the
modules (sometimes including commands.so).
In both cases all modules have to be recompiled; old .so files mustn't be used.
It's strongly suggested to always type "make clean" before
reconfiguring and recompiling UnrealIRCd, so can start from clean
source directories and you can prevent yourself from having "unresolved
symbol" problems. If you think you did everything right and the error
message still appears, then it might be a bug in the module, please
report it at http://angrywolf.clanintern-irc.de/,
thanks.