Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Read errors, Module errors  (Read 6348 times)

0 Members and 1 Guest are viewing this topic.

elmo21737

  • Guest
Read errors, Module errors
« on: December 12, 2006, 10:51:26 PM »

hi, when ever i start anope a command prompt box opens then closes, so i went to the service logs and i found these errors:

Code: [Select]

[Dec 13 08:24:42 2006] Loading IRCD Protocol Module: [unreal32]
[Dec 13 08:24:42 2006] status: [0][Module, Okay - No Error]
[Dec 13 08:24:42 2006] Launching Anope into the background
[Dec 13 08:24:42 2006] Anope 1.7.17 (1182) (ircd protocol: UnrealIRCd 3.2+) starting up
[Dec 13 08:24:43 2006] ms_rsend requested unload...
[Dec 13 08:24:43 2006] debug: trying to load core module [ms_rsend]
[Dec 13 08:24:43 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 13 08:24:44 2006] Databases loaded


and:

Code: [Select]

[Dec 13 08:24:45 2006] hs_request loaded
[Dec 13 08:24:45 2006] status: [0][Module, Okay - No Error]
[Dec 13 08:24:45 2006] Read error from server: No such file or directory (error num: 2)
[Dec 13 08:24:45 2006] [cs_appendtopic] Unloaded successfully
[Dec 13 08:24:45 2006] hs_request un-loaded


any help would be appreciated, Thanks in advance!
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: December 12, 2006, 11:17:25 PM »

These 2 pastes are supposed to be together .. it's part of the start up process.

Quote

[Dec 13 08:24:45 2006] Read error from server: No such file or directory (error num: 2)


This says your ircd is not listening on the IP and port you specified in RemoteServer. Check your listen blocks to insure you have one on the IP you specified. The listen block in question should not have options in it like clientsonly; or ssl;
Logged

elmo21737

  • Guest
(No subject)
« Reply #2 on: December 13, 2006, 01:56:37 AM »

i checked the listen block, and RemoteServer they seem to match up, the ports have been opened, perhaps it will help if i post the RemoteServer and Listen Blocks:

RemoteServer:
Code: [Select]

RemoteServer    127.0.0.1 6667 "password"
#RemoteServer2  192.168.1.5 6667 "mypass"
#RemoteServer3  localhost 6667 "mypass"


Listen:
Code: [Select]

listen         *:6697;
listen         *:8067;
listen         *:6667;
listen         *:6666;
listen         *:6667;
Logged

owine

  • Anope User
  • Offline Offline
  • Posts: 130
(No subject)
« Reply #3 on: December 13, 2006, 03:21:25 AM »

how about your link block in unrealircd.conf
Logged

katsklaw

  • Guest
(No subject)
« Reply #4 on: December 13, 2006, 03:39:45 AM »

try specifying the IP in the listen block.

listen       127.0.0.1:6667;
Logged

elmo21737

  • Guest
(No subject)
« Reply #5 on: December 13, 2006, 06:39:55 AM »

i specified IP and it still didnt work.

Link Block:
Code: [Select]

link services.149.167.145.190
{
 username *;
 hostname 127.0.0.1;
 port *;
 bind-ip 127.0.0.1;
 password-connect "password";
 password-receive "password";
 class servers;
};


Ulines:
Code: [Select]

ulines {
 services.149.167.145.190;
};


im running Xp SP2 buy the way

[Edited on 13-12-2006 by elmo21737]

[Edited on 13-12-2006 by elmo21737]
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #6 on: December 13, 2006, 08:22:21 AM »

you need to specify a port in your link block. * doesnt really specify one so it could be using any.

katsklaw

  • Guest
(No subject)
« Reply #7 on: December 13, 2006, 02:28:24 PM »

Since you pasted your link block and ulines block .. now we will need the ServerName directive from Services.conf pasted as wel
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #8 on: December 13, 2006, 03:58:44 PM »

Quote
Originally posted by Tom65789
you need to specify a port in your link block. * doesnt really specify one so it could be using any.


You dont actually need to specify the port, but it is handy. As far as i am aware the port param's main function is for outgoing connections.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

katsklaw

  • Guest
(No subject)
« Reply #9 on: December 13, 2006, 04:39:53 PM »

Jobe, technically you don't have to specify the IP in the listen block either .. but the less ambiguous your conf file is the better. Sometimes *:6667; or port *; just doesn't work.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #10 on: December 13, 2006, 05:13:53 PM »

Quote
Originally posted by katsklaw
Jobe, technically you don't have to specify the IP in the listen block either .. but the less ambiguous your conf file is the better. Sometimes *:6667; or port *; just doesn't work.


Yes this is true. :)
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

elmo21737

  • Guest
(No subject)
« Reply #11 on: December 13, 2006, 09:11:44 PM »

i have specified the port, and it still wont connect, is this because I'm not rehashing, because when ever i type rehash, the client says i do not have the privileges, so i just restart the service instead.

ServerName:
Code: [Select]

ServerName  "services.149.167.145.190"
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #12 on: December 13, 2006, 11:05:39 PM »

To be able to /rehash you need to have first /oper'ed and must also have the correct oper flag to rehash.

Or you can use the command line to rehash using "unreal.exe rehash" for windows or "./unreal rehash" for *nix from within the Unreal3.2 directory.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

elmo21737

  • Guest
(No subject)
« Reply #13 on: December 14, 2006, 01:03:29 AM »

oh ok, well ill try doing that and see if that works :)

EDIT:

It didnt seem to work

[Edited on 14-12-2006 by elmo21737]
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #14 on: December 14, 2006, 01:17:43 PM »

what does the error logs say? Still Read error from server: No such file or directory  ?
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

elmo21737

  • Guest
(No subject)
« Reply #15 on: December 15, 2006, 12:59:19 AM »

yea it still does say Read Error from server: No file or directory.

Here is the full log:
Quote

[Dec 15 10:57:01 2006] Every UserKey must be different. It's for YOUR safety! Remember that!
[Dec 15 10:57:01 2006] Loading IRCD Protocol Module: [unreal32]
[Dec 15 10:57:01 2006] status:
  • [Module, Okay - No Error]
  • [Dec 15 10:57:01 2006] Launching Anope into the background
    [Dec 15 10:57:01 2006] Anope 1.7.17 (1182) (ircd protocol: UnrealIRCd 3.2+) starting up
    [Dec 15 10:57:04 2006] ms_rsend requested unload...
    [Dec 15 10:57:04 2006] debug: trying to load core module
[ms_rsend]
[Dec 15 10:57:04 2006] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[Dec 15 10:57:08 2006] Databases loaded
[Dec 15 10:57:08 2006] Info: Reflecting database records.
[Dec 15 10:57:08 2006] Connected to Server 1 (127.0.0.1:6667)
[Dec 15 10:57:09 2006] trying to load [cs_appendtopic]
[Dec 15 10:57:09 2006] [cs_appendtopic] Loaded successfully
[Dec 15 10:57:09 2006] status:
  • [Module, Okay - No Error]
  • [Dec 15 10:57:09 2006] trying to load
[cs_enforce]
[Dec 15 10:57:10 2006] status:
  • [Module, Okay - No Error]
  • [Dec 15 10:57:10 2006] trying to load
[ns_maxemail]
[Dec 15 10:57:10 2006] status:
  • [Module, Okay - No Error]
  • [Dec 15 10:57:10 2006] trying to load
[os_info]
[Dec 15 10:57:10 2006] os_info: Loading configuration directives...
[Dec 15 10:57:10 2006] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Dec 15 10:57:10 2006] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Dec 15 10:57:10 2006] status:
  • [Module, Okay - No Error]
  • [Dec 15 10:57:10 2006] trying to load
[hs_request]
[Dec 15 10:57:10 2006] hs_request loaded
[Dec 15 10:57:10 2006] status:
  • [Module, Okay - No Error]
  • [Dec 15 10:57:10 2006] Read error from server: No such file or directory (error num: 2)
    [Dec 15 10:57:10 2006]
[cs_appendtopic] Unloaded successfully
[Dec 15 10:57:10 2006] hs_request un-loaded
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #16 on: December 15, 2006, 03:46:42 PM »

Quote
Originally posted by elmo21737
[Dec 15 10:57:01 2006] Every UserKey must be different. It's for YOUR safety! Remember that!


Firstly, change your UserKeys to 7 random numbers from your services.conf

Next, can you please once-more paste again your unrealircd link blocks or the whole configuration file and also services.conf ;)
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

elmo21737

  • Guest
(No subject)
« Reply #17 on: December 16, 2006, 10:17:16 PM »

ok..

Link:

Code: [Select]


}
 link services.149.167.145.190
{
 username *;
 hostname 127.0.0.1;
 port 6667;
 bind-ip 127.0.0.1;
 password-connect "thisismypass";
 password-receive "thisismypass";
 class servers;
};

[Edited on 17-12-2006 by elmo21737]
Logged
Pages: [1]   Go Up