Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 729
  • Last Modified:

How do I check to see if Intelligent Agent is installed

What is the syntax for checking to see if Intelligent Agent is installed on a Unix machine?
0
sikyala
Asked:
sikyala
  • 4
  • 3
  • 2
2 Solutions
 
meluhkCommented:
From Oracle Documentation:

Controlling Operations of the UNIX Agent
On UNIX, the lsnrctl command is used to start and stop the agent. The relevant lsnrctl commands are listed in the table below.

If you want to...   Enter the command...  
Start the agent on UNIX platforms  
 lsnrctl dbsnmp_start  
 
Stop the agent on the UNIX platform  
 lsnrctl dbsnmp_stop  
 
Verify status of the agent  
 lsnrctl dbsnmp_status  
 

0
 
meluhkCommented:
To see if it is installed:

Go to $ORACLE_HOME/bin
type ls -al dbsnmp

If you see the executable such as:
-rwxr-xr-x   1 oracle   dba      3287696 Dec 22 14:31 dbsnmp

Then you know it is installed.

Regards,
Melanie
0
 
sikyalaSenior Database AdministratorAuthor Commented:
when I type:
 lsnrctl dbsnmp_status  

I get this:
NL-00853: undefined command "dbsnmp_status".  Try "help"

When I type:

Go to $ORACLE_HOME/bin
type ls -al dbsnmp

I get this:

-rwsr-s---   1 oracle   dba      2986436 Mar 31 14:12 dbsnmp

I am not sure what this means. Is the Intelligent Agent disabled? Because it appears to be installed.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
radja7Commented:
If you can see this file - Intelligent Agent is allready installed

Run command in terminal:
ps -edf | grep dbsnmp

If process exists then Agent is running
0
 
sikyalaSenior Database AdministratorAuthor Commented:
Does this mean that the Agent is running?:

 root 23446 23441  0 20:52:25 pts/2    0:00 grep dbsnmp
0
 
radja7Commented:
No, this is your current process
Try:
ps -edf | grep dbsnmp | grep -v grep
0
 
sikyalaSenior Database AdministratorAuthor Commented:
I got nothing when I entered ps -edf | grep dbsnmp | grep -v grep
0
 
meluhkCommented:
It sounds like you have the agent installed but not started.  Did you try:
If you want to...   Enter the command...  
Start the agent on UNIX platforms  
 lsnrctl dbsnmp_start  
You will probably want to read more about using the Agent.  But this is what Oracle says you do to start the agent.
0
 
sikyalaSenior Database AdministratorAuthor Commented:
ok thanks
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now