Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: (error num: 2)  (Read 4532 times)

0 Members and 1 Guest are viewing this topic.

JMesser

  • Guest
(error num: 2)
« on: December 10, 2007, 12:36:58 AM »

Well I started trying to link Anope to Unreal3.2.7 (windows Vista) and something isn't working right.  I can run Anope from the CMD using -debug with no errors, but I get errors in the log when i try to run it otherwise.


Code: [Select]
[Dec 09 18:22:22 2007] Every UserKey must be different. It's for YOUR safety! Remember that!
[Dec 09 18:22:22 2007] Loading IRCD Protocol Module: [unreal32]
[Dec 09 18:22:22 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:22 2007] Loading Encryption Module: [enc_none]
[Dec 09 18:22:22 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:22 2007] Launching Anope into the background
[Dec 09 18:22:22 2007] Anope 1.7.19 (1247) (ircd protocol: UnrealIRCd 3.2+) starting up
[Dec 09 18:22:25 2007] Databases loaded
[Dec 09 18:22:25 2007] Info: Reflecting database records.
[Dec 09 18:22:25 2007] Connected to Server 1 (127.0.0.1:6667)
[Dec 09 18:22:25 2007] trying to load [cs_appendtopic]
[Dec 09 18:22:25 2007] [cs_appendtopic] Loaded successfully
[Dec 09 18:22:25 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:25 2007] trying to load [cs_enforce]
[Dec 09 18:22:25 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:25 2007] trying to load [ns_maxemail]
[Dec 09 18:22:25 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:25 2007] trying to load [os_info]
[Dec 09 18:22:25 2007] os_info: Loading configuration directives...
[Dec 09 18:22:25 2007] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Dec 09 18:22:25 2007] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Dec 09 18:22:25 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:25 2007] trying to load [hs_request]
[Dec 09 18:22:25 2007] hs_request loaded
[Dec 09 18:22:25 2007] status: [0][Module, Okay - No Error]
[Dec 09 18:22:25 2007] Read error from server: No such file or directory (error num: 2)
[Dec 09 18:22:25 2007] [cs_appendtopic] Unloaded successfully
[Dec 09 18:22:25 2007] hs_request un-loaded


Thats the most recent log I get.

My settings:


Code: [Select]
RemoteServer    127.0.0.1 6667 "LiNk"
ServerName  "68.94.156.1"




Code: [Select]
listen         127.0.0.1:6667
{
    options
    {
    };
};

listen         *:8067;
listen         *:6697;

link            68.94.156.1
{
    username    *;
    hostname     127.0.0.1;
    bind-ip      *;
    port         6667;
    hub             *;
    password-connect "LiNk";
    password-receive "LiNk";
    class           servers;

};


ulines {
    68.94.156.1;
};
    services-server     "68.94.156.1";


If anyone has any ideas, it would be appreciated.

[Edited on 10-12-2007 by JMesser]
Logged

Eddie

  • Guest
(No subject)
« Reply #1 on: December 10, 2007, 01:16:01 AM »

That's because it can't connect to your server.

1.) Linking on 6667 is dumb, try 7010 (Changing listen accordingly, and blocks)
2.) ServerName is supposed to be a NAME... not address.
3.) Options block in LISTEN is empty, mise well remove it.
4.) U:Lines should be the ServerName (A NAME), not IP Address.
5.) Same with Services-Server.
6.) "link 68.94.156.1" - Should be ServerName.
Logged

JMesser

  • Guest
(No subject)
« Reply #2 on: December 10, 2007, 01:49:15 AM »

Code: [Select]
ServerName  "services.localhost.net"
 RemoteServer    127.0.0.1 7010 "LiNk"



Code: [Select]
listen 127.0.0.1:7010
{
        options
        {
                serversonly;
        };
};
listen 127.0.0.1:6660-6669;
 
link services.localhost.net
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 7010;
hub *;
password-connect "LiNk";
password-receive "LiNk";
class servers;
 
};
 
 
ulines {
    services.localhost.net;
};


/* Network configuration */
set {
    network-name         "TestingChannel";
    default-server         "68.94.156.1";
    services-server     "services.localhost.net";
    stats-server         "68.94.156.1";
    help-channel         "#Help";
    hiddenhost-prefix    "test";
Logged

T-rexke

  • Guest
(No subject)
« Reply #3 on: December 11, 2007, 05:38:59 PM »

try that and show any logs if there are problems
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #4 on: December 11, 2007, 07:27:21 PM »

"Read error from server: No such file or directory (error num: 2)"

Ok, can you run Anope in debug mode (./anope -debug for *nix or anope.exe -debug for windows)

Then provide us with the FULL log file please?
Logged
Your IP: ()
My IRC Status:

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

Eddie

  • Guest
(No subject)
« Reply #5 on: December 16, 2007, 05:25:58 PM »

This problem was resolved on the Anope IRC Network.
Logged

katsklaw

  • Guest
(No subject)
« Reply #6 on: December 16, 2007, 06:27:57 PM »

Quote
Originally posted by Eddie
This problem was resolved on the Anope IRC Network.


You should still share it so others can learn.
Logged

kinight

  • Anope User
  • Offline Offline
  • Posts: 16
(No subject)
« Reply #7 on: February 29, 2008, 01:02:03 AM »

Yes please!  |:(
Logged
Pages: [1]   Go Up