Oracle XE Database on Arch

Hello,
I've dowloaded oracle-xe-10.2.0.1-1.0.i386.rpm and extracted it with rpmextract to / as root. Added a user oracle with group dba and chowned and set permissions on the oracle directory.
However if I try to run oracle-xe start nothing happens - even no error message.
So, has anyone managed to get Oracle Database Express running on Arch yet? I would appreciate any hints
cheers,
-sd

it's old post ... but i post respons for others ... check http://aur.archlinux.org/packages.php?ID=12643

Similar Messages

  • Oracle 11g database installation

    Hello,
    I just want to install the oracle 11g database system in my Archlinux. I've looked the wiki but it's a little bit old.
    So has someone tried these days installing it in Arch? How is it going? And the AUR script works?
    Another question is how mush size it will be when installed?
    Thanks!

    I have successfully installed Oracle 11g R2 using the instructions in the Dutch article on the wiki: https://wiki.archlinux.org/index.php/Or … erlands%29 (Google translate is useful).
    I had an issue with the db console, but dropping and recreating the repository sorted that out: http://www.bestremotedba.com/how-to-dro … er-in-10g/

  • Tnsnames.ora / listener.ora files on Oracle Standby Database

    Hi I am configuring an Oracle Standby Database to my production system 4.7 and Oracle 9.2.0.4
    My production server is: PR01
    Database SID: PRD
    Standby database server is: PRDR
    Database SID: PRD
    I have already configured the server to a standby database offline backup. Was generated the control files of the standby database and the database is in standby mode.
    Now I will create a script to start the synchronization of offline redolog from the production server to standby server.
    I have a question: in the document SAP Oracle Standby Database, tells me I should change the tnsnames.ora production server pointing to an additional entry disaster recovery server. The tnsnames.ora  file must have two entries???  corresponding to a production server and another to the disaster recovery server??
    In several links of oracle tells me I should configure listener.ora disaster recovery server that is true??
    Guys my question is: where should I change my listener.ora and tnsnames.ora files?
    Please clear my doubt.
    Best regards,
    Desiree

    Hi Desiree,
    The entry in your TNSNAMES.ORA is a nothing but a tns service, when you define archive log destination it will point to a service. This service's host name will be resolved in your tnsnsmaes.ora file.
    Below is the eg of an entry in pfile:
    *.log_archive_dest_2='SERVICE=<service_name> ARCH OPTIONAL'
    Below is the entry in your tnsnames.ora file
    <service_name>.WORLD=
      (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
              (COMMUNITY = SAP.WORLD)
              (PROTOCOL = TCP)
              (HOST = <DR_HOST>)
              (PORT = 1527)
        (CONNECT_DATA =
           (SID = <DB_SID>)
           (GLOBAL_NAME = <DB_SID>.WORLD)
    So, your tnsnames.ora will have one entry for your host and the other for the DR host, i.e two entries.
    Listener entry for the convenience when there is a switch over.
    Regards,
    Bala

  • Error starting up Oracle 10g database.

    Hi,
    (I had shutdown my database by "shutdown abort")
    Now i'm getting the following error while trying to startup Oracle 10g database version :- 10.2.0.1.0.
    SQL> startup nomount
    ORA-07345: The datafile name must not contain the string '..'.
    I get the same error even for startup/ startup mount
    currently i'm using only pfile for startup as there is no spfile in dbs directory.

    Hi Kuljeet,
    This is a very strange error, i know, controlfile contains are not read in "no mount" state of database... still i'm getting the error.
    The contents of my pfile are as follows :-
    ============================================================
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_dest_1='location=/net/nasdbdmp/vl/nasdbdmp/db_dumps/OQF/data/arch'
    #log_archive_format=%t_%s_%r.dbf
    log_archive_format=%t_%s_%r
    ##log_archive_dest='/net/nasdbdmp/vl/nasdbdmp/db_dumps/OQF/data/arch'
    # Cache and I/O
    db_block_size=8192
    # Cluster Database
    cluster_database=FALSE
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=DSOLPROD
    # Diagnostics and Statistics
    background_dump_dest=/vl/dsolprod/oracle/product/admin/DSOLPROD/bdump
    core_dump_dest=/vl/dsolprod/oracle/product/admin/DSOLPROD/cdump
    user_dump_dest=/vl/dsolprod/oracle/product/admin/DSOLPROD/udump
    # Distributed, Replication and Snapshot
    open_links=4
    # File Configuration
    control_files=("/vl/dsolprod/ora2/control/control01.ctl")
    db_recovery_file_dest=/vl/dsolprod/db_dumps
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=5
    # Miscellaneous
    compatible=10.2.0.1.0
    # NLS
    nls_date_format=dd-mm-yyyy
    # Optimizer
    optimizer_mode=CHOOSE
    # Processes and Sessions
    processes=150
    # Redo Log and Recovery
    log_buffer=22479872
    log_checkpoint_interval=10000
    log_checkpoint_timeout=1800
    # SGA Memory
    sga_max_size=314032288
    sga_target=314032288
    # Security and Auditing
    audit_trail=DB
    os_authent_prefix=OPS$
    remote_os_authent=TRUE
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_retained_size=65536
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    ===========================================================

  • Oracle 11g database stores CAS number incorrectly in chemical database.

    Hi,
    I have an issue in Oracle 11g database. I am working on a chemical database which handles chemical structures ,formulas, CAS numbers, ACX number. The database has a compound table which stores compound attributes like chemical structure, molecular weight, CAS number and so on. The CAS number is of type varchar2(15) and will be in the format 50-50-0. All the CAS numbers will be in this format.
    The issue which I found specific to Oracle11g database is that when a CAS number is edite and saved from the application it changes into some random characters like AEAAAA8AA in the table. With Oracle 10g version there were no issues. Can anyone please help me to understand what could be the reason for this? Looking forward to your replies on this.
    Thanks

    Ok, thanks to all for pointers on finding the alert log. Found it. here's the relevant section, I believe:
    ARCH: Error 19809 Creating archive log file to 'D:\ORADATA\FASTRECOVERY\....\ARCHIVELOG\2012_11_07\O1_MF_1_2456_%U_.ARC'
    Errors in file C:\APP\diag\rdbms\....\trace\ukgb01_ora_3308.trc:
    ORA-16038: log 2 sequence# 2456 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 2 thread 1: 'F:\ORADATA\REDO\....\REDO02.LOG'
    USER (ospid: 3308): terminating the instance due to error 16038
    ARC0: STARTING ARCH PROCESSES
    System state dump requested by (instance=1, osid=3308), summary=[abnormal instance termination].
    System State dumped to trace file C:\APP\diag\rdbms\.....\trace\xxxxx_diag_504.trc
    Dumping diagnostic data in directory=[cdmp_20121107205514], requested by (instance=1, osid=3308), summary=[abnormal instance termination].
    Instance terminated by USER, pid = 3308
    Wed Nov 07 21:13:40 2012
    Adjusting the default value of parameter parallel_max_servers
    from 640 to 185 due to the value of parameter processes (200)
    Starting ORACLE instance (normal)
    I'm new to all this. What do I do in rman to clear this up?

  • Problem Oracle 10g database Installation on Windows 2003 Server

    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad Shoaib

    898118 wrote:
    Hi All,
    I am trying to face some problem to install oracle 10g database on windows 2003 server with service pack 2. Once I start to installation it give me an error "Error in writing to directory 'c:\documents and settings\administrator\local settings\temp\orainstall2004xxx'. Please ensure that this directory is writable and has at least 45MB of disk space. Installation cannot continue"
    I double-insured that there is enough disk-space and I am also in the Administrators-Group.
    Please guide me for the above problem although I have done oracle 9i database installation with the same configuration.
    Regards
    Muhammad ShoaibOracle really doesn't like to be installed into directories with spaces in their names.

  • Sql * plus 9 is not able to connect oracle 7 database

    Today I have installed oracle 9i release 2 and found that the sql * plus provided with is unable to connect oracle database version 7. But before that we were able to connect the oracle 7 database well.
    Any one having a clue on that...?
    Is it a product bug...?
    If so then please provide me some alternative solution clue or patch download link. Please remember in any condition currently it is not possible discard my oracle 7 database.
    With Regards.
    Soumen.

    No, it is not a bug. You just cannot connect with Ora9i R2 SQL*Plus to an Ora7 database.You cannot create a DB link between the two database either, if you are planning on doing that.
    A solution is to install Ora8 client, which can connect to both Ora9 and Ora7 database (but a db link will stil be impossible).

  • ** 911 ** Cannot connect to oracle 9i database No suitable Driver

    All:
    Any help rendered would be appreciated. (jdk 1.4.2_06, Tomcat 4.0,
    Oracle DB 9i Windows XP)
    I have a web app (Jasper report tool) and I cannot connect to a Oracle 9i database.
    1)error received: "Apr 2, 2007 2:05:15 PM com.entDB.Enterprise_db connectToDatabase SEVERE: Function connectToDatabase() - Cannot load the driver, reason:java.sql.SQLException: No suitable driverCheck classpath for driver java.sql.SQLException: No suitable driver
    2)CLASSPATH SETTING = C:\tomcat\common\lib\ojdbc14.jar
    3)Source code:
    protected boolean connectToDatabase() {
    try {
    // I tried this !!! Class.forName("oracle.jdbc.driver.OracleDriver");
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection("URL,USER,PASSWORD ");
    return true;
    }catch (SQLException e) {
    logger.error("Function connectToDatabase() - Cannot load the driver, reason:" + e.toString() + "Check classpath for driver ", e);
    return false;
    4.I placed a copy of the jar file in TOMCAT common lib, and server lib.
    I have tried various solutions listed at different web sites without success. Has anyone had similiar problems? Can anyone assist?
    thanks ......
    ******* Confused *********

    I used 911 because It is an emergency for me (I am
    under a deadline) . You might want to read this: Urgent Questions
    URL, PASSWORD, USER are strings
    declared in another section of code.Yes, but in the code you posted the variable names are all inside double quotes?

  • How to configure Oracle Dataguard for Oracle 10g database

    Hi Friends,
    I would like to configuer Oracle Dataguard for my Oracle 10g Database.
    Please provide me the configuration document.(step by step guide)
    Regards,
    DB

    Hi
    Go throw below link. This would be help to configure ODG..,
    http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
    http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
    Thanks,
    Mayilselvan.S

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • How to create a table in Oracle Lite database?

    Hi,
    I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
    Regards
    Khaleel

    HI James,
    Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
    --khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error executing a package on Oracle 10G database

    Hi,
    I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
    When I execute this package from .Net 2.0 client,I get the following error:
    **Error**
    err ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 0 (0x0)
    Error at line 1
    **Error**
    But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
    Where am i going wrong?
    Please help.
    Thanks in advance...!
    Regards,
    Amit

    Check the xml strings passed as input . One of the xmls may be malformed.

  • Restore Oracle XE database to another machine

    I have an oracle XE database on a Windows XP machine, and I want to copy it to a Windows 7 machine.
    On the XP, I performed a backup through the "Backup Database" from the GUI (BACKUP.BAT). The Oracle backup created 3 new folders underneath C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    I installed XE on the Windows 7 machine and it seems to work well.
    Then I coped the 3 backup folders onto a jump drive and put them in the corresponding folder structure on the new Windows 7 machine. I ran the Restore from the GUI as an administrator (RESTORE.BAT). The restore failed, and I can't seem to figure out why. I'm not sure what the Sequence Numbers are all about.
    Now I can't get into Apex or Apex_Admin
    Thanks for taking a look at this.
    The contents of the OXE_RESTORE file are as follows:
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6031M/8183M, Ph+PgF:13737M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: xe (not mounted)
    RMAN> set echo on;
    2> restore (spfile from autobackup db_recovery_file_dest='C:\oraclexe\app\oracle\flash_recovery_area\');
    3> startup nomount force;
    4> restore (controlfile from autobackup);
    5> alter database mount;
    6> configure controlfile autobackup off;
    7> restore database;
    8>
    echo set on
    Starting restore at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=37 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area\
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 08-JAN-11
    Oracle instance started
    Total System Global Area 805306368 bytes
    Fixed Size 1289996 bytes
    Variable Size 239075572 bytes
    Database Buffers 562036736 bytes
    Redo Buffers 2904064 bytes
    Starting restore at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    recovery area destination: C:\oraclexe\app\oracle\flash_recovery_area
    database name (or database unique name) used for search: XE
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=C:\ORACLEXE\ORADATA\XE\CONTROL.DBF
    Finished restore at 08-JAN-11
    database mounted
    released channel: ORA_DISK_1
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP OFF;
    new RMAN configuration parameters are successfully stored
    Starting restore at 08-JAN-11
    Starting implicit crosscheck backup at 08-JAN-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=35 devtype=DISK
    Crosschecked 1 objects
    Finished implicit crosscheck backup at 08-JAN-11
    Starting implicit crosscheck copy at 08-JAN-11
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 08-JAN-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    File Name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
    restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO.DBF
    restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF
    restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS.DBF
    restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_.BKP tag=TAG20110107T194642
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
    Finished restore at 08-JAN-11
    Recovery Manager complete.
    Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Windows NT Version V6.1
    CPU : 8 - type 586, 4 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:6021M/8183M, Ph+PgF:13238M/16364M, VA:1973M/2047M
    Starting with debugging turned off
    connected to target database: XE (DBID=2604800077, not open)
    RMAN> set echo on;
    2> recover database;
    3> alter database open resetlogs;
    4>
    echo set on
    Starting recover at 08-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=38 devtype=DISK
    starting media recovery
    archive log thread 1 sequence 375 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC
    archive log thread 1 sequence 376 is already on disk as file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_.ARC thread=1 sequence=375
    archive log filename=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_.ARC thread=1 sequence=376
    unable to find archive log
    archive log thread=1 sequence=377
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/08/2011 18:34:47
    RMAN-20000: abnormal termination of job step
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 377 lowscn 11715842
    Recovery Manager complete.

    After playing around a little bit I fixed the problem.
    There are a total of four folders in \FLASH_RECOVERY_AREA\XE\ I had only copied three of the four.
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    The Windows services keep the files in ONLINELOG open, so I had to shut down the services and then work with the folder. Therefore four folders have to be transported and copied onto the new machine:
    ARCHIVELOG
    AUTOBACKUP
    BACKUPSET
    ONLINELOG
    If you run as an administrator "Backup" from the GUI, it executes BACKUP.BAT, a batch file which calls RMAN. Once that's done, copy the four folders to the same location on the target machine and then run as an administrator "Restore" (RESTORE.BAT).
    In another forum someone said to be sure that the "Archive Logs" are copied. It should be interpreted to mean not just the "ARCHIVELOG" folder, but all four folders.
    Edited by: PhilMan2 on Jan 11, 2011 11:28 AM

  • Oracle 9I Database, and Mobile Server install history

    Dear Oracle technical representative:
    This TAR started out as a true request for help in solving installation problems with Oracle 9i Release 2 Enterprise Edition, and Oracle 9i Mobile Server Release 5.0.1, but it has turned into a history of frustration with out of date, laconic, and often incorrect, and misleading documentation. As a software developer, I understand that documentation is always out of date, at least mine is. Nonetheless, I must speak my mind while understanding, and sympathizing with your situation.
    I struggled through the documentation, and managed to get everything working. While I was doing that, I wrote down the step by step procedure that I used to get Database, and Mobile Server running. By sharing this rough install history with you, it is my hope that it will help prevent others from experiencing the same difficulties that I have had. It has been my observation that when a user has problems installing a trial software package they give up quickly, and do not purchase a copy. It is thus extremely important that the installation instructions, and quick start guide be accurate, attentive to detail, and well written. The first impression is the one that counts.
    The Oracle 9i Lite Installation, and Configuration Guide for Windows NT shipped with Oracle 9i Lite Release 5.0.1 definitely requires, and emergency rewrite. It is terribly out of date, inaccurate, and laconic. My guess is that it is a very sloppy rewrite of poorly written 8i documentation. The Oracle 9i Database Installation Guide for Windows is somewhat better. It however should do a better job informing you that before installing onto a old server the Microsoft Foundation Class (MFC), and VC runtime libraries must be up to date. The history describes the trouble with not having the MFC42.dll at version 6. Another corker is that the default port the installer presents is 2030, and not 1521, and that leads to major confusion in the both the Database, and Mobile Server installs.
    Thank you for looking at the history. I hope that it will be of use to you when you update your documentation.
    Thomas G. Matney
    Mississippi State University
    [email protected]
    (662)325-2791
    TAR for Oracle 9i Release 2 Database Enterprise Edition, and Oracle Lite Release 5.0.1 Mobile Server
    Installation problems are highlighted in red.
    Installation sequence/history:
         1. Installed Windows NT 4.0 Server SP1 on Dell Power Edge 4300 dual x86 server to wipe the slate clean.
         2. Setup TCP/IP, and IPX/SPX networks
              Computer name YGGDRASILL
              Host name = YGGDRASILL
              Domain = CFR.MSSTATE.EDU
              Internet name = YGGDRASILL.CFR.MSSATE.EDU = 130.18.130.225
         3. Installed NT SP3, and Internet Explorer 4.01 from the NT 40 Options Pack CD as the gateway to installing MTS 2.0, and IIS 4.0.
         4. Installed MTS 2.0, and IIS 4.0 from NT 4.0 Optins Pack CD.
         5. Applied NT 4.0 SP6.
         6. Installed Internet Explorer 5.5 as a prerequisite to installing MADAC 2.6.          
         7. Installed MDAC 2.6
         8. Installed Paint Shop Pro 7 for capturing error screens.
         9. As previous install errors stated that the ordinal function xxxx could not be found in MFC42.dll, the latest version (6.0.8665.0) of the dll was installed, and registered from MS VC++ SP5. Also I upgraded MSVCIRT.dll, MSVCRT.dll, MSCRT40.dll, and added MSVC60.dll from SP5 to be on the safe side.
    According to the installation documents all the prerequisites for installing Oracle 9i Release 2 Database Enterprise Edition are satisfied.
         10. Began install of Oracle Database Enterprise Edition with target parameters:
              Home directory = D:\Oracle\Ora92
              Database directory = D:\Oracle\oradata
              Global database name = FIA.YGGDRASILL.CFR.MSSTATE.EDU
              Port = 2030
              SID = FIA
              SYSTEM Password = phwphw
              SYS Password = phwphw
              SCOTT Password = phwphw
              DBSNMP Password = I left this one unassigned or empty.
              tnsnames.ora entry for remote TCP/IP connection
              a. CD 1 of 3 load
                   1. Error writting to MFC42u.dll. Action ignore. A check indicated that MFC42u.dll version did not match the updated version of MFC42.dll. Plan is to update after install. Unicode version of MFC is probably not used by the installer.
              b. CD 1 completed with only one problem, and CD 2 load begins.
              c. CD 2 installed without incident., and CD 3 load begins, and completes without farther problems. The only issue to address at this time is to update the MFC42u.dll.
                   HTTP Server URLs
                        http://7778
                        https://4443
         12. Evaluation of install success begins.
              a. Oracle HTTP Service will not start. It is of particular interest that on installs that I do not upgrade the MFC42.dll the Oracle HTTP Service will start correctly, but during the install I get the error message Ordinal nnnn not found in MFC42.dll, and the Oracle MTS Recovery Service crashes during the install. I am caught between a rock and hard spot on this one. See the Figure 1. At the end of this document. I do not need the HTTP Server at this time but I will need it later and this issue must be resolved. It appears that it hangs during startup. I am sorry but I lost the ordinal number nnnn.
              When I try to start the HTTP server from the Programs menu. It Hangs, and does not return an error message. See Figure 2, and the included Apache Setup.txt, the install log, and the HTTPd.conf . The conf, and setup files look OK to me. What is the problem?          
              b. All other services start correctly.
              c. Logged into the database as SCOTT on the server with SQL Plus using the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
              I created some tables, inserted data, and queried for the data. Everthing seems to be working correctly.
              d. Logged in remotely from my AOL account on a dial-up line using Oracle 9i Release 2 Personal Edition installed on my ThinkPad. Every thing tested out as above. I used the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill.cfr.msstate.edu)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
         13. I concluded that except for the Oracle HTTP Server Service not starting correctly, and that after updating the MFC42u.dll to VC++ SP5 level the stage is set for installing Oracle 9i Mobile Server Release 5.0.1. I copied the MFC42u.dll to the server and registered it successfully.
         14. As Visual Studio 6.0 Professional updates all of the MFC stuff, I decides to install it at this juncture, and apply SP5.
         15. Installed JDK1.3.1 required for Oracle 9i Mobile Server Release 5.0.1
    At this time the prerequisites for installing Oracle 9i Mobile Server Release 5.0.1 are satisfied, and MFC, and rt are at version 6.
    It is important to note that after installing MS Visual Studio Professional 6.0 SP5, the HTTP server started working. It is clear that prior to installing Oracle Database it is essential that MFC, and possibly other components are upgraded before starting an installation of Oracle. This probably only applies to old NT servers, but it should be mentioned in the installation instructions.
         16. Attempt to install Oracle Mobile Server Release 5.0.1
              a. File locations Screen
                   Name: = OraLite501               
                   Path: = D:\OraLite501
              b. Select Mobile Server at Installation Screen
              c. Mobile Server Repository Database Information Screen
                   Hostname = YGGDRASILL = hostname from tnsnames.ora
                   Port = 2030 = same as Database port
                        It is troublesome that the port in tsnames.ora is 1521, and not 2030 as was specified in the database install. I will try this port on the reinstall. On the retry, it worked. The problem was that I was mislead by the default port of 2030 at the database install. The database was actually installed on port 1521, and I was not given an error message, or warning. As I am a first time installer of Oracle products this threw me for a loop. The default port for the database needs to be 1521, if regardless of what the user specifies for a port you are going to install on port 1521.
                   Net Service Name = FIA.YGGDRASILL.CFR.MSSTATE.EDU = Global database name as required by installation instructions.
              d. Yes. At Do you want to install the Mobile Server Repository question.
              e. At Oracle Protocol Support, I checked the SPX box.
              f. Summary, and Install screens function to specifications.
              g. Mobile Server Repository Wizard
                   Database System password:
                        Password = phwphw
              h. Mobile Server Repository Wizard
                   Schema Name: fiafield
                   Password : fiafield
              i. Success at last with the install part. The problem was the wrong port number. See my above comments on this problem, and how Oracle could grease the skids for the next first time installer.
         j. I could not find the httpd.conf file in the place the install instructions said it should be for running the Mobile Server in Oracle HTTP Server. Since only one copy of httpd.conf existed, I added the include D:\OraLite501\mobile\server\bin\wtgias.conf to the bottom of the file assuming that it is the correct one. I the re-booted instead of using apache -k restart. The Oracle HTTP Server started, so there is hope. The install instructions state that the httpd.conf file would most likely be in the program files directory, when they are really installed in the Oracle Lite home directory.
         k. According to the documentation the Mobile Server should start when the Oracle HTTP Server starts with the wtgias.conf file added to the httpd.conf file. It does not. If I use Process Explorer, I know that Apache loaded the wtgias.conf, because both Apache.exe processes that are running have the wtgias.dll loaded. The facts are at this stage of the game are
              1. OraMTSRecoveryService is started
              2. OracleOraHome92HTTPService is started
              3. OracleOraHome92Listener is started on port
              4. OracleServiceFIA is started
              5. Apache.exe has the wtgias.dll loaded
              6. The Moble Server is not running and it should be if the documentation is correct.
              7. If I start the Mobile Server either as a service using wtgsvc -i or with the webtogo command from the DOS prompt, the Mobile Server starts, but when I attempt to log in with the URL http://Yggdrasill:7778/webtogo/startup it inform me the Mobile Server is not started and it is. Figure 3 shows the response I receive from the login attempt.
         l. I finally ran the Mobile Server in total debug mode using the command webtogo -d0", and it gave me the subtle hint that the correct URL is
              http://Yggdrasill.cfr.msstate.edu/webtogo/startup.
         When I use the above URL and I can login to the Mobile Server with UN = fiafield, and PW = fiafield. I was confused by the documentation. I was under the assumption that the host address would be either http://Yggdrasill:7778, or http://Yggdrasill:4443. After all when I, installed Oracle Database these URLs were listed. It needs to be made clear in the installation guide for the mobile server that the Mobile Server address is http://Your servers WWW address/webtogo/startup, and the statements about the Mobile Server will start when the Oracle HTTP Server is started needs to be removed since they are incorrect. Also, the documentation should clearly state that the Schema Name, and Password given in the Repository Wizard Screen are synonymous with the username, and password for the Mobile Server login.
         m. After determning the hard way that the Mobile Server does not start when the the Oracle HTTP Server starts, and that the correct URL is http://Internet address/webtogo/startup = http://Yggdrasill.cfr.msstate.edu/webtogo/startup, I decide to start the Mobile Server as a service with the command wtgsvc -i. After I re-booted, to my surprise, I could not login to the Mobile Server. When I checked the system services, the webtogo service was running. So to give the start as a service thing a fair chance I re-booted again, but obtained the same results. I thus concluded that the Mobile Server will not run correctly as a service. As it turns out my conclusion was wrong. After waiting a few minutes, my login try was successful. The documentation should indicate that after booting it may be a minute or two before the Mobile Server service become available.
         n. After some serious problems with the installer, and the documentation everything is working. I have a green light to go on to the next stage, which is program the handheld to take advantage of the Mobile Server. I will be glad to get back to programming, and am so thankful that I am not a network administrator.
         Appendix
    HTTPd.Conf (Abstract only), Apache Setup.txt,
    tsnames.ora, and listener.ora.
    HTTPd.conf (Abstract only)
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # Include the Oracle configuration file for custom settings
    include "D:\oracle\ora92\Apache\Apache\conf\oracle_apache.conf"
    include "D:\OraLite501\mobile\server\bin\wtgias.conf "
         tsnames.ora
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    FIA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    EXTPROC_CONNECTION_DATA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
              listener.ora
    # LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    (ORACLE_HOME = D:\oracle\ora92)
    (SID_NAME = FIA)
              Apache SetupInfo.txt
    The following information is available in:
    D:\oracle\ora92\Apache\Apache\setupinfo.txt
    The HTTP Server can be accessed using the following URLs:
    http://yggdrasill:7778
    https://yggdrasill:4443

    You can find information regarding enabling the iSQLPLUS in the following Oracle manual.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm

  • Converting between tables in an Oracle Lite Database

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

    We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
    Both the structures reside in the same database.
    Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
    However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
    Anyone got any better ideas?
    Cheers, Matt

Maybe you are looking for