SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 12th, 2002, 03:23 PM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
Starting Up Oracle

I'm new to this whole UNIX and Linux stuff. I'm totally a Windows person, but I'm learning. Anyway I'm on a Linux cluster and my DBA has loaded on Oracle, but all he does is be an administrator so he says I need to read the Oracle documentation on how to start it up. Now if this was windows, I'd just go find Oracle.exe (or something similar) and run it and voila it'd be started, but Linux seems to be different. I've found the Oracle directory, and I don't have any clue what to do. And Oracle's website is so confusing that it's not any help. I ventured deeper in the Oracle directory and found the binary folder with all these executables, but I cannot run any of them. I just get "Command Not Found". I'm logged in as root, so I know I should have access to them. Really, what I wanted to do is run SQL*Plus so I can start creating and adding data to tables, but when I type in "sqlplus" in the command prompt, it doesn't work even though I see a binary for it in the directory.

So if anybody else has gone through this or knows what's going on, please help me out! Thanks.
__________________
-Ben Ilegbodu
(Around the Bend Web Designs)

Reply With Quote
  #2  
Old July 14th, 2002, 10:34 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
the reason you can´t start the file is probably that unlike windows the current directory is not in the search path by default (at least for root).
i.e. you need to tell the shell explicitly you want to start from the current dir:

./oracle
or
./sqlplus
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old July 14th, 2002, 02:14 PM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,707 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 2 h 38 m 50 sec
Reputation Power: 259
Question

Take first a look at http://www.mandrakeuser.org/docs/utils/index.html#oom this should answer many of your question, but beware it's not designed with a clustered installation in mind.

But, I have to ask who is the idiot that leaves a beginner without help on an Oracle Cluster????????

PS did you notice this guide http://otn.oracle.com/products/orac...df/redp0410.pdf ? (9i cluster specific?)

Last edited by pabloj : July 14th, 2002 at 02:17 PM.

Reply With Quote
  #4  
Old July 14th, 2002, 02:55 PM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
What I'm doing is not one of my DBA's highest priorities, so he kinda just let me loose with little instruction. But although it took 10 times longer to get stuff done, it was definitely a learning experience. I've probably learned a whole lot more this way, than if he would've just told me everything. I mean I even learned how to edit the PATH environment variable.

Anyway, M.Hirsch, you were right. I was thinking UNIX was going to be like DOS where if you're in the current directory all you have to do is type in the filename. It took me forever to realize that I had to type in the absolute path. This is actually why I ended up editing $PATH. Thanks for the info about starting in the current directory. I actually asked that in another thread.

And pabloj, it seems like those links are for administrators trying to set up Oracle. I just wanted to run it and connect to an already created database to add tables and run queries.

Thanks for all the help guys!

Reply With Quote
  #5  
Old July 15th, 2002, 02:51 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,707 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 2 h 38 m 50 sec
Reputation Power: 259
Hi, sorry, I didn't understand. But why didn't you just add the correct entry to your tnsnames.ora on a windows pc and use the tools from there?

Reply With Quote
  #6  
Old July 15th, 2002, 05:36 AM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
Oracle is just on the Linux cluster I'm using. Anyway, I figured out how to connect. I had to log into Linux as the oracle user that my DBA had set up in order to successfully connect.

Reply With Quote
  #7  
Old July 15th, 2002, 07:36 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,707 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 2 h 38 m 50 sec
Reputation Power: 259
This means you don't have a M$/Linux desktop with Oracle client installed?

Reply With Quote
  #8  
Old July 15th, 2002, 02:23 PM
Benahimvp's Avatar
Benahimvp Benahimvp is offline
The Basketball Star
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2001
Location: H-Town
Posts: 550 Benahimvp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to Benahimvp Send a message via Yahoo to Benahimvp
I don't know what M$ is. I'm assuming it's Microsoft? Oracle is just running on Linux.

Reply With Quote
  #9  
Old July 15th, 2002, 03:14 PM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,707 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 2 h 38 m 50 sec
Reputation Power: 259
Yes, but I find easier to use an Oracle db on linux/solaris with tools running on MsWindows, something like TOAD ...
I think that beside Oracle tools on linux there is only (but it's an excellent tool) TORA, not to mention ODBC connections to the db for query and loading .
Do you work only on *nix machines?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Starting Up Oracle


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway