[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netsaintplug-help
Subject:    Re: [Netsaintplug-help] check_snmp returns warning all the time
From:       Andy Furnell <andy.furnell () uk ! clara ! net>
Date:       2001-12-19 17:27:28
[Download RAW message or body]

On Wed, Dec 19, 2001 at 12:20:43PM -0500, Subhendu Ghosh wrote:
> 
> could you run with the command with strace/truss and see what is
> happening...  The Warning may be getting set if snmp cannot find its
> mibdir...
> 
> -sg
> 

attached is the output of running the command through truss :)

A

-- 
Andy Furnell            Claranet UK Ltd.     andy.furnell@uk.clara.net
Systems Administrator    020 7903 3246            http://www.clara.net


__sysctl(0xbfbffa94,0x2,0x280607e8,0xbfbffa90,0x0,0x0) = 0 (0x0)
mmap(0x0,32768,0x3,0x1002,-1,0x0)		 = 671485952 (0x28061000)
geteuid()					 = 1026 (0x402)
getuid()					 = 1026 (0x402)
getegid()					 = 1000 (0x3e8)
getgid()					 = 1000 (0x3e8)
open("/var/run/ld-elf.so.hints",0,00)		 = 3 (0x3)
read(0x3,0xbfbffa74,0x80)			 = 128 (0x80)
lseek(3,0x80,0)					 = 128 (0x80)
read(0x3,0x28065000,0x4c)			 = 76 (0x4c)
close(3)					 = 0 (0x0)
access("/usr/lib/compat/libutil.so.3",0)	 ERR#2 'No such file or directory'
access("/usr/X11R6/lib/libutil.so.3",0)		 ERR#2 'No such file or directory'
access("/usr/local/lib/libutil.so.3",0)		 ERR#2 'No such file or directory'
access("/usr/local/lib/mysql/libutil.so.3",0)	 ERR#2 'No such file or directory'
access("/usr/lib/libutil.so.3",0)		 = 0 (0x0)
open("/usr/lib/libutil.so.3",0,027757775354)	 = 3 (0x3)
fstat(3,0xbfbffabc)				 = 0 (0x0)
read(0x3,0xbfbfea8c,0x1000)			 = 4096 (0x1000)
mmap(0x0,36864,0x5,0x2,3,0x0)			 = 671518720 (0x28069000)
mmap(0x28071000,4096,0x3,0x12,3,0x7000)		 = 671551488 (0x28071000)
close(3)					 = 0 (0x0)
access("/usr/lib/compat/libkvm.so.2",0)		 ERR#2 'No such file or directory'
access("/usr/X11R6/lib/libkvm.so.2",0)		 ERR#2 'No such file or directory'
access("/usr/local/lib/libkvm.so.2",0)		 ERR#2 'No such file or directory'
access("/usr/local/lib/mysql/libkvm.so.2",0)	 ERR#2 'No such file or directory'
access("/usr/lib/libkvm.so.2",0)		 = 0 (0x0)
open("/usr/lib/libkvm.so.2",0,027757775354)	 = 3 (0x3)
fstat(3,0xbfbffabc)				 = 0 (0x0)
read(0x3,0xbfbfea8c,0x1000)			 = 4096 (0x1000)
mmap(0x0,24576,0x5,0x2,3,0x0)			 = 671555584 (0x28072000)
mmap(0x28077000,4096,0x3,0x12,3,0x4000)		 = 671576064 (0x28077000)
close(3)					 = 0 (0x0)
access("/usr/lib/compat/libc.so.4",0)		 ERR#2 'No such file or directory'
access("/usr/X11R6/lib/libc.so.4",0)		 ERR#2 'No such file or directory'
access("/usr/local/lib/libc.so.4",0)		 ERR#2 'No such file or directory'
access("/usr/local/lib/mysql/libc.so.4",0)	 ERR#2 'No such file or directory'
access("/usr/lib/libc.so.4",0)			 = 0 (0x0)
open("/usr/lib/libc.so.4",0,027757775354)	 = 3 (0x3)
fstat(3,0xbfbffabc)				 = 0 (0x0)
read(0x3,0xbfbfea8c,0x1000)			 = 4096 (0x1000)
mmap(0x0,610304,0x5,0x2,3,0x0)			 = 671580160 (0x28078000)
mmap(0x280f5000,20480,0x3,0x12,3,0x7c000)	 = 672092160 (0x280f5000)
mmap(0x280fa000,77824,0x3,0x1012,-1,0x0)	 = 672112640 (0x280fa000)
close(3)					 = 0 (0x0)
sigaction(SIGILL,0xbfbffb14,0xbfbffafc)		 = 0 (0x0)
sigprocmask(0x1,0x0,0x2806071c)			 = 0 (0x0)
sigaction(SIGILL,0xbfbffafc,0x0)		 = 0 (0x0)
sigprocmask(0x1,0x280606e0,0xbfbffb3c)		 = 0 (0x0)
sigprocmask(0x3,0x280606f0,0x0)			 = 0 (0x0)
readlink("/etc/malloc.conf",0xbfbff6c8,63)	 ERR#2 'No such file or directory'
mmap(0x0,4096,0x3,0x1002,-1,0x0)		 = 672190464 (0x2810d000)
break(0x8052000)				 = 0 (0x0)
break(0x8053000)				 = 0 (0x0)
break(0x8054000)				 = 0 (0x0)
getrlimit(0x4,0xbfbff728)			 = 0 (0x0)
setrlimit(0x4,0xbfbff728)			 = 0 (0x0)
break(0x8055000)				 = 0 (0x0)
pipe()						 = 3 (0x3)
pipe()						 = 5 (0x5)
fork()						 = 94653 (0x171bd)
close(4)					 = 0 (0x0)
getdtablesize()					 = 16424 (0x4028)
fcntl(0x3,0x3,0x0)				 = 2 (0x2)
close(6)					 = 0 (0x0)
fcntl(0x5,0x3,0x0)				 = 2 (0x2)
fstat(3,0xbfbff638)				 = 0 (0x0)
break(0x8059000)				 = 0 (0x0)
read(0x3,0x8055000,0x4000)			 = 56 (0x38)
break(0x805a000)				 = 0 (0x0)
SIGNAL 20
read(0x3,0x8055000,0x4000)			 = 0 (0x0)
fstat(5,0xbfbff638)				 = 0 (0x0)
break(0x805e000)				 = 0 (0x0)
read(0x5,0x805a000,0x4000)			 = 845 (0x34d)
close(5)					 = 0 (0x0)
close(3)					 = 0 (0x0)
wait4(0x171bd,0xbfbff724,0x0,0x0)		 = 94653 (0x171bd)
fstat(1,0xbfbff3b8)				 = 0 (0x0)
ioctl(1,TIOCGETA,0xbfbff3ec)			 = 0 (0x0)
SNMP WARNING - 49 
write(1,0x8055000,19)				 = 19 (0x13)
sigprocmask(0x1,0x280606e0,0xbfbffb34)		 = 0 (0x0)
sigprocmask(0x3,0x280606f0,0x0)			 = 0 (0x0)
exit(0x1)					process exit, rval = 256


_______________________________________________
Netsaintplug-help mailing list
Netsaintplug-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netsaintplug-help
http://netsaintplug.sf.net/
http://sf.net/projects/netsaintplug/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic