You are not logged in.

#1 2014-01-01 19:30:28

Dyzaster
Member
Registered: 2013-03-26
Posts: 67

Need help with Unrealircd and Anope(SystemD error

So i installed both UnrealIRCD and Anope, have everything almost set up accept for starting Anope.

Both are going to be stored on my computer

EDIT: I finally found my error, when i run "sudo systemctl start anope" it goes through fine, but when i check "status" It gives this:

anope.service - Anope IRC Services
   Loaded: loaded (/usr/lib/systemd/system/anope.service; enabled)
   Active: failed (Result: exit-code) since Sun 2014-01-05 05:42:36 CST; 6min ago
  Process: 1370 ExecStart=/usr/bin/services --confdir=/etc/anope --dbdir=/var/lib/anope --localedir=/usr/lib/anope/locales --logdir=/var/log/anope --modulesdir=/usr/lib/anope --nofork (code=exited, status=255)
 Main PID: 1370 (code=exited, status=255)
   CGroup: /system.slice/anope.service

Jan 05 05:42:36 SeeThroughZone systemd[1]: Started Anope IRC Services.
Jan 05 05:42:36 SeeThroughZone services[1370]: [Jan 05 05:42:36 2014] Anope 2.0.0-rc1, build #2, compiled 05:10:26 Jan  5 2014
Jan 05 05:42:36 SeeThroughZone services[1370]: [Jan 05 05:42:36 2014] Using configuration file /etc/anope/services.conf
Jan 05 05:42:36 SeeThroughZone systemd[1]: anope.service: main process exited, code=exited, status=255/n/a
Jan 05 05:42:36 SeeThroughZone systemd[1]: Unit anope.service entered failed state.

nano /etc/unrealircd/unrealircd.conf:

link            /etc/anope/services.conf
{
        username        services;
        hostname        127.0.0.1;
        bind-ip         *;
        port            6697;
        hub             *;
        password-connect "password";
        password-receive "password";
        class           servers;
                options {
                        /* Note: You should not use autoconnect when linking services */
                        autoconnect;
                        ssl;
                        zip;
                };
};

nano /etc/anope/services.conf

uplink
{
        /*
         * The IP or hostname of the IRC server you wish to connect Services to.
         * Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
         *
         * NOTE: On some shell providers, this will not be an option.
         */
        host = "127.0.0.1";
        username = "services";
        password-connect "password";
        password-recieve "password";
        /*
         * Enable if Services should connect using IPv6.
         */
        ipv6 = no

        /*
         * Enable if Services should connect using SSL.
         * You must have m_ssl loaded for this to work.
         */
        ssl = yes

        /*
         * The port to connect to.
         * The IRCd *MUST* be configured to listen on this port, and to accept
         * server connections.
         *
         * Refer to your IRCd documentation for how this is to be done.
         */
        port = 6697

Is there anything wrong with this config?




  ~The Dyzaster

Last edited by Dyzaster (2014-01-05 11:53:50)

Offline

#2 2014-01-02 10:18:03

Dyzaster
Member
Registered: 2013-03-26
Posts: 67

Re: Need help with Unrealircd and Anope(SystemD error

Also, sudo systemctl status anope shows:

anope.service - Anope IRC Services
   Loaded: loaded (/usr/lib/systemd/system/anope.service; enabled)
   Active: failed (Result: exit-code) since Thu 2014-01-02 02:05:25 CST; 2h 10min ago
  Process: 1150 ExecStart=/usr/bin/services --confdir=/etc/anope --dbdir=/var/lib/anope --localedir=/usr/lib/anope/locales --logdir=/var/log/anope --modulesdir=/usr/lib/anope --nofork (code=exited, status=255)
 Main PID: 1150 (code=exited, status=255)
   CGroup: /system.slice/anope.service

Jan 02 02:05:25 NoOne systemd[1]: Started Anope IRC Services.
Jan 02 02:05:25 NoOne services[1150]: [Jan 02 02:05:25 2014] Anope 2.0.0-rc1, build #2, compiled 01:20:55 Jan  2 2014
Jan 02 02:05:25 NoOne systemd[1]: anope.service: main process exited, code=exited, status=255/n/a
Jan 02 02:05:25 NoOne systemd[1]: Unit anope.service entered failed state.

Where exactly is the error?

Offline

Board footer

Powered by FluxBB