[Nagiosplug-help] Problem with check_dns plugin in chroot

Eric Vollmer ns-admin at thebiz.net
Wed Sep 25 11:54:02 CEST 2002


Hello, I am currently in the process of migrating from NetSaint to Nagios.
On the FreeBSD 4.6.2 machine I keep getting:
'/kernel: pid PID#, uid 1002: exited on signal 11 (core dumped).

I am running Nagios within a chroot which worked fine with the old NetSaint
on FreeBSD 4.3.  If I run the check_dns command from the prompt outside
the chroot everything works fine.

# ./check_dns -v -H www.yahoo.com -s 216.238.0.10
/usr/sbin/nslookup www.yahoo.com 216.238.0.10
Server:  nscache1.thebiz.net

Address:  216.238.0.10



Non-authoritative answer:

Name:    www.yahoo.akadns.net

Addresses:  66.218.71.86, 66.218.71.81, 66.218.71.87, 66.218.71.83

DNS ok - 1 seconds response time, Address(es) is/are  66.218.71.86, 
66.218.71.81, 66.218.71.87, 66.218.71.83



Inside the chroot it fails.  This is what that looks like.

# ./check_dns -v -H www.yahoo.com -s 216.238.0.10
/usr/sbin/nslookup www.yahoo.com 216.238.0.10
Segmentation fault (core dumped)

This is what is in my /etc directory of the chroot
group
login.conf
master.passwd
passwd
pwd.db
rc.d
services
localtime
mail
pam.conf
protocols
rc
resolv.conf
spwd.db


Has anyone else seen the same issues in a similar environment?  Any help would
be greatly appreciated.

Eric Vollmer
ericv at thebiz.net





More information about the Help mailing list