ORA.-27102  Solaris 10 x86 when creating DB

I'm trying to create a DB with the DBCA and i get ORA-27123: unable to attach to shared memory segment ????
Kernel param:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=2000
set semsys:seminfo_semmsl=1000
set semsys:seminfo_semmni=100
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
Operating system: solaris 10 64 bits
Oracle : 10g --> 10.1.0.3
What I tried:
-projadd -U oracle -K "project.max-shm-memory=(priv,4096MB,deny)" user.oracle
-apply the patch : #4186426....
No result still get ORA-27123: unable to attach to shared memory segment !
Any help please !!

I'm trying to create a DB with the DBCA and i get ORA-27123: unable to attach to shared memory segment ????
Kernel param:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=2000
set semsys:seminfo_semmsl=1000
set semsys:seminfo_semmni=100
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
Operating system: solaris 10 64 bits
Oracle : 10g --> 10.1.0.3
What I tried:
-projadd -U oracle -K "project.max-shm-memory=(priv,4096MB,deny)" user.oracle
-apply the patch : #4186426....
No result still get ORA-27123: unable to attach to shared memory segment !
Any help please !!

Similar Messages

  • ORA-01426: numeric overflow when creating job

    Hello,
    When executing the following script to create a job I get the error "ORA-01426: numeric overflow" . When I execute the same script on another database with same version and same configuration I do not get the error and the job is created.
    Can anyone help me out solving this issue?
    Script:
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'insert into dba.dba_logs values (''SGC'',''TRL03'',sysdate,null);
    commit;
    ,next_date => to_date('07-11-2010 02:00:00','dd/mm/yyyy hh24:mi:ss')
    ,interval => 'NEXT_DAY(TRUNC(SYSDATE)+2/24,''SUNDAY'')'
    ,no_parse => FALSE
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;
    Database version: 11.2.0.1
    OS: HPUX

    We are planning to migrate to dbms_scheduler, but that's in the future. for now we have this error first to solve.
    We also tried the following with dbms_scheduler and it gives the same error. The strange is that in another database with same version and same OS it works fine.
    BEGIN
    SYS.DBMS_SCHEDULER.CREATE_JOB
    job_name => 'JOB_CLIENTES_IN'
    ,start_date => SYSTIMESTAMP
    ,repeat_interval => 'FREQ=MINUTELY;INTERVAL=10'
    ,end_date => NULL
    ,job_type => 'STORED_PROCEDURE'
    ,enabled => TRUE
    ,job_action => 'JOB_CLIENTES_FTP_IN'
    ,comments => 'Job que carrega os ficheiros de pre-aviso de cliente'
    END;
    ORA-01870: the intervals or datetimes are not mutually comparable
    ORA-01426: numeric overflow
    ORA-01426: numeric overflow
    ORA-06512: at "SYS.DBMS_ISCHED", line 124
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 271
    ORA-06512: at line 2
    Edited by: cibernauta on Nov 4, 2010 12:48 PM

  • ORA-01031: insufficient privileges when creating a table in other schema

    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Please if you have any idea.

    user562674 wrote:
    Dear all,
    I appreciate your help please in this issue :
    when i try to issue the below statement to create a table in an another schema than the user i am connected in
    CREATE TABLE SCHEMA_NAME_B.HST_ARCH nologging AS
    SELECT *
    FROM HST
    WHERE 1 = 0;
    I always get ORA-01031: insufficient privileges error, even if i have granted the create table privilege to the user i am connected in.
    What other privileges should i grant also,
    Can you show us a cut/paste from the sql*plus of session of yours which should show that you have given the privilege directly to this user and after that the command fails?
    Aman....

  • ORA-00164 Autonomous transaction when creating batch of users

    Hi,
    I ran the script posted earlier in this forum to create a batch of users, I got some errors, support people told me that is appears to be database errors :
    ORA-00164 Autonomous transaction disallowed with distributed transaction.
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 669 ORA-06502: PL/SQL: numeric or value error.
    We use 8.1.7.2 database, Portal 3.0.9.8.
    Anyone having a solution for that problem, I don't want to create 250 users manually.
    Thank's

    i'm getting the same thing, but i'm using hardcoded input,
    so i have no dblinks or anything of the sort.
    this is my entire exception line:
    ORA-06502: PL/SQL: numeric or value error ORA-06512: at "SYS.OWA_UTIL", line 323 ORA-06512: at "SYS.HTP", line 859 ORA-06512: at "SYS.HTP", line 974 ORA-06512: at "SYS.HTP", line 992 ORA-06512: at "SYS.HTP", line 40 ORA-06512: at "PORTAL30_SSO.WWSEC_UI", line 568 ORA-06512: at "PORTAL30_SSO.WWSSO_APP_USER_MGR", line 576 ORA-06512: at line 1
    any idea what is causing this?

  • Error ORA-01426: numeric overflow when Creating table with double data type

    Hi,
    I am using ODP.NET to create a table with data from SQL to Oracle. The problem is with double data type fields that is equivalent to FLOAT(49) in Oracle. My syntax is:
    CREATE TABLE SCOTT.ALLTYPES
    F1 NUMBER(10),
    F10 DATE,
    F2 NUMBER(10),
    F3 NUMBER(5),
    F4 NUMBER(3),
    F5 FLOAT(23),
    F6 FLOAT(49),
    F7 NUMBER (38,5),
    F8 NVARCHAR2(500),
    F9 NVARCHAR2(500)
    Th error is with field F6 but I am not sure what is the correct type equivalent to double in SQL.
    I woul appreciate if anyone can help me with this problem.
    Sunny

    Does this simple test work for you?
    In database:
    create table float_test
      f1 float(49)
    );C# code:
    using System;
    using System.Data;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace FloatTest
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
          // connect to local db using o/s authenticated account
          OracleConnection con = new OracleConnection("User Id=/");
          con.Open();
          // will hold the value to insert
          StringBuilder sbValue = new StringBuilder();
          // create a string of 49 number 9's
          for (int i = 0; i < 49; i++)
            sbValue.Append("9");
          // command object to perform the insert
          OracleCommand cmd = con.CreateCommand();
          cmd.CommandText = "insert into float_test values (:1)";
          // bind variable for the value to be inserted
          OracleParameter p_value = new OracleParameter();
          p_value.OracleDbType = OracleDbType.Double;
          p_value.Value = Convert.ToDouble(sbValue.ToString());
          // add parameter to collection
          cmd.Parameters.Add(p_value);
          // execute the insert operation
          cmd.ExecuteNonQuery();
          // clean up
          p_value.Dispose();
          cmd.Dispose();
          con.Dispose();
    }SQL*Plus after executing above code:
    SQL> select * from float_test;
            F1
    1.0000E+49
    1 row selected.- Mark

  • Oracle 10gR2 on Solaris 10 - Zoned Machine getting ORA-27102 Errors

    Getting Memory issues in Solaris 10. I have configured the database to have only 2GB of SGA, but still getting ORA-27102 and also when we look at top command it seems all the memory is not available. The machine is divided into two zones, machine has 32 GB memory and has 8 processors. The shared memory settings I have done is 8 GB max.
    Any help in this regard would be helpful. Is anything special needs to be done in zones ?
    Thanks,
    Atul
    And these are the details of prctl $$
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    process.max-port-events
    privileged 65.5K - deny -
    system 2.15G max deny -
    process.max-msg-messages
    privileged 8.19K - deny -
    system 4.29G max deny -
    process.max-msg-qbytes
    privileged 64.0KB - deny -
    system 16.0EB max deny -
    process.max-sem-ops
    privileged 512 - deny -
    system 2.15G max deny -
    process.max-sem-nsems
    privileged 512 - deny -
    system 32.8K max deny -
    process.max-address-space
    privileged 16.0EB max deny -
    system 16.0EB max deny -
    process.max-file-descriptor
    basic 256 - deny 12615
    privileged 65.5K - deny -
    system 2.15G max deny -
    process.max-core-size
    privileged 8.00EB max deny -
    system 8.00EB max deny -
    process.max-stack-size
    basic 8.00MB - deny 12615
    privileged 8.00EB - deny -
    system 8.00EB max deny -
    process.max-data-size
    privileged 16.0EB max deny -
    system 16.0EB max deny -
    process.max-file-size
    privileged 8.00EB max deny,signal=XFSZ -
    system 8.00EB max deny -
    process.max-cpu-time
    privileged 18.4Es inf signal=XCPU -
    system 18.4Es inf none -
    task.max-cpu-time
    system 18.4Es inf none -
    task.max-lwps
    system 2.15G max deny -
    project.max-contracts
    privileged 10.0K - deny -
    system 2.15G max deny -
    project.max-device-locked-memory
    privileged 1.96GB - deny -
    system 16.0EB max deny -
    project.max-port-ids
    privileged 8.19K - deny -
    system 65.5K max deny -
    project.max-shm-memory
    privileged 7.40GB - deny -
    system 16.0EB max deny -
    project.max-shm-ids
    privileged 128 - deny -
    system 16.8M max deny -
    project.max-msg-ids
    privileged 128 - deny -
    system 16.8M max deny -
    project.max-sem-ids
    privileged 128 - deny -
    system 16.8M max deny -
    project.max-crypto-memory
    privileged 7.84GB - deny -
    system 16.0EB max deny -
    project.max-tasks
    system 2.15G max deny -
    project.max-lwps
    system 2.15G max deny -
    project.cpu-shares
    privileged 1 - none -
    system 65.5K max none -
    zone.max-lwps
    system 2.15G max deny -
    zone.cpu-shares
    privileged 1 - none -
    system 65.5K max none -

    There is no trace files to look at . Alert log does not have entry and bdump & udump does not have any trace file.
    I was more interested to know, if somebody has installed Oracle 10 on Solaris 10 with a zone or container in solaris. What parameter settings was done on unix setting was it only shared-memory defined, if anybody has come accross memory issues in the machine after installing Oracle 10 with Solaris 10, and the machine has been zoned in two or more zones.
    Thanks,
    Atul

  • Gethostbyname returns h_errno 2, when /etc/hosts has no info on solaris x86

    Hello,
    I am calling gethostbyname(native_machine_name) in our code, and we do not want this to be dependent on /etc/hosts file. So when we remove all entries from /etc/hosts file, it works well on sparc machine, but the same doesnt work on solaris x86 machine. gethostbyname returns null with errno 2.
    Also "ping hostname" doesnt work on solaris x86 when there is no entry in /etc/hosts, but the same works on sparc machine.
    Is there any such dependency on x86 machine? If there is any then how to achieve this functionality (to get host info without /etc/hosts)?
    Any help would be appreciated.
    Thanks
    Ankur Gupta

    Sounds like your name resolution isnt working.
    Check you have host: files dns in /etc/nsswitch.conf
    and working name servers specified in /etc/resolv.conf

  • Oracle is not starting (ORA-27102: out of memory)

    Hi All,
    We have installed successfuly SAP Netweaver EHP1(SR1) (ABAP and Java)  with  SUNOS & Oracle10 on the same server.
    After installation we have stopped the java instance and tried to start but the database is not starting and it is showing the error
    SQL> startup
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Then we have added project in /etc/project
    NWJ:500:SAP System NWJ:nwjadm,oranwj::process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny)
    but it doesn't resolve the issue.
    Even we have stopped the Abap instance including database but no use.
    Can any one provide the soluion ASAP.
    Regards,
    Venu

    Hello,
    I've hit this ORA-27102 several times when installing on Solaris 10. The problem was that SAPINST (which runs as root) runs its child processes under the root project, even though they have user ID ora<sid> or <sid>adm. Because the root project often has shared memory limited to 2 GB, Oracle fails with ORA-27102 if it needs more than 2 GB.
    I'm not quite sure that the above problem corrseponds with yours though. Is SAPINST finished and are you logged in as ora<sid> or <sid>adm and running SQLPLUS manually? If so, make sure that you are indeed running in the correct project. Commands that can help:
    id -p
    ps -e -o pid,comm,project | grep sqlplus
    Regards,
    Mark

  • Error when create a Payment Batch

    When I create a payment batch, I fill batch name as LIPPO_X123. then I entry bank account name "LIPPO Branch JKT1". But when I want to choose "Document" by clicking the list combo appear message "FRM40502:Oracle error : unable to read list of value"
    When I click "Details..." this message appears :
    FRM-40502: ORACLE error: unable to read list of values.
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "APPS.AP_AUTO_PAYMENT_PKG", line 679
    "

    Check Note: 234846.1 - APXPAWKB Errors With ORA-01422 ORA-06512 FRM-40502 When Creating A New Batch After Navigating To The Document Field
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=234846.1

  • F90 bug on solaris x86

    Hello,
    I have a short code to show a curious bug on solaris x86 when i compil it with f90 -O3.
    Where can i send it to show this bug ?
    Thanks

    The bug ID for this problem is 6413443. It has been fixed in both the development release and the patch release. Fix should be available in the upcoming patches for Studio 11 and in the next release of Sun Studio Express - SSX3.
    Best regards,
    Boris

  • ORA-27102: out of memory on Solaris 10 when running dbca

    Hi,
    This is a new box T2000 running the latest update of Solaris 10.
    I installed 10gR2 and its latest patch 4547817.
    When running dbca, when it tries to do clone database, it fails with ORA-27102.
    I have already set shared memory limits for oracle account using prctl.
    projadd -U oracle -K "project.max-shm-memory=(priv,4294967295B,deny)" user.oracle
    I tried increasing the limit to 8GB. It didn't work. The system has 32GB of memory.
    When I trussed the process I saw quite a few cals of shmget failing with EINVAL.
    Any ideas how I can fix this.
    Thanks,
    ..Senthil

    I had the same problem and managed to solve it. The problem is with your shared memory settings.
    By default, Oracle 10 will allocate 40% of the total system RAM to the SGA and PGA.
    On my T2000 with 16GB of RAM this equates to ~6.5GB. Using the value of 4GB for the SHM as stated in the Oracle installation docs is therefore too low. I set the value to 8GB and the database created without problems.
    On your 32GB machine, assuming you are using the default 40% allocation, your minimum shared memory requiredment will be ~13GB. Working on the principal of setting it a little higher to get things working (you can always reduce it later), I would set 'project.max-shm-memory' to 16GB and try re-running DBCA.

  • ORA-27102 when creating a new database

    I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4.
    We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same memory requirements, I get an ORA-27102. I am sure we have set up our OS fine, according to suggestions from Oracle. Linux returns: Linux-X86_64 Error: 28: No space left on device
    $> sysctl -a
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.sem = 256 32000 100 128
    $> free
    total used free shared buffers cached
    Mem: 32890432 8599000 24291432 0 58084 6003368
    -/+ buffers/cache: 2537548 30352884
    Swap: 8385792 0 8385792
    So, why am I getting an "out of memory" message... I see 20+GB free...
    Edited by: jbednarz on Jan 14, 2009 3:08 PM

    jbednarz wrote:
    , I get an ORA-27102. Linux returns: Linux-X86_64 Error: 28: No space left on deviceIs that the complete error stack, from alert.log?
    kernel.shmall = 2097152This could be "it". This is system wide total, in pages. What is your page size?
    There might be other parameters that need increasing as you add instances. Check Oracle and linux documentation.

  • Create database fails with ORA-27102 -out of memory

    Hi,
    I have Solaris 10 server with 16 GB ram. On it there are 10 databases (8 of them 9.2.0.7, and 2 of them 10.2.0.4) running -but they have small SGAs -300 mb each (some even smaller 200 mb or so). Now I have to create two more database on it. When I try to create the db, it fails with the error:
    Connected to an idle instance.
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    And alert log has meesages as below:
    Starting ORACLE instance (normal)
    Tue May 26 07:37:39 2009
    WARNING: EINVAL creating segment of size 0x0000000029002000
    fix shm parameters in /etc/system or equivalent
    Also see the output of this command :
    prctl -n project.max-shm-memory -i project user.root
    project: 1: user.root
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
    privileged      3.92GB      -   deny                                 -
    system          16.0EB    max   deny                                 -
    Now I tried to change this with this command (as suggested in installation guide):
    prctl -n project.max-shm-memory -v 8gb -r -i project user.root
    but still I get teh same error. So I refer to Metalink document 399895.1. It says that manually change the settings in /etc/system. this needs a reboot and I got premission to do this reboot tomorrow. But my question is: What are the values that I should be putting in this file?+As suggested in the note, should I put the below values? -
    For example, a sample value (mentioned in the note) are: for /etc/system entry setting SHMMAX = 6GB.
    set shmsys:shminfo_shmmax=6442450944
    set semsys:seminfo_semmni=1024
    set semsys:seminfo_semmsl=1024
    set shmsys:shminfo_shmmni=100
    or should I put some other values (for all the parameters like semmni, semmsl etc) ? I am not clear which values I should be specifying.
    Thanks
    Edited by: orausern on May 26, 2009 7:24 AM
    Edited by: orausern on May 26, 2009 7:27 AM

    Wow! your help comes like an angles' helping hand! thank you so much. I am not very knowledgable on solaris so a few questions :
    Currently there is no project set up for oracle on this server, so the steps I need to do -to make the changes permanent are:
    # projadd -c "Oracle" 'user.oracle'
    # projmod -s -K "project.max-shm-memory=(privileged,8GB,deny)" 'user.oracle'
    correct?
    thanks a lot again

  • Problem re-allocating server memory in Solaris 10 with 10gR2 ORA-27102

    G'day All,
    We have an AMD-64 equipped server, running Solaris 5.10 for AMD-64 with 16GB of RAM. The machine is a dedicated server for the Oracle instance running on it, which is 10.2.0.1.0 unfortunately the 32bit version.
    We've been asked to get this instance to use 8GB of memory, but so far we've been unable to raise the SGA_TARGET and PGA_AGGREGATE_TARGET to appropriate values (6800M and 1360M respectively), as we keep getting the following error message(s):
    ORA-27102: out of memory
    Solaris-AMD64: Error: 22: Invalid argument
    We even used the command:
    prctl -n project.max-shm-memory -v 8gb -r -i project user.root
    to try to get Solaris to allocate sufficient memory.
    Is our problem due to some built-in limitation of 32bit Oracle, or are we just doing it wrong?
    Please help,
    Brian.

    Not sure why your "oracle" user (owner who will be creating the instance) has been assigned the project user.root. I would say create a seperate project may be "dba" and give access to this project to the owner of the user who will be creating the oracle instance.
    and then try to issue the command:
    prctl -n project.max-shm-memory -v 8gb -r -i project dba
    and check to see if you are still facing a problem?
    Edited by: somjitdba on Apr 2, 2009 9:54 PM

  • ORA-27102: out of memory. Faild to install oracle 10gR2 on Solaris 10

    Hi, I want to install oracle on my solaris machine. I have 2.5G RAM and more than 5G swap file. But the ORA-27102: out of memory error occurred at installing the Oracle Database Configuration Assistant step(Copying database files Creating and starting Oracle instance).
    The only warnings bellow:
    Checking kernel parameters
    Checking for BIT_SIZE=64; found BIT_SIZE=64. Passed
    Checking for shmsys:shminfo_shmmax=4294967295; found no entry. Failed <<<<
    Checking for shmsys:shminfo_shmmni=100; found no entry. Failed <<<<
    Checking for semsys:seminfo_semmni=100; found no entry. Failed <<<<
    Checking for semsys:seminfo_semmsl=256; found no entry. Failed <<<<
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    What's the reason and how may I resolve it?
    Thanks!

    I set some kernel parameters like: set shmsys:shminfo_shmmax=4294967295 and so on. Restart the computer and run dbca+ and configure in advance mode. There's a stage require the size of flash_recover_segment of which the default size number is 2048M. WOW, out of memory on my pc of course.
    So I think it's the parameter value during the installation progress bring on the ORA-27102 problem. However, during the first installation, there's no prompt for me to enter the parameter; or I didn't see.

