Hello,

we have around 20 RHEL/CentOS machines (one of
them acting as NIS server) and 3 NetApps at work,
but also have 1 OpenBSD (virtual) machine acting
as an openvpn-Gateway. Until recently it worked
well, but now whenever I reboot it the ypbind would
just hang. Does anybody has an idea, how to debug it?

When I run it from command prompt it will hang too
and I see the messages (which is strange because
Linux machines work fine):

YP server for domain abl_bo not responding, still trying
YP server for domain abl_bo not responding, still trying

When I run fstat in another xterm it will hang too.

Here are my config files and the dmesg is at the bottom:

r...@ablvpn01:root# cat /etc/rc.conf.local
amd=NO
lockd=YES
pf=YES
portmap=YES
check_quotas=NO         # NO may be desirable in some YP environments
yppasswdd_flags=NO      # "-d /etc/yp" if passwd files are in /etc/yp

r...@ablvpn01:root# tail /etc/passwd
_dvmrpd:*:87:87:DVMRP Daemon:/var/empty:/sbin/nologin
_ripd:*:88:88:RIP Daemon:/var/empty:/sbin/nologin
_relayd:*:89:89:Relay Daemon:/var/empty:/sbin/nologin
_ospf6d:*:90:90:OSPF6 Daemon:/var/empty:/sbin/nologin
_snmpd:*:91:91:SNMP Daemon:/var/empty:/sbin/nologin
_rtadvd:*:92:92:IPv6 Router Advertisement Daemon:/var/empty:/sbin/nologin
_ypldap:*:93:93:YP to LDAP Daemon:/var/empty:/sbin/nologin
nobody:*:32767:32767:Unprivileged user:/nonexistent:/sbin/nologin
_openvpn:*:577:577:OpenVPN Daemon:/nonexistent:/sbin/nologin
+:*:0:0:::

r...@ablvpn01:root# tail /etc/group
_relayd:*:89:
_ospf6d:*:90:
_snmpd:*:91:
_rtadvd:*:92:
_ypldap:*:93:
dialer:*:117:
nogroup:*:32766:
nobody:*:32767:
_openvpn:*:577:
+:*::

r...@ablvpn01:root# cat /etc/fstab
/dev/sd0a / ffs rw,softdep 1 1
/dev/sd0d /var/log ffs rw,nodev,nosuid 1 2
# have to hard mount it, OpenBSD doesn't support autofs-mounts :-(
ablnas02:/vol/ablhom01/home/afarber /home/afarber nfs rw,nodev,nosuid 0 0

r...@ablvpn01:root# cat /etc/hostname.vic0
inet 10.121.42.31 255.255.0.0 NONE
! route add -inet 172.25.0.0/16 10.121.42.1

r...@ablvpn01:root# cat /etc/pf.conf
ext_if="vic0"
vpn_if="tun0"
vpn_network="10.8.0.0/24"
nat on $ext_if from $vpn_network to any -> $ext_if
pass in on $ext_if proto udp from any to port 1194 keep state
pass quick on $vpn_if

r...@ablvpn01:root# ls -ld /var/yp/binding
drwxr-xr-x  2 root  wheel  512 Dec 23 13:56 /var/yp/binding

r...@ablvpn01:root# cat /etc/defaultdomain
abl_bo

Thanks for any ideas
Alex

OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz ("GenuineIntel" 686-class) 2.34 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,SSE3
real mem  = 267939840 (255MB)
avail mem = 250646528 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/22/08, BIOS32 rev. 0 @
0xfd880, SMBIOS rev. 2.4 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 07/22/2008
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1e00! 0xca000/0x1000
0xdc000/0x4000! 0xe0000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: <NECVMWar, VMware IDE CDR00, 1.00> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled
vga1 at pci0 dev 15 function 0 "VMware Virtual SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
drm at vga1 unsupported
mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: irq 9
scsibus1 at mpi0: 16 targets, initiator 7
sd0 at scsibus1 targ 0 lun 0: <VMware, Virtual disk, 1.0> SCSI2 0/direct fixed
sd0: 8192MB, 1044 cyl, 255 head, 63 sec, 512 bytes/sec, 16777216 sec total
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
vic0 at pci0 dev 17 function 0 "AMD 79c970 PCnet-PCI" rev 0x10: irq
11, address 00:0c:29:d0:be:7d
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask e765 netmask ef65 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b

Reply via email to