Thursday, October 29, 2009

X.Cygwin xserver Setup

I had a tough time running xserver on windows , sometime back I used Exceed but I could not use it longer since it is a trial version.
Running VNC was not an option in my environment.

I switched from Exceed to XMing , I ran into many problems. Performance was one key area.
DBCA has some problems with the XServers , after the Finish Button is clicked at the end of the setup , the Database Configuration Assistance pops up. This was not possible for me in XMing.

I contacted a linux expert to understand the problem with XMing and he suggested that there may be some missing fonts. Even that did not help.

Later I switched to Cygwin

It seems to be stable as of now , DBCA works fine.

Here is what you have to do if you need Cygwin.

Download it and complete the setup.
Start a cygwin prompt
Run /usr/X11R6/bin/startxwin.bat
XServer pops out.
Open Putty and use X11 forwarding and connect to the server
Invoke xclock and it should be working.

I hope this helps.

Monday, October 26, 2009

11gR2 SELinux prevents running root.sh on OEL5 Update4

On Oracle Enterprise Linux 5 Update 4 , SELinux Security Policy does not allow to run root.sh after the Grid Oracle Home Installation.

Fixing the SELinux policy by running the recommendation and by rerunning root.sh did not succeed.
There are other policy restrictions to sqlplus by SELinux also , so it better to Disable the SELinux or set it to 'Permissive' mode which gives a warning message in the SELinux control panel.

Metalink Document 457458.1 How to Disable SELinux can help to understand how to handle SELinux.

In my case
I cleaned up the 11g R2 setup with Oracle DeInstall utility
Set SELinux to 'Permissive' ( Server reboot is not required )
Restarted the Oracle runInstaller.

Hope this helps


Popular Posts