Anope IRC Services

Anope.org => Anope General => Topic started by: never on March 28, 2006, 09:02:25 PM

Title: put database together
Post by: never on March 28, 2006, 09:02:25 PM
Hi

Is it possible to put 2 anope databases from two different networks together?

greet
Title:
Post by: lonewolf on March 29, 2006, 03:38:36 AM
open anope-1.* src tools and look for the merger

Quote from the readme in that map:


2) Anope Database Merger

    This program tries to merge two standard Anope database sets (ChanServ,
    NickServ, BotServ, and MemoServ).

    To merge two database sets, put them both in the folder where the merger
    is located. The first database set must be named <name>1.db (nick1.db,
    chan1.db, etc); the second database set must be named <name>2.db (nick2.db,
    chan2.db, etc). If you execute the merger now the databases will be merged
    into databases named <name>.db.

        Credits:
    Written by  Florian Schulze  <certus@anope.org>
Title:
Post by: Eberx on March 31, 2006, 07:20:43 AM
Hi There!

I have problem with mysql. I installed Anope 1.6.3_1 with Unreal 3.2.3  was working well. But many times i changed channel topic then 5 minutes later topic will be clear.

How to solve? sorry my english!

[Edited on 31-3-2006 by Eberx]
Title:
Post by: lonewolf on April 02, 2006, 08:14:24 PM
Why do you think the problem is mysql?

What does the log says?

Is there a connection to the mysql database?

Are all the tables created?
Title:
Post by: Eberx on April 04, 2006, 01:27:52 AM
1. Before I was changing db to mysql then some people register his nickname. tomorrow they are ask me why did you drop my nickname? Then I have only oper.


2. services.log.20060403

Code: [Select]
Apr 03 23:16:24 2006] Anope 1.6.3 (427) (compiled for UnrealIRCd 3.1.1+) starting up
[Apr 03 23:16:24 2006] MySQL has been enabled.
[Apr 03 23:16:24 2006] MySQL client version 4.1.15.
[Apr 03 23:16:24 2006] Proxy detector initialized
[Apr 03 23:16:24 2006] trying to load [hs_moo]
[Apr 03 23:16:24 2006] hs_moo.so: Add Command 'moo' Status: 0
[Apr 03 23:16:24 2006] status: [0]
[Apr 03 23:16:24 2006] trying to load [ircd_defizzer]
[Apr 03 23:16:24 2006] Cannot open "/usr/local/lib/anope/runtime/ircd_defizzer.so"
[Apr 03 23:16:24 2006] status: [6]
[Apr 03 23:16:24 2006] Attempting to load V3 HS Database
[Apr 03 23:16:24 2006] Databases loaded
[Apr 03 23:16:24 2006] Connected to Server 1 (202.72.246.6:6667)
[Apr 03 23:16:24 2006] trying to load [ircd_catserv]
[Apr 03 23:16:24 2006] ircd_catserv.so: loaded, message status [0]
[Apr 03 23:16:24 2006] status: [0]
[Apr 03 23:16:27 2006] LOGUSERS: RooT (bot@202.72.246.6 => irc.wirelesscom.mn) (i robot ^B1^B) connected to the network (irc.wireles
[Apr 03 23:16:27 2006] NickServ: RooT!bot@202.72.246.6 automatically identified for nick RooT
[Apr 03 23:16:27 2006] LOGUSERS: Eberx (eberx2004@10.2.1.26 => 154611A.55BEA127.215E1898.IP) (Tseveendorj) connected to the network
[Apr 03 23:16:27 2006] NickServ: Eberx!eberx2004@10.2.1.26 automatically identified for nick Eberx
[Apr 03 23:18:45 2006] OperServ: Eberx: update



4. Databases

Code: [Select]

mysql> show tables;        
+---------------------+
| Tables_in_anope     |
+---------------------+
| anope_bs_core       |
| anope_cs_access     |
| anope_cs_akicks     |
| anope_cs_badwords   |
| anope_cs_info       |
| anope_cs_levels     |
| anope_hs_core       |
| anope_info          |
| anope_ms_info       |
| anope_ns_access     |
| anope_ns_alias      |
| anope_ns_core       |
| anope_ns_request    |
| anope_os_akills     |
| anope_os_core       |
| anope_os_exceptions |
| anope_os_hcache     |
| anope_os_news       |
| anope_os_sglines    |
| anope_os_sqlines    |
| anope_os_status     |
| anope_os_szlines    |
+---------------------+
22 rows in set (0.00 sec)


[Edited on 4-4-2006 by Eberx]

[Edited on 4-4-2006 by Eberx]