Вы находитесь на странице: 1из 3

Document Display https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-stat...

Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.

ORA-600 [pesldl03_MMap: Errno 1 Errmsg Operation Not Permitted] (Doc ID 1625010.1)

In this Document

Symptoms
Changes
Cause
Solution
References

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 12.1.0.1 [Release 11.1 to 12.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

ORA-00600 occurred when compiling a PLSQL object with plsql_code_type='NATIVE';

ORA-00600: internal error code, arguments: [pesldl03_MMap: errno 1 errmsg Operation not permitted], [], [], [], [], [], [], [], [], [], [],
[]

Example:
--------
alter session set plsql_code_type='NATIVE';
CREATE OR REPLACE PROCEDURE simple AS
v_Counter NUMBER;
BEGIN
v_Counter := 1;
END Simple;
/

This will fail due to following error:


Warning: Procedure created with compilation errors.

SQL> show err


Errors for PROCEDURE SIMPLE:

LINE/COL ERROR
-------- ----------------------------------------------------------
0/0 ORA-00600: internal error code, arguments: [pesldl03_MMap:
errno errmsg Operation not permitted
], [], [], [], [], [], [], [], [], [], [], []

The resultant trace file confirms the following stack trace:

STACK TRACE:
------------
[08]: pesldl100_Error []<-- Signaling
[09]: pesldl03_MMap []
[10]: pesld02_Map_Object []

1 of 3 02-04-2019, 11:45
Document Display https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-stat...

[11]: pdynF119_Transform_To_Canonical []
[12]: pdynF01_Generate []
[13]: pdy1F82_Write_MCode []
[14]: pdy1F01_Driver []
[15]: pdw0F82_Run_Code_Gen []
[16]: pdw0F01_Code_Gen []
[17]: phpcmp []
[18]: pcicmp0 []
[19]: kkxcmp0 []
[20]: rpiswu2 []
[21]: kkxcmp []
[22]: kkpcrt []
[23]: opiexe []

CHANGES

This is relevant for RDBMS release 11g and later.

CAUSE

The issue occurs since 11g as we are now using /dev/shm when using native PLSQL compilation.

This requires that /dev/shm is of type tmpfs and is mounted with the following options:

With rw and exec permissions set on it


Without noexec or nosuid set on it

If /dev/shm is mounted with "noexec" such an error occurs.

This was addressed in


Bug 18076018 - ORA-600 [PESLDL03_MMAP: ERRNO 1 ERRMSG OPERATION NOT PERMITTED]
closed as "Not a Bug" with reference to the documentation which clearly states that /dev/shm may not be mounted with "noexec" option.

SOLUTION

Ensure that the /dev/shm mount area is of type tmpfs and is mounted with the following options:

With rw and exec permissions set on it


Without noexec or nosuid set on it"

# cat /etc/fstab
...
tmpfs /dev/shm tmpfs defaults 00
...

Mount options can be verified as Oracle or root user with the commands below;

$ mount | grep /dev/shm


shmfs on /dev/shm type tmpfs (rw) .... This is the recommended setting.

Login as root to modify the mount options

-- Mount with 'rw' option


# mount -t tmpfs shmfs -o rw /dev/shm

--Verify the change

# mount | grep /dev/shm

2 of 3 02-04-2019, 11:45
Document Display https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-stat...

REFERENCES

BUG:18076018 - ORA-600 [PESLDL03_MMAP: ERRNO 1 ERRMSG OPERATION NOT PERMITTED]


Didn't find what you are looking for?

3 of 3 02-04-2019, 11:45

Вам также может понравиться