logo
What you can do when space in /tmp is not sufficient for upgrade agent on oem12c?

Checking the free space available at /tmp/tmp_2014_12_19_12_25_07_113
Space free : 1 GB
Space required : 2 GB
Actual Space Available at : /tmp/tmp_2014_12_19_12_25_07_113 is 1GB
The check failed

Exit Code :1
The space required for the upgrade at /tmp/tmp_2014_12_19_12_25_07_113 is not sufficient. Free the space at /tmp/tmp_2014_12_19_12_25_07_113 or provide a different staging location

.

.

001. Introduction

I spotted this error in last weeks when i tried to upgrade agent to new version.

Two servers, working “in cluster” has different configuration of /tmp size.

First server had 3 GB /tmp – and on this machine everything works fine.

Second server had 2 GB /tmp space… and… and here our journey is started…


.

.

002. Problem spotted

Few agents are upgraded

Few agents are upgraded

During upgrade few agents an one time, two of them thrown an error  during “Initializing upgrade parameters”.

When i check this stage (by clicking on it), i saw:

Error thrown

Error thrown

 

= free space on /tmp is not enought… So i checked it:

# bdf /tmp
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol6    2097152   23640 2058840    1% /tmp

Volume has 2 GB space and 23 MB are used. I think update process don’t need full 2 GB of free space, but script are checking for exactly 2 GB free…

I can’t turn off this server to change available space. How to solve that?


.

.

003. Solution

We must point out different place to store files needed during installation process.

Change different

Change different “/tmp” location

Start upgrade agent process again, this time only with agent that creates problems.

Expand “Additional Inputs” are and into “Stage Location” enter path where agent can store his files during upgrade process (of course this path also must have >2 GB of free space and user which install agent must have correct rights to write inside).

In this example updater will create tmp folder into /u01 path.

After this setting used, everything with my update completed successfully.


.

.

004. Conclusion

Use of “Stage Location” setting during agent upgrade is a remedy to situation where our /tmp are occupied.

Keep in mind to delete created folder manually. Installer make it, but not deleted.

 

 

 

 

 

.