Maybe you are looking for

  • Score Edit makes Logic crash.

    Whenever I edit the complete score of my compositions (pretty complex, long), Logic simply crashes. Has anybody here also experienced similar problems? Also, I'm thinking maybe if I upgrade to version 8, the problem/bug will be sloved. Plus an update

  • Compatibility of PPT (2008) on Maverick 10.9.2

    I am on Mountain Lion (10.8.2)  now, and my Microsoft Office 2008 works fine. I am concerned to upgrade to Maverick (10.9.2), and loose my compatibility with PPT, etc.  any thoughts?

  • Failed to download updates to the WUAgent datastore (error = 0x8009000 / -2146893815)

    We have a central site (SRVSC00) and two primary child sites (SRVSC01/02) in our SCCM structure. All clients (3700) are connected to the child sites and reports to central site. All SU deployments are being deployed from central site. WSUS server (3.

  • Issue with Cost Settlement through CJ88

    Dear All, I have maintained "Total Values check" in budget profile under time frame and "overall check" under availability control. When i am creating service orders then availability control is working properly. But when i am trying to do settlement

  • Skydrive pro stop with error HRESULT: 0x80004005 AssertTag: 0x005adb60

    Hi receiving error code when trying to run Skydrive Pro, it only started yesterday and has been working fine for nearly a year, getting very frustrated now can any one help. Skydrive Pro needs to close because of a hardware or configuration problem E