unreal IRC сервер

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Аватара пользователя
Ablom
Сообщения: 48
ОС: suse 11.1 x64

unreal IRC сервер

Сообщение Ablom »

здорова
хочу у себя сконфигурировать unreal IRC сервер, но после конфигурации когда выполняю команду
./unreal start выдается следущая ошибка
Starting UnrealIRCd
_ _ _ ___________ _____ _
| | | | | |_ _| ___ \/ __ \ | |
| | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` |
| |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| |
\___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_|
v3.2.7
using TRE 0.7.5 (LGPL)

* Loading IRCd configuration ..
./unreal: line 134: 10415 Segmentation fault (core dumped) /tmp/Unreal3.2.7/src/ircd
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================

если кто нибут сталкивался с такой проблемой.....плз помогите мне
не казните за oрфографию !!!!!
Спасибо сказали:
wetch
Сообщения: 51
ОС: debian

Re: unreal IRC сервер

Сообщение wetch »

> ./unreal: line 134: 10415 Segmentation fault (core dumped) /tmp/Unreal3.2.7/src/ircd
Я много с чем сталкивался при настройке. Изучай line 134. Я делал именно так. Подобных проблем было много, но все были последовательно решены...
Спасибо сказали:
Аватара пользователя
Ablom
Сообщения: 48
ОС: suse 11.1 x64

Re: unreal IRC сервер

Сообщение Ablom »

wetch писал(а):
31.07.2008 14:39
> ./unreal: line 134: 10415 Segmentation fault (core dumped) /tmp/Unreal3.2.7/src/ircd
Я много с чем сталкивался при настройке. Изучай line 134. Я делал именно так. Подобных проблем было много, но все были последовательно решены...



эту строку в unrealircd.conf я смотрел, там у меня комментарии,
если можно подскожите куда еще можно смотрет....
у меня
ОС Suse 10.3 x64
не казните за oрфографию !!!!!
Спасибо сказали:
Аватара пользователя
Ablom
Сообщения: 48
ОС: suse 11.1 x64

Re: unreal IRC сервер

Сообщение Ablom »

кто нибуть помогите, давно мучаюсь, не могу решить эту проблему,
а это листинг комманди :wacko:
./unreal backtrace

=================== START HERE ======================
BACKTRACE:
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/tmp/Unreal3.2.7/src/ircd'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
1076 for (i = s, o = buf; (*i) && (o < buf+509); i++)
#0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
#1 0x0000000000429503 in init_conf (rootconf=0x45b821 "unrealircd.conf",
rehash=0) at s_conf.c:1563
#2 0x000000000041c252 in main (argc=0, argv=<value optimized out>)
at ircd.c:1293

#0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
1076 for (i = s, o = buf; (*i) && (o < buf+509); i++)

0x727220 <backupbuf>: ""

#0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076
buf = "Spamming_users_with_an_mIRC_trojan._Type_'/unload_-rs_newb'_to_remove_the_trojan.\000.asp?VName=TROJ%5FSOEX.A", '\0' <repeats 405 times>
i = 0x0
o = 0x70dba0 "Spamming_users_with_an_mIRC_trojan._Type_'/unload_-rs_newb'_to_remove_the_trojan."
#1 0x0000000000429503 in init_conf (rootconf=0x45b821 "unrealircd.conf",
rehash=0) at s_conf.c:1563
---Type <return> to continue, or q <return> to quit---
No locals.
#2 0x000000000041c252 in main (argc=0, argv=<value optimized out>)
at ircd.c:1293
type = <value optimized out>
result = <value optimized out>
p = 0x7fffb9a03b48 "\003@"
uid = 0
euid = 0
gid = 0
egid = 0
delay = <value optimized out>
corelim = {rlim_cur = 18446744073709551615,
rlim_max = 18446744073709551615}
nextfdlistcheck = <value optimized out>
alllasttime = 0
GCC: gcc version 4.2.1 (SUSE Linux)
UNAME: Linux Stepan 2.6.22.5-31-default #1 SMP 2007/09/21 22:29:00 UTC x86_64 x86_64 x86_64 GNU/Linux
UNREAL: Unreal3.2.7 build 1.1.1.1.2.1.2.1.2.2234.2.676 2007/07/13 10:43:04
CORE: -rw------- 1 root root 2174976 Aug 6 09:57 core
=================== STOP HERE ======================

Copy the parts between the START HERE and STOP HERE marker
and report it on http://bugs.unrealircd.org/

But before you do, note the following:
1. We do not support modifications of any unrealircd code
(except for config.h changes).
2. If you are using 3rd party modules we might request you
to run without them and verify you still crash. This is
to eleminate any loss of time due to bugs made by others
3. Always use the latest UnrealIRCd version, we fix (crash)bugs
all the time so your bug might as well be fixed already.

Thanks!
не казните за oрфографию !!!!!
Спасибо сказали:
Аватара пользователя
Malcolm
Сообщения: 860
Статус: Изменник
ОС: Archlinux on IBM Z60m

Re: unreal IRC сервер

Сообщение Malcolm »

конфиг сам где? выкладывай
Win7 on X200s || Android 2.3 on Galaxy Tab
Блог
Спасибо сказали:
Аватара пользователя
Ablom
Сообщения: 48
ОС: suse 11.1 x64

Re: unreal IRC сервер

Сообщение Ablom »

конфиг файл

Код: Выделить всё

loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";


include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";

me
{
    name "irc.chat.loc";
    info "chat Server";
    numeric 1;
};


admin {
    "stepan";
    "stepan";
    "ss@mail.com";
};

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

class           servers
{
    pingfreq 90;
    maxclients 10;        /* Max servers we can have linked at a time */
    sendq 1000000;
    connfreq 100; /* How many seconds between each connection attempt */
};


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

/* Passworded allow line */
allow {
    ip             *@255.255.255.255;
    hostname       *@*.passworded.ugly.people;
    class           clients;
    password "f00timon";
    maxperip 1;
};

allow           channel {
    channel "#ss";
};


oper timon {
    class           clients;
    from {
         userhost *;
     };
    password "*******";
    flags
    {
        netadmin;
        can_zline;
        can_gzline;
        can_gkline;
        global;
    };
};


listen 127.0.0.1:6697
{
 options
 {
 serversonly;
 };
};


listen         *:8067;
#listen         *:6667;

link            services.chat.loc
{
    username    *;
    hostname     127.0.0.1;
    bind-ip     127.0.0.1;
    port         6697;
    hub             *;
    password-connect "*****";
    password-receive "*****";
    class           servers;

};

ulines {
    services.chat.loc;
    stats.chat.loc;
};

drpass {
    restart "******";
    die "******";
};


log "ircd.log" {
    /* Delete the log file and start a new one when it reaches 2MB, leave this out to always use the
       same log */
    maxsize 2097152;
    flags {
        oper;
        kline;
        connects;
        server-connects;
        kills;
        errors;
        sadmin-commands;
        chg-commands;
        oper-override;
        spamfilter;
    };
};

/* Standard aliases */
alias NickServ { type services; };
alias ChanServ { type services; };
alias OperServ { type services; };
alias HelpServ { type services; };
alias StatServ { type stats; };

/* Standard aliases */
alias "services" {
    format "^#" {
        target "chanserv";
        type services;
        parameters "%1-";
    };
    format "^[^#]" {
        target "nickserv";
        type services;
        parameters "%1-";
    };
    type command;
};

alias "identify" {
    format "^#" {
        target "chanserv";
        type services;
        parameters "IDENTIFY %1-";
    };
    format "^[^#]" {
        target "nickserv";
        type services;
        parameters "IDENTIFY %1-";
    };
    type command;
};

/* This is an example of a real command alias */
/* This maps /GLINEBOT to /GLINE <parameter> 2d etc... */
alias "glinebot" {
    format ".+" {
        command "gline";
        type real;
        parameters "%1 2d Bots are not allowed on this server, please read the faq at http://www.example.com/faq/123";
    };
    type command;
};

tld {
    mask *@*;
    motd "ircd.motd";
    rules "ircd.rules";
};

ban nick {
    mask "*C*h*a*n*S*e*r*v*";
    reason "Reserved for Services";
};

ban ip {
    mask 195.86.232.81;
    reason "Delinked server";
};


ban server {
    mask eris.berkeley.edu;
    reason "Get out of here.";
};


ban user {
    mask *tirc@*.saturn.bbn.com;
        reason "Idiot";
};

ban realname {
    mask "Swat Team";
    reason "mIRKFORCE";
};

ban realname {
    mask "sub7server";
    reason "sub7";
};

except ban {
    /* don't ban stskeeps */
    mask           *stskeeps@212.*;
};


deny dcc {
    filename "*sub7*";
    reason "Possible Sub7 Virus";
};


deny channel {
    channel "*warez*";
    reason "Warez is illegal";
};


vhost {
    vhost           i.hate.microsefrs.com;
    from {
        userhost       *@*.image.dk;
    };
    login           stskeeps;
    password        moocowsrulemyworld;
};

/* You can include other configuration files */
/* include "klines.conf"; */

/* Network configuration */
set {
    network-name         "Chat";
    default-server         "irc.chat.loc";
    services-server     "services.chat.loc";
    stats-server         "stats.chat.loc";
    help-channel         "#ss";
    hiddenhost-prefix    "ch";
    /* prefix-quit         "no"; */

    cloak-keys {
        "Asdfg1";
        "Asdfg2";
        "Asdfg3";
    };
    /* on-oper host */
    hosts {
        local        "locop.chat.com";
        global        "ircop.chat.com";
        coadmin        "coadmin.chat.com";
        admin        "admin.chat.com";
        servicesadmin     "csops.chat.com";
        netadmin     "netadmin.chat.com";
        host-on-oper-up "no";
    };
};

/* Server specific configuration */

set {
    kline-address "timon@mail.ru";
    modes-on-connect "+ixw";
    modes-on-oper     "+xwgs";
    oper-auto-join "#opers";
    options {
        hide-ulines;
        /* You can enable ident checking here if you want */
        /* identd-check; */
        show-connect-info;
    };

    maxchannelsperuser 10;
    anti-spam-quit-message-time 10s;
    oper-only-stats "okfGsMRUEelLCXzdD";

    /* Throttling: this example sets a limit of 3 connection attempts per 60s (per host). */
    throttle {
        connections 3;
        period 60s;
    };

    /* Anti flood protection */
    anti-flood {
        nick-flood 3:60;    /* 3 nickchanges per 60 seconds (the default) */
    };

    /* Spam filter */
    spamfilter {
        ban-time 1d; /* default duration of a *line ban set by spamfilter */
        ban-reason "Spam/Advertising"; /* default reason */
        virus-help-channel "#help"; /* channel to use for 'viruschan' action */
        /* except "#help"; channel to exempt from filtering */
    };
};
не казните за oрфографию !!!!!
Спасибо сказали: