Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: anope 1.7.22 can't run  (Read 4412 times)

0 Members and 1 Guest are viewing this topic.

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
anope 1.7.22 can't run
« on: September 24, 2008, 12:37:48 AM »

yes I've searched, but couldn't find anything helpful. seems to run, but doesn't.
I don't know what the error load time/module returned errors mean or how to fix them
here's the log I get when running with -nofork

Sep 23 19:35:40 2008] Anope 1.7.22 (1440) (ircd protocol: inspircdIRCd 1.1) starting up
[Sep 23 19:35:40 2008] ns_sendpass requested unload...
[Sep 23 19:35:40 2008] debug: trying to load core module [ns_sendpass]
[Sep 23 19:35:40 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 19:35:40 2008] cs_sendpass requested unload...
[Sep 23 19:35:40 2008] debug: trying to load core module [cs_sendpass]
[Sep 23 19:35:40 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 19:35:40 2008] ms_rsend requested unload...
[Sep 23 19:35:40 2008] debug: trying to load core module [ms_rsend]
[Sep 23 19:35:40 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 19:35:40 2008] os_umode requested unload...
[Sep 23 19:35:40 2008] debug: trying to load core module [os_umode]
[Sep 23 19:35:40 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 19:35:40 2008] Databases loaded
[Sep 23 19:35:40 2008] Info: Reflecting database records.
[Sep 23 19:35:40 2008] Connected to Server 1 (localhost:6667)
[Sep 23 19:35:40 2008] trying to load [cs_appendtopic]
[Sep 23 19:35:40 2008] [cs_appendtopic] Loaded successfully
[Sep 23 19:35:40 2008] status:
  • [Module, Okay - No Error]
[Sep 23 19:35:40 2008] trying to load [cs_enforce]
[Sep 23 19:35:40 2008] status:
  • [Module, Okay - No Error]
[Sep 23 19:35:40 2008] trying to load [ns_maxemail]
[Sep 23 19:35:40 2008] status:
  • [Module, Okay - No Error]
[Sep 23 19:35:40 2008] trying to load [os_info]
[Sep 23 19:35:40 2008] os_info: Loading configuration directives...
[Sep 23 19:35:40 2008] os_info: Directive OSInfoDBName loaded (/var/lib/anope/os_info.db)...
[Sep 23 19:35:40 2008] status:
  • [Module, Okay - No Error]
[Sep 23 19:35:40 2008] trying to load [hs_request]
[Sep 23 19:35:40 2008] hs_request loaded
[Sep 23 19:35:40 2008] status:
  • [Module, Okay - No Error]
[Sep 23 19:35:40 2008] Read error from server: Success (error num: 0)
[Sep 23 19:35:40 2008] [cs_appendtopic] Unloaded successfully
[Sep 23 19:35:40 2008] hs_request un-loaded

and I just removed gnutls transport, and get the same messages, anope doesn't actually run
seeing some of this:
Every UserKey must be different. It's for YOUR safety! Remember that!
[Sep 23 19:49:01 2008] Loading IRCD Protocol Module: [inspircd11]
[Sep 23 19:49:01 2008] status: [11][�l]


which I have no idea what it means or if its even important
« Last Edit: September 24, 2008, 12:59:21 AM by transnet »
Logged

katsklaw

  • Guest
Re: anope 1.7.22 can't run
« Reply #1 on: September 24, 2008, 01:56:53 AM »

reinstall Anope as a normal NONROOT user and try again.

Step #1 of the install instructions state:

1) Installing Anope

    IMPORTANT NOTE: it is not recommended to use (and therefore install)
                    Anope as root. Use an unprivileged user instead
-- the
                    one you're using for the ircd or a dedicated one will
                    be good enough.


Please follow ALL instructions, they are there for a reason other than our health.
Logged

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
Re: anope 1.7.22 can't run
« Reply #2 on: September 24, 2008, 02:13:57 AM »

I installed anope from RPM so your suggestion doesn't seem to apply (?!)

but I'll retry as a normal user and see what happens
Logged

katsklaw

  • Guest
Re: anope 1.7.22 can't run
« Reply #3 on: September 24, 2008, 02:29:33 AM »

Anope is not officially release in RPM format, so you have received it from an unofficial source. The only official place to get Anope is at: http://sourceforge.net/projects/anope/

Anope is only released in tar.gz or .exe format.
Logged

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
Re: anope 1.7.22 can't run
« Reply #4 on: September 24, 2008, 02:41:42 AM »

ok, now it's running, but it's not actually connected (!?)
*AND* it automatically unloads after about 1-2 minutes, log as follows:

[Sep 23 21:43:36 2008] Every UserKey must be different. It's for YOUR safety! Remember that!
[Sep 23 21:43:36 2008] Loading IRCD Protocol Module: [inspircd11]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] Loading Encryption Module: [enc_none]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] Anope 1.7.22 (1440) (ircd protocol: inspircdIRCd 1.1) starting up
[Sep 23 21:43:36 2008] ns_sendpass requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [ns_sendpass]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] cs_sendpass requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [cs_sendpass]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] ms_rsend requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [ms_rsend]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] os_umode requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [os_umode]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] Databases loaded
[Sep 23 21:43:36 2008] Info: Reflecting database records.
[Sep 23 21:43:36 2008] Connected to Server 1 (localhost:6667)
[Sep 23 21:43:36 2008] trying to load [cs_appendtopic]
[Sep 23 21:43:36 2008] [cs_appendtopic] Loaded successfully
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [cs_enforce]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [ns_maxemail]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [os_info]
[Sep 23 21:43:36 2008] os_info: Loading configuration directives...
[Sep 23 21:43:36 2008] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Sep 23 21:43:36 2008] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [hs_request]
[Sep 23 21:43:36 2008] hs_request loaded
« Last Edit: September 24, 2008, 02:48:22 AM by transnet »
Logged

