Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-22-2017, 03:41 AM
|
#1
|
LQ Newbie
Registered: Jan 2017
Posts: 3
Rep:
|
Unable to start any executables or .sh files for Oracle 11g from /u01/app/oracle/product/11.2.0/db_1/bin
Hello,
Please help, I am trying to run Oracle Srvctl tool but unable to run it.
[oracle@bluestone bin]$ pwd
/u01/app/oracle/product/11.2.0/db_1/bin
[oracle@bluestone bin]$ srvctl status
/u01/app/oracle/product/11.2.0/db_1/bin/srvctl: line 81: /u01/app/oracle/product/11.2.0/srvm/admin/getcrshome: No such file or directory
/u01/app/oracle/product/11.2.0/db_1/bin/srvctl: line 239: /u01/app/oracle/product/11.2.0/jdk/bin/java: No such file or directory
[oracle@bluestone bin]$
Also I tried running other tools like netmgr, dbca, netca nothing works.
please help.
Thanks,
Sye
|
|
|
01-22-2017, 07:02 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,216
|
did you check if the error message was valid (I mean for example /u01/app/oracle/product/11.2.0/srvm/admin/getcrshome is available, or really missing)
|
|
|
01-22-2017, 08:18 AM
|
#3
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,225
|
Are you logged in as a user with privilege to run Oracle? What is your PATH? Why is your current directory the Oracle bin directory?
|
|
|
01-22-2017, 11:13 AM
|
#4
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
n/m.
Broke network?
|
|
|
01-22-2017, 07:46 PM
|
#5
|
LQ Newbie
Registered: Jan 2017
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by pan64
did you check if the error message was valid (I mean for example /u01/app/oracle/product/11.2.0/srvm/admin/getcrshome is available, or really missing)
|
No, I don't find these ( /srvm/admin/getcrshome )directory at /u01/app/oracle/product/11.2.0 this location instead it is available at /u01/app/oracle/product/11.2.0/db_1/srvm
Seems like I messed up on Oracle software installation.
Regards,
Sye
|
|
|
01-22-2017, 07:47 PM
|
#6
|
LQ Newbie
Registered: Jan 2017
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by smallpond
Are you logged in as a user with privilege to run Oracle? What is your PATH? Why is your current directory the Oracle bin directory?
|
Yes I have access and even I tried running as root, getting same error.
Regards,
Sye
|
|
|
01-23-2017, 01:18 AM
|
#7
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,216
|
probably only an environment variable was not set properly
|
|
|
All times are GMT -5. The time now is 08:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|