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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle9i R2 Installation Problems (netmgr, netca)

Status
Not open for further replies.

wolfie78uk

Programmer
Jul 3, 2002
35
0
0
GB
Hi,

I am having trouble with an install of Oracle 9i Release 2 on Linux Mandrake 9.1. I have 512 MB DDR RAM and a Duron 850 CPU.

The install appeared to run fairly seamlessly except for a handful of problems :

1) Oracle complained that it could not set the file permissions on four files. They were

/u01/app/oracle/jre/1.3.1/bin/.java_wrapper
/u01/app/oracle/jre/1.1.8/bin/.java_wrapper
/u01/app/oracle/jre/1.1.8/bin/i686/green_threads/.extract_args
/u01/app/oracle/jre/1.1.8/bin/i686/native_threads/.extract_args

None of the four files were present and so I created empty files to force the installation to continue (was this the seed of my downfall?).

2) During the linking stage, Oracle reported the following error :

"Error in invoking target install of makefile [whatever the path was]/ins_ctx.mk"

I fixed this by adding "${LDLIBFLAG} dl" to the line in the "$ORACLE_HOME/ctx/lib/env_ctx.mk" that began "INSO_LINK=".
(I got that solution off the web)

The installation and linking completed successfully. However, when the installer tried to start the four services that it does at the end of the installation, three of them failed :

a) Oracle Net Configuration Assistant appeared as "cancelled".
b) Agent Configuration Assistant appeared as "cancelled".
c) The HTTP server came up with the error :

"Configuration tool Starting HTTP Server failed
Syntax error on line 92 of /home/oracle/OraHome1/sqlplus/admin/isqlplus.conf:
FastCgiServer: redefinition of a previously defined FastCGI server "/home/oracle/OraHome1/bin/isqlplus"
/home/oracle/OraHome1/Apache/Apache/bin/apachectl startssl: httpd could not be started"

Nevertheless, I completed the installation to see if I could run the failed tools from the command line and determine what was wrong. I have tried runing netmgr, netca, oidadmin and in evry case they just return to the command prompt without, apparently, doing anything. I had a look at the netmgr code (shell script) and at the bottom it executes the java VM on a particular file. However, the Java VM is stored in the variable $JRE. I tried installing the Sun JRE 1.4.2 and altering $JRE to "java" in the netmgr file. I then executed netmgr again and it appeared to be doing something (albeit without output) when it crashed with a Java Exception (see link below).

I am guessing that the Java VM is at the root of my problems but I do not have the knowledge to confidently take this investigation any further without trashing what could possibly be a salvagable install.

Incidentally, although Mandrake is an unusual platform to install Oracle on, I have successfully done it before but this time I have a freshly installed OS and so perhaps there are parts of the OS not installed now that were present the last time I did this (mind you, it was a nightmare that time as well :) ).

I have posted the full log file at :

and the java exception details at :

Thanks in advance for your help,

Simon Oldham
<simon.oldham@sicom-systems.co.uk>
 
Can't say I've had any problems installing/running Oracle on either Mandrake or Red Hat, but who knows, I'm about to install 10g on Mandrake 10 now.

Assuming your running "netmgr" as the correct user with the correct environment variables, then it seems to be a Java/JRE issue. Have you tried re-installing just the JRE from the installation? You could also download the JRE separately from the Oracle site (it's different from the Sun one as you might have guessed) and try installing it (you need any version that's certified for the database you're installing).

I'm looking at the log so maybe I can come up with something better...

The ONE ( HP-UX + Solaris + AIX + Tru64 = Unix)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top