"oracle" shell environment

Vitalis vitalis at numericable.fr
Thu Nov 6 13:28:56 PST 2003

On Thu, 2003-11-06 at 21:58, Lowell Gilbert wrote:
> Vitalis <vitalis at numericable.fr> writes:
> > Using http://www.shadowcom.net/freebsd-oracle9i/ how can we deal with
> > the "oracle" shell environment? I mean, due to the linux compatibility
> > mode, there is some Oracle stuff under /compat/linux/etc/, but scritpts
> > and executables expect them to be in /etc. We can modify dbstart et al.,
> > but is there another solution?
> The linux "emulator" searches /compat/linux... before /..., so this
> should work fine, as far as I can see.
> > BTW can we (should we) change the default shell of the "oracle" user to
> > something like /compat/linux/bin/*sh? Or can we (should we) launch a
> > /compat/linux/bin/*sh at the end of the .profile or .login?
> No, again, this should probably just work.

I've noticed the problem with Oracle scripts such as dbstart. It tries
something like "cat /etc/oratab".

Here's what I get from the oracle account (oratab is in

oracle-bsd> ls /etc/oratab
oracle-bsd> cat /etc/oratab
cat: /etc/oratab: No such file or directory
oracle-bsd> which cat
oracle-bsd> echo $SHELL

More information about the freebsd-questions mailing list