Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Unknown Group  (Read 7164 times)

0 Members and 1 Guest are viewing this topic.

Tino

  • Anope User
  • Offline Offline
  • Posts: 6
Unknown Group
« on: August 18, 2010, 10:07:47 AM »

Hello,

I installed Anope 1.8.4 on opensuse 11.3 and it doesn' work..

log:
[Aug 18 10:58:59 2010] Unknown group `Tino'

Has anybody an idea how to fix this?

Regards,
Tino
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Unknown Group
« Reply #1 on: August 18, 2010, 10:19:21 AM »

Show us the whole log.
Logged

Tino

  • Anope User
  • Offline Offline
  • Posts: 6
Re: Unknown Group
« Reply #2 on: August 18, 2010, 10:21:37 AM »

This is the whole log^^ only this one line.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Unknown Group
« Reply #3 on: August 18, 2010, 10:26:31 AM »

Interesting.

Try ./services -support to see if that yields any more info and pastebin your services.conf.

I'm a bit limited, I don't have an opensuse box.
Logged

Tino

  • Anope User
  • Offline Offline
  • Posts: 6
Re: Unknown Group
« Reply #4 on: August 18, 2010, 11:01:34 AM »

./services -support leads to the same message in the log.. (Unknown Group..)

But I found a mistake in my services.conf..
Now it still doesn't work, but I got more information in the log:

Code: [Select]
[Aug 18 11:56:48 2010] Loading IRCD Protocol Module: [unreal32]
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] Loading Encryption Module: [enc_none]
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] Anope 1.8.4 (2859) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 18 11:56:48 2010] ns_sendpass requested unload...
[Aug 18 11:56:48 2010] debug: trying to load core module [ns_sendpass]
[Aug 18 11:56:48 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 11:56:48 2010] cs_sendpass requested unload...
[Aug 18 11:56:48 2010] debug: trying to load core module [cs_sendpass]
[Aug 18 11:56:48 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 11:56:48 2010] MSMemoReceipt not enabled in services.conf
[Aug 18 11:56:48 2010] ms_rsend requested unload...
[Aug 18 11:56:48 2010] debug: trying to load core module [ms_rsend]
[Aug 18 11:56:48 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 11:56:48 2010] MySQL: has been enabled.
[Aug 18 11:56:48 2010] MySQL: client version 5.1.46.
[Aug 18 11:56:48 2010] MySQL Error: Cant connect to MySQL: Can't connect to local MySQL server through socket '/opt/lamp/var/mysql/mysql.sock' (2)
 : No such file or directory
[Aug 18 11:56:48 2010] Databases loaded
[Aug 18 11:56:48 2010] Info: Reflecting database records.
[Aug 18 11:56:48 2010] Connected to Server 1 (localhost:6667)
[Aug 18 11:56:48 2010] trying to load [cs_appendtopic]
[Aug 18 11:56:48 2010] [cs_appendtopic] Loaded successfully
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] trying to load [cs_enforce]
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] trying to load [ns_maxemail]
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] trying to load [os_info]
[Aug 18 11:56:48 2010] os_info: Loading configuration directives...
[Aug 18 11:56:48 2010] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Aug 18 11:56:48 2010] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] trying to load [hs_request]
[Aug 18 11:56:48 2010] hs_request loaded
[Aug 18 11:56:48 2010] status: [0][Module, Okay - No Error]
[Aug 18 11:56:48 2010] Read error from server: Broken pipe (error num: 32)
[Aug 18 11:56:48 2010] [cs_appendtopic] Unloaded successfully
[Aug 18 11:56:48 2010] hs_request un-loaded

Can you help me to fix the new problems? :D


For services.conf I used the example.conf and changed the following lines:

Code: [Select]
l.98: IRCDModule "unreal32"
l.196: RemoteServer localhost 6667 "password"
l.215: LocalAddress localhost 6665
l.227: ServerName "services.server-berlin.com"
l.234: ServerDesc "Services for Server-Berlin IRC Networks"
l.241: ServiceUser "services@server-berlin.com"
l.347: NetworkName "irc.server-berlin.com"
l.358: Numeric "64"
l.389: UserKey1 xxxxxxx
l.390: UserKey2 xxxxxxx
l.391: UserKey3 xxxxxxx
l.652: #UseMail
l.720: #NSForceEmail
l.777: NSDefLanguage 3
l.1158: ServicesRoot "Server-Berlin Anope"
l.1492:
MysqlHost "localhost"
MysqlUser "anope"
MysqlPass "password"
MysqlName "anope"
MysqlSock "/opt/lamp/var/mysql/mysql.sock"
MysqlPort 3306
l.1509: MysqlSecure "md5"
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Unknown Group
« Reply #5 on: August 18, 2010, 11:04:57 AM »

Comment out "LocalAddress" in services.conf you don't need it.

Check the path to mysql.sock is valid or comment it out and let Anope deal with finding it.

Show me the linkblock & listen block from unrealircd.conf
Logged

Tino

  • Anope User
  • Offline Offline
  • Posts: 6
Re: Unknown Group
« Reply #6 on: August 18, 2010, 11:17:26 AM »

Ok.. I commented out "LocalAddress" and "MysqlSock.."

new log:
Code: [Select]
[Aug 18 12:06:37 2010] Loading IRCD Protocol Module: [unreal32]
[Aug 18 12:06:37 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:37 2010] Loading Encryption Module: [enc_none]
[Aug 18 12:06:37 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:37 2010] Anope 1.8.4 (2859) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 18 12:06:37 2010] ns_sendpass requested unload...
[Aug 18 12:06:37 2010] debug: trying to load core module [ns_sendpass]
[Aug 18 12:06:37 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:06:37 2010] cs_sendpass requested unload...
[Aug 18 12:06:37 2010] debug: trying to load core module [cs_sendpass]
[Aug 18 12:06:37 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:06:37 2010] MSMemoReceipt not enabled in services.conf
[Aug 18 12:06:37 2010] ms_rsend requested unload...
[Aug 18 12:06:37 2010] debug: trying to load core module [ms_rsend]
[Aug 18 12:06:37 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:06:38 2010] MySQL: has been enabled.
[Aug 18 12:06:38 2010] MySQL: client version 5.1.46.
[Aug 18 12:06:38 2010] MySQL Error: Cant connect to MySQL: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
 : No such file or directory
[Aug 18 12:06:38 2010] Databases loaded
[Aug 18 12:06:38 2010] Info: Reflecting database records.
[Aug 18 12:06:38 2010] Connected to Server 1 (localhost:6667)
[Aug 18 12:06:38 2010] trying to load [cs_appendtopic]
[Aug 18 12:06:38 2010] [cs_appendtopic] Loaded successfully
[Aug 18 12:06:38 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:38 2010] trying to load [cs_enforce]
[Aug 18 12:06:38 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:38 2010] trying to load [ns_maxemail]
[Aug 18 12:06:38 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:38 2010] trying to load [os_info]
[Aug 18 12:06:38 2010] os_info: Loading configuration directives...
[Aug 18 12:06:38 2010] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Aug 18 12:06:38 2010] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 18 12:06:38 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:38 2010] trying to load [hs_request]
[Aug 18 12:06:38 2010] hs_request loaded
[Aug 18 12:06:38 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:06:38 2010] Read error from server: Connection reset by peer (error num: 104)
[Aug 18 12:06:38 2010] [cs_appendtopic] Unloaded successfully
[Aug 18 12:06:38 2010] hs_request un-loaded
[Aug 18 12:13:51 2010] Loading IRCD Protocol Module: [unreal32]
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:51 2010] Loading Encryption Module: [enc_none]
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:51 2010] Anope 1.8.4 (2859) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 18 12:13:51 2010] ns_sendpass requested unload...
[Aug 18 12:13:51 2010] debug: trying to load core module [ns_sendpass]
[Aug 18 12:13:51 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:13:51 2010] cs_sendpass requested unload...
[Aug 18 12:13:51 2010] debug: trying to load core module [cs_sendpass]
[Aug 18 12:13:51 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:13:51 2010] MSMemoReceipt not enabled in services.conf
[Aug 18 12:13:51 2010] ms_rsend requested unload...
[Aug 18 12:13:51 2010] debug: trying to load core module [ms_rsend]
[Aug 18 12:13:51 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:13:51 2010] MySQL: has been enabled.
[Aug 18 12:13:51 2010] MySQL: client version 5.1.46.
[Aug 18 12:13:51 2010] MySQL Error: Cant connect to MySQL: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
 : No such file or directory
[Aug 18 12:13:51 2010] Databases loaded
[Aug 18 12:13:51 2010] Info: Reflecting database records.
[Aug 18 12:13:51 2010] Connected to Server 1 (localhost:6667)
[Aug 18 12:13:51 2010] trying to load [cs_appendtopic]
[Aug 18 12:13:51 2010] [cs_appendtopic] Loaded successfully
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:51 2010] trying to load [cs_enforce]
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:51 2010] trying to load [ns_maxemail]
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:51 2010] trying to load [os_info]
[Aug 18 12:13:51 2010] os_info: Loading configuration directives...
[Aug 18 12:13:51 2010] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Aug 18 12:13:51 2010] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:51 2010] trying to load [hs_request]
[Aug 18 12:13:51 2010] hs_request loaded
[Aug 18 12:13:51 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:13:52 2010] Read error from server: Success (error num: 0)
[Aug 18 12:13:52 2010] [cs_appendtopic] Unloaded successfully
[Aug 18 12:13:52 2010] hs_request un-loaded


unrealircd.conf
Code: [Select]
listen         *:6667
{
options
{
clientsonly;
};
};

listen *:6665
{
options
{
serversonly;
};
};

link services.server-berlin.com
{
username *;
hostname localhost;
bind-ip *;
port 6665;
hub *;
password-connect "password";
password-receive "password";

class servers;

options
{
};
};

ulines {
services.server-berlin.com;
};
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Unknown Group
« Reply #7 on: August 18, 2010, 11:21:20 AM »

[Aug 18 12:06:38 2010] Connected to Server 1 (localhost:6667)

You're telling anope to link on 6667 which is clients only and the linkblock says 6665.

Fix that.
Logged

Tino

  • Anope User
  • Offline Offline
  • Posts: 6
Re: Unknown Group
« Reply #8 on: August 18, 2010, 11:26:40 AM »

I fixed this line: RemoteServer    localhost 6665 "password"

new log:
Code: [Select]
[Aug 18 12:21:29 2010] Loading IRCD Protocol Module: [unreal32]
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:29 2010] Loading Encryption Module: [enc_none]
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:29 2010] Anope 1.8.4 (2859) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 18 12:21:29 2010] ns_sendpass requested unload...
[Aug 18 12:21:29 2010] debug: trying to load core module [ns_sendpass]
[Aug 18 12:21:29 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:21:29 2010] cs_sendpass requested unload...
[Aug 18 12:21:29 2010] debug: trying to load core module [cs_sendpass]
[Aug 18 12:21:29 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:21:29 2010] MSMemoReceipt not enabled in services.conf
[Aug 18 12:21:29 2010] ms_rsend requested unload...
[Aug 18 12:21:29 2010] debug: trying to load core module [ms_rsend]
[Aug 18 12:21:29 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:21:29 2010] MySQL: has been enabled.
[Aug 18 12:21:29 2010] MySQL: client version 5.1.46.
[Aug 18 12:21:29 2010] MySQL Error: Cant connect to MySQL: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
 : No such file or directory
[Aug 18 12:21:29 2010] Databases loaded
[Aug 18 12:21:29 2010] Info: Reflecting database records.
[Aug 18 12:21:29 2010] Connected to Server 1 (localhost:6665)
[Aug 18 12:21:29 2010] trying to load [cs_appendtopic]
[Aug 18 12:21:29 2010] [cs_appendtopic] Loaded successfully
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:29 2010] trying to load [cs_enforce]
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:29 2010] trying to load [ns_maxemail]
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:29 2010] trying to load [os_info]
[Aug 18 12:21:29 2010] os_info: Loading configuration directives...
[Aug 18 12:21:29 2010] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Aug 18 12:21:29 2010] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:29 2010] trying to load [hs_request]
[Aug 18 12:21:29 2010] hs_request loaded
[Aug 18 12:21:29 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:21:30 2010] Error: Your IRCD's link block may not setup correctly, please check unrealircd.conf
[Aug 18 12:21:30 2010] Error: Your IRCD's link block may not setup correctly, please check unrealircd.conf
[Aug 18 12:21:30 2010] Read error from server: Success (error num: 0)
[Aug 18 12:21:30 2010] [cs_appendtopic] Unloaded successfully
[Aug 18 12:21:30 2010] hs_request un-loaded

There is still a problem with mysql and an error in my link block?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Unknown Group
« Reply #9 on: August 18, 2010, 11:29:46 AM »

Change all instances of localhost to 127.0.0.1, rehash unreal and try again.

Did you find the mysql.sock, does your box have mysql-server installed? - Do you *need* MySQL?
Logged

Tino

  • Anope User
  • Offline Offline
  • Posts: 6
Re: Unknown Group
« Reply #10 on: August 18, 2010, 11:39:19 AM »

I did it and now it works :) Thank you so much!

here last time the latest log:
Code: [Select]
[Aug 18 12:31:14 2010] Loading IRCD Protocol Module: [unreal32]
[Aug 18 12:31:14 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:14 2010] Loading Encryption Module: [enc_none]
[Aug 18 12:31:14 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:14 2010] Anope 1.8.4 (2859) (ircd protocol: UnrealIRCd 3.2+) starting up
[Aug 18 12:31:15 2010] ns_sendpass requested unload...
[Aug 18 12:31:15 2010] debug: trying to load core module [ns_sendpass]
[Aug 18 12:31:15 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:31:15 2010] cs_sendpass requested unload...
[Aug 18 12:31:15 2010] debug: trying to load core module [cs_sendpass]
[Aug 18 12:31:15 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:31:15 2010] MSMemoReceipt not enabled in services.conf
[Aug 18 12:31:15 2010] ms_rsend requested unload...
[Aug 18 12:31:15 2010] debug: trying to load core module [ms_rsend]
[Aug 18 12:31:15 2010] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Aug 18 12:31:15 2010] MySQL: has been enabled.
[Aug 18 12:31:15 2010] MySQL: client version 5.1.46.
[Aug 18 12:31:15 2010] MySQL Error: Cant connect to MySQL: Access denied for user 'anope'@'localhost' (using password: YES)
 : Success
[Aug 18 12:31:15 2010] Databases loaded
[Aug 18 12:31:15 2010] Info: Reflecting database records.
[Aug 18 12:31:15 2010] Connected to Server 1 (127.0.0.1:6665)
[Aug 18 12:31:15 2010] trying to load [cs_appendtopic]
[Aug 18 12:31:15 2010] [cs_appendtopic] Loaded successfully
[Aug 18 12:31:15 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:15 2010] trying to load [cs_enforce]
[Aug 18 12:31:15 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:15 2010] trying to load [ns_maxemail]
[Aug 18 12:31:15 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:15 2010] trying to load [os_info]
[Aug 18 12:31:15 2010] os_info: Loading configuration directives...
[Aug 18 12:31:15 2010] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Aug 18 12:31:15 2010] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Aug 18 12:31:15 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:15 2010] trying to load [hs_request]
[Aug 18 12:31:15 2010] hs_request loaded
[Aug 18 12:31:15 2010] status: [0][Module, Okay - No Error]
[Aug 18 12:31:15 2010] Server irc.server-berlin.com is done syncing

The last and only error is a wrong password for the mysql user, right?


ps: I installed anope without mysql some month before and now I wanted to try out what opportunities it offers :D
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Unknown Group
« Reply #11 on: August 18, 2010, 11:41:53 AM »

Yep.

[Aug 18 12:31:15 2010] MySQL Error: Cant connect to MySQL: Access denied for user 'anope'@'localhost' (using password: YES)
 : Success

Means the password or user/pass is wrong.
Logged
Pages: [1]   Go Up