VIRTUALBOX/Oracle 11g Express: ORA-12505

I'm setting up Oracle Express 11g for the first time...

By running as a guest in Virtualbox/Win7/Centos 6.4.

The problem is, 11g is initially installed and configured automatically, the listener knows nothing about the additional host 192.168.56.101 which is necessary for the guest chef communication address. So, I'm trying to solve this problem.

I can telnet to win7 for CentOS OK,

sqlplus works well, I can connect sys/pass as sysdba.

Select v wire running instance $;

gives XE

tnsping XE in CentOS gives:

TNSNAMES adapter used to resolve the alias

Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.56.101)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))

OK (0 msec)

I changed the listener.ora and tnsname.ora than they were after the installation to HOST = 192.168.56.101 instead of localhost.localdomain here:

Listener.ora is:

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = PLSExtProc)

(ORACLE_HOME = u01/app/oracle/product/11.2.0/xe)

(= Extproc PROGRAM)

)

)

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))

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

)

)

TNSNAME.ora is:

XE =

(DESCRIPTION =

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

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = XE)

)

)

EXTPROC_CONNECTION_DATA =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC_FOR_XE))

)

(CONNECT_DATA =

(SID = PLSExtProc)

(PRESENTATION = RO)

)

)

DEFAULT_SERVICE_LISTENER = (XE)

/ etc/hosts in CentOS is:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.56.101 loc

Execution of SQL Developer is in Win7 where there is no installed Oracle.

Connection settings are:

User name: sys

HostName: 192.168.56.101

Port: 1521

SID: XE

Getting ORA-12505...

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

The problem has been resolved by disabling listener.ora and put the correct host tnsnames.ora to address

sb92075: it is necessary to build the Virtualbox VM: http://www.oracle.com/technetwork/community/developer-vm/index.html#dbapp I could not do their work VM, so I installed 11 G in CentOS VM. The idea to disable listener.ora proved to be excellent. I used the tnsnames.ora as follows: XE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 92.168.56.101)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE))) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO))) and after the reboot, the connection is OK. Thank you

Tags: Database

Similar Questions

  • I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    What do you mean by "port number"? HTTP port (usually 8080), or listening port (normally 1521)?

    To change the name of the service, you can use (as a DBA or SYSDBA)

    SQL > alter system set service_name = '';

  • Oracle 11g Express Edition is available?

    Hi all

    Could you please tell me if Oracle 11g express Edition is available whether or not?

    Thanks and greetings

    There is no official communication about the 11G release date express edition.

    You will have to wait and watch the official Oracle site for this.

    Also check this:

    http://News.techworld.com/applications/3203909/Oracle-stalls-over-11g-express-release/

    http://PCWorld.about.com/od/businesscenter/Oracle-mum-on-11g-release-2-1.htm

    Concerning
    Rajesh

  • APEX 4.1 vs APEX in Oracle 11g Express?

    Is the stand-alone version of APEX 4.1 identical to the version included with the download of Oracle Express 11 g DB?
    (the 'inside' Express Oracle 11 g version actually works - still problems with the installation of the stand-alone version of APEX 4.1)
    Thank you...

    In fact, according to [url http://www.oracle.com/technetwork/articles/sql/11g-xe-quicktour-498681.html] quick tour of 11 g XE, Apex 4.0 comes with 11 g XE in the form of Oracle APEX 4.0.2.

  • Impdp deliver oracle 10g express - ORA-39002, 39070 29283, 06512 29283

    Dear all,

    I have the following problem, try to import a dump:

    D:\COSMOS_BATCH_RUNNER\Automation_oracle\Scripts\IMPORT DMP > impdp ses17/ses17 di
    rectory = DMPDIR dumpfile = ses17.dmp

    Import: Release 10.2.0.1.0 - Production on Friday, November 26, 2010 09:45:10

    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    ConnectΘ α: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

    ORA-39002: invalid opΘration-> invalid operation
    ORA-39070: opening of the impossible logfile-> could not open the log file
    ORA-29283: invalid opΘration on the file-> invalid operation on file
    ORA-06512: Α 'SYS. UTL_FILE", line 475
    ORA-29283: invalid opΘration on the file

    I created a DMPDIR and issued read and write right to ses17 of the user before importing the dump.
    When I have a look at the security of the folder referenced by DMPDIR, I must also have read and write access to it. (in windows when I right click on the folder-> properties-> Security (reading and writing are crossed).)

    No idea how to import the dump file?

    Thanks in advance,
    Thomas

    Are what OS you on.

    On Windows server, it may be that the user cannot write to this directory because of the restrictions of the user.
    The error is generated because he wants to write a log file to the location of the DIRECTORY.

    Check also if UTL_FILE_DIR includes the directory entry (post its value here)

    Workaround solution:

    -Move the file to another directory and work from there

  • Error ORA-12505 only in SQL Developer - 11g Express

    Hello

    I found many similar problems but no answering mine.

    I installed the Oracle 11g Express version.  I can connect to my database order online when I try Developer SQL I get the following error code:

    Status: Failure-Test failed: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor.

    i\m data trying to connect to is xe.

    Here are my tnsnames.ora file content:

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

    XE =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Jon-portable)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = XE)

    )

    )

    EXTPROC_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

    (SID = PLSExtProc)

    (PRESENTATION = RO)

    )

    )

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

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

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

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

    Here is the output of "tnsping xe:

    Use settings files:

    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Jon-Lapt

    OP) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))

    OK (0 msec)

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

    The production of SERVICES of LSNRTCL are:

    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

    Service 'XEXDB' has 1 instance (s).

    Instance "xe", State LOAN, has 1 operation for this service...

    Managers:

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

    DISPATCHER < machine: JON-laptop, pid: 2636 >

    (ADDRESS = (PROTOCOL = tcp) (HOST = Jon-Laptop)(PORT=1064))

    "Xe" service has 1 instance (s).

    Instance "xe", State LOAN, has 1 operation for this service...

    Managers:

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

    LOCAL SERVER

    The command completed successfully

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

    NOTE: I tried to connect to ORCL with SQL Developer and put with the SYSTEM account.

    Please let me know if you need more information.  Thanks in advance.

    you typed in the 'OracleServiceXE' chain & the listener isn't aware of any Service with this exact name.

    You must only enter "XE".

  • Oracle 11g with problem of pdf cocoon.war and glassfish?

    Hi all
    I m install oracle 11g express on CentOS OS, oracle apex earphone 1.1.2.131.15 5.6
    GlassFish v2 and cocoon 2.1.11 and connect to oracle apex glasfish works very well

    Problem start when I had cocoon xml build and deploy cocoon.war on glassfish,
    addition of fop_post on cocoon/fop_post (as described on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but the pdf don't work!

    (I've been putting all the steps on the machine of 11.2 to 32-bit suse and ubuntu 8.04 - 32 bytes and pdf open work well)
    Y at - he no idea what happen whith this pdf error?
    Is the problem with 64 bytes some specific parameters, with java jdk, Cocoon, glassfish, or something on apex of oracle 11g?

    Gordan

    Published by: useruseruser on June 20, 2011 21:49

    Hi Gordon,.

    Once again, great to hear that!
    Could you rent close this thread and mark any post useful or correct if your question is answered?

    Thank you

    Udo

  • Listener refused the connection with the following error: ORA-12505

    Hello
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:XE 
    Windows XP + Oracle 10.1.0.20

    I checked my *.ora files and found the host 127.0.0.1 but I noticed by running the netstat command on prompt back most of my ports is captured by www.360.cn including 1521

    When I try to stop the following message is displayed:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exists
    Thank you and best regards

    Hello

    [oracle@myoramachine ~]$ oerr ora 12505
    12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a SID for an instance (usually a database instance) that either
    // has not yet dynamically registered with the listener or has not been
    // statically configured for the listener. This may be a temporary condition
    // such as after the listener has started, but before the database instance
    // has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services 
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.
    [oracle@myoramachine ~]$
    

    1. check the lsnrctl services

    2 check the tnsping output:

    tnsping MYORACLE

    3. check the connectivity to the computer hosting your Oracle server to the port (I guess 1521):

    Telnet 1521

    4. in case you are not able to connect to the Oracle Server - I investigate it in several directions:

    -problem of network infrastructure

    -some process disturbing / virus on the server Oracle itself

    -firewall problem

    Good luck!

    ---------------------------------
    http://DBA-star.blogspot.com/

  • ORA-12505 error connecting to the schema of HR of Oracle 11 g local db, ORA-00600, ORA-01033

    Hello

    When I try to connect to the hr schema in SQL Developer with these credentials (host: localhost, port: 1521, SID: ORCL), it throws the error message.

    "" Status: failed - Test has failed: listener refused the connection with the following error: ORA-12505, TNS: listener does not currently know the SID ".



    When I try to connect through cmd, it throws this

    SQL * more: Production version 11.2.0.1.0 Mon Jan 11 17:09:47 2016

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

    Enter the user name: human resources

    Enter the password:

    ERROR:

    ORA-01033: ORACLE initialization or shutting

    Process ID: 0

    Session IDs: serial number 0: 0



    And here is the status of the listener


    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production January 11, 2016 16:04

    : 28

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

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

    STATUS of the LISTENER

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

    Alias LISTENER

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

    ction

    Start date January 11, 2016 15:02:27

    Uptime 0 days 1 hour 2 minutes 5 seconds

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File D:\app\DKMOH\product\11.2.0\dbhome_1\network\admin\l

    istener.ora

    D:\app\dkmoh\diag\tnslsnr\DKMOH-PC\listener\alert\ log listener

    log. XML

    Summary of endpoints listening...

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

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

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

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

    The command completed successfully



    I went through this link fixed - ORA-01033: ORACLE initialization or shutdown in progress | IT Blogger Tips , where it says to change the status from the db to 'OPEN'.

    SQL > select status, database_status from v$ instance;

    STATUS DATABASE_STATUS

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

    ACTIVE RISE



    And then, when I run this query below, that's what I get.

    SQL > alter database open;

    change the database open

    *

    ERROR on line 1:

    ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],

    [[507], [56509], [56515] [] [], [], [], [], []]



    I'm totally lost here. Any help would be appreciated.

    Thank you

    Hello

    This issue seems to be with the redo log.

    SQL > bootable media.

    SQL > show parameter control_files

    Query 1

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

    SQL > select a.member, a.group #, b.status v$ logfile a, v$ log b where a.group #= b.group # and b.status = 'CURRENT';

    Note the name of the redo log

    SQL > the judgment;

    Take a backup of the controlfile operating system level (this is to ensure that we have a copy backup of the current state of the controlfile)

    SQL > bootable media.

    SQL > restore database using backup controlfile until cancel;

    Enter the location of the log to roll forward as recent on demand 1 when you are prompted for the recovery of

    Press enter

    SQL > Alter database open resetlogs;

    Thank you

  • is Oracle Database Express Edition 11g Release 2 free?

    Hi all
    is Oracle Database Express Edition 11g Release 2 free?

    Thank you.

    Hello

    of the product page (http://www.oracle.com/technetwork/products/express-edition/overview/index.html):

    Oracle Database 11 g Express Edition (Oracle Database XE) is an entry-level database, small footprint, based on the database Oracle 11 g Release 2 code base. It is free to develop, deploy, and distribute; fast download; and simple to administer.

    Herald tiomela
    http://htendam.WordPress.com

  • ERROR: ORACLE prepare error: ORA-00936: lack of expression

    Hello

    I am required to run the 'pass-through' Oracle SQL, to extract data from tables in the SAS for processing and handling. My code (attached) reads and writes (runs) but with zero records to test first. I can't get beyond the error to prepare.

    The request is just like other queries that seem to work, but I can't get past this prepare error. I have no other access to individauls with an adequate knowledge of the PL SQL and as a last stop hoped others in the forum could quickly identify the source of the error.

    Thank you very much in advance for any help.

    Jeff
    _______________________________________

    1; *'; * « ; * / ; Quit; execution risk;
    2 OPTIONS NUMPAGE = MIN;
    3% LET _CLIENTTASKLABEL = % NRBQUOTE (rx_biplr_v3_2);
    4% LET _EGTASKLABEL = % NRBQUOTE (rx_biplr_v3_2);
    5% LET _CLIENTPROJECTNAME = %NRBQUOTE();
    6% LET _SASPROGRAMFILE =;
    7
    8 ODS CLOSE SUBJECT;
    NOTE: Some of your options or statements will not be managed with the Activex or Java Series devices. Chart by default for these
    drivers may be different from other SAS/GRAPH device drivers. For more information, please contact Technical Support.
    9 OPTIONS DEV = ACTIVEX;
    10 EGHTML TEMP FILE NAME;
    NOTE: Writing, body HTML (EGHTML) file: EGHTML
    11 ODS HTML(ID=EGHTML) FILE = EGHTML ENCODING = 'utf - 8' STYLE = EGDefault.
    11. STYLESHEET=(URL="file:///C:/program%20Files/SAS/shared%20Files/BIClientStyles/EGDefault.CSS")
    11. ATTRIBUTES = ("http://www2.sas.com/codebase/graph/v91/sasgraph.exe"="CODE") NOGTITLE NOGFOOTNOTE GPATH = & sasworklocation
    11.
    12
    gaccessible 13%;
    14 /********************************************************/
    15 * RX_BIPLR_V3. SAS;
    16 /********************************************************/
    17
    18 dm 'journal clearly out; delete ";
    19 linesize options = 120;
    20 option obs = 0 NoReplace;
    21
    22 ****************************************************************************************;
    23 * date reviewed programmer in WHICH WAS MADE;
    24 *----- -------------- ------------ -----------------------------------------;
    25 * 2005 creation of David Boyd program to the test population;
    26 *;
    27 * 06/02/2006 Ivon Jones changed to include the whole of the population;
    28 *;
    29 * 20/07/2006 Ivon Jones identified the holdout data elements;
    30 * or inclusion in the consolidation with;
    31 * Robin report;
    32 *;
    33 * 18/08/2006 Ivon Jones updated specific therapeutic Classes.
    34 * 10 - 2009 J Shaf - changed to extract actual or potential of UBH bipolar Dx and medical claims.
    35 ****************************************************************************************;
    36
    37
    38
    39 * % let allclmorgn = (', 'A'); / * claims origin code * /.
    40% would let begdate ='01 SEP 2009;
    41% let enddate = 30 SEP 2009 would be;
    42% let q = %str(%');
    43
    44
    45 data _null_;
    46. call symput ("fdos", put (intnx ('month' ' and begdate "d,-27," starts"), date9.));
    47 call symput ('ldos', put (intnx ('months', ' and enddate "d-0, 'end'" "), date9.));
    48, run;

    NOTE: DATA statement used (total duration of processes):
    time real 0.01 seconds
    2 the system SAS 11:44 Friday, October 30, 2009

    time CPU 0.01 seconds


    49
    50
    51
    52 **************************************************************;
    53 *? Data _null_ stage allows to create a macro variable to;
    54 * year and month, based on the macro ldos variable in the data;
    55 * step up? ;
    56 **************************************************************;
    57
    58
    59 data _null_;
    If 60 months ("& ldos" d) < 10
    61, then call symput ("yr_mo", compress (year ("& ldos" d) |)) '0' || months ("& ldos" d)));
    62 other call symput ("yr_mo", compress (year ("& ldos" d) | months ("& ldos" d)));
    63 to run;

    NOTE: The numeric values were converted to character values in the locations given by: (Line): (Column).
    61:39 61:64 62:39 62:57
    NOTE: DATA statement used (total duration of processes):
    time real 0.01 seconds
    time processor 0.01 seconds


    64
    65 * make % & biplr_dx;
    position 66% & begdate;
    ' 01 SEP 2009 would be
    67% put & enddate;
    30 SEP 2009 would be
    68% put & fdos;
    JUNE 1, 2007
    69% put & ldos;
    SEPTEMBER 30, 2009
    70% put & q;
    '
    71
    72
    73 libname biplr ' / home/jshafi01/projects/adhoc/biplr_dprsn/data ';
    NOTE: Libref BIPLR has been awarded with success as follows:
    Engine: V9
    Physical name: / home/jshafi01/projects/adhoc/biplr_dprsn/data
    74 rosdwp libname = oracle user "& oracle_user." pass = "& oracle_pass." ' buffsize = 32767 path = "rosdwp"; "
    NOTE: Libref ROSDWP has been awarded with success as follows:
    Engine: ORACLE
    Physical name: rosdwp
    75
    work.biplr_up_v1 76 data;
    mbr_id length 77 attrib = $ 26;
    78 the value biplr.biplr_ubh_med_v1;
    79 to be performed;

    NOTE: There were 0 read comments from the BIPLR data set. BIPLR_UBH_MED_V1.
    NOTE: All data WORK. BIPLR_UP_V1 has 0 comments and variables 1.
    NOTE: DATA statement used (total duration of processes):
    time real 0.01 seconds
    3 the system SAS 11:44 Friday, October 30, 2009

    time processor 0.01 seconds


    80
    81 proc content;
    82 to be performed;

    NOTE: PROCEDURE used CONTENT (total duration of processes):
    time real 0.03 seconds
    time CPU 0.03 seconds


    83
    84 proc datasets
    85 = rosdwp nolist library.
    86. delete biplr_up_v1;
    87 of quitting;

    NOTE: The removal of ROSDWP. BIPLR_UP_V1 (memtype = DATA).
    NOTE: PROCEDURE used DATASETS (time Total of processes):
    time real 3.74 seconds
    time CPU 0.03 seconds


    88
    89 proc datasets
    90 = work nolist library.
    copy 91 = rosdwp move;
    92 select biplr_up_v1;
    93 of quitting;

    NOTE: Move WORK. BIPLR_UP_V1 to ROSDWP. BIPLR_UP_V1 (memtype = DATA).
    NOTE: Variable labels SAS, formats and lengths are not written to the DBMS tables.
    NOTE: There were 0 read comments from the WORKING data set. BIPLR_UP_V1.
    NOTE: All the data ROSDWP. BIPLR_UP_V1 has 0 comments and variables 1.
    NOTE: PROCEDURE used DATASETS (time Total of processes):
    real 0.32 seconds
    time CPU 0.04 seconds


    94
    95
    96
    97 *****************************************************************************;
    98
    99 * execute (commit) by rosdwp
    100 ******************************************************************************;
    101
    102
    103 proc SQL noprint.
    104, connect to oracle as rosdwp (user = "" & oracle_user. "password =" "& oracle_pass ' buffsize = 32767 path ="rosdwp")
    104. preserve_comments);
    run 105 (alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
    CREATE table biplr_rx like 106
    107 SELECT
    mrb_id 108,
    pcp_spc 109,
    rx_date 110,
    4 the system SAS 11:44 Friday, October 30, 2009

    Mark 111,
    generic, 112
    113 ahfs_cd
    ahfs_dsc 114,
    lbl 115,
    strngth 116,
    UNT 117,
    spc_tx_cls_cd 118,
    119 spc_tx_cls_dsc,
    GCN 120,
    rx_num 121,
    rx_ingrd 122,
    rx_paid 123,
    rx_cnt 124,
    rx_qty 125,
    rx_day 126
    127 rosdwp CONNECTION
    128 (SELECT
    129, middle of the year. UNIQ_MBR_ID as mrb_id,
    130 DB. PRVDR_SPCLTY_DESC as pcp_spc,
    FCP 131. LAST_SRVC_DT as rx_date,
    132 JJ. BRAND_NAME as mark,
    133 JJ. GNRC_NAME as generic,
    134 JJ. AHFS_THRPTC_CLS_CD as ahfs_cd,
    DD 135. AHFS_THRPTC_CLS_DESC as ahfs_dsc,
    136 JJ. LABEL_NAME as lbl,
    137 JJ. STRNGTH_NUM as strngth
    138 JJ. STRNGTH_UNIT_DESC as unt,
    139 JJ. SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
    140 DD. SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
    141 JJ. GCN_NUM as gcn,
    FCP 142. PRSCRPTN_NUM as rx_num,
    SUM of 143 (FCP. INGRDNT_AMT) as rx_ingrd,
    SUM of 144 (FCP. PD_AMT) as rx_paid,
    $ 145 (FCP. UNIT_SRVC_CNT) as rx_cnt,
    SUM of 146 (FCP. DSPNSD_QTY) as rx_qty,
    SUM of 147 (FCP. DAY_SUPLY_CNT) as rx_day
    148
    149 PHRMCY_CLM_FACT pcf,
    150 MBR_ID_DMNSN environment,
    151 DRUG_DMNSN dd,
    152 PRVDR_DMNSN pd,
    153 biplr_up_v1
    154. WHERE THE
    (155)
    156 (biplr_up_v1.mbr_id = MBR_ID_DMNSN. UNIQ_MBR_ID) and
    157 (PHRMCY_CLM_FACT. FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN. FINL_CLM_KEY) AND
    158 (PHRMCY_CLM_FACT. MBR_KEY = MBR_ID_DMNSN. MBR_KEY) and
    159 (PHRMCY_CLM_FACT. BNFT_KEY = MBR_BNFT_DMNSN. BNFT_KEY) and
    160 (PHRMCY_CLM_FACT. DRUG_KEY = DRUG_DMNSN. DRUG_KEY) and
    161 (PHRMCY_FINL_CLM_DMNSN. CLM_ORGN_CD IN (', 'A')) AND
    162 (PHRMCY_CLM_FACT. LAST_SRVC_DT BETWEEN q. & fdos. & q and & q. & ldos. & q)
    163)
    164 Group By
    165 mi. UNIQ_MBR_ID,
    166 pd. PRVDR_SPCLTY_DESC,
    FCP 167. LAST_SRVC_DT,
    168 JJ. BRAND_NAME,
    5 the system SAS 11:44 Friday, October 30, 2009

    169 JJ. GNRC_NAME,
    170 JJ. AHFS_THRPTC_CLS_CD,
    171 JJ. AHFS_THRPTC_CLS_DESC,
    172 JJ. LABEL_NAME,
    173 JJ. STRNGTH_NUM,
    174 JJ. STRNGTH_UNIT_DESC,
    175 JJ. SPECF_THRPTC_CLS_CD,
    176 JJ. SPECF_THRPTC_CLS_DESC,
    177 JJ. GCN_NUM,
    FCP 178. PRSCRPTN_NUM
    179);
    ERROR: ORACLE prepare error: ORA-00936: lack of expression. SQL statement: SELECT middle. UNIQ_MBR_ID as mrb_id,
    RDL PRVDR_SPCLTY_DESC like pcp_spc, FCP. LAST_SRVC_DT as rx_date, JJ. BRAND_NAME as brand, JJ. GNRC_NAME as generic,
    DD. AHFS_THRPTC_CLS_CD like ahfs_cd, JJ. AHFS_THRPTC_CLS_DESC as ahfs_dsc, JJ. LABEL_NAME as lbl, JJ. STRNGTH_NUM as
    strngth, JJ. STRNGTH_UNIT_DESC as unt, JJ. SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, JJ. SPECF_THRPTC_CLS_DESC as
    spc_tx_cls_dsc, JJ. GCN_NUM as gcn, FCP. PRSCRPTN_NUM as rx_num, SUM (FCP. INGRDNT_AMT) as rx_ingrd, SUM (FCP. PD_AMT)
    as rx_paid, SUM (FCP. UNIT_SRVC_CNT) as rx_cnt, SUM (FCP. DSPNSD_QTY) as rx_qty, SUM (FCP. DAY_SUPLY_CNT) as rx_day
    OF PHRMCY_CLM_FACT pcf, MBR_ID_DMNSN mi, DRUG_DMNSN JJ, pd of the PRVDR_DMNSN, biplr_up_v1 () WHERE the
    (biplr_up_v1.mbr_id = MBR_ID_DMNSN. UNIQ_MBR_ID) and (PHRMCY_CLM_FACT. FINL_CLM_KEY =
    PHRMCY_FINL_CLM_DMNSN. FINL_CLM_KEY) AND (PHRMCY_CLM_FACT. MBR_KEY = MBR_ID_DMNSN. MBR_KEY) and
    (PHRMCY_CLM_FACT. BNFT_KEY = MBR_BNFT_DMNSN. BNFT_KEY) and (PHRMCY_CLM_FACT. DRUG_KEY = DRUG_DMNSN. DRUG_KEY) and
    (PHRMCY_FINL_CLM_DMNSN. CLM_ORGN_CD IN (', 'A')) AND (PHRMCY_CLM_FACT. LAST_SRVC_DT BETWEEN ' 01 JUN 2007"
    and 30 SEP 2009') Group By mi. UNIQ_MBR_ID, pd. PRVDR_SPCLTY_DESC, FCP. LAST_SRVC_DT, JJ. BRAND_NAME,
    DD GNRC_NAME, JJ. AHFS_THRPTC_CLS_CD, JJ. AHFS_THRPTC_CLS_DESC, JJ. LABEL_NAME, JJ. STRNGTH_NUM,
    DD STRNGTH_UNIT_DESC, JJ. SPECF_THRPTC_CLS_CD, JJ. SPECF_THRPTC_CLS_DESC, JJ. GCN_NUM, FCP. PRSCRPTN_NUM.
    NOTE: PROC SQL set NOEXEC option and will continue to check the syntax of the instructions.
    180 run (drop table biplr_up_v1) in rosdwp;
    NOTE: Statement is not executed because the NOEXEC option.
    181 disconnect of rosdwp;
    NOTE: Statement is not executed because the NOEXEC option.
    182 of quitting;
    NOTE: The SAS system is stopped at this stage of processing errors.
    NOTE: PROCEDURE used SQL (total duration of processes):
    time real 0.14 seconds
    time CPU 0.03 seconds

    183
    184

    (1) assuming that LAST_SRVC_DT is a column of PHRMCY_CLM_FACT, to precede the table alias "FCP" rather than the full table name. If a table alias is specified in the FROM clause, it should be used rather than the full table name when you reference the columns.
    2) there are two tables in the WHERE clause that do not appear in the FROM clause:

    PHRMCY_FINL_CLM_DMNSN
    MBR_BNFT_DMNSN

    user12142482 wrote:
    Hello again,

    Wish Oracle was a bit more informative. Uses an Institute of SAS product called Enterprise Guide. A "hot fix" has been installed to solve a problem that the product appears unable to save the latest version of the revised code changes (hence "BETWEEN between" remaining even after an earlier edition). In any case, with the change, now get this error:

    «ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT".» ' LAST_SRVC_DT': invalid identifier. (The log file is displayed below)

    -The-Les restes remains of the error, no matter if code "pass" is used to move the date range to Oracle (which seems correct to the log output below that I believe), or if I hard code the date range in the query SQL PL itself.

    -L' preparation error always appears at the end of the internal SELECTION.
    -L' error of preparation remain, with or without the GROUP BY clause.

    Is there something else I'm missing? Someone suggested a reserve word - but other versions of the ANSI SQL standard, I don't see that is the case. I went to Support SAS and SAS list serve to the University of Georgia, but nothing definite from these sources. Have requested either able to run Oracle directly, outside this SAS Institute product - process.

    Any suggestions are greatly appreciated. Thank you to all the world very much.

    Jeff
    150 OF
    151 PHRMCY_CLM_FACT pcf,


    152 MBR_ID_DMNSN environment,
    153 DRUG_DMNSN dd,
    154 PRVDR_DMNSN pd,
    155 BIPLR_UP_V1 BLPR2
    156. WHERE THE
    157 (BIPLR_UP_V1.mbr_id = MBR_ID_DMNSN. UNIQ_MBR_ID) and
    158 (PHRMCY_CLM_FACT. FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN. FINL_CLM_KEY) AND
    159 (PHRMCY_CLM_FACT. MBR_KEY = MBR_ID_DMNSN. MBR_KEY) and
    160 (PHRMCY_CLM_FACT. BNFT_KEY = MBR_BNFT_DMNSN. BNFT_KEY) and
    161 (PHRMCY_CLM_FACT. DRUG_KEY = DRUG_DMNSN. DRUG_KEY) and
    162 (PHRMCY_FINL_CLM_DMNSN. CLM_ORGN_CD IN (', 'A')) AND
    163 (PHRMCY_CLM_FACT. BETWEEN LAST_SRVC_DT & q. & fdos. & q and q & ldos. & q)
    (164);
    ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT." "' LAST_SRVC_DT ': invalid identifier. SQL statement:

  • Oracle 10g Express on Ubuntu problems [sqlplus ORA-01034, ORA-27101]

    Hello!

    Trying to correctly install and configure 10g Express version on Ubuntu Linux 8.04 Server without success. I'm a noob Linux and Oracle and tries to install the database under the Project.net service.

    I followed installation guide of Oracle Database Express Edition for linux I got from Oracle's Web site.

    I installed the deb package with gdebi.. .deb (and later reinstalled with dpkg - i .deb..) as described in the guide. Go 'by the book' I ran /etc/init.d/oracle-xe set up and confirmed the default values. I put the password for the SYS and SYSTEM account. The value DB autostart. I also ran the /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.shand added this line to the file .bashrc. Then, still in the following installation guide, I wanted to make available for remote clients DB and tried to connect to DB at the local level, using the sqlplus command line. Here, the problems begin:
    ----
    SQL * more: Release 10.2.0.1.0 - Production on MON 20 Oct 11:47:23 2008

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

    Enter the user name: System
    Enter the password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory
    ----

    I tried all combinations of upper/lower case, sys and system - unable to connect account. Was the normal user, root or oracle user - does not work.

    I searched this forum and google for the answer, but none works for me. There have been responses suggesting to change the environment variable ORACLE_SID, logon with the sysdba account, which gives the following:
    ---
    root@TestSrv:/# sqlplus/nolog

    SQL * more: Release 10.2.0.1.0 - Production on MON 20 Oct 12:06:04 2008

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

    SQL > connect system / [passwd] as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    ---

    I really want to do this, so any help would be greatly appreciated. Please note that I am very green in Linux and a complete noob in Oracle.

    TNX!

    He has to work.
    But next time, do not forget the password that you type ;-)

  • ORA-12505, TNS:listener has not currently SID /on sqldeveloper k.w.

    Hello

    I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded

    but I have this error:

    Listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Codice fornitore 12505

    the default sid name in sqldeveloper is "xe".

    I have tiyped

    tsping orcl:

    and SERVICES LSNRCTL:

    What should I type in SID?

    Help, please

    Thank you

    2846174 wrote:

    Hello

    I tried to connect to my Oracle 11g with sqldeveloper server, I have donloaded

    but I have this error:

    Listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Codice fornitore 12505

    the default sid name in sqldeveloper is "xe".

    It can be the default, but it may not be suitable for YOUR installation.

    I have tiyped

    tsping orcl:

    If we see that if you use tnsnames.ora to solve your connection request, the net service name "orcl" (that you specified on your tnsping) solves a service name (not a SID) of "orcl.homenet.telecomitalia.it".  Nowhere it is not a reference to XE in YOUR configuration.

    and SERVICES LSNRCTL:

    And we see that your listener support an instance named "orcl".  Once again, XE is not found.

    What should I type in SID?

    Maybe nothing.  Maybe you're using the wrong "type of connection', 'base', select 'tns '.

    Then 'network alias' dropdown will be filled with your tnsnames.ora file, to choose one.

    OR...

    Leave connection type as ' basic' and instead of 'SID', supply "service name".  If you go this route, you will need to provide the correct host name and port.  You can get the values of what you saw when you made "tnsping.

    Help, please

    Thank you

  • Oracle 11g XE on Open Suse 13.1

    Hi all

    I'm currently installing an Oracle 11 g Express on Open Suse 13.1 in a virtual machine.

    I used the document as a reference for my installation: Oracle Database Express Edition

    Comments:

    I have a facility of Open Suse 13.1 vanilla except for these changes:

    • I adjusted/etc/hostname to OpenSuse, in order to avoid special characters in the host name
    • I increase the 2045 to 2049 MB SWAP partition to ensure the minimum configuration

    I downloaded the RPM and extract. Then I started the installation

    SUSE@openSUSE:~/downloads/Disk1 > sudo rpm - ivh oracle-xe - 11.2.0 - 1.0.x86_64.rpm

    root password:

    Preparing...                          ################################# [100%]

    /var/tmp/RPM-tmp.jL4h0F: line 257: [: 18446744073709551615: integer EXPECTED]

    Update / installation...

    1:Oracle - xe - 11.2.0 - 1, 0 # [100%]

    Execution of the post-installation steps...

    You must run 'configure /etc/init.d/oracle-xe' as the root user to set up the database.

    Afterwards, I ran the configure script using the default values:

    SUSE@openSUSE:~/downloads/Disk1 > sudo /etc/init.d/oracle-xe Setup

    Oracle Database 11g Express Edition Setup

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

    This will configure the startup properties of database Oracle 11 g Express

    Edition.  The following questions will determine whether the database should

    start the system startup and ports, it will use passwords that

    will be used for database accounts.  Press < enter > to accept the default values.

    CTRL-C will stop.

    Specify the HTTP port that will be used for Oracle Application Express [8080]:

    Specify a port that will be used for the listener to the database [1521]:

    Specify a password to use for database accounts.  Note that the same

    password will be used for SYS and SYSTEM.  Oracle recommends using

    Different passwords for each account database.  This can be done after

    initial Setup:

    Confirm the password:

    Want that Oracle Database 11g Express Edition to be started on boot (y/n) [o]:

    From Oracle Net listener... Fact

    Configuring database...

    Configuration of the database failed.  Look at /u01/app/oracle/product/11.2.0/xe/config/log for more details

    You have an idea what is happening here? I have attached the newspapers and some additional information. Maybe you can help me?

    Thank you very much in advance!

    cloneDBCreation.log

    Create controlfile reuse set database "XE".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    BEGIN dbms_backup_restore.zerodbid (0); END;

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux-x86_64 error: 2: no such file or directory

    ORA-00119: invalid specification for the system LOCAL_LISTENER parameter

    ORA-00130: invalid listener address ' (ADDRESS = (PROTOCOL = TCP)(HOST=OpenSuse) (PORT = 1521))'

    Create controlfile reuse set database "XE".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    alter system enable restricted session

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ALTER database resetlogs open "XE".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ALTER database rename global_name to "XE".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    alter system switch logfile

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    change of system checkpoint

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    alter database drop logfile Group 3

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ALTER TABLESPACE TEMP add TEMPFILE ' / u01/app/oracle/oradata/XE/temp.dbf' SIZE 20480 K REUSE AUTOEXTEND ON NEXT 640 K MAXSIZE UNLIMITED

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Select nom_tablespace from dba_tablespaces where nom_tablespace = "USERS".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Select the sid, program, serial No., user name of session $ v

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    alter user sys identified by 'oracle '.

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    change the system of the user identified by 'oracle '.

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    modify the disable restricted session system

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    CloneRmanRestore.log

    ORA-00119: invalid specification for the system LOCAL_LISTENER parameter

    ORA-00130: invalid listener address ' (ADDRESS = (PROTOCOL = TCP)(HOST=OpenSuse) (PORT = 1521))'

    Select TO_CHAR (systimestamp, 'YYYYMMDD hh') of double

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    declare

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Select TO_CHAR (systimestamp, 'YYYYMMDD hh') of double

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0


    postDBCreation.log

    Start

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Created file.

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Linux-x86_64 error: 2: no such file or directory

    ORA-00119: invalid specification for the system LOCAL_LISTENER parameter

    ORA-00130: invalid listener address ' (ADDRESS = (PROTOCOL = TCP)(HOST=OpenSuse) (PORT = 1521))'

    Select ' utl_recomp_begin: ' | TO_CHAR (sysdate, ' hh) double

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    BEGIN utl_recomp.recomp_serial (); END;

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Select ' utl_recomp_end: ' | TO_CHAR (sysdate, ' hh) double

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    postScripts.log

    CREATE or REPLACE a LIBRARY dbms_sumadv_lib AS ' / u01/app/oracle/product/11.2.0/xe/lib/libqsmashr.so';

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    BEGIN dbms_datapump_utl.replace_default_dir; END;

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Commit

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    create or replace the XMLDIR directory as ' / u01/app/oracle/product/11.2.0/xe/rdbms/xml'

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    DELETE THE ORACLE_OCM_CONFIG_DIR DIRECTORY

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    DELETE THE ADMIN_DIR DIRECTORY

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    REMOVE THE WORK_DIR DIRECTORY

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    BEGIN dbms_swrf_internal.cleanup_database (cleanup_local = > FALSE); END;

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Commit

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    / etc/HOSTNAME

    OpenSuse

    / etc/hosts

    #

    # hosts this file describes a number of host-address name

    mappings for the TCP/IP subsystem.  It is especially

    # used at the time, when no name servers are running.

    # On small systems, this file can be used instead of one

    # "named" server name.

    # The syntax:

    #

    # IP address full-qualified-Hostname short-Hostname

    #

    127.0.0.1 localhost

    # a special IPv6 address

    : 1 localhost ipv6-ipv6 loopback localhost

    FE00::0 ipv6-localnet

    FF00::0 ipv6-mcastprefix

    FF02::1 ipv6-allnodes

    FF02::2 ipv6-allrouters

    FF02::3 ipv6-allhosts

    Hello

    1.

    Please set up your domain in/etc/hosts FULL name

    https://en.Wikipedia.org/wiki/Fully_qualified_domain_name

    http://KB.IU.edu/data/AIUV.html

    your turns to me such as CentOS and Oracle Linux.

    Or take a look at the site of intrest:

    http://www.Novell.com/documentation/SUSE91/SUSELinux-adminguide/HTML/ch14s03.html

    127.0.0.1 localhost

    192.168.85.133 OpenSuse. ???  OpenSuse

    2.

    To connect:

    sqlplus sys / as sysdba

    or

    sqlplus system /.

    Note: the password is case sensitive!

    or disable this as SYSDBA (sqlplus sys / as sysdba):

    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON IS FALSE SCOPE = BOTH;.

    3.

    Set the password:

    ALTER DEFAULT PROFILE LIMIT PASSWORD_LIFE_TIME UNLIMITED;

    and restart

    stop immediately;

    start-up;

    4.

    I created a /ect/profile.local file with:

    . /U01/app/Oracle/product/11.2.0/XE/bin/oracle_env.sh

    Thus, every time you start, it will set the environment.

    It's my Profile.local:

    . /U01/app/Oracle/product/11.2.0/XE/bin/oracle_env.sh

    ORACLE_HOME=/U01/app/Oracle/product/11.2.0/XE

    ORACLE_OWNER = oracle

    ORACLE_SID = XE

    LSNR = $ORACLE_HOME/bin/lsnrctl

    SQLPLUS = $ORACLE_HOME/bin/sqlplus

    Export ORACLE_HOME

    export ORACLE_SID

    export ORACLE_BASE = / u01/app/oracle

    export PATH = $ORACLE_HOME/bin: $PATH

    NLS_LANG='$ORACLE_HOME/bin/NLS_LANG.sh'

    ORACLE_ADMIN = / u01/app/oracle/admin / $ORACLE_SID

    export ORACLE_ADMIN

    ORACLE_FLASH = / u01/app/oracle/fast_recovery_area / $ORACLE_SID

    export ORACLE_FLASH

    ORACLE_ALERT = / u01/app/oracle/diag/rdbms/xe/XE/trace

    export ORACLE_ALERT

    ORACLE_DATA_PUMP_DIR = / u01/app/oracle/admin/XE/dpdump

    export ORACLE_DATA_PUMP_DIR

    DIAGNOSTIC_DEST = $ORACLE_HOME/log

    export DIAGNOSTIC_DEST

    TNS_ADMIN = $ORACLE_HOME/network/admin

    Export TNS_ADMIN

    5.

    Recreate the DBSNMP user in the database as SYSDBA (sqlplus sys / as sysdba):

    @/u01/app/oracle/product/11.2.0/xe/rdbms/admin/catnsnmp.sql

    @/u01/app/oracle/product/11.2.0/xe/rdbms/admin/catsnmp.sql

    Best regards.

  • ORA-12505, TNS:listener is not currently of SID given in connect the

    Hi, I have a problem connecting to the repository working ODI...

    The master repository and repository of work are installed in the Oracle 11g company Manager...

    From my PC, I can connect to the master repository and I can see the repository to work, but when I try to connect I get this message:

    oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: categorizar sin Excepcion durante el acceso al repositorio.
    Could not make JDBC connection; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
    at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
    to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:581)
    at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:755)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$ 4 (SnpsDialogLoginDetail.java:743)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$ 2.performAction(SnpsDialogLoginDetail.java:287)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.LoginFactory.modifyLogin(LoginFactory.java:334)
    to com.sunopsis.graphical.dialog.SnpsDialogLogin$ 3.performAction(SnpsDialogLogin.java:185)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:182)
    at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
    ... more than 144
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    ... more than 154
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
    at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    to oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java:48)
    to $Proxy0.getConnection (Unknown Source)
    to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)
    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:439)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1610)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1446)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
    at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
    ... 14 more

    Please, if someone could give me a tip. Thank you!!!

    Looks like a problem with the tnsnames file / wrong sid. try using tnsping > that you will be in your tnsnames.ora.

Maybe you are looking for

  • Yosemite - tried erasing to reinstall. Cannot identify or boot from USB?

    So I tried to erase the hard drive Macintosh utility disk in Recovery Mode. It seems to have been a problem in the process. Now I am unable to remove anything else, or delete. I tried to create a USB Bootable for clean installation with El Capitan (t

  • I would like to disable the back/forward buttons for all sites

    My boss is crazy... lol... he wants me to remove the buttons back and forward across our browsers Firefox, to limit abusive personal internet usage. I don't have a solution to script. I am looking for a solution of parameters of Firefox. Thanks in ad

  • Create shortcut folder

    How can I create a folder shortcut in a subfolder of disc to another subfolder of player for bypassing the drive letter. I don't know why but the only way that I can access the road is that if I use \\testlab-nas there is no letter, so I want to make

  • Laptop is a Pavilion dv6-3025dx, Photo smart media opens but displays all the photos.

    When I open Windows media center all the photos that are installed on the computer are still there. They do not come and view the HP media smart program. When I go into a space that is to have a picture but it is empty, I can press on "ctrl and enter

  • In Windows XP stops to be a message window saying "unprotected".

    Since a few days ago, Windows starts correctly but one small window is displayed (accompanied by a beep). The window has the symbol # in the top bar, a letter 'i' in a dialogue bubble, the words "Unprotected!" and an OK"" button. I closed the window