Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > installing Oracle on 10.3.5 (client)

installing Oracle on 10.3.5 (client)
Thread Tools
Dedicated MacNNer
Join Date: Oct 2000
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Aug 24, 2004, 03:40 PM
 
I am trying to install Oracle 9 on my home mac, using this oracle tutorial but I'm running into some problems:
- I have reached the point where I have created a .bashrc file containing the line ~/.bashrc.oracle and have at the terminal run . ~/.bashrc.oracle (without any feedback). Then they mention editing a file in the /etc/hosts, but I don't have such a library containing the lines 127.0.0.1 (plus more).
- then I've made the createDb file and entered the following commands:
shell$ chmod 755 createDb
shell$ ./createDb
No error messages appear, but the shell$ appears instantly, which leads me to believe that something is wrong.
Then when I try to run sqlplus from the terminal, I get the message: -sh: sqlplus: command not found

Anyone got an idea on what could be done?
TIA,
Peter
     
qyn
Dedicated MacNNer
Join Date: Dec 2000
Location: sj ca
Status: Offline
Reply With Quote
Aug 24, 2004, 05:28 PM
 
Your problem most likely has nothing to do with /etc/hosts. It seems a lot like an environment problem, but it's too hard to tell from your post what exactly went wrong. the simplest explanation is the your path is wrong, but it could be something more serious.

Did you correctly create the oracle account? Look in ~oracle
Does the command "sqlplus" actually exist? Look in ~oracle/bin
Is your .bashrc.oracle file correct?
Are you correctly logged in (or su'd) as the oracle user? Type "whoami" to find out
     
Dedicated MacNNer
Join Date: Oct 2000
Location: Copenhagen, Denmark
Status: Offline
Reply With Quote
Aug 25, 2004, 04:55 AM
 
Originally posted by qyn:
Did you correctly create the oracle account? Look in ~oracle
Does the command "sqlplus" actually exist? Look in ~oracle/bin
Is your .bashrc.oracle file correct?
Are you correctly logged in (or su'd) as the oracle user? Type "whoami" to find out
- the oracle account is created and works (ie I can log in and work in it)
- the sqlplus command should be ok - in the /bin library there is a sqlplus which starts up a terminal window, but then comes with a message that I don't have right here, but I will provide it when returning home
- the .bashrc.oracle is correct according to the tutorial, but I don't know much about the validity of the content
- I am logged in as the oracle user.

For once I wish I had a windows box at home, as it is very easy to install Oracle on that (did it at the course I'm on with no problems)...

Thanks,
Peter
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2