Re: named dhcpd network problems after update
Missed the misc@ CC:, sry richard On Wed, Feb 27, 2008 at 8:26 PM, Richard Daemon [EMAIL PROTECTED] wrote: SNIP For the dhcpd, /etc/dhcpd.interfaces is ok? or try 'dhcpd bge0' ? Specifiing bge0 on the command line has the same effect: root:/root:10# dhcpd -df bge0 Can't listen on bge0 - it has no IP address. No interfaces to listen on. exiting. For named, you're using /etc/named.conf instead of /var/named/etc/named.conf? named is reading /var/named/etc/named.conf, I think the log line says /etc/named.conf since it reads the config file after chroot() to /var/named/ I'm not sure about the [rt]xpause and what that means on the media: line from ifconfig; the man pages for bge, ifmedia, ifconfig don't mention anything.
named dhcpd network problems after update
Heya misc: Base dhcpd and named are failing to start after an update. I'm really confused at this point. Other daemons are working fine and I can't see anything else 'wrong' with the system. Any thoughts at all would be greatly appreciated. This was a 4.2-release system. I followed the standard process (build kernel, reboot, build userland). I've done it twice now figuring I screwed something up (which i still believe) I updated my source tree with: cvs -d$CVSROOT update -rOPENBSD_4_2 -Pd src cvs -d$CVSROOT update -rOPENBSD_4_2 -Pd ports Here is a snippit of /var/log/messages during bootup: Feb 27 15:54:49 vash named[21321]: starting BIND 9.3.4 Feb 27 15:54:50 vash named[21321]: /usr/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c:107: INSIST(ifa != 0L) failed Feb 27 15:54:50 vash named[21321]: exiting (due to assertion failure) Feb 27 15:54:51 vash savecore: no core dump Feb 27 15:54:52 vash dhcpd: Can't listen on bge0 - it has no IP address. Feb 27 15:54:52 vash dhcpd: No interfaces to listen on. Feb 27 15:54:52 vash dhcpd: exiting. Feb 27 15:54:54 vash squid[3353]: Squid Parent: child process 19826 started Trying to start named and dhcpd manually we get: root:/root/scripts:8# named -f -g -d7 Starting privilege seperation 27-Feb-2008 16:32:47.378 starting BIND 9.3.4 -f -g -d7 27-Feb-2008 16:32:47.381 loading configuration from '/etc/named.conf' 27-Feb-2008 16:32:47.397 set maximum stack size to 33554432: success 27-Feb-2008 16:32:47.397 set maximum data size to 1073741824: success 27-Feb-2008 16:32:47.397 set maximum core size to 9223372036854775807: success 27-Feb-2008 16:32:47.397 set maximum open files to 1024: success 27-Feb-2008 16:32:47.397 /usr/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c:107: INSIST(ifa != 0L) failed 27-Feb-2008 16:32:47.397 exiting (due to assertion failure) root:/root/scripts:9# dhcpd -d -f No interfaces to listen on. exiting. root:/root/scripts:10# Random pieces of possibly useful output follow root:/root/scripts:7# ifconfig -a lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33168 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:0a:e4:26:dd:30 description: Internal to my cube media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet 192.168.24.5 netmask 0xff00 broadcast 192.168.24.255 inet6 fe80::20a:e4ff:fe26:dd30%bge0 prefixlen 64 scopeid 0x1 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:11:0a:60:0d:82 description: Lans Scare Me groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.100.7.38 netmask 0xff00 broadcast 10.100.7.255 inet6 fe80::211:aff:fe60:d82%em0 prefixlen 64 scopeid 0x2 em1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 lladdr 00:11:0a:60:0d:83 media: Ethernet autoselect (none) status: no carrier enc0: flags=0 mtu 1536 pflog0: flags=141UP,RUNNING,PROMISC mtu 33168 groups: pflog root:/root/scripts:3# uname -a OpenBSD vash.copart.com 4.2 GENERIC#2 amd64 root:/root/scripts:5# cat /var/run/dmesg.boot OpenBSD 4.2-stable (GENERIC) #2: Wed Feb 27 14:31:04 PST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1609551872 (1534MB) avail mem = 1549684736 (1477MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.33 @ 0xefeb0 (37 entries) bios0: vendor Sun Microsystems version R01-B5 S1 date 09/29/2006 bios0: Sun Microsystems W1100z/2100z acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Opteron(tm) Processor 144, 1795.14 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3 DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required pci0 at mainbus0 bus 0: configuration mode 1 ppb0 at pci0 dev 6 function 0 AMD 8111 PCI-PCI rev 0x07 pci1 at ppb0 bus 1 ohci0 at pci1 dev 0 function 0 AMD 8111 USB rev 0x0b: irq 11, version 1.0, legacy support ohci1 at pci1 dev 0 function 1 AMD 8111 USB rev 0x0b: irq 11, version 1.0, legacy support ohci2 at pci1 dev 3 function 0 NEC USB rev 0x43: irq 10, version 1.0, legacy support ohci3 at pci1 dev 3 function 1 NEC USB rev 0x43: irq 11, version 1.0, legacy support ehci0 at pci1 dev 3 function 2 NEC USB rev 0x04: irq 5 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1 TI TSB43AB22 FireWire rev 0x00 at pci1 dev 4 function 0 not configured usb1 at ohci0: USB revision 1.0 uhub1 at usb1: AMD OHCI
Re: named dhcpd network problems after update
On Wed, Feb 27, 2008 at 7:38 PM, xSAPPYx [EMAIL PROTECTED] wrote: Heya misc: Base dhcpd and named are failing to start after an update. I'm really confused at this point. Other daemons are working fine and I can't see anything else 'wrong' with the system. Any thoughts at all would be greatly appreciated. This was a 4.2-release system. I followed the standard process (build kernel, reboot, build userland). I've done it twice now figuring I screwed something up (which i still believe) I updated my source tree with: cvs -d$CVSROOT update -rOPENBSD_4_2 -Pd src cvs -d$CVSROOT update -rOPENBSD_4_2 -Pd ports Here is a snippit of /var/log/messages during bootup: Feb 27 15:54:49 vash named[21321]: starting BIND 9.3.4 Feb 27 15:54:50 vash named[21321]: /usr/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c:107: INSIST(ifa != 0L) failed Feb 27 15:54:50 vash named[21321]: exiting (due to assertion failure) Feb 27 15:54:51 vash savecore: no core dump Feb 27 15:54:52 vash dhcpd: Can't listen on bge0 - it has no IP address. Feb 27 15:54:52 vash dhcpd: No interfaces to listen on. Feb 27 15:54:52 vash dhcpd: exiting. Feb 27 15:54:54 vash squid[3353]: Squid Parent: child process 19826 started Trying to start named and dhcpd manually we get: root:/root/scripts:8# named -f -g -d7 Starting privilege seperation 27-Feb-2008 16:32:47.378 starting BIND 9.3.4 -f -g -d7 27-Feb-2008 16:32:47.381 loading configuration from '/etc/named.conf' 27-Feb-2008 16:32:47.397 set maximum stack size to 33554432: success 27-Feb-2008 16:32:47.397 set maximum data size to 1073741824: success 27-Feb-2008 16:32:47.397 set maximum core size to 9223372036854775807: success 27-Feb-2008 16:32:47.397 set maximum open files to 1024: success 27-Feb-2008 16:32:47.397 /usr/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c:107: INSIST(ifa != 0L) failed 27-Feb-2008 16:32:47.397 exiting (due to assertion failure) root:/root/scripts:9# dhcpd -d -f No interfaces to listen on. exiting. root:/root/scripts:10# Random pieces of possibly useful output follow root:/root/scripts:7# ifconfig -a lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 33168 groups: lo inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:0a:e4:26:dd:30 description: Internal to my cube media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet 192.168.24.5 netmask 0xff00 broadcast 192.168.24.255 inet6 fe80::20a:e4ff:fe26:dd30%bge0 prefixlen 64 scopeid 0x1 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:11:0a:60:0d:82 description: Lans Scare Me groups: egress media: Ethernet autoselect (100baseTX full-duplex) status: active inet 10.100.7.38 netmask 0xff00 broadcast 10.100.7.255 inet6 fe80::211:aff:fe60:d82%em0 prefixlen 64 scopeid 0x2 em1: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 lladdr 00:11:0a:60:0d:83 media: Ethernet autoselect (none) status: no carrier enc0: flags=0 mtu 1536 pflog0: flags=141UP,RUNNING,PROMISC mtu 33168 groups: pflog root:/root/scripts:3# uname -a OpenBSD vash.copart.com 4.2 GENERIC#2 amd64 root:/root/scripts:5# cat /var/run/dmesg.boot OpenBSD 4.2-stable (GENERIC) #2: Wed Feb 27 14:31:04 PST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1609551872 (1534MB) avail mem = 1549684736 (1477MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.33 @ 0xefeb0 (37 entries) bios0: vendor Sun Microsystems version R01-B5 S1 date 09/29/2006 bios0: Sun Microsystems W1100z/2100z acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Opteron(tm) Processor 144, 1795.14 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3 DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required pci0 at mainbus0 bus 0: configuration mode 1 ppb0 at pci0 dev 6 function 0 AMD 8111 PCI-PCI rev 0x07 pci1 at ppb0 bus 1 ohci0 at pci1 dev 0 function 0 AMD 8111 USB rev 0x0b: irq 11, version 1.0, legacy support ohci1 at pci1 dev 0 function 1 AMD 8111 USB rev 0x0b: irq 11, version 1.0, legacy support ohci2 at pci1 dev 3 function 0 NEC USB rev 0x43: irq 10, version 1.0, legacy support ohci3 at pci1 dev 3 function 1 NEC USB rev 0x43: irq 11, version 1.0, legacy support ehci0 at pci1 dev 3