Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: NickServ GROUP command crashes services in 1.8.0  (Read 3340 times)

0 Members and 1 Guest are viewing this topic.

JM

  • Anope User
  • Offline Offline
  • Posts: 4
NickServ GROUP command crashes services in 1.8.0
« on: April 03, 2009, 08:53:46 PM »

I'm a services admin/root user. I registered a new nick using /msg nickserv register, then tried to group it to my other nick using /msg nickserv group other_nick other_nick_password.

It results in no output in the services log and:
14:42:00 [NETWORK] !hub.mynetwork.com *** LocOps -- Server services.mynetwork.com[127.0.0.1] closed the connection

Comes through as a global notice. Running Unreal 3.2.8 and Anope 1.8.0 "stable."

Any thoughts? Has anyone experienced this?

Thanks.
Logged

JM

  • Anope User
  • Offline Offline
  • Posts: 4
Re: NickServ GROUP command crashes services in 1.8.0
« Reply #1 on: April 03, 2009, 09:08:28 PM »

I ran anope through GDB and got this output:
[Apr 03 15:04:53.590067 2009] debug: Received: :newnick PRIVMSG nickserv :group groupname grouppass
[Apr 03 15:04:53.590177 2009] enc_sha1: hashed from [password] to [hash]
/path/to/services/services: symbol lookup error: /path/to/services/modules/runtime/ns_group.so.Tgn4yL: undefined symbol: rdb_open

Program exited with code 0177.
(gdb) bt
No stack.
Logged

JM

  • Anope User
  • Offline Offline
  • Posts: 4
Re: NickServ GROUP command crashes services in 1.8.0
« Reply #2 on: April 03, 2009, 09:16:56 PM »

I fixed the issue based on that gdb output. I removed the following lines of code from src/core/ns_group.c

#ifdef USE_RDB
            /* Is this really needed? Since this is a new alias it will get
             * its unique id on the next update, since it was previously
             * deleted by delnick. Must observe...
             */
            if (rdb_open()) {
                rdb_save_ns_alias(na);
                rdb_close();
            }
#endif


I hope this helps if anyone else is having this issue.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: NickServ GROUP command crashes services in 1.8.0
« Reply #3 on: April 03, 2009, 09:22:49 PM »

this looked like a ns_group module that was compiled for use of mysql being using in an anope compiled without mysql... a make distclean should have fixed it..

noone else has ever had this problem so it s most likely this is something related to your system or setup.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

JM

  • Anope User
  • Offline Offline
  • Posts: 4
Re: NickServ GROUP command crashes services in 1.8.0
« Reply #4 on: April 03, 2009, 09:39:11 PM »

this looked like a ns_group module that was compiled for use of mysql being using in an anope compiled without mysql... a make distclean should have fixed it..

noone else has ever had this problem so it s most likely this is something related to your system or setup.

Anope was configured without MySQL, directly from a downloaded "vanilla" source tarball (i.e. I didn't compile it, then re-configure it, then re-compile it without cleaning or anything like that). I had a simliar problem with it trying to use MySQL when using the operserv OLINE command that I ended up having to remove code with as well. I'll look into the configuration to make sure nothing MySQL was selected, but I'm more than sure that it wasn't.

Thanks for your input.
Logged
Pages: [1]   Go Up