Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP! installing 8.1.7 on Linux is driving me mad!

Status
Not open for further replies.

Sonix

Programmer
Mar 5, 2001
16
GB
I'm having difficulties installing 8.1.7 for Linux (as distributed at the technet site). I'm using Mandrake 7.1 and the Oracle files have been put onto a CD - which I'm trying to install from it.

I've closely followed the instructions as supplied by and ofcourse Oracle's own docs.

However I simply can't run the install file.
1) When I try to run ./runInstaller I get a error telling me that the file does not exist. Although I can see it in a list command - ls -1. Also the permissions file are executable by all.
2) If I go to down to the install/linux/ folder there is another file called ./runInstaller. Running this gives me an error ...

Code:
The JavaRunTime Environment was not found at a/bin/jre.
Hence the Oracle Univeral Installer cannot ...
Please install jdk 118 ...

However I have installed the java stuff already in /usr/local/java which I believe is where Oracle wants it.

Can someone please, please tell us how to install it?
 
Did you make the CD from Windows?
Probably the file runInstaller (is a shell script) contains the ^M (dos row terminator).
Try these solutions
1. Copy the tar file directly on linux partition, and untar it from Linux;
2. Open runInstaller whit vi and delete the terminator at 1st row, insert a <CR>, save and reopen. If you see ^M at end of lines you can now remove. The same problem is on other files (I dont remember which ones), and you must do the same on it.

If you can, the best solution is the 1.

Hope it helps you.

Bye
Diego
 
Hi,

The CD was created with Windows however I don't find the terminal characters you talk about. Also just to clarify there are two runInstaller files and they are NOT symbolically linked or anything. The first one as you say is a sh shell script, which when looking at the code I can see, calls the other runInstaller file. This file is written in some custom format (i.e. its not readable) and contains alot of ^ chars but not ^M which you say I should look out for. I can't seem to run the shell script (the account I'm logged into uses the bash shell and sh is linked --> bash shell). And running the second runInstaller file gives me the jre error.

So
1) I can't seem to run a sh script
2) I can't seem to the actuall installer file which should eventually be called

Any suggestions will be most welcome.
 
If you open the runInstaller (the shell script), you can't see the ^M, because vi recognizes the file as a DOS file and automatically hides them. You must delete the first of the ^M (may be typing J in command mode on the first line and inserting a <CR> manually), save the file, close and reopen.
The same yuo have to do with other files, but I don't remeber which ones :-(

The other runInstaller is a bynary file, and is OK. It cannot found the jre because there is a ^M problem on another text configuration file (I don't remember the name, sorry).

However, if U can, try to copy the tar on the linux box, untar and run the installation....

Bye
Diego
 
Another possible cause of your problem is the version of glibc. Read documentation carefully and compare installed with required. I had a similar problem with 8.1.6 + RH7.
 
Mandrake 7.1 would have the correct version of glibc... (I installed successfully Oracle on a 7.2).

Bye
Diego
 
I've now tried to edit the shell script but it was to no avail. I even went to lengths of deleting the file and rewriting it manually. But when I ran it I still get ...
Code:
file or directory does not exist

Also, I tried running the second runInstaller (the binary file) as root and got a message telling me that I could not run the program as root - Doesn't this mean that theres nothing wrong with this file? i.e. you can run it unlike the shell script.

Unfortunetely I don't have access to the actual original tar file yet so I can't try untarring as you recommend.

Hasn't anyone else had problems installing Oracle on Linux? I'm supprised that very few people have had difficulties.
 
When we had a similar problem, it was due to incorrect environmental
settings, and to su'ing to oracle rather than logging on as oracle so that its
profile would run. The 'can't find file' message doesn't refer to runinstaller,
since as you pointed out, you can ll it. You want the first runinstaller that
you found, the shell script one. Jim

oracle, vb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top