Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Anope is randomly dieing  (Read 8568 times)

0 Members and 1 Guest are viewing this topic.

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Anope is randomly dieing
« on: June 06, 2009, 06:45:11 PM »

I'm on 1.9.0p1. I started it in debug mode and checked the logs just before it died.
I'm on unrealircd 3.2.7
Here are the last 30 lines from the log file.
Quote
[Jun 06 14:08:21.574451 2009] Ignored message from lazyredhead to nickserv@Services.CriticalSecurity.net using command register
[Jun 06 14:08:21.574621 2009] debug: Received: :NeoStats.CriticalSecurity.net PING NeoStats.CriticalSecurity.net :Services.CriticalSecurity.net
[Jun 06 14:08:21.574644 2009] debug: Sent: :Services.CriticalSecurity.net PONG NeoStats.CriticalSecurity.net
[Jun 06 14:08:21.574805 2009] debug: Received: :stats.CriticalSecurity.net PING stats.CriticalSecurity.net :Services.CriticalSecurity.net
[Jun 06 14:08:21.574829 2009] debug: Sent: :Services.CriticalSecurity.net PONG stats.CriticalSecurity.net
[Jun 06 14:08:21.574959 2009] debug: Received: :irc.CriticalSecurity.net ~ !19xSyf #Criticalsecurity :lazyredhead
[Jun 06 14:08:21.574979 2009] findserver(irc.CriticalSecurity.net)
[Jun 06 14:08:21.574993 2009] findserver(irc.CriticalSecurity.net)
[Jun 06 14:08:21.575007 2009] debug: findserver(irc.CriticalSecurity.net) -> 0x8a73a18
[Jun 06 14:08:21.575021 2009] debug: findserver(irc.CriticalSecurity.net) -> 0x8a73a18
[Jun 06 14:08:21.575043 2009] debug: Emitting event "join_channel" (3 args)
[Jun 06 14:08:21.575058 2009] debug: lazyredhead joins #Criticalsecurity
[Jun 06 14:08:21.575075 2009] debug: Found ignore entry (*!*@114.78.42.16) for lazyredhead
[Jun 06 14:08:21.575091 2009] debug: Setting correct user modes for lazyredhead on #Criticalsecurity (current status: 0, giving modes)
[Jun 06 14:08:21.575108 2009] debug: Found ignore entry (*!*@114.78.42.16) for lazyredhead
[Jun 06 14:08:21.575124 2009] debug: Emitting event "join_channel" (3 args)
[Jun 06 14:08:21.575312 2009] debug: Received: :irc.CriticalSecurity.net GLOBOPS :No response from Services.CriticalSecurity.net[127.0.0.1], closing link
[Jun 06 14:08:21.575334 2009] debug: unknown message from server (:irc.CriticalSecurity.net GLOBOPS :No response from Services.CriticalSecurity.net[127.0.0.1], closing link)
[Jun 06 14:08:21.575472 2009] debug: Received: ERROR :Closing Link: Services.CriticalSecurity.net[127.0.0.1] (Ping timeout)
[Jun 06 14:08:21.575493 2009] debug: Closing Link: Services.CriticalSecurity.net[127.0.0.1] (Ping timeout)
[Jun 06 14:08:21.575547 2009] debug: Emitting event "db_saving" (1 args)
[Jun 06 14:08:21.575650 2009] [hs_request] Succesfully saved database
[Jun 06 14:08:21.575667 2009] debug: Saving FFF databases
[Jun 06 14:08:21.576944 2009] debug: Emitting event "db_saving" (1 args)
[Jun 06 14:08:21.576973 2009] debug: Emitting event "shutdown" (1 args)
[Jun 06 14:08:21.576988 2009] Read error from server: Broken pipe (error num: 32)
[Jun 06 14:08:21.577010 2009] debug: Sent: SQUIT Services.CriticalSecurity.net :Read error from server: Broken pipe (error num: 32)
<There was a ton of deleting users/channels here, I decided to edit that out since I think that's irrelevant>
[Jun 06 14:08:22.193026 2009] debug: Cleaning out Module run time directory (/usr/IRC/services/bin/./../data/modules/runtime) - this may take a moment please wait
[Jun 06 14:08:22.193376 2009] debug: Module run time directory has been cleaned out
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Anope is randomly dieing
« Reply #1 on: June 06, 2009, 08:04:14 PM »

