ORA-12546 tns permission denied

Dear,

I am trying to install Oracle 8i (8.7.1.1) on a 64-bit Windows 2003 (x 86) machine. However, when running "Wizard database", it gives the error below:

ORA-12546 tns permission denied

Can someone please help me solve this problem? If you need more information, please let me know.

Waiting for your kind answers.

Kind regards
Rahman S.A

Welcome.

It is a permissions problem. Installation with the administrator user will solve the problem, I think.

Concerning
Asif Kabir

-Mark the response as correct/good

Tags: Database

Similar Questions

  • ORA-12546 TNS Permission denied-base data Setup Wizard

    Hello!
    I just installed the database from Oracle 10.1.0 on my system at home. The installation went well, and other configuration assistants have also done their job, the problem started during the database Setup Wizard. After putting in and set up the required details to make a database, I clicked on the button "Finish". At the moment where the creative process has started a pop up appears saying "ORA-12546 TNS Permission Denied" asking me to ignore or abandon.

    I tried to run SQL * Plus with the username password - System/Manager, but he gave the AMT Protocol adapter error.

    Can someone please advise me what to do? I have a Windows 7 32-bit PC named - Shikhar-PC. The content of the listener. ORA and tnsnames. ORA is as follows:

    Listener.ora*.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\db_1)
    (= Extproc PROGRAM)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC))
    )
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = Shikhar-PC)(PORT = 1521))
    )
    )
    )

    TNSNames.ora_


    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    Any help would be appreciated! And by the way that I am a newbie so please carry me!

    Thank you.

    10gR 1 has never been taken into charge/certified with any OS 7 Win - http://docs.oracle.com/html/B10130_02/reqs.htm#CHDHGGFE

    The combination only taken charge/certified is 10.2.0.5 on Win 7 Professional (or higher) - your questions should therefore not a matter of surprise. Assuming you have Win 7 Professional or higher, is there a reason that you can not install 11.2.0.1?

    HTH
    Srini

  • ERROR: ORA-12546: TNS:permission denied OEM host connection credentials

    Hallo! I am a newbie in Oracle 10 g after installing Oracle 10 g in Oracle Enterprise Linux version 4 update 7.

    When I run the application Oracle Enterprise Manager (OEM) and I want to do any major operation for example stop the database, I click on the 'Shutdown' button on the home page of OEM and it takes me to the start/stop: to specify host and target database credentials

    On this page, I enter my OEL OS user name and password on the host credentials text boxes and the SYS username and password for SYS and Connect as SYSDBA credentials database text boxes. When I click Ok, the following error message appears


    SQL * more: Release 10.2.0.1.0 - Production on Mon Aug 9 22:49:38 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL > SQL > ERROR: ORA-12546: TNS:permission refused

    How to solve this?

    Thank you

    On this page, I enter my OEL OS user name and password on the host credentials text boxes and the SYS username and password for SYS and Connect as SYSDBA credentials database text boxes. When I click Ok, the following error message appears

    SQL * more: Release 10.2.0.1.0 - Production on Mon Aug 9 22:49:38 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL > SQL > ERROR: ORA-12546: TNS:permission refused

    Yes he is guest host Credentials.To user credentials to the operating system you use?
    You must use oracle software owner as oracle user (OS)

    Published by: Alex on August 11, 2010 10:32

  • ORA-12546: TNS:permission refused

    Hi all

    My version of the database is 11.2.0.3 on Linux. The linux version is given below. I'm trying to connect to the database as sysdba and I keep getting errors ORA-12546. The staging database server has the same settings and privileges with the production, but production bother, I would appreciate your help. I plugged in as root user sudo - su.

    x86_64 x86_64 x86_64 GNU/Linux

    I think as sol.beach,

    the right way to do it is by using the owner of the database Instance and not root.

    As I don't think you've got your database installed and running as root, there is only one way that you can connect to your database as root:

    the root - the user is a member of the ADMINISTRATOR group, look at this small example:

    sudo su-

    ID - a

    uid = 0 (root) gid = 0 (root) groups = 0 (root), 1 (other)

    . oraenv

    sqlplus / as sysdba

    ERROR:

    ORA-01017: name of user and password invalid. connection refused

    now-->

    sudo su-

    . oraenv

    newgroup dba

    ID - a

    uid = 0 (root) gid = 201 (dba) groups = 0 (root)

    sqlplus / as sysdba

    Connected to:

    Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production

    With partitioning, Automatic Storage Management, OLAP, analytical advanced

    and Real Application Testing options

    SQL SYS@BRDBCL >

    Compare your group settings, and there may be the answer, why it works in your test environment, but I do not recommend to connect as root of the database.

    Concerning

    Timo

  • AMT-00516: permission denied

    Hello
    9 on a Vmware virtual machine (Win 2003), I am logged on as administrator but cannot start listener:
    TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    Le fichier de paramÞtres systÞme est E:\oracle\ora92\network\admin\listener.ora
    Messages de journalisation Úcrits dans E:\oracle\ora92\network\log\listener.log
    Attempted to listen on: : (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=optim65-
    win)(PORT=1521)))
    TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
       32-bit Windows Error: 13: Permission denied
    
    Listener failed to start. See the error message(s) above...
    As I have seen on the Web, it's a permission problem and I gave full permission for everyone on Oracle home directory. Administrator is the Member of the ORA_DBA group.

    Here's the listener.ora:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = optim65-win)(PORT = 1521))
          )
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
          )
        )
      )
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = E:\oracle\ora92)
          (PROGRAM = extproc)
        )
      )
    And sqlnet.ora:
    # SQLNET.ORA Network Configuration File: E:\oracle\ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Thank you.

    9iR2 is desupported over 3 years. I remember that the liberation.1 has not been certified on Win2003. This usually results in the type of error you have.
    I recommend the upgrade to GR 11, 2.

    ---------
    Sybrand Bakker
    Senior Oracle DBA

  • TNS-12518 TNS - 12546 Linux error: 13: permission denied

    Hello
    I'm really sorry to disturb this forum with this stupid question but I am really new to oracle and I don't really know what to do in this case.
    recently, I installed oracle 10g release 2 on a box of Centos64bit.
    I was able to complete the installation, and apparently everything is working relatively well since im able to connect to oracle with the oracle user, I created using sqlplus.
    now the problem im is that im trying to connect to oracle with sql developer, but I get this message: "had at least one appeal of reading:
    I checked the logs and display is the following:

    TNS-12518: TNS:listener could not hand off client connectionl
    TNS-12546: TNS:permission refused
    AMT-12560: TNS:protocol adapter error
    AMT-00516: permission denied
    Linux error: 13: permission denied

    Of course, the problem has to do with permissions.
    given that I don't really know where to put the permissions. what I've done so far is affecting permission 755 following to the network folder of the jump oracle, which will solve the problem, but it didn't.
    I also set the following parameter:
    TCP.validnode_checking = no
    the sqlnet.ora, file, but that has not worked.

    Could someone please help me with this!

    Hello

    Verify that this listener is running under the same user as the database instance.

    HTH Mathias

  • Error: 13: permission denied when lsnrctl start as root

    Hello.

    I ve installed Oracle 10.2.0.5.0 on Oracle Linux 6.5

    I ve created tnsnames.ora, lisntener.ora, and sqlnet.ora by command line, so a database that is in the State open.

    I can connect by SqlPlus without any problem.

    This is my setup:

    Listener.ora SQLNET.ora tnsames.ora

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PLSExtProc)

    (ORACLE_HOME = home/oracle/oracle/product/10.2.0/db_1)

    (= Extproc PROGRAM)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = MyLinuxDB)

    (ORACLE_HOME = home/oracle/oracle/product/10.2.0/db_1)

    (SID_NAME = MyLinuxDB)

    )

    )

    LOCAL_OS_AUTHENTICATION_LISTENER = OFF

    NAMES. DIRECTORY_PATH = (TNSNAMES, ONAMES, HOSTNAME)

    SQLNET. AUTHENTICATION_SERVICES = (none)

    MyLinuxDB=

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = MyLinuxDB)

    )

    )

    When I run with the user Oracle lsnrctl services I have this output:

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    Summary of services...

    Service 'MyLinuxDB' has 1 instance (s).

    Instance of 'MyLinuxDB', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    The command completed successfully

    But if I type tnsping MyLinuxDB having the same Oracle user I have this:

    Use settings files:

    /Home/Oracle/Oracle/product/10.2.0/Db_1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = MyLinuxDB)))

    AMT-12541: TNS:no listener

    Another strange behavior is that I can stop or start the listener with the Oracle user, but if I try as long as user root I have Don t have permision to launch, I can only stop it as root.

    lsnrctl stop [root] #.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    The command completed successfully

    [root] # lsnrctl start

    From /home/oracle/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNS-12546: TNS:permission refused

    AMT-12560: TNS:protocol adapter error

    AMT-00516: permission denied

    Linux error: 13: permission denied

    Can someone help me understand what I am doing wrong?

    Concerning

    You can provide the IP address instead of the host name "localhost" and check

    Confirm also that IP also available on file/etc/hosts

    also share the output of command below

    ps - ef | grep lsnr

    If several found lsnr then you can kill the lsnr and start the listener and check status lsnrctl.

  • ORA-27369: jobs of type EXECUTABLE failed with exit code: permission denied

    Dear experts,

    I created a simple external job to run the export job (expdp) to be run from PL/SQL. When I create a job as user SYS, labor runs well, but the same fails when I run it as a user of the application. I'm sure I'm missing a few privileges. I go through internet, MOS for a solution, but could not find a (my bad!).

    Grateful if you could point me the right direction.

    Here is the work:
    BEGIN
    dbms_scheduler.create_job(
    job_name => 'mytestjob',
    job_type => 'executable',
    job_action => '/u01/myexpdp.sh',
    enabled => TRUE,
    auto_drop         =>   FALSE);
    END;
    /
    
    
    exec dbms_scheduler.run_job('mytestjob');
    performance of the work as a user 'TEST '.
    SQL> show user
    USER is "TEST"
    SQL>
    
    SQL> exec dbms_scheduler.run_job('mytestjob');
    BEGIN dbms_scheduler.run_job('mytestjob'); END;
    
    *
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: Permission denied
    ORA-06512: at "SYS.DBMS_ISCHED", line 185
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 486
    ORA-06512: at line 1
    
    
    SQL>
    permissions of files
    -rwxrwxrwx 1 oracle oinstall 1539 Mar 21 17:58 /u01/myexpdp.sh
    expdp script
    cat /u01/myexpdp.sh
    
    #!/bin/bash
    source /home/oracle/.bash_profile
    
    ORACLE_SID=TESTDB
    
    /u01/app/oracle/product/11.2.0.1/db1/bin/expdp parfile=/u01/expoptions.txt
    expdp settings file
    cat u01/expoptions.txt
    userid=scott/tiger
    directory=DATA_PUMP_DIR
    dumpfile=test.dmp
    tables=emp
    Published by: Prem Kumar on March 21, 2013 04:14

    Have you defined a credential for your host with dbms_scheduler.create_credential connection and specified the credentials with the work?
    --
    John Watson
    Oracle Certified Master s/n
    http://skillbuilders.com

  • ORA-12547: TNS: lost contact

    Hello

    That's what I did on my AIX unix server to meet the problem.

    I had Oracle 10 g 10.2.0.4 installed binaries and a DB running on this mobile.

    I got to level it to 11g.

    Downloaded and installed 11.2.0.4 version on the AIX server successfully.

    Updated 10g DB 'mobile' version 11g dbua utility.

    all tested fine and good connections.

    Now the next day today, I have to cleanup and delete the binary 10g of the server.

    And YES I used to clean it.

    Apps/opt/oracle/Products/10.2.0/dB/oui/bin/RunInstaller


    After this was done, I deleted manually the files of

    RM - r apps/opt/oracle/products/10.2.0


    Now, I see only binary 11g instead of ORACLE_HOME.


    I'm trying to connect to the database 'mobile' now, and it gives this error.


    hostname > sqlplus / as sysdba

    SQL * more: Production of the version 11.2.0.4.0 Mar 8 15:23:49 Apr 2014

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    Failed to load oracle program:

    rtld: 0712-001 fc_softc symbol was referenced

    module oracle(), but a definition of runtime

    the symbol could not be found.

    rtld: 0712-002 fatal error: leave.

    ERROR:

    ORA-12547: TNS: lost contact

    Enter the user name:




    Help, please!



    I see my ORACLE_HOME, path of all the other variables are pointing to the correct location of g 11.

    I had a smooth ride that follows the blog below.

    I have relinked the executable and was able to start back again Sqlplus session.

    DBA - Oracle.com: how to create a link to the database software Oracle under UNIX

    I'm also pasting the material here, so that it is useful to others.

    with an Oracle installation program provided.

    -A set of patches Oracle has been applied via an Oracle supplied Installer.

    Reissue of links manually Oracle suggested in the following circumstances

    (even if the OS vendor can not required):

    -An upgrade of the OS has occurred.

    -A change was made to system OS libraries.  This can occur when you apply a patch to the BONE.

    -A new installation has failed during the relinking.

    -An individual Oracle patch has been applied (However, to recreate an explicit link

    instructions are usually included in the Readme or integrated

    the hotfix installation script)

    Step of restoring links:

    [Step 1] Log in the UNIX system as the Oracle software owner:

    ==============================================================================

    This is usually the user 'oracle '.

    [STEP 2] Ensure that your $ORACLE_HOME is correctly set:

    ===============================================================================

    For all platforms and the Versions of Oracle, performs this check of the basic environment

    first:

    % cd $ORACLE_HOME

    % pwd

    This will ensure that $ORACLE_HOME is set properly in your current environment.

    [Step 3] Check and configure the UNIX environment for a reissue of appropriate links:

    ===============================================================================

    For all Versions of Oracle and UNIX platforms:

    Generally, the specific environment variables of platform LIBPATH, LD_LIBRARY_PATH and SHLIB_PATH are already defined to include the locations of library of the system as "/ usr/lib.  In most cases, you need only check they are defined first, and then add the directory of $ORACLE_HOME/lib to them as appropriate.

    for example: setenv LD_LIBRARY_PATH $(ORACLE_HOME) / lib: ${LD_LIBRARY_PATH}

    [Step 4] For all Versions of Oracle and UNIX platforms:

    ===============================================================================

    Make sure you have correctly completed the step 2:

    Make sure you see the absolute path for

    $ORACLE_HOME in the definitions of variables.

    [Step 5] For all Versions of Oracle and UNIX platforms:

    ===============================================================================

    Check the umask is set correctly:

    umask %

    This should return a 022.  If it is not the case, the value of umask 022.

    % umask 022

    umask %

    [Step 6] Run the OS in question Oracle commands:

    ===============================================================================

    Important notes:

    * Before the restoration of the Oracle links, close the database and listener.

    Following commands out lots of text in the window of your session. To capture this release for download in support, redirect the output to a file.

    * If the re-establishment of links an installation of the client, it is expected that certain aspects of the following commands will fail if the components were not initially installed.

    For all UNIX platforms:

    Oracle 8.1.X, 9.X.X, 10.X.X or 11.X.X

    -------------------------------------

    NEW TO 8i AND MORE *.

    A "reissue" script is provided in the directory $ORACLE_HOME/bin.

    % cd $ORACLE_HOME/bin

    relink %... .This will display all the options for the command.

    use: re-edit the link

    accepted parameter values: all, oracle, network, client,.

    interMedia, precomp, utilities, oemagent, client_sharedlib, ldap

    You can bind again most of the executable that is associated with an Oracle Server Installation

    by running the following command:

    % to reissue all the

    11.2.x special instructions (11.2.0.1,11.2.0.2 etc...)

    --------------------------------------

    (A) starting at 11 GR 2 the script to repeat will not accept 'everything' as argument (it is also

    explained in: Oracle 11 g 2 connect new feature).

    See c) the traditional 'make' commands that can be executed independently.

    You can use the following command which will display only errors to the screen, as appropriate,

    but will capture the entire repeat the link in a log file:

    $ORACLE_HOME/Yes/bin/runInstaller - reissue - waitForCompletion - maketargetsxml $ORACLE_HOME/inventory/make/makeorder.xml.

    ORACLE_HOME = $ORACLE_HOME 2 > & 1 | Tee $ORACLE_HOME/install/relink.log | grep-i error | WARNING - iv grep

    (C) running the commands ' do ' independently:

    For executables: oracle exp, imp, sqlldr, tkprof, mig, dbv, orapwd, rman,

    svrmgrl, GMO, ogmsctl

    % cd $ORACLE_HOME /rdbms/lib

    % make install f ins_rdbms.mk

    NOTE: After the restoration of the links the oracle executable, make sure that the

    permissions on executable are 6751 (- rwsr - s - x). If they are

    not, run the following command as the Oracle software owner:

    % cd $ORACLE_HOME/bin

    % chmod 6751 oracle

    For executables: sqlplus

    % cd $ORACLE_HOME/sqlplus/lib

    % make install f ins_sqlplus.mk

    For executables: isqlplus (Oracle9i and above)

    % cd $ORACLE_HOME/sqlplus/lib

    % is install_isqlplus ins_sqlplus.mk f

    For executables: dbsnmp, oemevent, oratclsh

    % cd $ORACLE_HOME/network/lib

    % make install f ins_oemagent.mk

    NOTE: After the restoration of the links the dbsnmp executable, it is necessary to run

    the following commands as root (so that the ownership/permissions on)

    the executable file is correct):

    # cd $ORACLE_HOME/bin

    # chown root dbsnmp

    # chmod 6750 dbsnmp

    For executables: names, namesctl

    % cd $ORACLE_HOME/network/lib

    % make install f ins_names.mk

    For executable files: osslogin, trcasst, trcroute, onrsd, tnsping

    % cd $ORACLE_HOME/network/lib

    % make install f ins_net_client.mk

    For executables: tnslsnr, lsnrctl

    % cd $ORACLE_HOME/network/lib

    % make install f ins_net_server.mk


    How to Tell if Relinking was successful:

    ===============================================================================

    If the restoration of links has been a success, order brand will eventually return to the operating system

    ask without an error. It will NOT be a type 'successful rebinding.

    Message.

    If you receive an error during the reissue of links:

    ===============================================================================

    Check that the message that you have received a fatal error itself says, not a warning. Reissue of links errors usually complete the relinking process and contain the verbiage that is similar to the following:

    "Fatal error", "Ld: fatal', 'Exit Code 1'"

    While the warnings will look like: ' ld: WARNING: choice - YP appears more than once, first affecting decision-making '

    and more often can be ignored.

    If you receive an error that terminates the process of relinking, your first step

    should be to extract the relevant information about the error to do

    output:

    This can be broken down into three basic steps:

    1. determine the usefulness of the BONE that returns the error.

    'ld', 'make', 'cc', 'mv', 'cp', 'ar' is the common sources.

    2. identify the type of error:

    "Permission denied", "Undefined Symbol", "File not found" are common types.

    3. identify the files or the involved symbols.

  • DB stopped working with ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Hello

    I installed Oracle 4 months before and work perfectly fine on until now. I could not able to connect to any DB or URL http://127.0.0.1:8080/apex/f? p = 4950

    The connection failed with the below error

    ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Results of the LSNRCTL STATUS as below

    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL STATUS

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 12:43

    : 55

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod

    ction

    3 January 2016 start date 12:43:51

    Uptime 0 days 0 h 0 min 4S

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Default Service XE

    Listener parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\A

    DMIN\listener.ora

    Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\RAJESHK-PANTAR\lis

    tener\alert\log. XML

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = localhost) (IN.

    RT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN > LSNRCTL SERVICE

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 3 January 2016 13:0

    : 08

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    The command completed successfully

    Please help with what deliver you.

    1. control file backup to trace using the "alter database backup controlfile to trace as 'C:\control.bkp ';

    2. turn off your database

    3 startup nomount

    4. create controlfile from the backup created controlfile command. For example. See below (it is extracted from the trace my database controlfile. RESETLOGS option use as in 1st line

    CREATE CONTROLFILE REUSE DATABASE "WIN1DB" RESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO01.LOG'  SIZE 50M BLOCKSIZE 512,
      GROUP 2 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO02.LOG'  SIZE 50M BLOCKSIZE 512,
      GROUP 3 'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\REDO03.LOG'  SIZE 50M BLOCKSIZE 512
    -- STANDBY LOGFILE
    DATAFILE
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSTEM01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\SYSAUX01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\UNDOTBS01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\USERS01.DBF',
      'C:\ORACLE\PRODUCT\ORADATA\WIN1DB\WIN1DB\EXAMPLE01.DBF'
    CHARACTER SET WE8MSWIN1252
    ;
    

    5 mount the database 'edit the editing of the database'

    6 open the database using newspapers to reset "alter database open resetlogs.

    Thank you!

  • ORA-12154: TNS: could not resolve the connect identifier specified

    Hello

    I installed Oracle 11 g server in Windows 2008 and also installed customer DB 64 & 32 on the same server client.

    When I try to test the Oracle DB connection using the UDL file, I get the error message below. Please could you help me solve this problem.

    -Microsoft Data Link Error.

    Test connection failed because of an error initializing provider.

    [DBNETLIB] [ConnectionOpen(connect()) (Connect()).]

    SQL Server is not, or access is denied.

    --------------------------- OK  ---------------------------

    I have connected to SQL using sysdba and tried to connect to the schema. It is not connection and throwing below error.

    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I checked the TNSNAMES.ora file. Everything seems fine.

    Thank you

    Michel K

    Hello

    I see just a glance on the tnsnames file you are missing at least one sign =...

    You have

    ORCL

    (DESC...

    You should have

    ORCL =

    (DESC...

    There may be other issues too, but give that a try at first - you better run netmgr to allow oracle to create the file for you.

    See you soon,.

    Rich

  • Update 5.0.  Directory of loading Images.  Permission denied

    I am trying to upgrade my APEX to 5.0.  I'm running on XE.

    I followed the steps below.

    Upgrade of Oracle Application Express in Oracle Database Express Edition

    Step 4 succeeded, but I get an error in step 5.

    Some examples of error messages.

    . Loading images directory: name/directory /...

    Directory created

    delcar

    *

    ERROR on line 1:

    ORA-22288: file or LOB FILEOPEN operation failed

    Permission denied

    ORA-06512: at "SYS." XMLTYPE", line 296

    ORA-06512: at line 16 level

    PL/SQL procedure successfully completed.

    I saw the links on the copy the APEX_HOME/images directory in a new directory, then and deleting and recreating it... / images directory and copy files back.  I did, but still get the errors above.

    Does anyone have any suggestions?

    Hi bh56,

    This may be due to you give a bad way while loading images using apex_epg_config.sql or apxldimg.sql.

    Reference: Re: blank page after successfully installing 4.2.0 4.2.6 apex

    In the link above thread, I explained, what is the problem with the parameter you give to the script apex_epg_config.sql and apxldimg.sql.

    Now, at APEX 5.0 during installation or during the upgrade you must use the same script apex_epg_config.

    Reference: Re: problem upgrade 5 Apex

    The documentation you follow above is for APEX 4.0, here is the documentation for APEX 5.0 in Oracle Database XE:

    https://docs.Oracle.com/CD/E59726_01/install.50/e39144/oracle_xe.htm#HTMIG29429

    I hope this helps!

    Kind regards

    Kiran

  • I get the error message like "error - ORA-29273 report: failure of the HTTP ORA-06512: at"SYS. " UTL_HTTP", line 1130 ORA-12535: TNS:operation expired ORA-06512: 37 29273 line. 00000 - "HTTP request failed" * Cause: package UTL_HTTP The Impossible to run

    I have tried the code

    DECLARE

    lv_url VARCHAR2 (1000): = ' http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';

    lc_return BLOB;

    lhttp_url httpuritype.

    Varriables - declared to have written the LOB to pdf file-

    l_file UTL_FILE. TYPE_DE_FICHIER;

    l_buffer RAW (32767).

    l_amount directory: = 32767;

    l_pos INTEGER: = 1;

    l_blob BLOB;

    l_blob_len INTEGER.

    BEGIN

    -create URIs

    lhttp_url: = httpuritype.createuri (lv_url);

    -get the PDF document

    lc_return: = lhttp_url.getblob ();

    -Open the destination file.

    l_file: = UTL_FILE. FOPEN ('MBO_INPUT_DIR', 'MBD.zip', 'wb');

    -Get the total length of the BLOB

    l_blob_len: = DBMS_LOB.getlength (lc_return);

    -Pieces of the BLOB to read and write to the file

    -full up.

    While l_pos < l_blob_len LOOP

    DBMS_LOB. READ (lc_return, l_amount, l_pos, l_buffer);

    UTL_FILE.put_raw (l_file, l_buffer, FALSE);

    l_pos: = l_pos + l_amount;

    END LOOP;

    -Closes the file.

    UTL_FILE. FCLOSE (l_file);

    EXCEPTION

    WHILE OTHERS THEN

    -Close the file if something goes wrong.

    IF UTL_FILE.IS_OPEN (l_file) THEN

    UTL_FILE. FCLOSE (l_file);

    END IF;

    LIFT;

    END;

    But make a mistake like:

    Error report-

    ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1130

    ORA-12535: TNS:operation expired

    ORA-06512: at line 37 level

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    Please suggest a solution. Is it possible to download a zip file with the same code?

    [oracle@localhost ~]$ sqlplus scott/tiger
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 6 13:59:09 2015
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> --My Database version
    SQL> ----------------------
    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  DECLARE
      2        lv_url    VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
      3        lc_return BLOB;
      4        lhttp_url httpuritype;
      5        ---Varriables declared for writing the LOB to pdf file --
      6        l_file     UTL_FILE.FILE_TYPE;
      7        l_buffer   RAW(32767);
      8        l_amount   BINARY_INTEGER := 32767;
      9        l_pos      INTEGER := 1;
    10       l_blob     BLOB;
    11       l_blob_len INTEGER;
    12     BEGIN
    13       --create uri
    14       lhttp_url := httpuritype.createuri(lv_url);
    15       --get the PDF document
    16       lc_return := lhttp_url.getblob();
    17       -- Open the destination file.
    18       l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb');
    19       --Get the total length of the BLOB
    20       l_blob_len := DBMS_LOB.getlength(lc_return);
    21       -- Read chunks of the BLOB and write them to the file
    22       -- until complete.
    23       WHILE l_pos < l_blob_len LOOP
    24         DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer);
    25         UTL_FILE.put_raw(l_file, l_buffer, FALSE);
    26         l_pos := l_pos + l_amount;
    27       END LOOP;
    28       -- Close the file.
    29       UTL_FILE.FCLOSE(l_file);
    30     EXCEPTION
    31       WHEN OTHERS THEN
    32         -- Close the file if something goes wrong.
    33         IF UTL_FILE.IS_OPEN(l_file) THEN
    34           UTL_FILE.FCLOSE(l_file);
    35         END IF;
    36         RAISE;
    37*    END;
    38  /
    DECLARE
    *
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at line 36
    
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> ed
    Wrote file afiedt.buf
    
      1  BEGIN
      2    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl         => 'love.xml',
      3                                      description => 'Love ACL',
      4                                      principal   => 'SCOTT',
      5                                      is_grant    => true,
      6                                      privilege   => 'connect');
      7    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl       => 'love.xml',
      8                                         principal => 'SCOTT',
      9                                         is_grant  => true,
    10                                         privilege => 'resolve');
    11    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl  => 'love.xml',
    12                                      host => 'shenzhoufellowship.org');
    13  commit;
    14* END;
    15  /
    
    PL/SQL procedure successfully completed.
    
    SQL> conn scott/tiger
    Connected.
    SQL> ed
    Wrote file afiedt.buf
    
      1  DECLARE
      2        lv_url    VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
      3        lc_return BLOB;
      4        lhttp_url httpuritype;
      5        ---Varriables declared for writing the LOB to pdf file --
      6        l_file     UTL_FILE.FILE_TYPE;
      7        l_buffer   RAW(32767);
      8        l_amount   BINARY_INTEGER := 32767;
      9        l_pos      INTEGER := 1;
    10       l_blob     BLOB;
    11       l_blob_len INTEGER;
    12     BEGIN
    13       --create uri
    14       lhttp_url := httpuritype.createuri(lv_url);
    15       --get the PDF document
    16       lc_return := lhttp_url.getblob();
    17       -- Open the destination file.
    18       l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb');
    19       --Get the total length of the BLOB
    20       l_blob_len := DBMS_LOB.getlength(lc_return);
    21       -- Read chunks of the BLOB and write them to the file
    22       -- until complete.
    23       WHILE l_pos < l_blob_len LOOP
    24         DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer);
    25         UTL_FILE.put_raw(l_file, l_buffer, FALSE);
    26         l_pos := l_pos + l_amount;
    27       END LOOP;
    28       -- Close the file.
    29       UTL_FILE.FCLOSE(l_file);
    30     EXCEPTION
    31       WHEN OTHERS THEN
    32         -- Close the file if something goes wrong.
    33         IF UTL_FILE.IS_OPEN(l_file) THEN
    34           UTL_FILE.FCLOSE(l_file);
    35         END IF;
    36         RAISE;
    37*    END;
    38  /
    
    PL/SQL procedure successfully completed.
    
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$ cd saubhik/
    [oracle@localhost saubhik]$ pwd
    /home/oracle/saubhik
    [oracle@localhost saubhik]$ ls -l *.pdf
    -rw-r--r-- 1 oracle oinstall 60055 Apr  6 14:03 TheLoveDare.pdf
    [oracle@localhost saubhik]$
    

    I love this pdf file. I would like to read this and mean while if you get an error then please post in its entirety and also think that it is an Oracle error or network.

  • ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

    Hi again,

    I'm on my business management console and the database Instance and the headset shows the green arrow, but the connection of the Agent of the Forum shows a red arrow down and the error:

    Status: failed

    Details: ORA-12518: TNS:listener could not hand off client connection (DBD ERROR: OCIServerAttach)

    My OraClrAgnt service is up and running (using winxp pro, oracle 11 g 2), I'm on my pc at home, all my ports are open (name of my machine's "abigail" and it's dmzhost)

    Any suggestions to solve this error?

    My Tnsnames ora file:

    ABIGAIL =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = ABIGAIL)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = orcl.0.0.10)

    )

    )

    LISTENER_ORCL =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = ABIGAIL)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SID = ORCL)

    )

    )

    RMAN =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = ABIGAIL)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = rman.abigail)

    )

    )

    My listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = E:\app\abigail\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\abigail\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = ABIGAIL)(PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = E:\app\abigail

    My SQLNET. ORA

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    NAMES. DIRECTORY_PATH = (EZCONNECT, TNSNAMES, LOCALHOST)

    NAMES. TRACE_LEVEL = ADMIN

    My alert file

    < time msg = "2013-10 - T 10, 20: 47:02.687 - 04:00 ' org_id = 'oracle' id_comp = 'tnslsnr'"

    type = 'UNKNOWN' level = '16' = host_id "ABIGAIL."

    host_addr =': 1' >

    < txt > 10 October 2013 20:47:01 * (CONNECT_DATA = (CID = (PROGRAM =)(HOST=__jdbc__) (USER = SYSTEM)) (SERVICE_NAME = orcl.0.0.10)) * (ADDRESS = (PROTOCOL = tcp (PORT = 38289))(HOST=127.0.0.1)) * establish * orcl.0.0.10 * 12518

    < / txt >

    < / msg >

    < time msg = "2013-10 - T 10, 20: 47:02.687 - 04:00 ' org_id = 'oracle' id_comp = 'tnslsnr'"

    type = 'UNKNOWN' level = '16' = host_id "ABIGAIL."

    host_addr =': 1' >

    < txt > TNS-12518: TNS:listener could not hand off client connection

    AMT-12560: TNS:protocol adapter error

    < / txt >

    < / msg >

    My listener status and services

    LSNRCTL > status

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod

    ction

    Start date October 10, 2013 22:47:58

    Uptime 0 days 0 h 2 min 1 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File E:\app\abigail\product\11.2.0\dbhome_1\network\admin\l

    istener.ora

    E:\app\abigail\diag\tnslsnr\ABIGAIL\listener\ale log listener

    rt\log. XML

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ABIGAIL) (PORT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Service 'orcl.0.0.10' has 1 instance (s).

    Instance "orcl", State LOAN, has 8 managers of this service...

    The command completed successfully

    LSNRCTL > services

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'orcl.0.0.10' has 1 instance (s).

    Instance "orcl", State LOAN, has 8 managers of this service...

    Managers:

    "D006" put in place: 0 denied: current: 0 0 max: 800 status: loan

    DISPATCHER < machine: ABIGAIL, pid: 1312 >

    (ADDRESS = (PROTOCOL =)(HOST=ABIGAIL) (PORT = 1060) CST)

    "D005" put in place: 0 denied: 12 current: 0 max: 800 status: ready

    DISPATCHER < machine: ABIGAIL, pid: 1288 >

    (ADDRESS = (PROTOCOL =)(HOST=ABIGAIL) (PORT = 1061) CST)

    "D004" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 1260 >

    (ADDRESS = (PROTOCOL = tcp)(HOST=ABIGAIL) (PORT = 1063))

    "D003" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 1140 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1062))(HOST=ABIGAIL))

    "D002" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 140 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1059))(HOST=ABIGAIL))

    "D001" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 1072 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1057))(HOST=ABIGAIL))

    "D000" put in place: 0 denied: 1 current: 1 max: 16383 State: loan

    DISPATCHER < machine: ABIGAIL, pid: 748 >

    (ADDRESS = (PROTOCOL = tcp (PORT = 1058))(HOST=ABIGAIL))

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    The command completed successfully

    I added this on my listener.ora

    DIRECT_HANDOFF_TTC_LISTENER = OFF

    Now it works!

    Moral of the story, google is your friend lol. Thanks for replying tho!

  • run_job fails with permission denied for an executable work as a non - dba user

    I am running Oracle 10.2.0.4 on RHEL 5.5 32-bit and seeks to convert some of Oracle Scheduler cron tasks, but get a permission denied error during the execution of the work.

    To simplify things as much as possible, the below shows a work with a call to an executable shell script. The shell script was simply a calendar of Unix command, however, so it works from the command line, as well as the command-line as 'oracle' user, I get the following error:

    TEST: OPS$ BATCH_USER > exec dbms_scheduler.run_job ('my_test_job');
    BEGIN dbms_scheduler.run_job ('my_test_job'); END;

    ERROR on line 1:
    ORA-27370: slave to the job could not launch an EXECUTABLE type work
    ORA-27300: dependent operation of the OS system: access to the wrapper of extjob failed with status: 13
    ORA-27301: OS Error Message: permission denied
    ORA-27302: an error occurred at: sjsec 3
    ORA-06512: at "SYS." DBMS_ISCHED", line 150
    ORA-06512: at "SYS." DBMS_SCHEDULER', line 441
    ORA-06512: at line 1

    I noticed that if I create work under another account Unix which is the dba group and update the externaljob.ora run_user and run_group = s/n, the task runs without error.

    I assume that it is possible to run executable tasks in o/s as a group of users outside the dba (or oinstall)?

    Below are the details of what I did. If you would be grateful if someone can point me in the right direction. My apologies if I'm missing something obvious here...
    Create simple job
    
    TEST: OPS$BATCH_USER > !cat create_test_job.sql
    begin
      dbms_scheduler.create_job (
        job_name            => 'my_test_job',
        job_type            => 'EXECUTABLE',
        job_action          => '/home/batch_user/dba/v2_dba_tasks/run_script.sh',
        start_date          => NULL,
        repeat_interval     => 'freq=daily; byhour=8; byminute=30',
        end_date            => NULL,
        enabled             => TRUE);
    end;
    /
    
    TEST: OPS$BATCH_USER > @create_test_job
    
    PL/SQL procedure successfully completed.
    
    File permissions...
    -rw-r--r-- 1 root oinstall 1537 Feb 28 13:38 /u04/oracle/product/10.2.0/db_1/rdbms/admin/externaljob.ora
    -rwsr-x--- 1 root   oinstall 871282 Aug 22  2010 /u04/oracle/product/10.2.0/db_1/bin/extjob
    -rwx------ 1 oracle oinstall 871282 Aug 22  2010 /u04/oracle/product/10.2.0/db_1/bin/extjobo
    -rws--s--x 1 nobody nobody   871322 Jan 28  2009 /u04/oracle/product/10.2.0/db_1/bin/extjobO
    -rwx------ 1 oracle oinstall 871322 Jan 28  2009 /u04/oracle/product/10.2.0/db_1/bin/extjoboO
    -rwxr-x--x 1 oracle oinstall  29910 Aug 22  2010 /u04/oracle/product/10.2.0/db_1/bin/extproc
    -rwxr-x--x 1 oracle oinstall  30130 Jan 28  2009 /u04/oracle/product/10.2.0/db_1/bin/extprocO
    -rwxr-xr-x 1 oracle oinstall    327 Jan 28  2009 /u04/oracle/product/10.2.0/db_1/bin/extusrupgrade
    
    
    For testing, I'm just doing a Unix calendar command...
    [batch_user@test v2_dba_tasks]$ cat run_script.sh 
    #!/bin/sh
    
    /usr/bin/cal
    
    
    Contents of $ORACLE_HOME/rdbms/admin/externaljob.ora...
    [root@test admin]# grep '^run' externaljob.ora 
    run_user = batch_user
    run_group = comp
    
    The Unix account is not in the dba or orainst group ('comp' group only).
    
    Run from O/S...
    [batch_user@test v2_dba_tasks]$ ./run_script.sh 
       February 2011    
    Su Mo Tu We Th Fr Sa
           1  2  3  4  5
     6  7  8  9 10 11 12
    13 14 15 16 17 18 19
    20 21 22 23 24 25 26
    27 28
    
    Run as 'oracle' user...
    [oracle@test v2_dba_tasks]$ ./run_script.sh 
       February 2011    
    Su Mo Tu We Th Fr Sa
           1  2  3  4  5
     6  7  8  9 10 11 12
    13 14 15 16 17 18 19
    20 21 22 23 24 25 26
    27 28
    
    But running from scheduler results in error...
    TEST: OPS$BATCH_USER > exec dbms_scheduler.run_job('my_test_job');
    BEGIN dbms_scheduler.run_job('my_test_job'); END;
    
    *
    ERROR at line 1:
    ORA-27370: job slave failed to launch a job of type EXECUTABLE
    ORA-27300: OS system dependent operation:accessing extjob wrapper failed with status: 13
    ORA-27301: OS failure message: Permission denied
    ORA-27302: failure occurred at: sjsec 3
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1

    Hello

    The run_user specified in externaljob.ora don't have to be a member of the oinstall group.

    I think you can run into a problem specific to run_job with use_current_session-online set to true when the local OS user running sqlplus is not a member of oinstall.

    The same error occurs with a background task run (for example use_current_session-online fake)? Occur if you are using sqlplus from another machine?

    Thank you
    Ravi.

Maybe you are looking for

  • iPhone connection Hotspot

    If my phone is connected to the 4 G LTE & WIFI + hotspot, which connection of the iPhone will use for hotspot? Will be the hotspot through 4 G or WIFI connection? If I connect another phone to hotspot, is consumed my iPhone 4G data?

  • Qosmio G50 - 12R XP drivers for the multimedia keys

    Hello My company bought some Qosmio G50 - 12R notebooks to install professional software. I said, I want mobile computers with Windows XP, but these PCs are on Vista. I tried to install the software on Vista and Windows 7 RC but without success. We d

  • X130e problem

    I've updated my Lenovo thinkpad X130e windows 10 and now I have no wireless connectivity, so I tried a pilot wireless on Lenovo's Web site and there is no driver for the laptop for windows 10

  • ASCII to I16

    Hello I am reading data into a small robot and to convert data in a number of I - 16.   I have attached a photo of the piece of code which I am referring.  Often the numerical value of the returned ascii data is 255, which is not correct (I've been r

  • WPS 9 does not print several pages

    How to print multiple pages of the same document WPS (9)? It prints one even if I choose more than one. I have HP psc 1315xi printer.