Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle 'Inteligent' Agent (DBSNMP)
I use a little shell script in /etc/init.d to start my DBSNMP daemon with
the following lines
case '$1' in
'start') su - oracle -c "lsnrctl dbsnmp_start";;
'stop') su - oracle -c "lsnrctl dbsnmp_start";;
esac
Michiel Ploeger <nospam.Michiel.Ploeger_at_Bluewater-Group.Com> wrote in
article <7s89gd$gq7$1_at_news1.xs4all.nl>...
> Got it fixed.
> First I deleted all files generated by the agent.
> Then logged on as oracle and su'ed to super-user
> Started the agent, and it came up fine.
> Now it's possible to start and stop the agent under the oracle user.
>
> I wanted to make some clean log files where I saw the agent couldn't
> read the user.q file. It was owned by root but the agent still couldn'r
read
> it.
> That's why it deleted all files of the agent and tried it again with the
> super-user
> account.
>
> Now i am gonna try to start the agent from rc2.d......
>
> Tnx, Frederic to make me look more precise.... :-)
>
> M. Ploeger
>
>
>
Received on Tue Sep 21 1999 - 11:10:54 CDT
![]() |
![]() |