Linux\Oracle 11x install and creating the oinstall

Posted on 2009-04-27
Last Modified: 2013-11-11

     I am performing the preinstallation tasks for Oracle 11x  on Linux Red Hat. I am at the point where I need to add oinstall group. When I run the command : more /etc/oraInst.loc Linux returns: /etc/oraInst.loc: No such file or directory. But when I try to create it by entering: /usr/sbin/groupadd oinstall Linux returns ; groupadd: group oinstall exists

What am I doing wrong?
Question by:missymadi
    LVL 13

    Expert Comment

    The group exists, move to the next step.  Or if you want to revert this step use "groupdel oinstall" and then redo this part of the installation.

    More specific information can be located on oracles website:

    To answer you question specifically, move to the next step, you have achieved what you need to, which is add the group as listed in this section:
    LVL 14

    Expert Comment

    The oraInst.loc file has nothing to do with creating users. And you should normally have created the users before you start the installation. Be sure to read the "preparing toinstall" section.

    LVL 47

    Expert Comment

    use this:
    Create the operating system user to own the software installation and the supporting groups.

    groupadd oinstall
    groupadd dba
    groupadd oper
    useradd oracle
    usermod -g oinstall -G dba,oper,oracle oracle
    passwd oracle

    Before this you can set the kernel params

    Configure the kernel.
    Edit /etc/sysctl.conf.
    Add the following to the file:
    # Kernel paramaters required by Oracle 11gR1
    fs.file-max = 6553600
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 250 32000 100 128
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 4194304
    net.core.rmem_max = 4194304
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144

    For the /etc/sysctl.conf changes to take effect now issue this command.
    sysctl -p

    Edit /etc/security/limits.conf
    Add these lines:
    oracle           soft    nproc           2047
    oracle           hard    nproc           16384
    oracle           soft    nofile          1024
    oracle           hard    nofile          65536

    Edit /etc/pam.d/login
    Add these lines:
    session    required     /lib/security/
    session    required

    Edit /etc/profile
    Add these lines:
    if [ $USER = "oracle" ]; then
       if [ $SHELL = "/bin/ksh" ]; then
          ulimit -p 16384

          ulimit -n 65536
          ulimit -u 16384 -n 65536

    as mentioned here:

    Author Comment

    Hi schwertner,

           Thanks AGAIN for the clarification. I stumbled upon this installation at work by just testing to "see how it worked" then someone noticed and gave me a chance at doing a live install. Great opportunity - but I'm completely new at Linux! The guy who did the past install told me not to screw up the pre-installation tasks or it can become a nightmare...
          Anyway, I entered the info from you above, but got an error on line  
          usermod -g oinstall -G dba,oper,oracle oracle  ERROR: usermod: invalid numeric argument 'oracle'
    What does that mean?

    LVL 47

    Accepted Solution

    The correct entry is

    usr/sbin/usermod -g oinstall -G dba[,oper] oracle

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
    Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
    This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now