Solved

cannot find file or directory when installing oracle

Posted on 2000-03-16
7
257 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
ID: 2628583
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
ID: 2628711
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
ID: 2633772
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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 10

Expert Comment

by:rbr
ID: 2635093
Try sh ./runIns.sh
0
 

Author Comment

by:FrederikBonte
ID: 2664297
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
ID: 2680568
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
ID: 2680610
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

26 Experts available now in Live!

Get 1:1 Help Now