Error ORA-00955:

Hi,
Why would I get this error message when I run the script below.
SQL> START test.sql;
Table dropped.
Table created.
create TABLE student *
ERROR at line 1:
ORA-00955: name is already used by an existing object
script:
drop TABLE student
create TABLE student
(stu_id NUMBER(5) NOT NULL,
stu_firstname VARCHAR2(30) DEFAULT 'unknown' NOT NULL,
stu_lastname VARCHAR2(30) NOT NULL,
stu_address VARCHAR2(30) NOT NULL,
stu_suburb VARCHAR2(30) NOT NULL,
stu_postcode VARCHAR2(4),
stu_state VARCHAR2(3),
stu_country VARCHAR2(30) NOT NULL,
stu_phone_h VARCHAR2(30),
stu_phone_w VARCHAR2(30),
stu_fax VARCHAR2(30),
stu_email VARCHAR2(30),
stu_gender VARCHAR2(30),
stu_dob VARCHAR2(30),
stu_status VARCHAR2(2) CHECK(stu_status in ('FT','PT')));
Thank you for your kind help
Andonny

Youw problem is caused by the semi-colon (;) with which you close the create statement and the "/" on the last line. The combination of these characters causes the statement to execute twice. So you can either remove the slash or the semi-colon and your script should run perfectly.

