Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: anope dies after 5 sec  (Read 6483 times)

0 Members and 1 Guest are viewing this topic.

fraggeln

  • Guest
anope dies after 5 sec
« on: August 26, 2006, 09:26:50 PM »

Hi,
Im trying to start services for the first time.
I see the process running for about 5 sec, then it dies.
I did enable the -debug flag and I noticed this in the logfile.

[Aug 26 22:07:20.823618 2006] debug: Received: ÿ
[Aug 26 22:07:20.823774 2006] debug: unknown message from server (ÿ)
[Aug 26 22:07:20.824079 2006] debug: Emitting event "shutdown" (1 args)

Server is running Unreal 3.2.4, the other servers run ssl, but the link block for anope have the ssl; removed.

Anyone have an idea on this error?

// Fraggeln
Logged

heinz

  • Guest
(No subject)
« Reply #1 on: August 26, 2006, 09:31:11 PM »

Well, it's saying that it's connecting on an SSL enabled port, so i'd re-check that you're using the correct port number in services.conf
Logged

fraggeln

  • Guest
(No subject)
« Reply #2 on: August 26, 2006, 09:36:13 PM »

services.conf says:
RemoteServer    localhost 17000 "*******"

the unrealircd.conf says:
link            anope
{
        username        *;
        hostname        127.0.0.1;  
        bind-ip         *;
        port            17000;
        leaf             *;
        password-connect "****";
        password-receive "****";
        class           servers;
   options {
#   autoconnect;
#   ssl;
#   zip;
         };


Unreal is rehashed after editing the file.

// Fraggeln
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #3 on: August 26, 2006, 09:45:36 PM »

check the listen block for that port in unrealircd.conf make sure it s not sslonly ...

[Edited on 26-8-2006 by Viper]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

fraggeln

  • Guest
(No subject)
« Reply #4 on: August 26, 2006, 09:54:31 PM »

Okay, I found the error on the ssl-thing
the block for the listenport had the ssl-option. (Thanx viper)

now to the next thing.
Now i get this in the log :/



[Aug 26 22:51:17 2006] Server themis is done syncing
[Aug 26 22:51:17 2006] Server psychois done syncing
[Aug 26 22:51:17 2006] Server dos is done syncing
[Aug 26 22:51:17 2006] Server red done syncing
[Aug 26 22:51:17 2006] Server dakis done syncing
[Aug 26 22:51:17 2006] PANIC! buffer = NICK SGP 1 1155809157 eggdrop thanatos hub 1 +iwxz xxxxxx-E95AA30F CgASFA== :SGP
[Aug 26 22:51:17 2006] Services terminating: Bus error

thanatos is the machinename of the server running hub and anope.
SGP is an eggdrop

Any ideas?

// Fraggeln
Logged

katsklaw

  • Guest
(No subject)
« Reply #5 on: August 26, 2006, 09:57:58 PM »

[Aug 26 22:51:17 2006] Services terminating: Bus error <--- system error .. has nothing to do with services. Try rebooting the OS. If you don't have access to do so talk to your system administrator.
Logged

fraggeln

  • Guest
(No subject)
« Reply #6 on: August 26, 2006, 10:16:51 PM »

Quote
Originally posted by katsklaw
[Aug 26 22:51:17 2006] Services terminating: Bus error <--- system error .. has nothing to do with services. Try rebooting the OS. If you don't have access to do so talk to your system administrator.


Im root ;)

but I also found this in the log.
[Aug 26 23:16:14 2006] ms_rsend requested unload...
[Aug 26 23:16:14 2006] debug: trying to load core module [ms_rsend]
[Aug 26 23:16:14 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]

can that has do something with the bus-error?
btw, the server is running on a sparc-cpu, and linux.
maybe thats something in the sparc-architecture that makes this error?


// Fraggeln

[Edited on 26-8-2006 by fraggeln]
Logged

katsklaw

  • Guest
(No subject)
« Reply #7 on: August 26, 2006, 10:20:38 PM »

that just means it can't use that module for one reason of another. but it won't stop services from loading.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #8 on: August 26, 2006, 11:29:23 PM »

you don't happen to have LocalAddress set to 17000 ?

and if it is a system bus error, shouldn't anope be unable to connect to the ircd at all, and thus be unable to start syncing... ?

[Edited on 26-8-2006 by Viper]
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
(No subject)
« Reply #9 on: August 27, 2006, 03:53:27 AM »

I don't think the 2 log snippits are related because there is about 20 minutes difference in the timestamps. Which is a bit longer than 5 seconds.

It's more likely that it's a result of multiple attempts to start services and services making it farther into the start process the first time. Anope unloading ms_rsend is quite trivial as far as services starting. It's just a warning about the module not loading and it continues to startup is all.

As far as not syncing, the bus error could have occured during the sync process.

fraggeln,

start services by doing: ./services -debug -nofork then paste every single line that has the word debug after the timestamp here please.
Logged

fraggeln

  • Guest
(No subject)
« Reply #10 on: August 27, 2006, 11:10:00 AM »

After some massive testing we found the error's

First of all, the listenblock for all server was ssl-enabled.
We added another block for anope only with no ssl/zip.

The problem with bus-error was solved when we recompiled anope with gcc 3.3 istead of gcc 4.1.

// Fraggeln
Logged

katsklaw

  • Guest
(No subject)
« Reply #11 on: August 27, 2006, 12:34:58 PM »

cool, thanks for the feed back on your solution fraggeln. Alot of people just say "thanks it's fixed". which doesn't help the next guy and I'm glad you got it working. :)
Logged
Pages: [1]   Go Up