katsklaw

  • Guest
Re: anope 1.7.22 can't run
« Reply #5 on: September 24, 2008, 02:46:07 AM »

that's not the entire message. view your logs for everything.
Logged

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
Re: anope 1.7.22 can't run
« Reply #6 on: September 24, 2008, 02:49:35 AM »

Yes it is the ENTIRE logs, see for yourself,
and , it still unloads after 1-2 minutes

cat services.log.20080923
[Sep 23 21:43:36 2008] Every UserKey must be different. It's for YOUR safety! Remember that!
[Sep 23 21:43:36 2008] Loading IRCD Protocol Module: [inspircd11]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] Loading Encryption Module: [enc_none]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] Anope 1.7.22 (1440) (ircd protocol: inspircdIRCd 1.1) starting up
[Sep 23 21:43:36 2008] ns_sendpass requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [ns_sendpass]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] cs_sendpass requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [cs_sendpass]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] ms_rsend requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [ms_rsend]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] os_umode requested unload...
[Sep 23 21:43:36 2008] debug: trying to load core module [os_umode]
[Sep 23 21:43:36 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Sep 23 21:43:36 2008] Databases loaded
[Sep 23 21:43:36 2008] Info: Reflecting database records.
[Sep 23 21:43:36 2008] Connected to Server 1 (localhost:6667)
[Sep 23 21:43:36 2008] trying to load [cs_appendtopic]
[Sep 23 21:43:36 2008] [cs_appendtopic] Loaded successfully
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [cs_enforce]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [ns_maxemail]
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [os_info]
[Sep 23 21:43:36 2008] os_info: Loading configuration directives...
[Sep 23 21:43:36 2008] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Sep 23 21:43:36 2008] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:43:36 2008] trying to load [hs_request]
[Sep 23 21:43:36 2008] hs_request loaded
[Sep 23 21:43:36 2008] status:
  • [Module, Okay - No Error]
[Sep 23 21:44:37 2008] Read error from server: Success (error num: 0)
[Sep 23 21:44:37 2008] [cs_appendtopic] Unloaded successfully
[Sep 23 21:44:37 2008] hs_request un-loaded
planetirc@mail:~/services/logs>
Logged

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
Re: anope 1.7.22 can't run
« Reply #7 on: September 24, 2008, 03:17:55 AM »

note:

I thought I had everything set right, anope runs, but it doesnt actually connect.
I see nothing in inspircd logs either, except this:

Tue Sep 23 21:32:11 2008: Excess flood from: unknown@0::ffff:127.0.0.1
Tue Sep 23 21:33:01 2008: Excess flood from: unknown@0::ffff:127.0.0.1

which isn't very helpful

and I'm kind of unclear whether I should have a U line for services or not ?
inspircd config section:

<link name="services.myserver.com"
ipaddr="localhost"
port="7000"
allowmask="127.0.0.0/8"
sendpass="penguins"
recvpass="penguins">

when I try anope 1.7.22 services to connect to port 7000 I get:
Read error from server: Broken pipe (error num: 32)
in my anope services logs
specifying port 6667 at least anope will run for a while, but only 1-2 minutes, and it never actually connects.
anope specification:
RemoteServer localhost 6667 "penguins"
LocalAddress localhost

although, removing LocalAddress has no effect
Logged

Master

  • Anope User
  • Offline Offline
  • Posts: 56
Re: anope 1.7.22 can't run
« Reply #8 on: September 24, 2008, 04:23:12 AM »

You need to name the link block the same as you specified ServerName in anope.conf, otherwise it won't work.
Logged
Always believe Murphy's Law. If you don't, watch what happens.

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
Re: anope 1.7.22 can't run
« Reply #9 on: September 24, 2008, 02:02:09 PM »

Yes, it is the same.

someone mentioned my inspircd link type was "client" and it shouldn't be, but I don't know how to change that.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: anope 1.7.22 can't run
« Reply #10 on: September 24, 2008, 03:13:44 PM »

that s your IRCD issue really....
for inspircd:  http://inspircd.org/wiki/Linking_To_Other_Servers

you can also run anope in debug to get more details and see what it s doing: ./services -debug -nofork

as for the log you pasted the first time, it wasn't complete:
Quote
[Sep 23 21:44:37 2008] Read error from server: Success (error num: 0)
[Sep 23 21:44:37 2008] [cs_appendtopic] Unloaded successfully
[Sep 23 21:44:37 2008] hs_request un-loaded
is added in the second one your pasted  :P
anope just shuts itself down if it fails to connect to the IRCd.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

transnet

  • Anope User
  • Offline Offline
  • Posts: 8
Re: anope 1.7.22 can't run
« Reply #11 on: September 24, 2008, 05:37:53 PM »

that wiki link is useless, it's about connecting two irc servers, not one server and services.
services itself isn't a server.

this was sooo much easier with ultimateirc, if I could get it working...
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: anope 1.7.22 can't run
« Reply #12 on: September 24, 2008, 07:00:15 PM »

that wiki link is useless, it's about connecting two irc servers, not one server and services.
services itself isn't a server.

this was sooo much easier with ultimateirc, if I could get it working...
i suggest you learn the IRC basics before attempting to continue...
Serivces, in this case Anope is and connects as a server to a network.

yes inspircd is hard to configure, that s not our fault/problem though, it s you who have to weigh the advantages of one ircd against its disadvantages for what you want to do with it.
and while i too did like ultimate for a while, development on it stalled.

and jfyi the link is not useless.. you didn't even bother reading the first header on it.
Quote
Linking InspIRCd Servers And Services Servers Together
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)
Pages: [1]   Go Up