cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Installation - Oracle Failure

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

I know, that this is not an oracle forum, but it maybe that someone can help me.

I runned sapinst and now it stopped, for the oracle installation.

But when I execute the ./RUNINSTALLER I get the following error:

"Exception in thread "main" java.lang.NoClassDefFoundError"

I already searched and found always something with the DISPLAY environment variable.

But this is set, to my ip.

And ideas or tips?

Thx in advance

Kind regards

Accepted Solutions (1)

Accepted Solutions (1)

Private_Member_19084
Active Contributor
0 Kudos

ok...till now I used telnet.

I tried putty now. (activated Enable X11 forwarding before)

In Display Location I let the default localhost.0

But do I don't have to run another software on my windows locally?

Thx

Former Member
0 Kudos

Hi,

you need to start X server (like Xming, Exceed)

Kind regards,

Roman.

Private_Member_19084
Active Contributor
0 Kudos

ok, but can I also use VNC?

If yes how, do I only have to start it on my pc or also at the server (on which I would like to install oracle)?

Many thx for great and fast help

Former Member
0 Kudos

Hi,

1) login as root--> xclock (just to ensure DISPLAY is set for root) -->

2) As root, execute

xauth list --> You will get output like

hostname/unix:n MIT-MAGIC-COOKIE-1  f509b3235c4e8a4745ea33d76740f3df

3) login as ora<sid>

include vnc in the PATH

enter xauth add unix:0 MIT-MAGIC-COOKIE-1  f509b3235c4e8a4745ea33d76740f3df

then (Acc to your shell)

setenv DISPLAY n.0

or export DISPLAY=n.0

where n is no what you got in step 2.

'

I hope this will resolve your problem...

Cheers,

Vishal

Private_Member_19084
Active Contributor
0 Kudos

thx Vishal for help

I am not a Unix Guru - not till now LoL

So could you please explain the commands a little bit more exctly?

Or mark what exactly I have to enter as a command.

Would be great.

And after that, I can start oracle with ./RUNINSTALLER and how do I listen to the process?

So how do I have to start VNC on my windows-pc?

Thx

Former Member
0 Kudos

Hi,

for working xclock the most important thing if you are using the xbrowser, set the ip of the system where the xbrowser is installed.

Not the ip of your server where u are installing,

Rableen

Private_Member_19084
Active Contributor
0 Kudos

Yes, I used my IP adress, and not the ip adress of the server.

But I have not installed "xbrowser", however I have installed VNC on my pc.

So would be great, if it also realizable via this.

thx

Former Member
0 Kudos

I hope I can help you before I call it a day

1) log in as root user.

2) set PATH as foloows,

export PATH=$PATH:/usr/local/bin:/usr/openwin/bin:/usr/X/bin:/usr/X11/bin:<location of your vnc dir.>

3) Enter --> xauth list

4) You will get output like

hostname/unix:n MIT-MAGIC-COOKIE-1  f509b3235c4e8a4745ea33d76740f3df

5)  login as ora<sid> su - orasid

include vnc in the PATH --> follow step 2)

enter following command:-->

xauth add unix:0 MIT-MAGIC-COOKIE-1  f509b3235c4e8a4745ea33d76740f3df

then (Acc to your shell)

setenv DISPLAY n.0

or export DISPLAY=n.0

Thanks,

Vishal

Private_Member_19084
Active Contributor
0 Kudos

I hope so to, and I would like to say once again thx for help.

First problem:

/usr/local/bin:/usr/openwin/bin:/usr/X/bin:/usr/X11/bin:<location of your vnc dir.>

I have no one of this paths


So I guess, no server software is installed or?

If I would download XMING to my local pc, would it be easier to realize?

Thx

Answers (6)

Answers (6)

Private_Member_19084
Active Contributor
0 Kudos

Thx to all for help

I have now installed XMing and everyhing seems to be fine!

Private_Member_19084
Active Contributor
0 Kudos

Thx to all for help.

I tried "xclock" and get the error. "Can't open display: <my ip>:0.0"

Any idea?

former_member189725
Active Contributor
0 Kudos

Set the display as user ora<sid>

setenv DISPLAY <IP>:1.0  ( you should open another session of the software like xmanager and check the value of session and put that after the IP address like <IP>:1.0 for example ... the 0.0 value is already consumed I believe for the SAPINST you are running.

Then start xclock . If it runs fine , the start the RUNINSTALLER.

Regards

Ratnajit

Former Member
0 Kudos

Hi,

Can you also check your putty configuration.


Try to ser the flag that tells PuTTY to forward X connections. This is set in the PuTTY config panel under connection -> ssh -> tunnels. "Enable X11 Forwarding" should be checked, and the X Display Location box should be set.

-Renu

Private_Member_19084
Active Contributor
0 Kudos

hmm

I tried this, but the same result.

I think the problem is another one.

If I am not wrong, I've to use a GUI software like X11 for this or?

Is VNC also ok?

If yes, what do I have to do, that I get the oracle gui via VNC?

Or what else do I have to use?

Kind regards

Former Member
0 Kudos

Hi,

put a detailed description of the error.

Kind regards,

Roman.

Former Member
0 Kudos

Hi Christian,

I dont think this is an issue with DISPLAY, as you are running sapinst and that works fine.

Please make sure you are running the Oracle Installation from ora<SID> user.

-Renu

former_member215961
Contributor
0 Kudos

Hi,

Furthermore I will recommend that check your JRE JAVA installed on host.

It's the recomended version for install SAP enviroment throught sapints 1.4.2_x .

Hope it helps you.

Cheers.

former_member189725
Active Contributor
0 Kudos

Can you please check the permission of the stage directory . Please give 775 permission resursively to the stage directory and try restarting the OUI.

Check running command xclock if the DISPLAY is set correctly or not .

Regards

Ratnajit

Former Member
0 Kudos

In addtion to this have you started installation with  with ora<sid> user?

Regards,

Vishal