• 2 replies
  • Latest Post - ‏2009-04-24T18:39:09Z by SystemAdmin
706 Posts

Pinned topic aus-snmp

‏2009-02-13T20:37:14Z |
No idea if I’m the right place or not, if I am not, I apologize.

I am running an IBM Series X3650 box with VMware ESX kernel
I am having issues install Raid Management software and setting up SNMP for the 8k SAS Raid Controller.
I have used the RaidMan-8.40.00 package, however it runs to some extent, have very little idea to as what beyond it allowing you to connect remotely from another machine using the raidman client. The closest ive come to monitoring the raid controller is by running the aus-snmpd file/agent, it actually works and i can see the OIDs when i walk the mib. However, its bugged, it does not clean up after its self as anyport it opens remains in the close wait state.

I have also used the newest RaidMan-9.00 package, same installation method, seems to be exactly the same. When i attempt to run aus_snmpd i get the following error msg: ./aus-snmpd: error while loading shared libraries: cannot open shared object file: No such file or directory

I haven’t got a clue what is going on anymore, its driving me nuts; does anyone have any idea to as what is going on, how to fix it, or can point me towards a plausible answer?


Updated on 2009-04-24T18:39:09Z at 2009-04-24T18:39:09Z by SystemAdmin
  • SystemAdmin
    706 Posts

    Re: aus-snmp

    ln -s /usr/RaidMan/ /lib/
  • SystemAdmin
    706 Posts

    Re: aus-snmp

    Even better:

    root@qqq # more /etc/
    root@qqq # ldconfig -v |grep -i Raid
    root@qqq # /usr/sbin/setenforce 0

    The above line was tried because SELinux audit message are flooded with denied warning like:

    type=USER_TTY msg=audit(1240595094.220:1366363): user pid=4196 uid=0 auid=0 subj=root:system_r:unconfined_t:s0-s0:c0.c1023 msg='"/usr/RaidMan/aus-snmpd"'
    type=AVC msg=audit(1240595094.224:1366364): avc: denied { execmod } for pid=7811 comm="aus-snmpd" path="/usr/RaidMan/" dev=sda7 ino=718228 scontext=root:system_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file
    type=SYSCALL msg=audit(1240595094.224:1366364): arch=40000003 syscall=125 success=no exit=-13 a0=f7f05000 a1=1c000 a2=5 a3=ffc2a1a0 items=0 ppid=4196 pid=7811 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=227841 comm="aus-snmpd" exe="/usr/RaidMan/aus-snmpd" subj=root:system_r:unconfined_t:s0-s0:c0.c1023 key=(null)
    type=USER_TTY msg=audit(1240595097.620:1366365): user pid=4196 uid=0 auid=0 subj=root:system_r:unconfined_t:s0-s0:c0.c1023 msg='tail -100 /var/log/audit/audit.log'

    root@qqq # /usr/RaidMan/aus-snmpd --help
    /usr/RaidMan/aus-snmpd: Invalid option: --help

    /usr/RaidMan/aus-snmpd: -f -H -v
    -f Don't fork from shell
    -h -H -? Print this help message
    -i Print version information
    /usr/RaidMan/aus-snmpd: When run from startup script, never use any command line arguments!

    root@qqq #