Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: svrmgrl problems
In our last gripping episode kal121_at_my-deja.com wrote:
> Hi,
>
> Here's the problem:
>
> I cannot run svrmgrl as root. This is the error I get:
>
> [root]# svrmgrl
> ld.so.1: svrmgrl: fatal: libjava.so: open failed: No such file or
> directory
>
> I have set the LD_LIBRARY_PATH in root's .bash_profile to no avail.
>
> The reason this is a problem is because svrmgrl gets called from the
> dbstart and dbshut scripts which get called from dbora, which get
> called as root when the machine reboots. I have got this working on
> other machines, but not here.
>
> Thanks
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
You should be calling the dbstart and dbshut scripts using su:
su - oracle -c dbstart
The database should be started as 'oracle', not as 'root'.
-- David Fitzjarrell Oracle Certified DBA Sent via Deja.com http://www.deja.com/ Before you buy.Received on Tue Oct 31 2000 - 16:19:16 CST