Changing ulimit for Oracle user

Hi expert,
I'm using AIX 5.3 TL 9 with Oracle 11g R2.
Does changing rss in ulimit for oracle user operating system require restart oracle instance ?
Need your advice.
Thanks,
Yusata.

ulimit values are read only once when the process is started.
When we are at it: what did 'man ulimit' tell, and why are you asking Unix questions in an Oracle forum?
Please stop cluttering up this forum with off-topic questions, without them it is enough of a mess already.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Ulimit for oracle user

    OL 5.6 x86-64, running under VirtualBox
    Background
    I've built quite a few sandbox servers under Vbox, and always loaded the necessary packages with a 'yum install oracle-validated'. Also using a standard template .bash_profile, that includes this information regarding ulimit
    if [ $USER = "oracle" ]; then
      if [ $SHELL = "/bin/ksh" ]; then
        ulimit -p 16384
        ulimit -n 65536
      else
        ulimit -u 16384 -n 65536
      fi
    fi
    #no problems with any of the above
    Issue
    Now I've decided to build a box that mimics one of my production servers as closely as I can get it. To that end, instead of installing 'oracle-validated', I went to the production box and captured the output of 'rpm -qa', then edited that output turn each line into a 'yum -y install ...' command, and executed the result on the vm.
    Now, when I connect as 'oracle' I get
    -bash: ulimit: max user processes: cannot modify limit: Operation not permittedI'm not sure of what I could have done differently this time to result in this behavior.

    The ulimit facility provides hard and soft limits. With the ulimit command, you can change your soft limits, up to the maximum set by the hard limits.
    To see current hard and soft limits:
    ulimit -Ha
    ulimit -Sa
    Account specific limits are set in /etc/security/limits.conf. You will most likely need to increase the limits of the Oracle user. In particular add the following:
    oracle soft nofile 131072
    oracle hard nofile 131072
    oracle soft nproc 131072
    oracle hard nproc 131072
    oracle soft core unlimited
    oracle hard core unlimited
    oracle soft memlock 50000000
    oracle hard memlock 50000000
    The oracle-validated package does more than just triggering the installation of additional packages. It also sets various system kernel and oracle account parameters. For details:
    # wget http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/oracle-validated-1.1.0-17.el5.x86_64.rpm
    # rpm2cpio oracle-validated-1.1.0-17.el5.x86_64.rpm | cpio -idmv
    Then analyze the files.

  • Change of UID for Oracle user  - Impact

    If change of UID for Oracle user in solaris will affect the database which is already running. Wil it have any impact for the databases?
    Guys please advise.
    Thnx,
    Satheesh

    Many thanks for the response. We are not changing the UID but there are some errors in the script related to file permissions. So just wanted to know will it have any impact on the database if we change the UID.

  • Changing passwords of oracle users

    Dear all
    I wander is there any problem if changing password of oracle users SAPOWNER, system,sys . (I guess command for that is brconnect -u system/<password> -f chpass -o <sapowner> -p <password>
    ). What about sys and system. (I hope that after changing passwords the system will be functional)
    Which user is used when "sqlplus / as sysdba"
    thank you in advance

    Hello Jan,
    I wander is there any problem if changing password of oracle users SAPOWNER, system,sys
    Well we already discussed the SAPOWNER here: http://forums.sdn.sap.com/message.jspa?messageID=10814500#10814500
    If you change the password of SYSTEM or SYS there will be no problem at all. These users/password combination is not used in a SAP environment unless you explicitly specify the SYSTEM user and password in some BR*Tools calls like brconnect. If you just use the "/" default approach, the OS authentication mechanism (OSDBA) is used - so no issue there at all.
    @Orkun:
    This is not a user, but a role. So when you connect to the database by using "/as sysdba" you will be able to connect to the system by sysdba role not by a user.
    If you use this apporach you are connected with the user SYS - so you are using a user for sure (and btw. you can only logon with SYS by using SYSDBA role). The only difference between "sqlplus / as sysdba" and "sqlplus SYS as sysdba" is, that you are using the specified OSDBA group with the first approach (so no password is required).
    shell> pwd
    /oracle/<SID>/11202/rdbms/lib
    shell> grep dba config.s
    #  SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access.
            .rename H.16.ss_dba_grp{TC},"ss_dba_grp"
            .globl  ss_dba_grp{RW}
    T.16.ss_dba_grp:
            .tc     H.16.ss_dba_grp{TC},ss_dba_grp{RW}
            .csect  ss_dba_grp{RW}, 3
    # End   csect   ss_dba_grp{RW}
            .string "dba"
    shell> sqlplus / as sysdba
    SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM DUAL;
    SYS_CONTEXT('USERENV','SESSION_USER')
    SYS
    shell> sqlplus SYS as SYSDBA
    Enter password:
    SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM DUAL;
    SYS_CONTEXT('USERENV','SESSION_USER')
    SYS
    Regards
    Stefan

  • Change permission for Oracle inventory.

    When I installed Oracle 10gR2, I have specified dba group for Oracle inventory as it was a primary group for Oracle user. Now I want to change the group to orainstall. Is it possible to do that now with out affecting Oracle software or residing databases and do I need to specify orainstall as primary group and dba as secondary group?
    If anyone does have good doc or link for rebuilding orainventory, please send it across.
    Appreciate your help!!!

    But you can always use any other name for dba group -
    like dba92, or dba99, or aaa, or even oinstall as the
    dba group. Same thing with the "oinstall" as well,
    Oracle binary DOES NOT recognize the character - just
    the group ID, of "oinstall".
    Correct me if I am wrong.
    Thanks.Of course you can pickup whatever name you like, but you need to decide your group name before installation. After installation if you plan to change the 'dba' group name, you need to modify config.s file and recompile Oracle executables.

  • Env settings for oracle user ,  when installing Oracle on linux

    Good Morning Oracle Experts ;
    Basicallly my major subject is Electrical and Electronics
    I am very new to ORACLE/LINUX [ LEARNING  ORACLE  DBA ] Technology.
    I have THREE questions .. Please help me to understand oracle concepts.
    QUES  1 :
    i am getting confused about “setting bash_profile” and it’s contents
    I googled , it said to set env variables for oracle user. Ok .
    Can anyone explain clearly what exactly happens when “ setting bash_profile ” ?
    MY   BASH_PROFILE SETTINGS
    My  bash_profile having  following contents  :
    +# Oracle Settings+
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOME
    ORACLE_SID=TSH1; export ORACLE_SID
    ORACLE_TERM=xterm; export ORACLE_TERM
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    +#LD_ASSUME_KERNEL=2.4.1; export LD_ASSUME_KERNEL+
    +if [ $USER = "oracle" ]; then+
    +if [ $SHELL = "/bin/ksh" ]; then+
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi
    QUES  2 :
    Please  note  : This  url  says   lot of  env  variables
    http://www.idevelopment.info/data/Oracle/DBA_tips/Unix/UNIX_4.shtml
    2 . In my case , Why following env variables *[LD_ LIBRARY_PATH , CLASS_PATH , PATH]* are missing ?
    My  pc  showing  only  four  env variables   $ env  |  grep  -e  ORA  -e  TNS
    ORACLE_SID=TSH1
    ORACLE_BASE=/u01/app/oracle
    ORACLE_TERM=xterm
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    QUES 3 :
    *[ LD_ LIBRARY_PATH , CLASS_PATH , PATH ]*
    *Are  they  [ above mentioned  env  variables] necessary (or) not necessary for oracle DB ?*
    When listing  env  variables ,  why   they  are  not  displayed  ? (anything  wrong ) ?
    As  a  beginner , I expect  some  clean  technical  information    to  improve my knowledge  ..
    Thanks in advance ;

    Required Output
    *$ id*
    uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)
    *$ env | sort*
    CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
    COLORTERM=gnome-terminal
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s2yfterD04
    DESKTOP_SESSION=default
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDMSESSION=default
    GNOME_DESKTOP_SESSION_ID=Default
    GNOME_KEYRING_SOCKET=/tmp/keyring-oJUn3E/socket
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=linuxserver
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORACLE_SID=TSH1
    ORACLE_TERM=xterm
    PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
    PWD=/home/oracle
    SESSION_MANAGER=local/linuxserver:/tmp/.ICE-unix/4394
    SHELL=/bin/bash
    SHLVL=2
    SSH_AGENT_PID=4450
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-cbAqMq4394/agent.4394
    TERM=xterm
    TMP=/tmp
    USER=oracle
    _=/usr/bin/env
    WINDOWID=42039592
    XAUTHORITY=/home/oracle/.Xauthority

  • Password for Oracle user , sys , system , saprpd

    Hi All ,
    I just join a new company as sys admin . I tried to search password for Oracle user sys , system and saprd in my company password file . Those users password are not stored.
    Am I supposed to know those oracle user password ? If yes , Can I find them in my Unix system or sap application ?
    Please help !
    Felix

    It is not possible to determine the passwords if you don't know them. But perhaps note 562863 and the described default passwords are useful. Furthermore you can always change passwords if you have SYSDBA privilege using "alter user ... identified by ..." or "brconnect -f chpass".
    Regards
    Martin

  • How to change password for a user in WLS 7.0 embedded ldap in code?

    I asked the similar question before but don't have an answer yet.
    I need to change password for a user in my Java code. Any help will be
    appreciated.
    Here is my stack trace:
    c:\Test>java -classpath . testEmbeddedLdap
    attribute: uid
    attribute: description
    attribute: objectclass
    attribute: wlsMemberOf
    attribute: sn
    attribute: cn
    javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
    Access Rights]; remaining name
    'uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2872)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2810)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1374)
    at
    com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDir
    Context.java:255)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Partial
    CompositeDirContext.java:172)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Partial
    CompositeDirContext.java:161)
    at
    javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.
    java:146)
    at testEmbeddedLdap.main(testEmbeddedLdap.java:30)
    Here is my testing code:
    <PRE>
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class testEmbeddedLdap {
    public static void main(String[] argv) {
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://localhost:7001");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "uid=myAdministrator, ou=people,
    ou=myrealm, dc=mydomain");
    env.put(Context.SECURITY_CREDENTIALS, "myAdministrator");
    try {
    DirContext ctx = new InitialDirContext(env);
    String
    sUser="uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain";
    String sOldPassword="myRegularUser";
    String sNewPassword="newpassword";
    for (NamingEnumeration ae = ctx.getAttributes(sUser).getAll();
    ae.hasMore(); ) {
    Attribute attr = (Attribute)ae.next();
    System.out.println("attribute: " + attr.getID());
    ModificationItem[] mods = new ModificationItem[2];
    Attribute mod0 = new BasicAttribute("userpassword",
    sOldPassword);
    mods[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE,
    mod0);
    Attribute mod1 = new BasicAttribute("userpassword",
    sNewPassword);
    mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE, mod1);
    ctx.modifyAttributes(sUser, mods);
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    </PRE>
    "Neil Smithline" <[email protected]> wrote in message
    news:[email protected]...
    Two things. First, I'm not exactly sure what password you are trying to
    change. The LDAP server's password or a user's password in the LDAP
    server. Second, could you please post a stack trace.
    Thanks - Neil
    K Wong wrote:
    I am using (javax.naming.directory.DirContext.modifyAttributes) to
    change
    password to our development Weblogic 7.0 embedded LDAP.
    I login as the system administrator (a user in the administratorsgroup),
    but always gets the javax.naming.NoPermissionException - InsufficientAccess
    Rights.
    What user should I use? Any help will be appreciated.

    Hai,
    This condition based execution requires - javascript coding.
    In miscelleaneous tools bar, you have an option of SCRIPT_ITEM writer tool, drag the tool into your WAD layout, and select the properties , choose the editor option and paste your coding. that's it.
    Alternate option :
    in your web application design layout , you will fine XHTML coding editor , there you need to write coding and execute the same.
    Hope this will help to you.
    Assign Points if its really useful.
    Cheers !!!
    Bye
    Regards,
    Giri

  • What is the password for 'oracle' user created during XE installation?

    Hi,
    What is the password for 'oracle' user automatically created when XE is installed?
    I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
    During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
    Please let me know or point me to the document.
    Thanks,
    N

    Hi Jari,
    I tried your suggestion, but it didn't work unfortunately.
    When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
    So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
    It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
    Thanks,
    N

  • Where can I change desktop for anonymous user ?

    Hello.
    Where can I change desktop for anonymous user ? I'd like to change it in the same manner as sampleportal desktop (with amconsole) , but I did not found it in the amconsole.
    If you know, please, tell.

    The user "authlessanonymous" holds the information that people see if they are not signed on. It can be changed like any other user. It may have to be enabled under the Service Configuration tab -> portal desktop.

  • I am unable to change passwords for any users.  The "change password" is grayed out.

    I am unable to change passwords for any users.  The "change password" is grayed out.  I know there is a way to change them but I am having trouble finding it.
    Message was edited by: dmw1975

    If you're in the Users pane of the server app, and you select Network Users from the drop-down near the top, there's a small padlock icon at the bottom. Is it locked or open? If locked, click it and enter credentials into the authorisation box that opens

  • How to change password for sidadm user on HP-UX

    Hello
    How to change password for <sidadm> user on HP-UX

    Hello Jan,
           1.      Log on to the operating system with the <sid>adm user.
           2.      Open a shell.
           3.      Enter the command passwd.
           4.      Enter the old and new passwords
    Rohit

  • How to change password for apple user id

    how to change password for apple user id

    If you can't remember your current password then you should be able to get it reset via this page : http://iforgot.apple.com
    If you know your current password then on your phone you can try tapping on your id in Settings > Store and you might be able to change it on your account's screen, or on your computer's iTunes you can log into your account via the Store > View Account menu option and change it on there

  • How to change password for  XELSYSADM user in OIM?

    Hello Gurus and Experts!
    How to change password for XELSYSADM user in OIM?
    Your help is appreciated.

    Follow the undermentioned steps to change the password:
    1) Change the password from oim Design Client as usual.
    2) Open xlconfig.xml present in <XL_HOME>\xellerate\config folder.
    3) This step is optional and should only be used if you have a <XLPassword encrypted> tag in the <Scheduler> section. In the scheduler section, change the encrypted="true" to encrypted="false" and replace existing encrypted password with new clear text password, as shown below:
    <Scheduler>
    <XLUserName>xelsysadm</XLUserName>
    <XLPassword encrypted="false">NEW_PASSWORD</XLPassword>
    </Scheduler>
    4) Restart server.
    Now login with the new password.

  • Always getting Invalid Pasword for Oracle User SYS

    Hello,
    I am installing IFS on Win XP.
    My database is on a remote machine.
    When I start with the configuration assistent of Oracle SMDK, he ask me to define the database to use.
    When I click on next I allways get the message Invallid pasword for Oracle user SYS
    I tested the connection via Oracle 9i client an that works properly.
    Can anyone help me please
    Thx in advantage.
    Database version: Oracle 9I Release 9.2.0.1.0
    Internet File system version: Oracle CM SDK

    I found the answer: getting the username with Get User Info on the User object gave me the username in a String. Using that, it worked like a charm.

Maybe you are looking for

  • Tax - Vendor

    Experts, As of now, we have the system configured in such a way that the end users need to enter the tax code based on the vendor they are ordering it from. On account of which, we see a lot of errors, so is there anyway we can have this automaticall

  • Problem in currency field

    Hello All,   I am moving an amount value to a field that is of currency type using write statment.But i cannot use write statment for currency fields.I tried using currency 'EUR' also but it is giving the same error. write : gs_outtab-rmwwr_out to lv

  • What types of skills does Adobe prmote?

    Hello all, I am after a huge favour and would appreciate greatly if anyone can help me with this problem.... I am a trainee High school teacher and I am currently writing an essay on how ICT can motivate and aid learning skills; and I am currently ta

  • Safari 8 - tab opens as a new window all of the sudden

    So I'm using Safari 8.0.2 on Yosemite. I came across a bug (or is it a new feature?): When I have a page opened as a new tab, sometimes, all of the sudden, this tab detaches from the main Safari window to become a new window. This happens as I move m

  • Altenate work centers in production order

    Hi, we have 2 different work cneters and any one work center can be selected in the prod order when we process. please advise how to create a routing that will allow to enter 2 work centers for one operation (alternate to each other) so that when we