unrealircd startup problems and don't find the log file

These are old archives. They are kept for historic purposes only.
Post Reply
Meinzelmännchen
Posts: 8
Joined: Thu Oct 28, 2004 11:32 am
Location: Germany

unrealircd startup problems and don't find the log file

Post by Meinzelmännchen »

Hallo,

I have merged the unrealircd (net-irc/unrealircd-3.2.1-r1) on my gentoo Linux System and edit the unrealircd.conf (/etc/unrealircd/unrealircd.conf).

Code: Select all

loadmodule "/usr/lib/unrealircd/modules/commands.so"
loadmodule "/usr/lib/unrealircd/modules/cloak.so";

me {
  name "irc.domain.no-ip.org" ;
  info "Hauptserver von DOMAIN.no-ip.org" ;
  numeric 1 ;
} ;

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

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

class server {
  pingfreg 90 ;
  maxclients 50 ;
  sendq 100000 ;
  connfreg 100 ;
} ;

listen *:6660-6669 ;

drpass {
  restart "rspass" ;
  die "sdpass" ;
} ;

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

log "ircd.stuff.log" {
  maxsize 2097152 ;
  flags {
    kline ;
    kills ;
    connects ;
    tkl ;
  } ;
} ;

set {
      ident {
            connect-timeout 19s;
            read-timeout 40s;
      };
      network-name       "irc.domain.no-ip.org";
      default-server     "irc.domain.no-ip.org";
      services-server    "services.irc.domain.no-ip.org";
      stats-server       "irc.domain.no-ip.org";
      help-channel       "#help";
      hiddenhost-prefix  "DOMAIN";
      prefix-quit        "Quit: ";
     cloak-keys {
           XXXXX;
           XXXXX;
           XXXXX;
     };
       hosts {
            local           "irc.domain.no-ip.org";
            global          "irc.domain.no-ip.org";
            coadmin         "irc.domain.no-ip.org";
            admin           "irc.domain.no-ip.org";
            servicesadmin   "irc.domain.no-ip.org";
            netadmin        "irc.domain.no-ip.org";
            host-on-oper-up "no";
      };
};

set {
      kline-address "[email protected]";
      modes-on-connect   "+x";
      modes-on-oper      "+xwgsfF";
      snomask-on-oper    "+sefG";
      oper-auto-join     "#pub";
      modes-on-join      "+nt";
      dns {
            nameserver   127.0.0.1;
            timeout      2s;
            retries      2;
      };
      options {
            hide-ulines;
            identd-check;
            show-connect-info;
      };
      maxchannelsperuser          15;
      anti-spam-quit-message-time 10s;
      oper-only-stats             "*okGvEOQCHYntTDd";
      throttle {
            connections  4;
            period       60s;
      };
      anti-flood {
            nick-flood             3:60;
            unknown-flood-bantime  17s;
            unknown-flood-amount   4000;
      };
};

link services.irc.domain.no-ip.org  {
   username    *;
   hostname   192.168.0.1;
   port      6667;
   password-connect   "linkpass";
   password-receive   "linkpass";
   class servers;
        options {
                autoconnect;
        };
};

oper myadmin {
      class clients;
      from {
            userhost *@*;
      };
      password "test";
      flags {
            services-admin;
            admin;
            netadmin;
            global;
            can_rehash;
            can_die;
            can_restart;
            can_wallops;
            can_globops;
            can_localroute;
            can_globalroute;
            can_globalkill;
            can_kline;
            can_gzline;
            can_gkline;
            can_unkline;
            can_localnotice;
            can_globalnotice;
            can_zline;
            get_umodew;
            get_host;
            can_override;
      };
};

ulines {
 services.irc.domain.no-ip.org;
};

allow {
      ip       *@*;
      hostname *@*;
      class    clients;
      maxperip 3;
};
But, when I start /etc/init.d/unrealircd start then I get [!!], also that the process doesn't start and I can't find any log file. The directory /var/log/unrealircd/ is empty.

I hope anyone can help me to run this server.

Best regards
Meinzelmännchen
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Most probably the same issue as http://forums.unrealircd.com/viewtopic.php?t=984
Meinzelmännchen
Posts: 8
Joined: Thu Oct 28, 2004 11:32 am
Location: Germany

Post by Meinzelmännchen »

That not the same problem or issue too...

I have do any changes in my start-stop script and get now any error messages.

Code: Select all

 * Starting unrealircd...
 _   _                      _ ___________  _____     _
| | | |                    | |_   _| ___ \/  __ \   | |
| | | |_ __  _ __ ___  __ _| | | | | |_/ /| /  \/ __| |
| | | | '_ \| '__/ _ \/ _` | | | | |    / | |    / _` |
| |_| | | | | | |  __/ (_| | |_| |_| |\ \ | \__/\ (_| |
 \___/|_| |_|_|  \___|\__,_|_|\___/\_| \_| \____/\__,_|
                           v3.2.1
                     using TRE 0.6.8
                     using OpenSSL 0.9.7d 17 Mar 2004
                     using zlib 1.1.4

* Loading IRCd configuration ..
[error] unrealircd.conf:115: link::bind-ip missing
[error] 1 errors encountered
[error] IRCd configuration failed to pass testing                                                                       [ !! ]

My Link Block is now these:

Code: Select all

link services.irc.domain.no-ip.org {
   username    *;
   hostname   192.168.0.1;
   port      6667;
   password-connect   "linkpass";
   password-receive   "linkpass";
   class servers;
        options {
                autoconnect;
        };
};
I don't can find the dependence on link::bind-ip. This parameter is optional, or?

Greetings
Meinzelmännchen
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

It seems that the Parameter is not optional, but only the IP is (Badly documented?)...
Just use * there and you should be fine.

Did you read http://forums.unrealircd.com/viewtopic.php?t=329 ?
I think Ron's tutorial is really helpful.


Oh, on a sidenote:
Don't use autoconnect with services...
Post Reply