Solved

cannot find file or directory when installing oracle

Posted on 2000-03-16
7
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 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