Anope Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001520Anope Development (1.9.x series)Otherpublic2013-05-09 18:192013-05-10 01:58
ReporterZacK 
Assigned ToAdam 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolution@100@ 
PlatformLinuxOSDebianOS Version7.0
Product Version 
Target VersionFixed in Version 
Summary0001520: SQL doesn't work
DescriptionI have upgraded to latest GIT version and now Anope doesn't save nothing in the MySQL database. I have rewritted my config files but it doesn't work.

Database section of my services.conf: http://pastebin.com/ZA7XL55F [^]
MySQL section of my modules.conf: http://pastebin.com/0nrJ3zDS [^]

I used debug mode and nothing is showed in the log files:
[May 09 19:04:05.267528 2013] Received: :127 PING 127 63D
[May 09 19:04:06.454788 2013] Sent: :63D PONG 63D 127
[May 09 19:05:05.373323 2013] Received: :127 PING 127 63D
[May 09 19:05:05.373404 2013] Sent: :63D PONG 63D 127
[May 09 19:06:05.409365 2013] Received: :127 PING 127 63D
[May 09 19:06:05.409432 2013] Sent: :63D PONG 63D 127
[May 09 19:06:05.460986 2013] bs_main: Running bandata purger
[May 09 19:06:05.570934 2013] Saving databases

I even tried to change user and password in modules.conf and to reload db_sql module, and no conection errors are showed in the log files:

[May 09 14:54:14.421426 2013] Unloading module db_sql
[May 09 14:54:14.421500 2013] Trying to load module: db_sql
[May 09 14:54:14.421684 2013] Module db_sql loaded.
[May 09 14:54:14.421729 2013] Sent: :63DAAAAAG PRIVMSG #services :ADMIN: ZacK!zack@zack.dontexist.net used modreload to reload module db_sql
[May 09 14:54:14.421745 2013] ADMIN: ZacK!zack@zack.dontexist.net used modreload to reload module db_sql
[May 09 14:54:14.421828 2013] Sent: :63DAAAAAG NOTICE 127AAAAAE :Module db_sql reloaded.
[May 09 14:54:29.371803 2013] Received: :127AAAAAE PRIVMSG 63DAAAAAG :update
[May 09 14:54:29.372027 2013] Sent: :63DAAAAAG NOTICE 127AAAAAE :Updating databases.
[May 09 14:54:29.372049 2013] Saving databases

I also tried to create a new database but nothing is stored in it; when I restart services no nicks/chans are registered
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006448)
Adam (administrator)
2013-05-10 01:58

You must copy or symlink them out of extras/
(0006447)
ZacK (reporter)
2013-05-10 01:22
edited on: 2013-05-10 01:23

Here is the problem, I guess:

[May 10 01:10:25.906346 2013] Debug: Trying to load module: m_mysql
[May 10 01:10:25.906413 2013] Debug: lib/modules/m_mysql.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.906476 2013] Debug: Trying to load module: m_proxyscan
[May 10 01:10:25.906532 2013] Debug: lib/modules/m_proxyscan.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.906581 2013] Debug: Trying to load module: m_regex_pcre
[May 10 01:10:25.906635 2013] Debug: lib/modules/m_regex_pcre.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.906702 2013] Debug: Trying to load module: m_regex_posix
[May 10 01:10:25.906757 2013] Debug: lib/modules/m_regex_posix.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.906804 2013] Debug: Trying to load module: m_regex_tre
[May 10 01:10:25.906857 2013] Debug: lib/modules/m_regex_tre.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.906903 2013] Debug: Trying to load module: m_rewrite
[May 10 01:10:25.910717 2013] Debug: Module m_rewrite loaded.
[May 10 01:10:25.910786 2013] Debug: Trying to load module: m_ssl
[May 10 01:10:25.910847 2013] Debug: lib/modules/m_ssl.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.910896 2013] Debug: Trying to load module: m_xmlrpc
[May 10 01:10:25.910950 2013] Debug: lib/modules/m_xmlrpc.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.910999 2013] Debug: Trying to load module: m_xmlrpc_main
[May 10 01:10:25.911054 2013] Debug: lib/modules/m_xmlrpc_main.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.911103 2013] Debug: Trying to load module: m_chanstats
[May 10 01:10:25.911156 2013] Debug: lib/modules/m_chanstats.so: cannot open shared object file: No such file or directory
[May 10 01:10:25.911205 2013] Debug: Trying to load module: cs_fantasy_stats
[May 10 01:10:25.911664 2013] Debug: Module cs_fantasy_stats loaded.
[May 10 01:10:25.911745 2013] Debug: Trying to load module: cs_fantasy_top
[May 10 01:10:25.912249 2013] Debug: Module cs_fantasy_top loaded.
[May 10 01:10:25.912291 2013] Debug: Using IRCd protocol inspircd20
[May 10 01:10:25.912307 2013] Debug: Loading databases...
[May 10 01:10:25.912325 2013] DB_SQL: Unable to load databases, is SQL configured correctly?
[May 10 01:10:25.912340 2013] Debug: Databases loaded
[May 10 01:10:25.912469 2013] Debug: Attempting to connect to uplink 0000001 **.**.**.** (**.**.**.**), port ****
[May 10 01:10:25.912718 2013] Debug: Successfully connected to uplink 0000001 **.**.**.**:****
[May 10 01:10:25.912765 2013] Debug: Sent: CAPAB START 1202
[May 10 01:10:25.912813 2013] Debug: Sent: CAPAB CAPABILITIES :PROTOCOL=1202
[May 10 01:10:25.912850 2013] Debug: Sent: CAPAB END
[May 10 01:10:25.912893 2013] Debug: Sent: SERVER services.*****.*** ******** 0 63D :Servicios para redes IRC
[May 10 01:10:25.912928 2013] Debug: Sent: :63D BURST
[May 10 01:10:25.912979 2013] Debug: Sent: :63D VERSION :Anope-1.9.9-gremlins-inside (g7426b3b) services.*****.*** :InspIRCd 2.0 - (enc_sha256) -- build 0000013, compiled 14:43:20 May 9 2013, flags G

Those modules are in modules/extra folder in the source. I didn't get errors in the compilation, however they are missing in lib/modules folder. It seems that no modules in extra folder are compiled.

(0006446)
Adam (administrator)
2013-05-10 00:00

Start with -support and pastebin the logs.

- Issue History
Date Modified Username Field Change
2013-05-09 18:19 ZacK New Issue
2013-05-10 00:00 Adam Note Added: 0006446
2013-05-10 01:22 ZacK Note Added: 0006447
2013-05-10 01:23 ZacK Note Edited: 0006447 View Revisions
2013-05-10 01:58 Adam Note Added: 0006448
2013-05-10 01:58 Adam Status new => closed
2013-05-10 01:58 Adam Assigned To => Adam
2013-05-10 01:58 Adam Resolution open => @100@


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker