Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Read error not being specific  (Read 10535 times)

0 Members and 1 Guest are viewing this topic.

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
Read error not being specific
« on: May 26, 2008, 08:26:28 PM »

Here's the text from my log of the latest attempt to load Anope.  Can someone tell me how I can figure what file is not there?  The log is not very specific.

Quote

[May 26 15:22:45 2008] Loading IRCD Protocol Module: [unreal32]
[May 26 15:22:45 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:45 2008] Loading Encryption Module: [enc_none]
[May 26 15:22:45 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:45 2008] Launching Anope into the background
[May 26 15:22:45 2008] Anope 1.7.21 (1341) (ircd protocol: UnrealIRCd 3.2+) starting up
[May 26 15:22:46 2008] ms_rsend requested unload...
[May 26 15:22:46 2008] debug: trying to load core module [ms_rsend]
[May 26 15:22:46 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 26 15:22:47 2008] Databases loaded
[May 26 15:22:47 2008] Info: Reflecting database records.
[May 26 15:22:47 2008] Connected to Server 1 (carrollscan.myftp.org:6667)
[May 26 15:22:47 2008] trying to load [cs_appendtopic]
[May 26 15:22:47 2008] [cs_appendtopic] Loaded successfully
[May 26 15:22:47 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:47 2008] trying to load [cs_enforce]
[May 26 15:22:47 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:47 2008] trying to load [ns_maxemail]
[May 26 15:22:47 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:47 2008] trying to load [os_info]
[May 26 15:22:47 2008] os_info: Loading configuration directives...
[May 26 15:22:47 2008] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[May 26 15:22:47 2008] os_info: Directive OSInfoDBName loaded (os_info.db)...
[May 26 15:22:47 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:47 2008] trying to load [hs_request]
[May 26 15:22:47 2008] hs_request loaded
[May 26 15:22:47 2008] status:
  • [Module, Okay - No Error]
[May 26 15:22:47 2008] Read error from server: No such file or directory (error num: 2)
[May 26 15:22:47 2008] [cs_appendtopic] Unloaded successfully
[May 26 15:22:47 2008] hs_request un-loaded

[Edited on 26-5-2008 by Blake81]
Logged

katsklaw

  • Guest
(No subject)
« Reply #1 on: May 26, 2008, 08:32:09 PM »

start in debug mode: ./anoperc start -debug
Logged

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #2 on: May 26, 2008, 08:43:29 PM »

OK, I did that and got some extra information, but I still don't know what file it doesn't like.

Quote

[May 26 15:39:31 2008] Read error from server: No such file or directory (error num: 2)
[May 26 15:39:31 2008] debug: Sent: SQUIT services.localhost.net :Read error from server: No such file or directory (error num: 2)
[May 26 15:39:31 2008] debug: firstuser() returning NULL (end of list)
[May 26 15:39:31 2008] debug: Emitting event "shutdown" (1 args)
[May 26 15:39:31 2008] [cs_appendtopic] Unloaded successfully
[May 26 15:39:31 2008] [hs_request] Saving database...
[May 26 15:39:31 2008] [hs_request] Succesfully saved database
[May 26 15:39:31 2008] hs_request un-loaded
[May 26 15:39:31 2008] debug: Cleaning out Module run time directory (\modules/runtime) - this may take a moment please wait
[May 26 15:39:31 2008] debug: Module run time directory has been cleaned out
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #3 on: May 26, 2008, 08:44:27 PM »

ircd not listening on IP/port you told services to connect to...


edit: w00t i was quicker :P

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

katsklaw

  • Guest
(No subject)
« Reply #4 on: May 26, 2008, 08:45:53 PM »

before you ask, the file it's refering to the unix socket, which is actually a file.
Logged

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #5 on: May 26, 2008, 09:01:11 PM »

Anope is being told to connect to  carrollscan.myftp.org 6667 and ircd is listening to the same thing.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #6 on: May 26, 2008, 09:02:56 PM »

never use hosts, always use IPs... avoids lots of trouble.

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

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #7 on: May 26, 2008, 09:14:05 PM »

Ok, I changed the hostname in both places to the IP address and the log file still shows "no such file or directory".
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #8 on: May 26, 2008, 09:24:53 PM »

paste the relevant parts of both configs as well as the output of /stats P in the ircd.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #9 on: May 26, 2008, 09:45:27 PM »

I've apparently just changed something that won't even let the ircd run at all, so I'll get back to you on this.
Logged

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #10 on: May 26, 2008, 10:51:41 PM »

Here's the relevant info from my anope and ircd config files.  Let me know if you need something I haven't included.

ircd
Quote

me
{
   name "74.184.52.145";
   info "Blake's Sublime Designs";
   numeric 1;
};
link 74.184.52.145 {
   username *;
   hostname 74.184.52.145;
   bind-ip *;
   port 6667;
   hub *;
   password-connect "1qazxsw2";
   password-receive "1qazxsw2";
   class servers;
   options {
      autoconnect;
   };
};

class           clients
{
   pingfreq 90;
   maxclients 500;
   sendq 100000;
   recvq 8000;
};

class           servers
{
   pingfreq 90;
   maxclients 10;
   sendq 1000000;
   connfreq 100;
};


allow {
   ip             *@*;
   hostname       *@*;
   class           clients;
   maxperip 5;
};

allow           channel {
   channel "#BlakesDesigns";
};
listen         *:6667;/* Network configuration */
set {
   network-name       "BlakesDesigns";
   default-server       "74.184.52.145";
   services-server    "services.carrollscan.myftp.org";
   stats-server       "stats.carrollscan.myftp.org";
   help-channel       "#help";
   hiddenhost-prefix   "blakesdesigns";
   /* prefix-quit       "no"; */
   /* Cloak keys should be the same at all servers on the network.
    * They are used for generating masked hosts and should be kept secret.
    * The keys should be 3 random strings of 5-100 characters
    * (10-20 chars is just fine) and must consist of lowcase (a-z),
    * upcase (A-Z) and digits (0-9) [see first key example].
    */
   cloak-keys {
      "aLkdmr1sdIdfj39dfjzkKAJD4JFSIs3ksjdjJw2iekhj5sfd098bhuq4309hbqjubv07gdfn";
      "LSJDHg9we2l3jbjsdkfjKAL39d0vpoi0924nwVNDKlanf320JdlfjlvdJfg789Aor4kgnc8Y";
      "kfdjgnve932059uvp3q4Zg8hb4puqgL0hafdJsnfBaidf0983rUejfh43298672hdfbsdkvu";
   };
   /* on-oper host */
   hosts {
      local      "loc.carrollscan.myftp.org";
      global      "global.carrollscan.myftp.org";
      coadmin      "coadmin.carrollscan.myftp.org";
      admin      "admin.carrollscan.myftp.org";
      servicesadmin    "servicesadmin.carrollscan.myftp.org";
      netadmin    "netadmin.carrollscan.myftp.org";
      host-on-oper-up "yes";
   };
};


Anope
Quote

ServerName  "services.carrollscan.myftp.org"
UlineServers "stats.your.network proxy.your.network"
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #11 on: May 26, 2008, 10:56:00 PM »

the remoreserver directive is missing...

and an IP as name of the server isn't required, it s just best when u r dealing with link/link stuff..

and you did name your link the same as your ircd name... you can't have 2 servers with the same name on one net. your link block name doesn't match services anyways.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #12 on: May 26, 2008, 11:24:08 PM »

OK,  I think I've made progress.  Log is showing this:

Quote

[May 26 18:20:21 2008] Loading IRCD Protocol Module: [unreal32]
[May 26 18:20:21 2008] status:
  • [Module, Okay - No Error]
[May 26 18:20:21 2008] Loading Encryption Module: [enc_none]
[May 26 18:20:21 2008] status:
  • [Module, Okay - No Error]
[May 26 18:20:21 2008] Launching Anope into the background
[May 26 18:20:21 2008] Anope 1.7.21 (1341) (ircd protocol: UnrealIRCd 3.2+) starting up
[May 26 18:20:21 2008] ms_rsend requested unload...
[May 26 18:20:21 2008] debug: trying to load core module [ms_rsend]
[May 26 18:20:21 2008] debug: status: [6][Module Error, Error during load time or module returned MOD_STOP]
[May 26 18:20:23 2008] Databases loaded
[May 26 18:20:23 2008] Info: Reflecting database records.
[May 26 18:20:43 2008] FATAL: Can't connect to server: No such file or directory

Is that a problem with one of the modules?  And what is the "remoreserver directive" you were referring to?
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #13 on: May 26, 2008, 11:26:59 PM »

i  meant remoteserver directive :p

and it may be progres... run in debug to know.
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #14 on: May 26, 2008, 11:44:50 PM »

I don't think debug mode showed me any more about the problem.  Still only seeing [May 26 18:38:22 2008] FATAL: Can't connect to server: No such file or directory
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
(No subject)
« Reply #15 on: May 26, 2008, 11:57:15 PM »

still ircd not listening on ip/port services is connecting to...

remoteserver and /stats P
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

katsklaw

  • Guest
(No subject)
« Reply #16 on: May 27, 2008, 08:28:05 AM »

You seriously need to read this: http://forum.anope.org/viewthread.php?tid=1267
Logged

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #17 on: May 27, 2008, 12:42:59 PM »

Thanks.  I've read that and am using it as a guide but still having problems.
Logged

katsklaw

  • Guest
(No subject)
« Reply #18 on: May 27, 2008, 11:37:36 PM »

Quote
Originally posted by Blake81
Thanks.  I've read that and am using it as a guide but still having problems.


That guide is a complete working example, so everything you need to link Unreal to Anope is in that guide.
Logged

Blake81

  • Anope User
  • Offline Offline
  • Posts: 22
(No subject)
« Reply #19 on: May 28, 2008, 01:13:25 AM »

Thanks.  It works now.  I had been using it as a guide.  I'm not sure what I missed before but it works now.
Logged
Pages: [1]   Go Up