*** From dhcp-server -- To unsubscribe, see the end of this message. *** server (uname -a): SunOS teal 5.7 Generic sun4c sparc client: HP laserjet iiisi firmware datecode 19910826 V6.7 C First problem: SIGSEGV when I have an error in the configuration file. >root@teal</etc># !. >./dhcpd -d >Internet Software Consortium DHCP Server V3.0b1pl5 >Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. >All rights reserved. > >Please contribute if you find this software useful. >For info, please visit http://www.isc.org/dhcp-contrib.html > >/etc/dhcpd.conf line 8: 129.138.4.53 (262): expecting IP address or >hostname > option log-servers "129.138.4.53" > ^ >Segmentation Fault (core dumped) >root@teal</etc># fg Here is the gdb output: >root@teal</etc># gdb ./dhcpd core >GNU gdb 4.18 >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 "sparc-sun-solaris2.7"... >Core was generated by `./dhcpd -d'. >Program terminated with signal 11, Segmentation Fault. >Reading symbols from /lib/libresolv.so.2...done. >Reading symbols from /lib/libsocket.so.1...done. >Reading symbols from /lib/libnsl.so.1...done. >Reading symbols from /lib/libgen.so.1...done. >Reading symbols from /lib/libc.so.1...done. >Reading symbols from /lib/libdl.so.1...done. >Reading symbols from /lib/libmp.so.2...done. >Reading symbols from /lib/nss_files.so.1...done. >Reading symbols from /lib/nss_nis.so.1...done. >#0 0x39808 in expression_dereference (eptr=0xeffff12c, > name=0x415d0 "parse_option_statement") at tree.c:1316 >1316 if (--(expr -> refcnt) > 0) >(gdb) where >#0 0x39808 in expression_dereference (eptr=0xeffff12c, > name=0x415d0 "parse_option_statement") at tree.c:1316 >#1 0x254ec in parse_option_statement (cfile=0x5b640, lookups=1, > option=0x57660, op=supersede_option_statement) at parse.c:2197 >#2 0x1aa94 in parse_statement (cfile=0x5b640, group=0x67c80, type=3, > host_decl=0x0, declaration=0) at confpars.c:429 >#3 0x1cb2c in parse_subnet_declaration (cfile=0x5b640, share=0x67c40) > at confpars.c:1329 >#4 0x1a2b4 in parse_statement (cfile=0x5b640, group=0x65564, type=0, > host_decl=0x0, declaration=0) at confpars.c:246 >#5 0x19d48 in readconf () at confpars.c:57 >#6 0x11bb0 in main (argc=2, argv=0xeffff764, envp=0xeffff770) at dhcpd.c:223 >(gdb) quit Second problem: HPLJiiisi claims tag 7 (loghost) is wrong Here is my dhcp.conf: >subnet 129.138.3.0 netmask 255.255.255.0 { > option domain-name "tcct.nmt.edu" ; > option domain-name-servers prism.nmt.edu ; > option routers 129.138.3.1 ; >## >## The iiisi doesn't like this log-servers line >## ># option log-servers 129.138.4.53 ; >} > >option hpnp code 144 = text ; > >host speare19 { > option host-name "speare19" ; > hardware ethernet 08:00:09:40:21:66 ; > fixed-address 129.138.3.45 ; > option hpnp "hpnp/speare19.cfg" ; > always-reply-rfc1048 true ; >} If I uncomment the log-servers line the iiisi will most likely lock up and spit out an "80 service (01e0)" on the screen. Twice (out of many tries) it actually recovered, and the test page listed the error as "I/O card not ready: 26 bad bootp tag size t7: 4". Tag 7 should be the syslog server (as per RFC1048). If I don't have the tag 144, then the printer doesn't complain about tag 7, but I really need the tag 144. Since I have never seen a printer syslog anything, I don't mind leaving the syslog tag out. -- William Colburn, "Sysprog" <[EMAIL PROTECTED]> Computer Center, New Mexico Institute of Mining and Technology http://www.nmt.edu/tcc/ http://www.nmt.edu/~wcolburn ----------------------------------------------------------------------- List Archives : http://www.isc.org/ml-archives/dhcp-server/ Unsubscribe : http://www.isc.org/dhcp-lists.html -or- : mailto:[EMAIL PROTECTED]?Subject=unsubscribe -----------------------------------------------------------------------
