Solved

cannot find file or directory when installing oracle

Posted on 2000-03-16
7
247 Views
Last Modified: 2010-03-18
Hi,

I'm trying to install oracle for linux, but when I run my runIns.sh I get the error that he cannot find the file or directory. The file does exist and I have sufficient rights. Some idea's?
I already looked into the .sh file and the directory  that is in there does exist

Thx

Frederik
0
Comment
Question by:FrederikBonte
7 Comments
 
LVL 2

Expert Comment

by:Reinier
Comment Utility
A shell script generally starts with "#!/bin/sh" or the like. Did you check that the path+program there is correct? It would lead to the same error if it were not.

If that is not the case then check the complete script for the place where the file is accessed and check if that is done correctly.

Sometimes these install scripts reuire you to export some variable before the script will run. Check the docs.
0
 
LVL 3

Expert Comment

by:tibori
Comment Utility
Try typing ./runlns.sh, this specifies that the file is in the current directory not one of the default bin or sbin directories.
0
 
LVL 7

Expert Comment

by:lewisg
Comment Utility
Another thing that will cause the error you describe is if the file has ever been edited in MSDOS. This inserts CR/LF's at the end of each line instead of just LF's. Attempting to run such a file will return a "no such file or directory" error.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 10

Expert Comment

by:rbr
Comment Utility
Try sh ./runIns.sh
0
 

Author Comment

by:FrederikBonte
Comment Utility
If I run it like you say with the ./runIns.sh it does not work either. I already tried running it like that. The file has not been opened in DOS either (but thx, I did not know that) Any more ideas
0
 
LVL 3

Accepted Solution

by:
tibori earned 200 total points
Comment Utility
can you post the shell script file(if it's not too big!!)
It sounds like you're able to run the shell script, but it cannot find a directory that's specified inside the script. Look into the script and see what directory it's looking for and make sure it exists on your machine. If not make one. Also make sure the full path is specified in the shell script. What I'm thinking is there may be a default place where it should be put before it's run, if the full path is not specified. Also make sure you have access to the directory specified inside the shell script.
0
 

Author Comment

by:FrederikBonte
Comment Utility
This is the script, I cannot add a comment so I accepted your answer, please mail me directly so we can look into this further

Kind regards

Frederik

Frederik.Bonte@clarent.com



usr/local/jre/bin/jre -ss4m -oss4m -ms32m -mx64m -Doracle.installer.nlsEnabled=TRUE -Doracle.installer.startup_location=. -Doracle.installer.library_loc=../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/bin/linux -cp ../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/InstImages.jar:../../stage/Components/oracle/swd/.oui/1.6.0.7.0/1/DataFiles/Expanded/lib/xmlparser.jar:./runimage/lib/OraInstaller.jar:../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/ewt.jar:../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/help.jar:../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/InstHelp.jar:../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/oracleice.jar:../../stage/Components/oracle/swd/oui/1.6.0.7.0/1/DataFiles/Expanded/lib/OraInstaller.jar:/tmp/orainstall:  -nojit oracle.sysman.oii.oiic.OiicInstaller -scratchPath /tmp/orainstall -sourceLoc "../../stage/products.jar" -sourceType network $1 $2
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now