cancel
Showing results for 
Search instead for 
Did you mean: 

SNMP and Oracle 8.1.6

Greg Robertson
Occasional Advisor

SNMP and Oracle 8.1.6


Hi All,

I need some help !!! I am trying to set up SNMP on HP-UX 11.0 for the Oracle Intelligent Agents so that I can send any traps to my HP Open View
Console. Has anyone completed this before or can point me in the right direction for some documentation. I have followed the Oracle SNMP Configuration document but had no luck.

Thanks in advance for any help......
7 REPLIES
harry d brown jr
Honored Contributor

Re: SNMP and Oracle 8.1.6

Wow, Oracle and "intelligent Agents", sounds like a good oxymoron joke. What kind of issues are you running into? Are you getting any errors, or does it just not work?

What level of patches on HPux do you have? At Sept 2001???

Is this server in a DMZ or on the internet? If so, you could potentially have some serious security risks.


live free or die
harry

Live Free or Die
Greg Robertson
Occasional Advisor

Re: SNMP and Oracle 8.1.6

When i run the start_peer -a script the following is displayed.

# ./start_peer -a
start_peer: /usr/sbin/snmpd is already running (pid 1200).
start_peer: ./ora_naaagt is already running (pid 4351).
Starting master_peer ...
./master_peer CONFIG.master NOV >master_peer.out 2>&1 &
Done!

On looking in the master_peer.out

Opening peer master snmp port : 161
snmp bind failure: Address already in use
./master_peer: error processing configuration


The System is in our internal network.

Regards
harry d brown jr
Honored Contributor

Re: SNMP and Oracle 8.1.6

Do a ps -ef and find out what pid 1200 and 4351 are. it thinks its running.

You might have to shutdown the processes and restart.

live free or die
harry
Live Free or Die
Greg Robertson
Occasional Advisor

Re: SNMP and Oracle 8.1.6

I stoped the snmpd and ora_naaagt processes and re-ran the start_peer -a. No errors detected except in master.out

# ./start_peer -a
Starting /usr/sbin/snmpd ...
Done!

Starting ./ora_naaagt (/usr/sbin/naaagt) ....
Done!

Starting master_peer ...
./master_peer CONFIG.master NOV >master_peer.out 2>&1 &
Done!



Master.out
Opening peer master snmp port : 161
snmp bind failure: Address already in use
./master_peer: error processing configuration

harry d brown jr
Honored Contributor

Re: SNMP and Oracle 8.1.6

greg,

if you already have lsof, then great, use it to find what has port 161 open, btw that port is usually some system port (ie a port < 1024).

http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/lsof-4.55/

live free or die
harry

You might try rebooting (I know it's ugly), but you have some low port numbers it trying to mess with.
Live Free or Die
Greg Robertson
Occasional Advisor

Re: SNMP and Oracle 8.1.6

Thanks for your help...

I have resolved the problem. There is a bug in the start_peer script in 8.1.6.0 for HP-UX , and the problem was resolved in 8.1.6.2

Greg Robertson
Occasional Advisor

Re: SNMP and Oracle 8.1.6

Thanks for your help...

I have resolved the problem. There is a bug in the start_peer script in 8.1.6.0 for HP-UX , and the problem was resolved in 8.1.6.2

Re Bug Number 1149917