Pages

Friday, March 24, 2023

[Result.addErrorDescription:771] PRVG-0449 : Proper soft limit for maximum stack size was not found on node "xxxx" [Expected >= "10240" ; Found = "8192"].

 

We usually get this error in installations and sometimes on adcfgclone when it is running through any automation scripts in Solaris systems.

In Installations, you will see as below.

 Installation of Oracle 12.2.0.1 on Oracle Linux reports prerequisite check failure for maximum stack size as seen below. The check does not succeed despite clicking "Fix & Check Again" OUI option and running the fixup script as "root" user

 


Modify the resource limits to meet the requirement and take operating system specific measures to ensure that the corrected value takes effect for the current user before retrying this check.

Time being on your session where you want to launch the installation.

 

To adjust the maximum stack size soft limit use:

1. For the current shell:

# ulimit -Ss 10240

 

Or to update the values in system files to make it permanent.

 

In the file : /etc/security/limits.conf , adjust the value for the below parameter.

 

Oracle            soft               stack             10240

 

The sessions needs to be relaunched for the fix-ups to be effective. For example, if it is a VNC sessions then the user has to close it and Re-Login to create a new session where the new stack limits will be loaded.

 

On the other case the issue on adcfgclone when it run through automated scripts on Solaris server.

 

Check if the user able to connect to same user with password less authentication from same session.

If yes, that could be the cause, Remove the entries from authorized keys file (authorized_keys) so the user will not connect to self-session.

 

[oracust@xxxxx]$ ssh oracust@db3301

Last login: Tue Mar 21 10:18:45 2023 from 10.134.156.141

 

|-----------------------------------------------------------------|

| This system is for the use of authorized users only.            |

| Individuals using this computer system without authority, or in |

| excess of their authority, are subject to having all of their   |

| activities on this system monitored and recorded by system      |

| personnel.                                                      |

|                                                                 |

| In the course of monitoring individuals improperly using this   |

| system, or in the course of system maintenance, the activities  |

| of authorized users may also be monitored.                      |

|                                                                 |

| Anyone using this system expressly consents to such monitoring  |

| and is advised that if such monitoring reveals possible         |

| evidence of criminal activity, system personnel may provide the |

| evidence of such monitoring to law enforcement officials.       |

|-----------------------------------------------------------------|

 

/etc/profile[52]: ulimit: 65536: limit exceeded [Insufficient privileges]

[oracust@xxxxxx]$

 

After removing authorized keys for self connection, It will be like

 

[oracust@xxxxx]$ ssh oracust@xxxxxx

Password:

[oracust@xxxxxx]$