VDSPlanet.ru Making the difference in VDS Hosting
 
Welcome, Guest. Please login or register.
December 09, 2019, 05:07:09 PM
1655 Posts in 325 Topics by 286 Members
Latest Member: emeqac
VDSPlanet Forums  |  VDSPlanet - Русский (Russian)  |  Проблемы и их решение  |  Про IRC  |  Hybrid-RU IRCd + Anope 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1]
Author Topic: Hybrid-RU IRCd + Anope  (Read 10228 times)
indierock
Newbe
*
Offline Offline

Posts: 5


View Profile
« on: April 25, 2013, 01:47:43 PM »

Приветствую, решил вот попробывать поставить на сервер (Debian) Hybrid-RU 7.2.4 + Anope 1.8.8

Гибрид работает нормально, а вот сервисы Anope не удаётся прилинковать .... В services.log пишет следующее:

Quote
[Apr 25 13:31:42 2013] Loading IRCD Protocol Module: [hybrid]
[Apr 25 13:31:42 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:42 2013] Loading Encryption Module: [enc_md5]
[Apr 25 13:31:42 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:42 2013] Anope 1.8.8 (3112) (ircd protocol: Hybrid 8.0.*) starting up
[Apr 25 13:31:43 2013] MSMemoReceipt not enabled in services.conf
[Apr 25 13:31:43 2013] Databases loaded
[Apr 25 13:31:43 2013] Info: Reflecting database records.
[Apr 25 13:31:43 2013] Connected to Server 1 (5.199.135.88:6667)
[Apr 25 13:31:43 2013] trying to load [cs_appendtopic]
[Apr 25 13:31:43 2013] [cs_appendtopic] Loaded successfully
[Apr 25 13:31:43 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:43 2013] trying to load [cs_enforce]
[Apr 25 13:31:43 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:43 2013] trying to load [ns_maxemail]
[Apr 25 13:31:43 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:43 2013] trying to load [os_info]
[Apr 25 13:31:43 2013] os_info: Loading configuration directives...
[Apr 25 13:31:43 2013] os_info: OSInfoDBName is not defined in Services configuration file, using default os_info.db
[Apr 25 13:31:43 2013] os_info: Directive OSInfoDBName loaded (os_info.db)...
[Apr 25 13:31:43 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:43 2013] trying to load [hs_request]
[Apr 25 13:31:43 2013] hs_request loaded
[Apr 25 13:31:43 2013] status:
  • [Module, Okay - No Error]
[Apr 25 13:31:43 2013] Read error from server: No such file or directory (error num: 2)
[Apr 25 13:31:43 2013] [cs_appendtopic] Unloaded successfully
[Apr 25 13:31:43 2013] hs_request un-loaded

А вот в самом IRC, когда беру права IRC-оператора и выполняю команду ./services пишет:

Quote
-gods.su- *** Notice -- Unauthorized server connection attempt from [[email protected]]: No entry for servername services.gods.su

ircd.conf:

Quote
serverinfo {
  name = "gods.su";

   /*
    * sid: a server's unique ID.  This is three characters long and must
    * be in the form [0-9][A-Z0-9][A-Z0-9].  The first character must be
    * a digit, followed by 2 alpha-numerical letters.
    * NOTE: The letters must be capitalized.  This cannot be changed at runtime.
    */
  sid = "2DB";

  description = "Netherlands, Test IRC Server";
  network_name = "Gods.su";
  network_desc = "Russian IRC Network";
  hub = no;
  #vhost = "5.199.135.88";
  #vhost6 = "2001:4ba0:fff9:1ae::26"
  max_clients = 30;

   /*
    * rsa key: the path to the file containing our rsa key for cryptlink.
    *
    * Example command to store a 2048 bit RSA keypair in
    * rsa.key, and the public key in rsa.pub:
    *
    *    openssl genrsa -out rsa.key 2048
    *   openssl rsa -in rsa.key -pubout -out rsa.pub
    *   chown <ircd-user>.<ircd.group> rsa.key rsa.pub
    *   chmod 0600 rsa.key
    *   chmod 0644 rsa.pub
    */
  rsa_private_key_file = "/home/jake/rsa.key";

   /*
    * ssl certificate: the path to the file containing our ssl certificate
    * for encrypted client connection.
    *
    * This assumes your private RSA key is stored in rsa.key. You
    * MUST have an RSA key in order to generate the certificate
    *
    *   openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
    *
    * See http://www.openssl.org/docs/HOWTO/certificates.txt
    *
    * Please use the following values when generating the cert
    *
    *   Organization Name: Network Name
    *   Organization Unit Name: changme.someirc.net
    *   Common Name: irc.someirc.net
    *   E-mail: [email protected]
    */
  ssl_certificate_file = "/home/jake/cert.pem";
};

