Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: A bit of Linux advice yet again??
Thanks Frank and zeb: .bash_profile did it, beautifully.
I was following my old instructions for SuSe 7.1, where .profile worked, but I now realise the error of my ways in hoping that the same operating system would work the same way, regardless of the distro!
Appreciate your help very much.
Regards
HJR
"zeb" <thierry.constant2_at_wanadoo.fr> wrote in message
news:3e3be271$0$232$626a54ce_at_news.free.fr...
> If you have a .bash_profile, the .profile is'nt read
> put your configuration in the .bash_profile
>
> "Howard J. Rogers" <howardjr2000_at_yahoo.com.au> a écrit dans le message de
> news: 0FK_9.38003$jM5.96462_at_newsfeeds.bigpond.com...
> > OK, maybe I should post this in a Linux newsgroup, but...
> >
> > Against all the odds, I've gotten 9.2 to run on Mandrake 9.0 (which, I
> have
> > to say, is the first Linux distro I've seen that's persuaded me there
are
> > viable alternatives to Windows). I have a "DB9" instance/database and an
> > OEMREP instance/database. Log on as the Oracle user, and there's not a
> > problem.
> >
> > But I want to log on as me. So, I create a .profile in my home directory
> > that sets all the usual variables, including path.
> >
> > I reboot the machine, just because I'm a former Windows user and we're
> used
> > to that sort of thing. I log on as me. I open a terminal window, and
type
> > 'sqlplus', and I get the error 'command not found'.
> >
> > I then type ". ./.profile", and the 'sqlplus' command works perfectly.
> >
> > Now, I realise I only know the backend of batch files, but I was rather
> > under the impression that .profile would be invoked the moment I logged
> in.
> > So why isn't it? What am I doing wrong (try and keep the list modestly
> > short!).
> >
> > Oh -one other thing. I know all about oratab, and I *do* get both my
> > instances starting automatically at reboot. But how does one automate
the
> > intelligent agent and listener? oratab doesn't seem syntactically
capable
> of
> > doing these, so I guess I must look elsewhere. Am I deep into shell
> > scripting at this point??
> >
> > Forebearance for a Windows user, please. I am at least trying!!
> >
> > Regards
> > HJR
> >
> >
> >
>
>
Received on Sat Feb 01 2003 - 13:45:36 CST
![]() |
![]() |