Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: db_sql_live module can not be loaded  (Read 4836 times)

0 Members and 1 Guest are viewing this topic.

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
db_sql_live module can not be loaded
« on: September 04, 2013, 10:52:26 AM »

Hey guys,

when I'm trying to load the db_sql_live module from the git build from yesterday, I only get the error "Unable to load module...".

I did an strace while executing the command on the already running services instance and got this output:
Code: [Select]
gettimeofday({1378287597, 188726}, NULL) = 0
epoll_wait(3, {{EPOLLIN, {u32=12, u64=12}}}, 8, 5000) = 1
gettimeofday({1378287599, 529619}, NULL) = 0
recvfrom(12, ":126AAANRB PRIVMSG 00AAAAAAG :mo"..., 65534, 0, NULL, NULL) = 50
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
gettimeofday({1378287599, 529774}, NULL) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
gettimeofday({1378287599, 529824}, NULL) = 0
write(4, "[Sep 04 11:39:59.529824 2013] Re"..., 90) = 90
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
gettimeofday({1378287599, 530129}, NULL) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
gettimeofday({1378287599, 530179}, NULL) = 0
write(4, "[Sep 04 11:39:59.530179 2013] Tr"..., 65) = 65
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
stat("locale/ca_ES/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/de_DE/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/el_GR/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/es_ES/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/fr_FR/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/hu_HU/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/it_IT/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/nl_NL/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/pl_PL/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/pt_PT/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/ru_RU/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
stat("locale/tr_TR/LC_MESSAGES/db_sql_live.mo", 0x7fff78254710) = -1 ENOENT (No such file or directory)
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 13
fcntl(13, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(13, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
epoll_ctl(3, EPOLL_CTL_ADD, 13, {EPOLLIN, {u32=13, u64=13}}) = 0
pipe([16, 17])                          = 0
fcntl(16, F_GETFL)                      = 0 (flags O_RDONLY)
fcntl(16, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(17, F_GETFL)                      = 0x1 (flags O_WRONLY)
fcntl(17, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
epoll_ctl(3, EPOLL_CTL_DEL, 13, {0, {u32=13, u64=13}}) = 0
close(13)                               = 0
epoll_ctl(3, EPOLL_CTL_ADD, 16, {EPOLLIN, {u32=16, u64=16}}) = 0
close(17)                               = 0
epoll_ctl(3, EPOLL_CTL_DEL, 16, {0, {u32=16, u64=16}}) = 0
close(16)                               = 0
getcwd("/home/services/services", 4098) = 24
getcwd("/home/services/services", 4098) = 24
getcwd("/home/services/services", 4098) = 24
epoll_ctl(3, EPOLL_CTL_MOD, 12, {EPOLLIN|EPOLLOUT, {u32=12, u64=12}}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
gettimeofday({1378287599, 531388}, NULL) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
gettimeofday({1378287599, 531437}, NULL) = 0
write(4, "[Sep 04 11:39:59.531437 2013] Se"..., 102) = 102
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
epoll_wait(3, {{EPOLLOUT, {u32=12, u64=12}}}, 8, 5000) = 1
gettimeofday({1378287599, 531671}, NULL) = 0
sendto(12, ":00AAAAAAG NOTICE 126AAANRB :Una"..., 67, 0, NULL, 0) = 67
epoll_ctl(3, EPOLL_CTL_MOD, 12, {EPOLLIN, {u32=12, u64=12}}) = 0
It doesn't make a difference if I load all additional languages or none of them.

For me it seems, there's something wrong on the code of the module. Maybe you can have a look into this. :)
« Last Edit: September 04, 2013, 10:55:00 AM by Armadillo »
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: db_sql_live module can not be loaded
« Reply #1 on: September 05, 2013, 08:00:29 AM »

Is m_mysql loaded and configured?
Enable debug mode, try to load db_sql_live, check for error messages in the debug log (start anope with bin/services -nofork -debug)
if you dont see any errors please pastebin the debug log from the startup so we can see what is wrong.
Logged

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
Re: db_sql_live module can not be loaded
« Reply #2 on: September 09, 2013, 12:07:05 PM »

Yes, m_mysql is loaded and as you can see in the log, it connects successfully to the database:
https://pastebin.anope.org/index.php?page=viewpaste&id=d6f7d74cca

This is the debug log of the manual modload try:
https://pastebin.anope.org/index.php?page=viewpaste&id=9e7124828b
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
Re: db_sql_live module can not be loaded
« Reply #3 on: October 08, 2013, 04:34:31 PM »

Any news on this?

Am I the only one with this problem?
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0

Armadillo

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 72
    • http://www.penguinfriends.org
Re: db_sql_live module can not be loaded
« Reply #4 on: October 23, 2013, 08:41:52 AM »

solved by official 1.9.9 release.
Logged
IRC-Network: irc.PenguinFriends.org | Website: www.PenguinFriends.org
Anope: 1.9.9 | InspIRCd: 2.0
Pages: [1]   Go Up