Denora:FAQ

From AnopeWiki
Jump to: navigation, search

Contents


Frequently Asked Questions - Denora 1.4

Installation

I am getting the error "/usr/bin/ld: cannot find -lmysqlclient"

This means that the linker (ld) does not know where the lib of mysqlclient is. To resolve

  • Make sure MySQL libs and development files are installed(usually called libmysql-dev or similar)
  • Make sure that the path to mysql lib dir is in /etc/ld.so.conf

My FreeBSD box complains about 'Shared object "nss_dns.so.1" not found'

This problem hasn't been figured out yet, but a posible fix is: Do a soft link for nss_dns.so.1 to one of the following files:

 /usr/local/lib/nss_lookupd.so.1
 /usr/compat/linux/lib/libnss_dns.so.1

e.g:

 ln -s /usr/local/lib/nss_lookupd.so.1 /usr/local/lib/nss_dns.so.1

Other solution offered by Anope IRC Services is: "... you can delete the /etc/nsswitch.conf file. Please keep in mind that removing a configuration file can be dangerous, so only do this if you know what you are doing."

Usage

SQL does not enable, getting errors

This is probably the most common support question we see on our irc channel, and 99% of the times it turns out users experience this problem due to their incapability to read properly. So, once and for all, make sure you DOUBLE CHECK the following before contacting us for any support. Yes, this does involve PROPER READING:

  • Make sure your system has the mysql devel libs installed. On .deb-based systems for instance, this is usually called libmysqlclient15-dev or similar.
  • During the initial phase of compiling Denora, during ./Config, you actually get pretty clear instructions:
 Allow Denora to automatically check for mysql client development libaries?
 unless you get errors with make, there is no need to change this setting.
 WARNING: You NEED the mysql client devel libraries installed on your system
        in order to compile Denora with SQL support.
        On Debian/Ubuntu systems for example, you need to install the
        libmysqlclient15-dev package or similar.
 [yes]

and when ./Config is actually done, you will see this:

 Modules Support: YES
 MySQL Support: YES
 
 All done! Above you can see if Modules Support and MySQL Support will be compiled or not.
 If you intended to compile MySQL support and you see "NO", then your system is probably
 missing the mysql client development libraries. Please consult your distribution package
 manager and install the required package, then try running ./Config again.
 

there really is not much to add to this...

  • After running make install, as per instructions in the docs/INSTALL file at point 5., ensure that you run the ./mydbgen utility to populate the database. This utility also tells you if the connection to the SQL server was successful and suggests the configuration parameters for the denora.conf file
  • Ensure that the SQL settings in your denora.conf file are actually correct
  • Usually you can leave the sock and port parameters commented out. On some systems however, they need to be specified manually. In some cases you need a TCP port, in others you need to specify the UNIX socket, depending on which way you have to access the SQL server
  • It is highly recommended that the MySQL server and Denora run on the same machine.


Remote MOTD doesn't work

Some ircds, like Unreal, don't send out remote MOTDs if the filename is different than ircd.motd. A simple solution under *nix based systems is to create a symlink

 ln -s my.custom.motd ~/Unrealxxx/ircd.motd

Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Either your server is not running, or the MySQL socket is in another location. The following command should tell you where the socket is:

 netstat -ln | grep mysql

If you get no reply, then your MySQL isn't running or it's configured to use TCP/IP instead of sockets. For further information, please visit: http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html

StatServ doesn't allow me to log in

You need to be an IRC Operator in order to be allowed to log in to Denora.

StatServ does not react to any !fantasy commands except !help

By default, Denora runs with the ustatsregistered option enabled. That means it only tracks channel statistics for registered users (+r). This is the recommended setup, as it will make nick tracking more reliable. So if you are not using a registered nickname, StatServ won't react to !fantasy commands. However, there might be situations where you do not have registered users, or you just want StatServ to track everyone. In this case just disable the ustatsregistered option in denora.conf and restart Denora.

Personal tools