Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Starting Oracle with SMF...
In comp.unix.solaris Noel R. Nihill <Noel.Nihill_at_vallent.com> wrote:
> Hi all.
> This is really baffling me. I've got an SMF service manifest here
> which is supposed to
> start a couple of Oracle instances. It runs as root:root, depends on
> filesystem:local
> only, and works great from the command line. That is to say, I can
> svcadm enable/disable
> as root from a shell prompt. (The start/stop method "su -"s to the
> oracle user.) The weird thing is, when I reboot a system immediately
> after installing the databases, they start up fine automatically. But
> subsequent reboots fail, with the following in the startup logs:
> SQL> ORA-01031: insufficient privileges
I think the best way to attack this is to understand the oracle complaint better. What would cause the privileges to change?
However, my guess is that your dependencies are insufficient and the startup requires some OS feature that has not yet started (networking? name services?)
As a quick test, make it dependent on milestone/multi-user. If that works consistently, I'd assume that that's the root of the issue. You could leave it like that or investigate exactly *what* other service or services it needs and make those dependencies explict.
I would probably also want to make a dependency from multi-user-server to it.
-- Darren Dunham ddunham_at_taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >Received on Thu May 31 2007 - 12:48:12 CDT