Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Services can't conect to server  (Read 6013 times)

0 Members and 1 Guest are viewing this topic.

Carlos

  • Anope User
  • Offline Offline
  • Posts: 11
Services can't conect to server
« on: March 22, 2013, 03:43:16 PM »

Code: [Select]
[Mar 22 16:41:16 2013] Loading IRCD Protocol Module: [unreal32]
[Mar 22 16:41:16 2013] status: [0][Module, Okay - No Error]
[Mar 22 16:41:16 2013] Loading Encryption Module: [enc_md5]
[Mar 22 16:41:16 2013] status: [0][Module, Okay - No Error]
[Mar 22 16:41:16 2013] Launching Anope into the background
[Mar 22 16:41:16 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Mar 22 16:41:25 2013] Databases loaded
[Mar 22 16:41:25 2013] Info: Reflecting database records.
[Mar 22 16:41:26 2013] FATAL: Can't connect to server: No such file or directory
I can't start the services, if anybody can help me ...

services.conf
Code: [Select]
RemoteServer    127.0.0.1 7029 "LiNk"

unrealircd.conf
Code: [Select]
link            irc.carlitos0802.com
{
username *;
hostname localhost;
bind-ip *;
port 7029;
hub             *;
password-connect "LiNk";
password-receive "LiNk";
class           servers;
};
Logged

Sketch

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Services can't conect to server
« Reply #1 on: March 22, 2013, 03:45:12 PM »

Your unreal link block needs to be services.* or whatever you defined it services.conf

try not to use hostnames where possible, so change localhost to 127.0.0.1 and let me know how you get on.
Logged
All that is must come to dust

Carlos

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Services can't conect to server
« Reply #2 on: March 22, 2013, 03:53:34 PM »

The error
Code: [Select]
[Mar 22 16:51:37 2013] Loading IRCD Protocol Module: [unreal32]
[Mar 22 16:51:37 2013] status: [0][Module, Okay - No Error]
[Mar 22 16:51:37 2013] Loading Encryption Module: [enc_md5]
[Mar 22 16:51:37 2013] status: [0][Module, Okay - No Error]
[Mar 22 16:51:37 2013] Launching Anope into the background
[Mar 22 16:51:37 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Mar 22 16:51:45 2013] Databases loaded
[Mar 22 16:51:45 2013] Info: Reflecting database records.
[Mar 22 16:51:46 2013] FATAL: Can't connect to server: No such file or directory
services.conf
RemoteServer    127.0.0.1 7029 "LiNk"

unrealircd.conf
link            irc.carlitos0802.com
{
   username   *;
   hostname    127.0.0.1;
   bind-ip    *;
   port       7029;
   hub             *;
   password-connect "LiNk";
   password-receive "LiNk";
   class           servers;
};
Logged

Carlos

  • Anope User
  • Offline Offline
  • Posts: 11
Re: Services can't conect to server
« Reply #3 on: March 22, 2013, 04:04:15 PM »

Right, I've changed the listen to
Code: [Select]
listen         *:7029;
listen         *:6667;
And I recived that error in Anope log:
Code: [Select]
[Mar 22 17:00:44 2013] Loading IRCD Protocol Module: [unreal32]
[Mar 22 17:00:44 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:44 2013] Loading Encryption Module: [enc_md5]
[Mar 22 17:00:44 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:44 2013] Launching Anope into the background
[Mar 22 17:00:44 2013] Anope 1.8.8 (3112) (ircd protocol: UnrealIRCd 3.2+) starting up
[Mar 22 17:00:55 2013] Databases loaded
[Mar 22 17:00:55 2013] Info: Reflecting database records.
[Mar 22 17:00:56 2013] Connected to Server 1 (127.0.0.1:7029)
[Mar 22 17:00:56 2013] trying to load [cs_appendtopic]
[Mar 22 17:00:56 2013] [cs_appendtopic] Loaded successfully
[Mar 22 17:00:56 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:56 2013] trying to load [cs_enforce]
[Mar 22 17:00:56 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:56 2013] trying to load [ns_maxemail]
[Mar 22 17:00:56 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:56 2013] trying to load [os_info]
[Mar 22 17:00:56 2013] os_info: Loading configuration directives...
[Mar 22 17:00:56 2013] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Mar 22 17:00:56 2013] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Mar 22 17:00:56 2013] os_info: WARNING: can not open the database file! (it might not exist, this is not fatal)
[Mar 22 17:00:56 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:56 2013] trying to load [hs_request]
[Mar 22 17:00:56 2013] [hs_request] Unable to open database ('hs_request.db') for reading
[Mar 22 17:00:56 2013] hs_request loaded
[Mar 22 17:00:56 2013] status: [0][Module, Okay - No Error]
[Mar 22 17:00:56 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Mar 22 17:00:56 2013] Error: Your IRCD's link block may not be setup correctly, please check unrealircd.conf
[Mar 22 17:00:57 2013] Read error from server: No such file or directory (error num: 2)
[Mar 22 17:00:57 2013] [cs_appendtopic] Unloaded successfully
[Mar 22 17:00:57 2013] hs_request un-loaded
But in IRC, I'm recived that:
Code: [Select]
17:00  carlitos0802.com  *** LocOps -- Link denied for servicios.carlitos0802.com(unknown@127.0.0.1) (No link block named 'servicios.carlitos0802.com') [@127.0.0.1.4296]And the services cannot join...
Logged

Carlos

  • Anope User
  • Offline Offline
  • Posts: 11
SOLVED
« Reply #4 on: March 22, 2013, 04:32:21 PM »

I've solved my problem, I put my conf files for anybody:

services.conf
Code: [Select]
RemoteServer    127.0.0.1 7029 "LiNk"

#RemoteServer2  127.0.0.1 6667 "mypass"
#RemoteServer3  127.0.0.1 6667 "mypass"
#LocalAddress   nowhere. 0
ServerName  "servicios.carlitos0802.com"
ServerDesc  "Servicios de Carlitos0802.com"
ServiceUser "servicios@carlitos0802.com"

unrealircd.conf
Code: [Select]
listen         127.0.0.1:7029;
#listen         *:6667;


link            servicios.carlitos0802.com
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 7029;
hub             *;
password-connect "LiNk";
password-receive "LiNk";
class           servers;
};
ulines {
servicios.carlitos0802.com;
};
include "aliases/anope.conf";

Thanks  ;)
Logged
Pages: [1]   Go Up