Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to ignore swap file prereq on Oracle 12.0.1 client install on Ubuntu (over Windows)?

3292234Aug 6 2016 — edited Aug 23 2016

Hi there!

I'm trying to install an Oracle Client 12.0.1.2.0 on Linux Subsystem on Windows 10 Anniversary Edition.

After some Segmentation Faults on runInstaller like this one:

WB@WB_HOME:/mnt/c/Windows/System32$ cd /mnt/d/_/Downloads/OracleLinuxInstall12102/client; ./runInstaller -silent -noConfig -responseFile client_install.rsp

Iniciando Oracle Universal Installer...

Segmentation fault (core dumped)

WB@WB_HOME:/mnt/d/_/Downloads/OracleLinuxInstall12102/client$

I decided to checkout /tmp and I found out this:

WB@WB_HOME:/mnt/d/_/Downloads/OracleLinuxInstall12102/client$ cd /tmp

WB@WB_HOME:/tmp$ ll

total 16

drwxrwxrwt 2 root root 0 Ago  7 00:18 ./

drwxr-xr-x 2 root root 0 Jan  1  1970 ../

drwxr-xr-x 2 WB   WB   0 Ago  6 23:22 hsperfdata_WB/

drwxr-x--- 2 WB   WB   0 Ago  6 22:28 OraInstall2016-08-06_10-28-30PM/

drwxr-x--- 2 WB   WB   0 Ago  6 22:29 OraInstall2016-08-06_10-29-53PM/

drwxr-x--- 2 WB   WB   0 Ago  6 22:31 OraInstall2016-08-06_10-31-15PM/

drwxr-x--- 2 WB   WB   0 Ago  6 22:38 OraInstall2016-08-06_10-38-39PM/

drwxr-x--- 2 WB   WB   0 Ago  6 22:50 OraInstall2016-08-06_10-50-40PM/

drwxr-x--- 2 WB   WB   0 Ago  6 22:53 OraInstall2016-08-06_10-53-29PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:03 OraInstall2016-08-06_11-03-35PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:03 OraInstall2016-08-06_11-03-50PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:05 OraInstall2016-08-06_11-05-26PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:07 OraInstall2016-08-06_11-07-00PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:07 OraInstall2016-08-06_11-07-54PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:08 OraInstall2016-08-06_11-08-17PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:19 OraInstall2016-08-06_11-19-43PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:19 OraInstall2016-08-06_11-19-58PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:21 OraInstall2016-08-06_11-21-19PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:21 OraInstall2016-08-06_11-21-31PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:21 OraInstall2016-08-06_11-21-35PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:22 OraInstall2016-08-06_11-21-56PM/

drwxr-x--- 2 WB   WB   0 Ago  6 23:30 OraInstall2016-08-06_11-30-45PM/

drwxr-x--- 2 WB   WB   0 Ago  7 00:02 OraInstall2016-08-07_12-02-04AM/

drwxr-x--- 2 WB   WB   0 Ago  7 00:09 OraInstall2016-08-07_12-09-49AM/

drwxr-x--- 2 WB   WB   0 Ago  7 00:18 OraInstall2016-08-07_12-18-50AM/

WB@WB_HOME:/tmp$ cd OraInstall2016-08-07_12-18-50AM/

WB@WB_HOME:/tmp/OraInstall2016-08-07_12-18-50AM$ ll

total 4

drwxr-x--- 2 WB   WB     0 Ago  7 00:18 ./

drwxrwxrwt 2 root root   0 Ago  7 00:20 ../

-rw-rw---- 1 WB   WB    61 Ago  7 00:18 command_output_26

-rw-rw---- 1 WB   WB   168 Ago  7 00:18 installActions2016-08-07_12-18-50AM.log

WB@WB_HOME:/tmp/OraInstall2016-08-07_12-18-50AM$ cat command_output_26

/bin/cat: /proc/swaps: Arquivo ou diretório não encontrado

WB@WB_HOME:/tmp/OraInstall2016-08-07_12-18-50AM$ cat installActions2016-08-07_12-18-50AM.log

Using paramFile: /mnt/d/_/Downloads/OracleLinuxInstall12102/client/install/oraparam.ini

Checking Temp space: must be greater than 415 MB.   Actual 460595 MB    PassedWB@WB_HOME:/tmp/OraInstall2016-08-07_12-18-50AM$

Then, I created an swap file, secure and set it up as one even registered at /etc/fstab... But, in the last step swapon returned:

WB@WB_HOME:/tmp/OraInstall2016-08-07_12-18-50AM$ sudo  swapon /swapfile1

swapon: /swapfile1: swapon falhou: Função não implementada

WB@WB_HOME:/tmp/OraInstall2016-08-07_12-18-50AM$

The message can be translated as swapon: /swapfile1: swapon failed: Function not implemented

I think Linux Subsystem on Windows 10 didn't ported Linux swap files support and as long as OUI asks for it I can't install Oracle Client there...

Is there a way to OUI ignore this step and not try to check swap file to install Oracle Client?

TIA,

Wilson Barbosa.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2016
Added on Aug 6 2016
6 comments
3,985 views