after upgrading to net-irc/unrealircd-3.2.7-r1 AND ABOVE unrealircd doesn't start anymore. nothing in log. don't see the reason. downgrading to net-irc/unrealircd-3.2.7 worked until now, because this version isn't in portage anymore Reproducible: Always
See http://www.gentoo.org/doc/en/bugzilla-howto.xml and reopen with emerge --info and other information needed to debug your problem.
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r8 i686) ================================================================= System uname: 2.6.23-gentoo-r8 i686 AMD Athlon(tm) XP 1800+ Timestamp of tree: Fri, 15 Feb 2008 01:46:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -msse -mmmx -m3dnow -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" USE="3dnow 3dnowext 7zip acl acpi apache2 async atm audit authdaemond berkdb bidi bitmap-fonts bzip2 caps cli cpudetection cracklib crypt css cups dhcp dnsdb dri expat flac foomaticdb fortran ftp gd gdbm gmp gnutls gpm gs hub icecast iconv icq imap ipv6 irc isdnlog java jce kpoll ldap libwww logrotate lzo maildir midi mmap mmx mmxext mod_irc mod_muc mod_pubsub mudflap mysql ncurses network network-cron nfs nls nptl nptlonly ogg openmp otr pam parport pcre perl php pic posix ppds pppd prefixaq python readline reflection resolvconf rtc samba sasl session shout slang smime sname sockets socks5 speex spell spl sqlite sse ssl sysfs tcl tcpd tftp theora threads tidy tk tordns truetype truetype-fonts type1-fonts unicode urandom userlocales vhosts vorbis vorbis-psy web x86 xattr xml xmlreader xmlwriter xorg xsl xulrunner zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="trident vesa fbdev vga v4l" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ------------------------------------------------------------------------------- 1. i just emerged outspoken versions of unrealircd 2. # /etc/init.d/unrealircd start * Starting unrealircd ... [ !! ] (also tried to start in commandline) ------------------------------------------------------------------------------- last line in /var/log/unrealircd/ircd.log is from the past an quite old: [Mon Feb 11 04:39:35 2008] - Failed to load SSL private key server.key.pem (seems to be only temporary - old unrealircd version worked - nothing changed in my certificates ------------------------------------------------------------------------------- part from /etc/unrealircd/unrealircd.conf: log "/var/log/unrealircd/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; }; }; ------------------------------------------------------------------------------- haven't done anything else and as said, downgrading to 3.2.7 worked (everytime), but it isn't in portage anymore - the problem exist since weeks, but i could go around it this way --------------------------------------------------- "other information needed" - so that other information that even exists, is needed? except emerge --info i have already given all i got. ------------------------------------------------------ what badly changed in the ebuild from unrealircd-3.2.7 to *-r1 and *-r2, that causes this?
(In reply to comment #2) ------------------------------------------------------------------------------- > last line in /var/log/unrealircd/ircd.log is from the past an quite old: > [Mon Feb 11 04:39:35 2008] - Failed to load SSL private key server.key.pem > > (seems to be only temporary - old unrealircd version worked - nothing changed > in my certificates > > ------------------------------------------------------------------------------- ls -la /etc/unrealircd/ output, please.
# ls -la /etc/unrealircd/ insgesamt 136 drwx------ 4 unrealircd root 4096 11. Feb 04:19 . drwxr-xr-x 75 root root 4096 15. Feb 04:10 .. drwxr-xr-x 2 unrealircd root 4096 8. Aug 2007 aliases -rw------- 1 unrealircd root 1175 11. Feb 04:19 badwords.channel.conf -rw------- 1 unrealircd root 1183 11. Feb 04:19 badwords.message.conf -rw------- 1 unrealircd root 1121 11. Feb 04:19 badwords.quit.conf -rw-r--r-- 1 unrealircd root 1900 11. Feb 04:19 dccallow.conf -rw------- 1 unrealircd root 49552 11. Feb 04:19 help.conf drwxr-xr-x 2 unrealircd root 4096 21. Aug 05:59 networks -r--r--r-- 1 unrealircd root 2382 13. Aug 2007 server.cert.crt -r--r--r-- 1 unrealircd root 1765 13. Aug 2007 server.cert.csr -r-------- 1 unrealircd root 3243 13. Aug 2007 server.cert.key -r-------- 1 unrealircd root 2382 13. Aug 2007 server.cert.pem -rw------- 1 unrealircd root 5660 11. Feb 04:19 spamfilter.conf lrwxrwxrwx 1 unrealircd root 19 11. Feb 04:19 tmp -> /var/lib/unrealircd -rw------- 1 unrealircd root 7102 13. Aug 2007 unrealircd.conf -rw-r--r-- 1 unrealircd root 7102 13. Aug 2007 unrealircd.conf.backup
Stick -t to UNREALIRCD_OPTS and attach the log you get with debug enabled.
i have added -t to UNREALIRCD_OPTS in /etc/conf.d/unrealircd && env-update && source /etc/profile -- i got nothing, not in the log or in any other log or on the console by: # /etc/init.d/unrealircd start --------------------------------------------------------------------- so i emerged gdb and used your link from first post for configuration # gdb --args /usr/bin/unrealircd -t `perl -e 'print Ax100'`GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/unrealircd -t _ _ _ ___________ _____ _ | | | | | |_ _| ___ \/ __ \ | | | | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| | | | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` | | |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| | \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_| v3.2.7 using TRE 0.7.5 (LGPL) using OpenSSL 0.9.8g 19 Oct 2007 using zlib 1.2.3 * Loading IRCd configuration .. Error while mapping shared library sections: tmp/FE90A177.commands.so: No such file or directory. Error while mapping shared library sections: tmp/10E76E4E.cloak.so: No such file or directory. * Configuration loaded without any problems .. * Initializing SSL. Program exited with code 07. (gdb) bt No stack. (gdb)
I just did this (BOTH): ------------------------------------------------------------------------------ # USE="-ssl" emerge -av unrealircd These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-irc/unrealircd-3.2.7-r2 USE="hub prefixaq zlib -curl -ipv6 -showlistmodes -ssl*" 0 kB ------------------------------------------------------------------------------- ...and i commented out all that has to do with ssl in unrealircd.conf // ssl; ------------------------------------------------------------------------------- and then it starts # /etc/init.d/unrealircd start * Caching service dependencies ... [ ok ] * Starting unrealircd ... [ ok ] -------------------------------------------------------------------------------- i would like that the old ebuild net-irc/unrealircd-3.2.7 would be back in portage until this stupid thing with ssl is ficed .. again the mentioned version worked for me with ssl
I discovered this problem the other day on a box running unrealircd. Create a symlink and you will have ssl-support working again. ln -s /etc/unrealircd/server.cert.pem /etc/unrealircd/server.key.pem Works nicely here, running net-irc/unrealircd-3.2.7-r2
(In reply to comment #7) > # USE="-ssl" emerge -av unrealircd ... > the mentioned version worked for me with ssl Does net-irc/unrealircd-3.2.8.1-r1 still have this bug with USE=ssl? If not, please close this bug.