This whole Linking stuff is quite confusing I think.
However I have a running v3.2.3 Unrealircd Server. It works fine.
I wanted to implement how many users are only in specific channels of the IRC server on a website over PHP. I found that thales can do that:
http://www.gnu.org/software/thales/
I installed thales and everything seemed to went right MySql tables are installed, and thale is also making entries when startign and also had no compile error)
but however, unrealircd does not like it that thales is trying to connect.
Must thales in this case be seen as server??? Otherwise why the linking problem?
Here are my Configs and the error log:
Thales Config
Code: Select all
###########################################################################
#
# Remote server configuration
#
###########################################################################
# RemoteServer <hostname> <port> <password> [REQUIRED]
# Specifies the remote server hostname and port. The hostname may
# either be a standard Internet hostname or dotted-quad numeric
# address; the port number must be an integer between 1 and 65535
# inclusive. The password is a string which should be enclosed in
# double quotes if it contains any spaces (or just for clarity).
RemoteServer Serverip 6666 "pass"
# LocalAddress <hostname> [port] [OPTIONAL]
# Specifies the local address to bind to before connecting to the
# remote server. This may be useful on multihomed hosts. The hostname
# and port number are specified the same way as with the RemoteServer
# directive. If this is not specified, Thales will let the operating
# system choose the local address. If only a hostname is specified,
# Thales will bind to that address but let the operating system
# choose the local port number.
#
# If you don't know what this means or don't need to use it, just leave
# the directive commented out.
LocalAddress localhost 6666
###########################################################################
#
# Thales identification
#
###########################################################################
# ServerName <name> [REQUIRED]
# Specifies the IRC server name which Services should use. May be
# overridden by the -name command-line option.
ServerName "thales.servername.de"
# ServerDesc <text> [REQUIRED]
# Specifies the text which should appear as the server's information in
# /whois and similar queries. May be overridden by the -desc
# command-line option.
ServerDesc "Thales IRC2MySQL Gateway"
Code: Select all
[Jun 11 11:31:37.264532 2005] GNU Thales 1.0 starting up with unreal support (options: debug)
[Jun 11 11:31:37.281397 2005] >SQL : DELETE FROM chan
[Jun 11 11:31:37.283301 2005] >SQL : DELETE FROM ison
[Jun 11 11:31:37.284239 2005] >SQL : DELETE FROM server
[Jun 11 11:31:37.285259 2005] >SQL : DELETE FROM user
[Jun 11 11:31:37.286605 2005] >SQL : SELECT val FROM maxvalues WHERE type='users'
[Jun 11 11:31:37.287308 2005] >SQL : SELECT val FROM maxvalues WHERE type='channels'
[Jun 11 11:31:37.287774 2005] >SQL : SELECT val FROM maxvalues WHERE type='servers'
[Jun 11 11:31:37.290063 2005] >SQL : INSERT INTO server (server, comment, connecttime) values('thales.servername.de', 'Thales IRC2MySQL Ga
teway', NOW())
[Jun 11 11:31:37.291586 2005] HASH : hash_add 134711568, thales.servername.de, 1, 1
[Jun 11 11:31:37.302566 2005] >IRC : PROTOCTL NICKv2 SJOIN SJOIN2 SJ3
[Jun 11 11:31:37.302759 2005] >IRC : PASS ****
[Jun 11 11:31:37.302886 2005] >IRC : SERVER thales.servername.de 1 :Thales IRC2MySQL Gateway
[Jun 11 11:31:37.302988 2005] >IRC : :thales.servername.de EOS
[Jun 11 11:31:38.299922 2005] IRC context : ERROR :Link denied (No matching link configuration) [@127.0.0.1.6666]
[Jun 11 11:31:38.300074 2005] FATAL: Remote server returned: ERROR :Link denied (No matching link configuration) [@127.0.0.1.6666]
Code: Select all
listen *:6667 {
options {
clientsonly;
};
};
listen serverip:6666 {
options {
serversonly;
};
};
Code: Select all
link Serverip {
username *;
hostname *;
port 6666;
bind-ip *;
password-connect pass;
password-receive pass;
hub *;
class servers;
};
link 127.0.0.1 {
username *;
hostname *;
port 6666;
bind-ip *;
password-connect pass;
password-receive pass;
hub *;
class servers;
};
link hostname.server.de {
username *;
hostname *;
port 6666;
bind-ip *;
password-connect pass;
password-receive pass;
hub *;
class servers;
};
link domainname.de {
username *;
hostname serverip;
port 6666;
bind-ip *;
password-connect pass;
password-receive pass;
hub *;
class servers;
};
link thales.domainname.de {
username *;
hostname serverip;
port 6666;
bind-ip *;
password-connect pass;
password-receive pass;
hub *;
class servers;
};
FATAL: Remote server returned: ERROR :Link denied (No matching link configuration) [@127.0.0.1.6666]
what else can I do?
thanks for your help.
reagrds
delle
Mod: Don't paste your whole config file! http://forums.unrealircd.com/viewtopic.php?t=1146