admin {
  name = "trace";
  description = "Main Server Administrator";
  email = "<[email protected]>";
};

logging {
  use_logging = yes;
  log_level = L_ERROR;
};

class {
  name = "users";
  ping_time = 90 seconds;
  number_per_ip = 2;
  max_local = 2;
  max_global = 10;
  max_number = 30;
  sendq = 150 kbytes;
};

class {
  name = "opers";
  ping_time = 2 minutes;
  number_per_ip = 10;
  max_number = 10;
  sendq = 1 mbyte;
};

class {
  name = "server";
  ping_time = 90 seconds;
  ping_warning = 15 seconds;
  connectfreq = 10 minutes;
  max_number = 5;
  sendq = 7 megabytes;
};

charset {
  name = "KOI8-R";
  cp_file = "koi8r.tab";
  name = "Translit";
  cp_file = "translit.tab";
  name = "CP866";
  cp_file = "cp866.tab";
  name = "ISO-8859_5";
  cp_file = "iso8859-5.tab";
  name = "Macintosh";
  cp_file = "macintosh.tab";
};

listen {
  #host = "5.199.135.88";

  codepage = "CP1251";
  port = 6667;
  port = 6669;
  flags = ssl;
  port = 9999;

  codepage = "KOI8-R";
  port = 6665;
  flags = ssl;
  port = 7778;

  codepage = "Translit";
  port = 6668;
  flags = ssl;
  port = 7779;

  codepage = "ISO-8859_5";
  port = 6663;
  codepage = "Macintosh";
  port = 6664;
};

auth {
  user = "*[email protected]";
  spoof = "i.love.family.guy.quahog.ru";
  class = "opers";
  flags = need_password, spoof_notice, exceed_limit, kline_exempt,
          gline_exempt, resv_exempt, can_flood, can_idle;
};

auth {
  user = "*@*";
  user = "*@192.168.0.0/16";
  user = "*@172.16.0.0/12";
#  spoof_mask = "my.network.name.net";
#  autojoin = "#MyNetworkChannel";
class = "users";
};

auth {
  user = "[email protected]";
#  spoof_mask = "my.network.name.net";
#  autojoin = "#MyNetworkChannel";
class = "users";
};

auth {
  user = "[email protected]";
#  spoof_mask = "my.network.name.net";
#  autojoin = "#MyNetworkChannel";
class = "server";
};



.include "auth/auto.am.conf"
.include "auth/auto.az.conf"
.include "auth/auto.by.conf"
.include "auth/auto.ee.conf"
.include "auth/auto.ge.conf"
.include "auth/auto.kg.conf"
.include "auth/auto.kz.conf"
.include "auth/auto.lt.conf"
.include "auth/auto.lv.conf"
.include "auth/auto.md.conf"
.include "auth/auto.ru.conf"
.include "auth/auto.tj.conf"
.include "auth/auto.tm.conf"
.include "auth/auto.ua.conf"
.include "auth/auto.uz.conf"

auth {
  user = "*@*";
  class = "users";

  redirserv = "irc.tic-tac.ru";
  redirport = 6667;
};

operator {
  name = "trace";
  user = "*[email protected]";
  password = "pass";
  encrypted = no;
  class = "opers";
  umodes = locops, servnotice, operwall, wallop;
  flags = global_kill, remote, kline, unkline, xline,
          die, rehash, nick_changes, admin, operwall;
};


/*
 * New connect block with SSL encryption
 */
connect {
  name = "hub.dalnet.ru";
  host = "255.255.255.255";
  port = 6667;
      
  hub_mask = "*";
  class = "server";
  flags = autoconn, cryptlink, compressed, topicburst;

  rsa_public_key_file = "etc/hub.pub";
};

/* OLD connect block

connect {
 name = "services.gods.su";
 host = "5.199.135.88";
 port = 6667;
 send_password = "indielove";
 accept_password = "indielove";
 encrypted = no;
 class = "server";
 hub_mask = "*";
};


shared {
 name = "services.gods.su";
};

*/

modules {
  path = "/usr/local/ircd/modules";
  path = "/usr/local/ircd/modules/autoload";
};

.include "settings.conf"

settings.conf:

Quote
# ==============================
# !!! DON'T CHANGE THIS FILE !!!
# ==============================

shared {
  name = "services.gods.su";
  type = all;
};


services.conf:

Quote
RemoteServer    5.199.135.88 6667 "indielove"
ServerName  "services.gods.su"
ServiceUser "[email protected]"

Не могу понять в чём ошибка ?  Подскажите пожалуйста, заранее благодарен Smiley
« Last Edit: April 25, 2013, 01:49:40 PM by indierock » Logged
Pages: [1]
VDSPlanet Forums  |  VDSPlanet - Русский (Russian)  |  Проблемы и их решение  |  Про IRC  |  Hybrid-RU IRCd + Anope « previous next »
    Jump to: