Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Error when starting services.  (Read 7280 times)

0 Members and 1 Guest are viewing this topic.

Manuel Garcia

  • Anope User
  • Offline Offline
  • Posts: 4
Error when starting services.
« on: January 08, 2010, 10:00:24 PM »

Hi, this is my first post here.

I've configured Anope 1.91 to run with unreal32, but when i try to start the service with ./service or with ./services -debug -nofork it doesn't do a thing, and when i see the log (Or the debug in the console) it shows at the last lines:

[Jan 08 18:39:10.132833 2010] End config
[Jan 08 18:39:10.132863 2010] Done reading configuration file.
[Jan 08 18:39:10.133130 2010] Every UserKey must be different. It's for YOUR safety! Remember that!
[Jan 08 18:39:10.133154 2010] Loading IRCD Protocol Module: [unreal32]
[Jan 08 18:39:10.133179 2010] trying to load [unreal32]

And nothing else.

What could it be?
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 307
    • LEthaLity
Re: Error when starting services.
« Reply #1 on: January 08, 2010, 10:37:39 PM »

I cant replicate this result, is it a fresh install or upgrade? is the protocol module (unreal32.so) in /services/data/modules ?
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Error when starting services.
« Reply #2 on: January 08, 2010, 10:41:40 PM »

I would also recommend trying to load Anope through gdb to see if it's crashing.  Sometimes the crash won't be seen outside of GDB.
Logged

Manuel Garcia

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Error when starting services.
« Reply #3 on: January 09, 2010, 03:05:46 PM »

I cant replicate this result, is it a fresh install or upgrade? is the protocol module (unreal32.so) in /services/data/modules ?
Fresh install, both unreal and anope.

The protocol is in /modules/

For Naram:

How can i do that?
Logged

lavinpj1

  • Guest
Re: Error when starting services.
« Reply #4 on: January 09, 2010, 03:09:16 PM »

Ensure gdb is installed on the machine and, inside the service's bin directory, type: gdb services

You should get taken to a (gdb) prompt. Type r and hit enter. See what the output says.

Phil
Logged

Manuel Garcia

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Error when starting services.
« Reply #5 on: January 09, 2010, 04:22:32 PM »

This is the output of the gdb when r and enter:

Starting program: /Users/manu/services/bin/services
Reading symbols for shared libraries +++. done

Program exited with code 0377.
Logged

Manuel Garcia

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Error when starting services.
« Reply #6 on: January 09, 2010, 05:31:21 PM »

I fixed it!!!!!!!!!!!!!!!!!!!!

The problem was that for any reason, the "services" folder was read-only, so when i tried to load ANY protocol it stopped; the solution was to run the services in sudo mode and then voilâ! :D

Services running perfect in my server!!! Thanks to all for your help ;).
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Error when starting services.
« Reply #7 on: January 10, 2010, 08:33:05 AM »

Err... I wouldn't recommend that since it's using root.  If anything, you should save your DBs and config somewhere (assuming they are not owned by root, if they are, you'll have to make them owned by another user) and then remove the installed directory and reinstall as a normal user.
Logged
Pages: [1]   Go Up