This isn't "random", it's dying because the uplink IRCd is disconnecting it for not responding to pings.  Check to see if earlier in the logs it shows receiving a PING from irc.CriticalSecurity.net. (I'm not sure what the token for that is, but look for that too, check Unreal's docs to find out what the PING token is in Unreal.)  Also, make sure that Anope is u:lined, and also make sure it is using a connection class that actually pings the server enough to prevent a ping timeout.
Logged

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Re: Anope is randomly dieing
« Reply #2 on: June 06, 2009, 08:29:19 PM »

This isn't "random", it's dying because the uplink IRCd is disconnecting it for not responding to pings.  Check to see if earlier in the logs it shows receiving a PING from irc.CriticalSecurity.net. (I'm not sure what the token for that is, but look for that too, check Unreal's docs to find out what the PING token is in Unreal.)  Also, make sure that Anope is u:lined, and also make sure it is using a connection class that actually pings the server enough to prevent a ping timeout.
It's getting pinged and respoding to pings fine, before it squits from the network it stops responding. It's u:lined and the connection class is fine.
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Anope is randomly dieing
« Reply #3 on: June 06, 2009, 08:33:09 PM »

Then I'll need to see more of the log, put it on a pastebin.  That small excerpt isn't enough to tell what's causing it.
Logged

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Re: Anope is randomly dieing
« Reply #4 on: June 07, 2009, 06:27:23 AM »

http://pastebin.com/m20b5d66

That's the last 165 lines of the file.
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Anope is randomly dieing
« Reply #5 on: June 07, 2009, 06:54:07 AM »

What encryption module are you using?  I want to see if the issue is with the encrypting or the sending of the passcode.  It may even be that your sendmail (or sendmail-like) isn't doing it's job in a timely matter and causing Anope to freeze up to the point where it can't respond to the pings from the unlink.
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 121
Re: Anope is randomly dieing
« Reply #6 on: June 07, 2009, 07:23:00 AM »

Quote
[Jun 06 14:02:03.495223 2009] NickServ: Nick lazyredhead has been requested
[Jun 06 14:02:03.495253 2009] enc_sha1: hashed from (x) to (x)
[Jun 06 14:08:21.571541 2009] debug: Sent: :NickServ NOTICE lazyredhead :A passcode has been sent to xxx, please type /msg NickServ confirm <passcode> to complete registration

its not an encryption problem. i say its to 100% a sendmail problem.
« Last Edit: June 07, 2009, 07:47:42 AM by Jens Voss »
Logged

Amanda Folson

  • Anope User
  • Offline Offline
  • Posts: 164
  • O_O
    • ZomgIRC
Re: Anope is randomly dieing
« Reply #7 on: June 07, 2009, 07:32:45 AM »

Logged

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Re: Anope is randomly dieing
« Reply #8 on: June 13, 2009, 03:12:32 AM »

Okay, since it's a sendmail problem is there something on my end that's causing it? Or is it something that needs to be fixed in Anope?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Anope is randomly dieing
« Reply #9 on: June 13, 2009, 12:46:39 PM »

Does sending mail from the shell prompt work?

Logged

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Re: Anope is randomly dieing
« Reply #10 on: June 16, 2009, 12:34:31 AM »

Does sending mail from the shell prompt work?
I don't really want to login and check, but anope 1.8 worked fine so I'm assuming it does.

And does it matter if sending mail from the shell prompt works or not? Anope should log something saying that it couldn't send the mail instead of locking up. ;)
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Anope is randomly dieing
« Reply #11 on: June 16, 2009, 12:40:34 AM »

I think you should look at how it does things before you bash on it.  If it's locking up due to sendmail, at the moment there is nothing that can be done.  Anope uses the shell to execute sendmail.  So if sendmail isn't returning control back to Anope, Anope will hang.  I suggest you answer chaz's question, it's more helpful than what you've said.
Logged

ShawnSmith

  • Anope User
  • Offline Offline
  • Posts: 46
Re: Anope is randomly dieing
« Reply #12 on: June 16, 2009, 07:09:01 PM »

I suggest you answer chaz's question
I don't really want to login and check, but anope 1.8 worked fine so I'm assuming it does.
If it worked with 1.8 there's no reason it shouldn't work with 1.9. Nothing has changed on my end.
Logged

Naram Qashat

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 192
    • CBX's Sprite Animations
Re: Anope is randomly dieing
« Reply #13 on: June 16, 2009, 07:13:23 PM »

If you refuse to do as we asked in order to get a better understanding of the situation, then I believe we are unable to continue supporting you.  I'd say figure it out on your own and good luck.  I'm not going to waste my time trying to help someone that refuses said help.
Logged
Pages: [1]   Go Up