Current 2.3 under Solaris 7/x86 ...

The Hermit Hacker scrappy at hub.org
Tue Jun 13 12:39:03 UTC 2000


Morning all ...

	Just finished upgrading my 2.3 server to, like, yesterdays code
and am still seeing the nnrpd core dump when someone connects from an
external site.  I recompiled with debugging enabled, so that I could give
*some* results, so here goes.

readers.conf is (which I believe should be okay now?):

====================================
auth "internal" {
        hosts: "*.acadiau.ca,131.162.*"
        default: "unknown at acadiau.ca"
}
auth "external" {
        hosts: "*"
        auth: "radius -f /news/admin/etc/radius.conf"
}
access "default" {
        users: "*"
        newsgroups: "*"
        access: "Read Post"
}
====================================

gdb shows:

poseidon:/news/spool> gdb ../admin/bin/nnrpd core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.6"...
Core was generated by `/news/admin/bin/nnrpd -s                                               '.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /news/admin/lib/libstorage.so.2...done.
Reading symbols from /news/admin/lib/libinn.so.2...done.
Reading symbols from /usr/slocal/lib/libgdbm.so.2...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Reading symbols from /usr/lib/libelf.so.1...done.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
#0  0x806625e in CMDmode (ac=2, av=0x810bd00) at commands.c:561
561             Reply("%d %s InterNetNews NNRP server %s ready (%s).\r\n",
(gdb) bt
#0  0x806625e in CMDmode (ac=2, av=0x810bd00) at commands.c:561
#1  0x8069ead in main (argc=2, argv=0x8047e58) at nnrpd.c:1118
(gdb) list
556     CMDmode(ac, av)
557         int         ac;
558         char        *av[];
559     {
560         if (caseEQ(av[1], "reader"))
561             Reply("%d %s InterNetNews NNRP server %s ready (%s).\r\n",
562                    PERMcanpost ? NNTP_POSTOK_VAL : NNTP_NOPOSTOK_VAL,
563                    PERMaccessconf->pathhost, inn_version_string,
564                    PERMcanpost ? "posting ok" : "no posting");
565         else
(gdb) print PERMcanpost
$1 = 1
(gdb) print PERMaccessconf->pathhost
There is no member named pathhost.
(gdb) print inn_version_string
$2 = "INN 2.4.0 (20000613 CVS prerelease)"
(gdb) print PERMcanpost
$3 = 1


============================

and pathhost is set in my inn.conf file:

poseidon:/news/admin> grep pathhost etc/inn.conf
pathhost:               acadiau.ca

============================

Thoughts?


Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy at hub.org           secondary: scrappy@{freebsd|postgresql}.org 




More information about the inn-workers mailing list