IRCd seemingly not started on a raspberry pi

These are old archives. They are kept for historic purposes only.
Post Reply
zzmax
Posts: 2
Joined: Fri Dec 19, 2014 7:54 pm

IRCd seemingly not started on a raspberry pi

Post by zzmax »

Hello,

I'm a new user trying to get unreal to run on a raspberry pi a+. I have been, so far, unsuccessful.
The OS is the last Raspian with everything updated.
I'm running Unreal 3.2.10.4 and I have setup my config.h to run chrooted (CHROOTDIR+IRC_USER+IRC_GROUP) and ssl.

Here is the output from ./unreal start

Code: Select all

(...)
* Loading IRCd configuration ..
* Configuration loaded without any problems ..
* Initializing SSL.
* Dynamic configuration initialized .. booting 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
=====================================================
[Fri Dec 19 01:22:58 2014] - UnrealIRCd started.
[Fri Dec 19 19:28:23 2014] - UnrealIRCd started.
[Fri Dec 19 19:47:28 2014] - UnrealIRCd started.
[Fri Dec 19 23:18:50 2014] - UnrealIRCd started.
[Fri Dec 19 23:25:13 2014] - UnrealIRCd started.

Via the ps command I can see that no process is running after this.

ircd.log does not contain any useful information:

Code: Select all

cat ircd.log
(...)
[Fri Dec 19 01:15:03 2014] - UnrealIRCd started.
[Fri Dec 19 01:18:38 2014] - UnrealIRCd started.
[Fri Dec 19 01:19:06 2014] - UnrealIRCd started.
[Fri Dec 19 01:22:58 2014] - UnrealIRCd started.
[Fri Dec 19 19:28:23 2014] - UnrealIRCd started.
[Fri Dec 19 19:47:28 2014] - UnrealIRCd started.
[Fri Dec 19 23:18:50 2014] - UnrealIRCd started.
[Fri Dec 19 23:25:13 2014] - UnrealIRCd started.

My unrealircd.conf has been tested successfully on am vm with debian, and is pretty standard stuff.
It does not seem to be the issue here, but here is the log part that might be relevant:

Code: Select all

(...)
log "ircd.log" {
        maxsize 2097152;
        flags {
                connects;
                server-connects;
                errors;
        };
};
log "ircd.stuff.log" {
        maxsize 2097152;
        flags {
                oper;
                kline;
                kills;
                sadmin-commands;
                chg-commands;
                oper-override;
                spamfilter;
        };
};

So basically I have no idea what is happening.

Is there any way to increase the logging verbosity?
Has any one setup Unreal on a raspberry pi?

Thanks for your help
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: IRCd seemingly not started on a raspberry pi

Post by Stealth »

It seems like your IRCd may be crashing.

Look in the directory with your configuration file for any core files, easiest is to do "ls *core*"

You can also try ./unreal backtrace
zzmax
Posts: 2
Joined: Fri Dec 19, 2014 7:54 pm

Re: IRCd seemingly not started on a raspberry pi

Post by zzmax »

Thanks for your help Stealth, there seems to be no crash: no core files on the directory and ./unreal backtrace refuses to start since it as no core files.

My best guess is that this is a config issue, but despite my best efforts I can't pin it down so I'm going with Unreal 3.2.10.3 that I believe it serves my purpose.

I will leave here my extremely strip down config and my output if someone is in the mood for some ghost hunting:

Output:

Code: Select all

./unreal start
Starting UnrealIRCd
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2.10.4
                     using TRE 0.8.0 (BSD)
                     using OpenSSL 1.0.1e 11 Feb 2013

* Loading IRCd configuration ..
* Configuration loaded without any problems ..
* Initializing SSL.
* Dynamic configuration initialized .. booting 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
=====================================================
[Mon Jan  5 21:08:14 2015] - UnrealIRCd started.
[Mon Jan  5 21:09:48 2015] - UnrealIRCd started.
[Mon Jan  5 21:10:19 2015] - UnrealIRCd started.
[Tue Jan  6 07:44:37 2015] - UnrealIRCd started.
[Tue Jan  6 07:45:23 2015] - UnrealIRCd started.
Config:

Code: Select all

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

me {
        name "irc.zzz.net";
        info "zzz";
        numeric 1;
};

admin {
        "zzz";
        "zzz";
        "[email protected]";
};


class clients
{
        pingfreq 60;
        maxclients 100;
        sendq 100000;
        recvq 8000;
};

set {
        network-name            "zzz";
        default-server          "irc.zzz.net";
        services-server         "irc.zzz.net";
        stats-server            "rc.zzz.net";
        help-channel            "#zzz";
        hiddenhost-prefix       "zzz";
        cloak-keys {
                "c4oeDc08Xj478SK5mdgq3m0";
                "sE02tF35D7cBHFhO18vN3A";
                "I012J3vQaOAe2fj4YEnh85w";
        };
        hosts {
                global          "ircop.zz.net";
                coadmin         "coadmin.zz.net";
                admin           "admin.zz.net";
                servicesadmin   "csops.zz.net";
                netadmin        "netadmin.zz.net";
        };
};

set {
        kline-address "[email protected]";
        maxchannelsperuser 50;
        oper-only-stats "okfGsMRUEelLCXzdD";
};


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

listen         *:17097
{
#       options
#       {
#               ssl;
#               clientsonly;
#       };
};

log "ircd.log" {
        maxsize 2097152;
        flags {
                connects;
                server-connects;
                errors;
        };
};

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: IRCd seemingly not started on a raspberry pi

Post by Stealth »

Does the IRCd boot if you recompile without a chroot configuration?
Post Reply