install 2 unreaircd in the same vps as the anope

This forum is for everyone having trouble with linking two UnrealIRCd servers

Moderator: Supporters

Locked
abi
Posts: 9
Joined: Fri Apr 06, 2018 7:29 am

install 2 unreaircd in the same vps as the anope

Post by abi »

I have 2 unrealircd in the same vps and the service is also in the vps. i tried to linking to one unrealircd with anope but i get error message

config unrealircd

link services.ichat.net {
incoming {
mask *;
};
outgoing {
hostname 208.185.92.8;
port 6667;
options { ssl; autoconnect; };
};
password "a13ah";
hub *;
class servers;
};


config unrealircd

define {
name = "services.host"
value = "services.localhost.net"
}

uplink {
host = "208.185.92.8"
ipv6 = no
ssl = no
port = 6667
password = "a13ah"
}

serverinfo {
name = "services.localhost.net"
description = "Services for IRC Networks"
#localhost = "nowhere."
#id = "00A"
pid = "data/services.pid"
motd = "conf/services.motd"
}

module {
name = "unreal4"
use_server_side_mlock = yes
use_server_side_topiclock = yes
}

networkinfo {
networkname = "LocalNet"
nicklen = 31
userlen = 10
hostlen = 64
chanlen = 32
modelistsize = 100
#nick_chars = ""
vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-"
allow_undotted_vhosts = false
disallow_start_or_end = ".-"
}

options {
#user = "anope"
#group = "anope"
casemap = "ascii"
#seed = 9866235
strictpasswords = yes
badpasslimit = 5
badpasstimeout = 1h
updatetimeout = 5m
expiretimeout = 30m
readtimeout = 5s
warningtimeout = 4h
timeoutcheck = 3s
#useprivmsg = yes
#usestrictprivmsg = yes
#hidestatso = yes
#ulineservers = "stats.your.network"
retrywait = 60s
hideprivilegedcommands = yes
hideregisteredcommands = yes
regexengine = "regex/pcre"
languages = "ca_ES.UTF-8 de_DE.UTF-8 el_GR.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 hu_HU.UTF-8 it_IT.UTF-8 nl_NL.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 tr_TR.UTF-8"
defaultlanguage = "fr_FR.UTF-8"
}

include {
type = "file"
name = "botserv.example.conf"
}

include {
type = "file"
name = "chanserv.example.conf"
}

include {
type = "file"
name = "global.example.conf"
}

include {
type = "file"
name = "hostserv.example.conf"
}

include {
type = "file"
name = "memoserv.example.conf"
}

include {
type = "file"
name = "nickserv.example.conf"
}

include {
type = "file"
name = "operserv.example.conf"
}

log {
target = "services.log"
#target = "services.log #services"
#source = ""
bot = "Global"
logage = 7
admin = "*"
override = "chanserv/* nickserv/* memoserv/set ~botserv/set botserv/*"
commands = "~operserv/* *"
servers = "*"
#channels = "~mode *"
users = "connect disconnect nick"
other = "*"
rawio = no
debug = no
}

log
{
target = "globops"
admin = "global/* operserv/chankill operserv/mode operserv/kick operserv/akill operserv/s*line operserv/noop operserv/jupe operserv/oline operserv/set operserv/svsnick operserv/svsjoin operserv/svspart nickserv/getpass */drop"
servers = "squit"
users = "oper"
other = "expire/* bados akill/*"
}

opertype
{
name = "Helper"
commands = "hostserv/*"
}

opertype
{
name = "Services Operator"
inherits = "Helper, Another Helper"
commands = "chanserv/list chanserv/suspend chanserv/topic memoserv/staff nickserv/list nickserv/suspend operserv/mode operserv/chankill operserv/akill operserv/session operserv/modinfo operserv/sqline operserv/oper operserv/kick operserv/ignore operserv/snline"
privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auspex nickserv/confirm"
#modes = "+o"
}

opertype
{
name = "Services Administrator"
inherits = "Services Operator"
commands = "botserv/* chanserv/access/list chanserv/drop chanserv/getkey chanserv/saset/noexpire memoserv/sendall nickserv/saset/* nickserv/getemail operserv/news operserv/jupe operserv/svs operserv/stats operserv/oline operserv/noop operserv/forbid global/*"
privs = "*"
}

opertype
{
name = "Services Root"
commands = "*"
privs = "*"
}

#oper
{
#name = "nick1"
type = "Services Root"
require_oper = yes
#password = "secret"
#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"
#host = "*@*.anope.org ident@*"
#vhost = "oper.mynet"
}

#oper
{
name = "nick2"
type = "Services Administrator"
}

#oper
{
name = "nick3"
type = "Helper"
}

mail
{
usemail = yes
sendmailpath = "/usr/sbin/sendmail -t"
sendfrom = "[email protected]"
delay = 5m
#dontquoteaddresses = yes
registration_subject = "Nickname registration for %n"
registration_message = "Hi,

You have requested to register the nickname %n on %N.
Please type \" /msg NickServ CONFIRM %c \" to complete registration.

If you don't know why this mail was sent to you, please ignore it silently.

%N administrators."

reset_subject = "Reset password request for %n"
reset_message = "Hi,

You have requested to have the password for %n reset.
To reset your password, type \" /msg NickServ CONFIRM %n %c \"

If you don't know why this mail was sent to you, please ignore it silently.

%N administrators."

emailchange_subject = "Email confirmation"
emailchange_message = "Hi,

You have requested to change your email address from %e to %E.
Please type \" /msg NickServ CONFIRM %c \" to confirm this change.

If you don't know why this mail was sent to you, please ignore it silently.

%N administrators."

memo_subject = "New memo"
memo_message = "Hi %n,

You've just received a new memo from %s. This is memo number %d.

Memo text:

%t"
}

#module
{
name = "db_old"
#hash = "md5"
}

module
{
name = "db_flatfile"
database = "anope.db"
keepbackups = 3
#nobackupokay = yes
fork = no
}

#module
{
name = "db_sql"
#name = "db_sql_live"
engine = "sqlite/main"
#prefix = "anope_db_"
import = false
}

#module
{
name = "db_redis"
engine = "redis/main"
}

#module { name = "enc_bcrypt" }
module { name = "enc_sha256" }
#module { name = "enc_md5" }
#module { name = "enc_sha1" }
#module { name = "enc_none" }
#module { name = "enc_old" }

include
{
type = "file"
name = "modules.example.conf"
}

#include
{
type = "file"
name = "chanstats.example.conf"
}

#include
{
type = "file"
name = "irc2sql.example.conf"
}
abi
Posts: 9
Joined: Fri Apr 06, 2018 7:29 am

Re: install 2 unreaircd in the same vps as the anope

Post by abi »

my problem is resolved :D :D :D
Locked