Similar Messages

  • Rerunning script (DML and DDL) without ora-00001 and ora-00955 errors

    What is the best way to write a DML and DDL script so that it can be run multiple times without these ORA errors:
    ORA-00955: name is already used by an existing object
    ORA-00001: unique constraint (JILL.SYS_C00160247) violated
    I have just joined a product development company using SQL Server as there primary database. They have just completed a port to Oracle.
    Their product release upgrades (given to clients) include sql scripts with database changes (structure and data). They require that the client be able to rerun the scripts more than once with no errors. In SQL Server, the accomplish it this way.
    For DDL:
    if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MyTab]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    Begin
         CREATE TABLE [dbo].[MyTab] (
              [ID]int IDENTITY(1,1),
              [InvID] uniqueidentifier not null
    For DML:
    IF NOT EXISTS (SELECT 1 FROM [dbo].[mytab] WHERE [Name] = 'Smith' and [ID] = 3)
    BEGIN
    INSERT INTO [dbo].[mytab]
    ([ID] ,[Name]
    VALUES (3,'Smith')
    END
    I am tasked with duplicating this logic on the Oracle side. The only way I can think of so far is using plsql and checking for existence before every insert and create statement. The other options I thought of cannot be used in this case
    - "whenever sqlerror continue" - gives the same response for all errors. True errors should stop the code, so this is too risky.
    - "log errors into ... reject limit unlimited" on the insert - I thought this was my best solution until I found out that it doesn't support lobs.
    Do you know of any more elegant (and more efficient) solution other than plsql cursors to check for existence before running each insert/create?
    Any suggestions would be greatly appreciated.

    select table_name from user_tables will give you the table exist or not.
    all_tables/dba_tables
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/statviews_1190.htm#i1592091

  • ORA-00955 reports when I try to "create global temporary table" in windows

    Hi,
    When I try to run the sql in my oracle 9i server which is installed in a windows2000 machine,
    Create global temporary table test ...;
    For the first time, I can create table successfully.
    But I cannot access this table any more:
    drop table test;
    desc test;
    select * from test;
    In addition, if I try to create the table again, I got the error:
    ORA-00955: name is already used by an existing object
    While the same table can be created and dropped in another oracle9i server which is installed in Solaris 9 machine.
    So I suspect that this sould be a bug of window oracle server.
    Is there anyone who can confirm this?
    Or who can tell me how to report this bug to oracle?
    Thanks in advance.
    Please also refer the message at:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1046974576560
    If you search the text: "create global temporary table sess_event", you can see for the first time, the table is created successfully.
    But the ORA-00955 reports when the author try to create table for the second time.
    This problem is exactly the same as my problem.
    I have also made a search both in Google and in Oracle website and I cannot find any solution of it.

    Read      Metalink Note:68098.1 Subject:      Overview of Temporary Tables
    How did you difine the temporary tables? on commit delete rows are reserv rows?
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg03sch.htm#7794
    Jaffar
    Message was edited by:
    The Human Fly

  • ORA-00955 when upgrading from Content Server 5.0.2 to Publisher?

    I am upgrading Content Server 5.0.2 to Publisher.
    After running the sw installation and having imported the publisher.pte file, I am starting the Publisher and receiving an Oracle error "ORA-00955: name is already used by an existing object". From the messages logged, it looks like the error is encountered when recreating the object PCSACTIVE.PK_PCSACTIVE (first SQL statement with "Recreating ...", all others before where "Adding ...".
    My questions:
    1. has somebody else encounteered the same error?
    2. does anybody know how to trap the SQL being executed?As the upgrade is done automatically by the Publisher when starting, I have found so far no way of checking the SQL or knowing which SQL statements are executed against the DB) when "Recreating" an object.
    Thanks in advance for your help.
    P.S. Customer Support has also been contacted, but it looks like noone else has reported this kind of problems.

    Pl post OS details - are you using DBUA to upgrade ? Are there any errors in the database alert log ?
    ORA-00600 [kodpunp-nulltds], ORA-00600 [kokeeiix1], [600] When Upgrading To 11GR2 [ID 1367827.1]     
    HTH
    Srini

  • ORA-00955 Errors during R3load for WEB AS Abap 6.40 installation

    Dear Gurus,
    I am encountering a problem during the R3load phase of the WEB AS ABAP 6.40 DB instance installation; I have patched the Oracle Database using the 9.2.0.7 patch set beforehand and resumed the SAPINST. There after errors occur during the DB load phase, below are the logs for reference (there are multiple occurences of 'ORA-00955: name is already used by an existing object' in existing logs)
    /sapmnt/P21/exe/R3load: START OF LOG: 20080627032739
    /sapmnt/P21/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /sapmnt/P21/exe/R3load: version R6.40/V1.4 [UNICODE]
    /sapmnt/P21/exe/R3load -ctf I /sapcd/NetweaverSR1_Export/EXP3/DATA/SAPDODS.STR /tmp/sapinst_instdir/NW04SR1/WEBAS_ABAP_ORA_UC
    /DB/DDLORA.TPL /tmp/sapinst_instdir/NW04SR1/WEBAS_ABAP_ORA_UC/DB/SAPDODS.TSK ORA -l /tmp/sapinst_instdir/NW04SR1/WEBAS_ABAP_O
    RA_UC/DB/SAPDODS.log
    /sapmnt/P21/exe/R3load: job completed
    /sapmnt/P21/exe/R3load: END OF LOG: 20080627032739
    /sapmnt/P21/exe/R3load: START OF LOG: 20080627032814
    /sapmnt/P21/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /sapmnt/P21/exe/R3load: version R6.40/V1.4 [UNICODE]
    /sapmnt/P21/exe/R3load -dbcodepage 4102 -i /tmp/sapinst_instdir/NW04SR1/WEBAS_ABAP_ORA_UC/DB/SAPDODS.cmd -l /tmp/sapinst_inst
    dir/NW04SR1/WEBAS_ABAP_ORA_UC/DB/SAPDODS.log -stop_on_error
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
    (rscpsumg) Please look also into "/tmp/sapinst_instdir/NW04SR1/WEBAS_ABAP_ORA_UC/DB/SAPDODS001.xml".
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "RSDMODSTAB" ( "CHARACT" VARCHAR2(3) DEFAULT ' ' NOT NULL , "ATTRIBUTE" VARCHAR2(3) DEFAULT ' ' NOT NULL  ) TA
    BLESPACE PSAPP21 STORAGE (INITIAL 16384 NEXT 0000040960K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 102
      (SQL error 955)
      error message returned by DbSl:
    ORA-00955: name is already used by an existing object
    (DB) INFO: disconnected from DB
    /sapmnt/P21/exe/R3load: job finished with 1 error(s)
    /sapmnt/P21/exe/R3load: END OF LOG: 20080627032815
    /sapmnt/P21/exe/R3load: START OF LOG: 20080627035407
    /sapmnt/P21/exe/R3load: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    /sapmnt/P21/exe/R3load: version R6.40/V1.4 [UNICODE]
    /sapmnt/P21/exe/R3load -dbcodepage 4102 -i /tmp/sapinst_instdir/NW04SR1/WEBAS_ABAP_ORA_UC/DB/SAPDODS.cmd -l /tmp/sapinst_inst
    dir/NW04SR1/WEBAS_ABAP_ORA_UC/DB/SAPDODS.log -stop_on_error

    Hello,
    Strange error, check if you didn't run out of space. If this is new installation, nor upgrade or migration, I would suggest to you drop the table and re-run export once more.
    Otherwise you can open message to SAP as you can expect that this will happen also for other tables. Looks table or tables exist at Oracle but sapinst don't have info about it
    Peter

  • Cannot resolve ORA-00955 error.

    I have a script which I run to drop and create preferences, set attributes and drop and create a context index. When dropping and creating preferences and setting the attributes everything works fine and I get the standard messages.
    My problem is I get the
    ORA-00955 name is already used by an existing object
    even after seeing the messages "index dropped" and index created.
    I have checked the ctx_user_index_errors view and the timestamps are from when I approximately ran my script so it seems the index worked.
    I have tried prefacing the index name with the schema name both when dropping and creating the index and I have even tried to use the keyword "force" when trying to drop the index, yet I still get the ORA-00955 error.
    A snippet from my code is below:
    PROMPT 23 DROP oracle text context index
    DROP INDEX schema1.my_index;
    PROMPT 24 CREATE the oracle text context with the above preferences and attributes
    CREATE INDEX schema1.my_index ON docs(doc_contents)
    INDEXTYPE IS ctxsys.context
    PARAMETERS('DATASTORE docs_data_store
    FILTER CTXSYS.INSO_FILTER
    FORMAT COLUMN oracle_text_format_column
    LEXER docs_lexer
    STOPLIST CTXSYS.DEFAULT_STOPLIST
    SECTION GROUP docs_group
    SYNC(ON COMMIT)' )
    /

    I think my problem was I really had a semi colon and a a foward slash at the end of the file, hence there was attempt to create the index twice, once for when the command was ended with a semicolon and once with the foward slash. I just removed the slash and everything worked fine.

  • OWB11g ORA-00955 in Repository Assistant

    I´m just starting an installation of OWB11g and running the Repository Assistant in order to create workspaces, users, etc. in the default OWBSYS schema;
    I get a disgusting ;-) error at the end: "java.sql.SQLException: ORA-00955: name is already used by an existing object"
    !!Please, any idea about it will be wellcome!!.
    May the OWBSYS schema be corrupted? In that case, Is there any way to create another OWBSYS schema or clean it?
    The dafault Warehouse Builder schema (OWBSYS) has already been unlocked:
    SQL> ALTER USER OWBSYS ACCOUNT UNLOCK;
    SQL> ALTER USER OWBSYS IDENTIFIED BY <pass>;
    Document reference: http://download.oracle.com/docs/cd/B28359_01/owb.111/b31280/install_rep02.htm
    Thanks in advance,
    Javier Sánchez Ramírez
    Genasys II Spain, S.A.
    www.genasys.com
    ----------------------------------------------

    Hi,
    I too am experiencing this error when trying to configure a repository. I enter all the SYS details and for the OWB a/c. There was mention of invalid characters in the password , we use '-' , would this cause a problem.
    Also, I am using an Oracle XE database for the repository, is there any limitation on this? Or do I need a full 10g instance?
    Many thanks
    Gary Revell.

  • Cannot create a constraint beacuse of ORA-00955

    Hi !
    I was trying to create a constraint on a table after dropping it just in case:
    ALTER TABLE NEQResultByChunk
    DROP CONSTRAINT pk_neqresultbychunk
    OUTPUT: >> ERROR at line 2:
    ORA-02443: Cannot drop constraint - nonexistent constraint
    ALTER TABLE NEQResultByChunk
    ADD (
    CONSTRAINT pk_neqresultbychunk PRIMARY KEY
    (woName, sdtName, neqrIndex, sotName, soName)
    USING INDEX TABLESPACE &&idxtspace
    OUTPUT: >> ALTER TABLE NEQResultByChunk
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    There has to be somethink hang somewhere since using a different name works for the constraint works ok. I could not find this constraint in user_constraints table.
    Any idea on where to look for it ?
    I already brought dow the DB.
    Thanks,
    Mike

    Why should i delete the index manually?
    In most cases, the index will be remove when i delete the corresponding constraint.

  • ORA-02443 & ORA-00955

    Hello guy;
    I have a table with a unique constraint which should be made of three keys but made of one key. I decided to drop it and re-create it with the three keys but I got a message saying that says "ORA-02443: Cannot drop constraint - nonexistence constraint". And whenever I try to recreate that constraint with the same name, I get "ORA-00955: name already used bu an existing object."
    What do I need to do because I am frustrated with this controversial error message?
    Plz help.

    Welcome to the forum.
    Make sure to read {message:id=9360002} from the SQL and PL/SQL FAQ @ https://forums.oracle.com/forums/ann.jspa?annID=1535
    Is your constraint created as quoted identifier? (between '"'s?):
    {code}
    SQL> create table t (col number);
    Table created.
    SQL> alter table t add constraint "t_Uk" unique(col);
    Table altered.
    SQL> alter table t drop constraint t_uk;
    alter table t drop constraint t_uk
    ERROR at line 1:
    ORA-02443: Cannot drop constraint - nonexistent constraint
    SQL> alter table t drop constraint "t_Uk";
    Table altered.
    {code}

  • Export dump failing with ora -06512 and ORA-00955

    Hi
    While running export data pump, I am getting this error. Any inputs helps ... Thanks in advance.
    Regards,
    K
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-31633: unable to create master table "OPS$ORACLE.EXPFULL"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT", line 863
    ORA-00955: name is already used by an existing object

    You may have to drop the table OPS$ORACLE.EXPFULL and then try again.
    HTH
    Thanks
    Chandra

  • ORA-00955: name is already used by an existing object

    Hi,
    I got blow error while upgrading 12.1.1 to 12.1.3, please suggest me how to move forward...
    This will be grate help for me....
    sqlplus -s MTH/***** @/d01/VIS/apps/apps_st/appl/mth/12.0.0/patch/115/sql/mth_pre_upgrade.sql
    Connected.
    DECLARE
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    ORA-06512: at line 59
    Regard
    suresh

    Hi,
    blow is the sql query....
    /* $Header: mth_pre_upgrade.sql 120.0.12010000.15 2010/06/11 08:45:13 sdonthu noship $ */
    REM dbdrv: sql ~PROD ~PATH ~FILE none none none sqlplus_owner &phase=con \
    REM dbdrv: checkfile:~PROD:~PATH:~FILE
    REM
    REM UPDATE SCRIPT FOR MOC
    REM
    REM DESCRIPTION: Upgrade script for MOC.
    REM
    REM History:
    REM
    REM Yong Feng 11/3/08 Rename non-partitioned staging tables to be
    REM to be removed later on
    REM
    SET VERIFY OFF;
    WHENEVER SQLERROR EXIT FAILURE ROLLBACK;
    WHENEVER OSERROR EXIT FAILURE ROLLBACK;
    DECLARE
    CURSOR c_non_p_stg_tables IS
    SELECT table_name
    FROM USER_TABLES
    WHERE partitioned = 'NO' AND
    TABLE_NAME in
    ('MTH_DAY_STG','MTH_DIM_HIERARCHY_STG','MTH_DIM_LEVEL_LOOKUP_STG',
    'MTH_EQUIPMENTS_STG','MTH_EQUIP_HIERARCHY_STG','MTH_EQUIP_OUTPUT_STG',
    'MTH_EQUIP_PROD_PERFORMANCE_STG','MTH_EQUIP_PROD_SCHEDULE_STG',
    'MTH_EQUIP_STANDARD_RATES_STG','MTH_EQUIP_STATUSES_STG','MTH_ITEMS_STG',
    'MTH_ITEM_CATEGORIES_STG','MTH_ITEM_COST_STG','MTH_ITEM_HIERARCHY_STG',
    'MTH_MTL_CONSUMED_TXN_LOT_STG','MTH_MTL_PRODUCED_TXN_LOT_STG',
    'MTH_PERIOD_STG','MTH_PERSONNEL_STG','MTH_PRODUCTION_SCHEDULES_STG',
    'MTH_PRODUCTION_SEGMENTS_STG','MTH_PROD_MTL_CONSUMED_STG',
    'MTH_PROD_MTL_CONSUMED_TXN_STG','MTH_PROD_MTL_PRODUCED_STG',
    'MTH_PROD_MTL_PRODUCED_TXN_STG','MTH_PROD_SEGMENTS_TXN_STG',
    'MTH_PROD_SUB_SEGMENTS_STG','MTH_QUARTER_STG','MTH_RESOURCES_STG',
    'MTH_RESOURCE_COST_STG','MTH_RESOURCE_REQUIREMENTS_STG',
    'MTH_RESOURCE_TXN_STG','MTH_TIME_HIERARCHY_STG',
    'MTH_USER_DIM_ENTITIES_STG','MTH_USER_DIM_HIERARCHY_STG',
    'MTH_WEEK_STG','MTH_WORKDAY_SHIFTS_STG','MTH_WO_SALES_ORDERS_STG',
    'MTH_YEAR_STG','MTH_TAG_READINGS_RAW','MTH_EQUIP_ENTITIES_STG');
    CURSOR c_mth_resources_d IS
    SELECT table_name
    FROM USER_TABLES where table_name='MTH_RESOURCES_D';
    v_rename_query VARCHAR2(200);
    v_drop_query VARCHAR2(200);
    v_res_query VARCHAR2(300);
    v_table_name VARCHAR2(100);
    v_tmp_table_name VARCHAR2(100);
    v_update_eqp_prd_prfrm VARCHAR2(200);
    v_res_tab VARCHAR2(100);
    BEGIN
    FOR table_name_rec IN c_non_p_stg_tables LOOP
    v_table_name := table_name_rec.table_name;
    -- rename table from MTH_WEEK_STG to be MTH_WEEK_S_P
    v_tmp_table_name := substr(v_table_name, 1, (Length(v_table_name) -2)) || '_P';
    v_rename_query := 'ALTER TABLE ' || v_table_name || ' rename to ' ||
    v_tmp_table_name ;
    -- v_drop_query := 'DROP TABLE ' || v_table_name;
    --BEGIN                 
    EXECUTE IMMEDIATE v_rename_query;
    --EXCEPTION
    --WHEN OTHERS THEN
    --BEGIN
    --EXECUTE IMMEDIATE v_drop_query;
    --EXCEPTION
    --WHEN OTHERS THEN NULL;
    --END;
    --END;
    END LOOP;
    FOR table_res_d IN c_mth_resources_d LOOP
    v_res_tab := table_res_d.table_name;
    v_res_query := 'CREATE TABLE MTH_RESOURCES_D_TEMP AS SELECT * FROM '|| v_res_tab;
    EXECUTE IMMEDIATE v_res_query;
    EXECUTE IMMEDIATE 'TRUNCATE TABLE MTH_RESOURCES_D';
    END LOOP;
    END;
    commit;
    exit;

  • Not valid month Error Ora 01843

    hi
    This is an error while running a report 6i. in Oracle 8i Environment.
    "Not valid month Error Ora 01843"
    This report is working fine in Production. But it is not working in Development Database.
    Development database is the image of Production system.
    Any reason for this Error?

    Dear Naseer C ,
    We got similar experiences for several time.
    We quried like that.
    Selet moth from table;
    08-AUG-1988
    08-08-1988
    08-08-88
    We changed several time until diappear the message.
    Hopefully, it will help you.
    Best regards,
    S!G

  • Unable to add external data source in BAM : Error ORA-12505

    Hi,
    In BAM,
    Im trying to add an external data source for creating a data object.
    But when i try to test the connection i get the following error:
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Source: "java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor "
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Source: "oracle.net.ns.NetException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor "
    As mentioned in another post ((Listener does not currently know of SID given in connection descriptor
    i tried
    lsnrctl stop.
    delete listener.ora
    lsnrctl start
    lsnrctl reload
    But still get the same error;
    Im able to access the database with the specified username and password using sqlplus.
    Your help will be appreciated.
    Regards
    Vignesh Ramanathan

    For #5, not Windows, ConfigMgr 2012 R2. Anything before ConfigMgr 2012 R2 is not supported for the 8.1 ADK.
    For the permissions, what accounts are you setting this for. In general, if the share is on the same server, Everyone Full or Read on the Share and System Full or Read on the NTFS should work.
    For the error message, it looks like you are trying to import an OS Image and not an OS Install Package. OS images use a WIM file and OS Install Packages use the entire set of source files from the media. For OS images, you must thus explicitly point it
    to a specific WIM file.
    Jason | http://blog.configmgrftw.com

  • Error ORA-12560 prompts when trying to log in to the Enterprise Manager

    Hi all,
    I am a newbie to Oracle.
    Just installed the Oracle 9i Database Enterprise Edition (9.0.1) into Windows Server 2003 Standard Edition. Problem is encountered when trying to log in to the Enterprise Manager Standalone mode using either system/oracle or scott/tiger as credentials. Error "ORA-12560: TNS:protocol adapter error" prompts.
    I tried to check with some configuration and see whether the services are started. Services of "OracleOraHome90TNSListener" and "OracleServiceORCL" have been started and the database exists in the dedicated directory. Environment variables of "ORACLE_HOME" and "ORACLE_SID" have been added manually as the SID is set to orcl, which I just follow what the instruction manual has stated. Moreover, I can't get access using command prompt typing "svrmgrl"; error returned stating " 'svrmgrl' is not recognized as an internal or external command, operable program or batch file."
    Another information is that there is no domain set in my server. Just a server with a name being assigned in a workgroup.
    Hence, would you mind please advice me what to do in order to get access into the Enterprise Manager? It's quite an urgent task.
    A million thx in advance!
    Best Regards,
    Karen

    Hi Jigneshrp,
    Thanks for your reply.
    It is checked that the listener is running and TNS name service exists. Following your advice, I did create a new listener and another name service and use them, but the same error turns out when trying to log in to the Enterprise Manager again.
    Additional information to take note for is that while reconfiguring the existing listener or creating a new listener, a mesage prompts stating "The information provided for this listener is currently in use by other software on this computer. You can proceed with the configuration as it is, but it will not be possible to start this listener until the conflict is resolved. Would you like to continue with the continue with the configuration anyway? Yes/No".
    As for the reconfiguration or the new creation of TNS names service, when I am trying to test for the connection, the results in the details pane states that "Connecting... ORA-12560: TNS:protocol adapter error. The test did not succeed...."
    Would you mind pls advice me on these?
    Furthermore, there exist 2 questions I am wondering is that it is stated in the instruction manual that prior to the installation, a static IP should be specified for it instead of the DHCP one; hence, I wanna ask after the complete insallation, is it that the server should be running in the network, i.e. allow it to get connected with the outside network?
    2nd question is that can Oracle 9i Database Server Standard Edition (9.0.1) be installed under a Windows Server 2003 Standard Edition and just a Window XP Professional?
    Thanks for your reply.
    Best Regards,
    Karen

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

Maybe you are looking for

  • Built In Microphone Has Disappeared

    Heyas, I don't know if this is a Lenovo or Windows problem, to be honest, but considering it had to do with my hardware, I figured this was the best place to start! I have a T61 7659XAU, running Windows Vista w/ Service Pack 1. And, well, the built i

  • Windows 10: I can't find a audio driver that will work with my HP Touchsmart 520.

    I am beta-testing Windows 10; It handles many HP Touchsmart operations well; but it can't find a driver for audio. I have tried many download sites; and Windows Update (which apparently does have some problems as well) and have been unsuccessful in a

  • Mail only working with Ethernet, no wireless

    I have 2 pop3 accounts in mac mail. All of the sudden they stopped working if i'm connected via wireless (any wireless, tried several in different locations, new ones too). But if i hook up an ethernet cable, it will work. What gives? I'm on a MBP Pr

  • I made new apple id but I don't activate by email so than set in my iCloud

    I made new apple id but I don't activate by email so than set in my iCloud id on iphone but I want find phone or use iCloud it does nt accept i try so many hours but I am so tired. my iphone is lock now . i waiting for your answer . thank you

  • My iMac crashes in Google

    I have an iMac (circa Fall 2007) running OS 10.6.8 and whenever I am in a Google platform (or Yahoo also)  it runs fine for a while then it suddenly turns dark and the screen is filled with parallel lines and crashes. The only way to get it up and ru