Oracle 10g Express on Fedora Core 6

What a mess!!!! This thing does not want to work at all. Install (followed directions explicitly) seemed to go fine, but attempting to go to database home page just comes up with the firefox error page that site cannot be found. Tried to use SQL*Plus to create a tablespace, no go. Tried to create a user, no go. Opened all kinds of ports in my firewall (1521 for listener, 8085 for server) and my router for good measure. Nothing. Starting the listener seems to take forever, and it says it has started, but I don't think that is true. Trying to start or stop the database using the menu commands gives me a terminal window with the message "Operation failed, root is not a member of 'dba' group." I really need this to work so I can do some work from home. Anyone have any ideas?

What is your 'SEL:inux' config? In general I've found that SELinux blocks most of the commands needed to set up Oracle XE so I simply turn it off.
SQLPlus uses 1521 for the initial connect with the listener, but the followup connect with the server is on a random port. Selectively opening ports may not do much good.
Oracle was blasted hard by the Unix community in the '90s for using root. "No self respecting *nix administrator would permit the use of root for anything other than system config." So Oracle went out of their way to make sure the only time root is needed - or permitted - is during install. In fact, a good install of Oracle in *nix will not permit root to run the database as it can be a serious security issue.  Instead, any user who is part of the ORADBA group (group dba by default) can do all admin.  The official Oracle owner, by default 'oracle' can, of course, do it all.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Oracle 10g Express on Fedora 14 64-bit howto

    I wanted to test Oracle 10g XE using VMware and Fedora 14 and found the installation instructions form Oracle somewhat outdated and confusing. http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm. Here are my installation notes - perhaps someone will find them helpful.
    h3. Installation of Fedora and Oracle 10g XE:
    h4. 1) Install Fedora 14 Desktop 64-bit form the Live DVD using the defaults.
    Note: To open a terminal window, select Terminal from Applications/System Tools menu.
    h4. 2) Edit /etc/selinux/config to disable SELinux:
    # su - root
    # vi /etc/selinux/config
    SELINUX=disabled
    h4. 3) Install required software including 32-bit libraries:
    $ su - root
    # yum install install bc libc.so.6 libaio.so.1 gcc libaio compat-libstdc++-33
    h4. 4) Download and install Oracle 10g XE:
    http://technet.oracle.com
    $ su - root
    # cd /home/<your_usename>/Downloads
    # yum install --nogpgcheck oracle-xe-univ-10.2.0.1-1.0.i386.rpm
    h4. 5) Configure Oracle 10g XE:
    # /etc/init.d/oracle-xe configure
    h4. 6) Configure your regular fedora user account:
    $ su - root
    # /usr/sbin/groupadd -r dba
    # usermod -G dba <your username>
    # su - <your username>
    $ echo "source /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh" >> $HOME/.bashrc
    Logout for the change to take affect!
    To access the Database Home Page go to "http://127.0.0.1:8080/apex
    h3. Remote Access:
    h4. 1) Enable remote ssh login:
    $ su - root
    # service sshd start
    # chkconfig --level 345 sshd on
    h4. 2) Configure Network Firewall from System/Administration menu:
    Other Ports
    Add
    User defined
    Do this for ports 8080 and 1521
    Apply
    h3. VMWare Tools installation:
    +Note: configure your guest OS for Bridged Networking and fixed IP+
    $ su - root
    # yum install gcc make kernel-devel perl
    At your VMware guest menu, select "install VMware Tools"
    Right click on VMwareTools-xxx.tar.gz and extract it to the Desktop
    Open a terminal window and type the following:
    $ su - root
    # cd /home/<your_username>/Desktop/vmware-tools-distrib
    # ./vmware-install.pl
    Continue to press Return and accept defaults.
    # reboot
    h3. Troubleshooting:
    h4. ssh port 22: Connection refused
    The Network Firewall is enabled by default, but port 22 is open.
    You may try to simply disable/apply and enable/apply and try again - strange, but worked for me.
    ( +service iptables restart+ did not resolve this)
    h4. Check if the ssh daemon is running:
    # lsof -i tcp:22
    h4. Use sqlplus to reset your passwords:
    Make sure you properly configured your regular fedora user account as outlined above:
    $ sqlplus / as sysdba
    SQL> alter user sys identified by "password" account unlock;
    SQL> alter user system identified by "password" account unlock;
    h4. Start and stop Oracle XE:
    # su - root
    # /etc/init.d/oracle-xe start
    # /etc/init.d/oracle-xe stop
    h3. Related Links:
    https://fedorahosted.org/spacewalk/wiki/OracleXeSetup

    I got Oracle 11gR2 running on 64-bit Fedora 14 x86_64 - you do need a mix of x64_86 and i686 (32-bit) packages as given here:
    http://download.oracle.com/docs/cd/B28359_01/install.111/b32285/toc.htm
    These aren't exact matches on version numbers so when runInstaller doesn't pass validation, just check "Ignore". This will fail during linking, so follow along below and the rest will go smoothly:
    installation error in invoking target 'agent nmhs'
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Hi.
    So you want to build for fedora 13 without getting the error...
    When you start to install with ./runInstaller, run in another terminal window (as root)
    ls $ORACLE_HOME/sysman/lib/ins_emagent.mk
    At first this will produce an error, as the installer wont have created this file yet.
    Once the file exists, do:
    vi $ORACLE_HOME/sysman/lib/ins_emagent.mk
    Search for the line
    $(MK_EMAGENT_NMECTL)
    Change it to:
    $(MK_EMAGENT_NMECTL) -lnnz11
    If you do it within 30-40 seconds of the file appearing, you should not get any errors and the build will go fine. If you get an error, finish your edit then click on retry.
    Hope that helps.
    Gordon.
    Edited by: [email protected] on 07-Jul-2010 06:54
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

  • Cannot run Oracle 10g XE on Fedora Core 4.

    I've successfully install Oracle 10g XE, but i cannot start the database
    when I run
    /etc/init.d/oracle-xe startI got the following message
    Starting Oracle Net Listener.
    Starting Oracle Database 10g Express Edition Instance.
    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr
    and
    Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.and when I try to start it using
    lsnrctl startI got the following error message
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 03-FEB-2007 11:49:10
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    NL-00280: error creating log stream /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    NL-00278: cannot open log file
      SNL-00016: snlfohd: error opening file
       Linux Error: 13: Permission denied
    Listener failed to start. See the error message(s) above...Can somebody tell me what is the problem..?
    Thanks..

    Already fix that problem, I just change the file permission.
    But I'm facing another problem..
    I run this command
    lsnrctl startand successful started the database
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-FEB-2007 08:58:04
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                05-FEB-2007 08:58:04
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyI try to login using sqlplus
    [root@localhost bin]# sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Feb 5 09:03:29 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter user-name: sys
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directoryWhat is the problem here..?
    thanks..

  • Installing Oracle 10G Express Edition on Linux after installing Libaio-0.3

    I had got a error while installing 10G Express Edition on Redhat Fedora core 4 linux after installing libaio-0.3.104-2.i386.rpm
    I had given the following command in Linux Command prompt to install the oracle database 10 G Express Edition (oracle-xe-10.2.0.1-1.0.i386.rpm)
    # sudo rpm -ivh /tmp/oracle-xe-10.2.0.1-1.0.i386.rpm
    The error I had got is as follows:
    Preparing.....#####################[100%]
    1:oracle-xe Warning:/etc/init.d/oracle-xe saved as /etc/init.d/oracle-xe.rpmorig
    error:Unpacking of archive failed on file /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/ons;4698950F:cpio:MD5 Sum Mismatch

    The steps I am asking is for installing oracle 10G express edition on Redhat Fedora core 4 Linux version. Now, after downloading the fresh copy of Oracle 10G express edition from the Oracle site. I have successfully installed oracle now.
    I was getting the following errors - I have pasted previous query for the problem which I had faced after installing Oracle 10 G Express Edition successfully on Redhat Fedora Core 4 Linux.
    The Previous Query is as follows:
    Thanks For Guiding Me All of you!
    Finally, I have installed Oracle 10G Express Edition on Redhat Fedora core 4 Linux.
    Now, I am having the following problems:
    After making the changes as per my Reference mentioned in my different messages, I had done the troubleshooting steps going to Options and setting the same.
    1.When I try to load the http://127.0.0.1:8080/apex page it gives an error popup:
    " The connection was refused when attempting to contact 127.0.0.1:8080 "
    2. After opening the Run the SQL Command Line by clicking on applications and When I say " Connect System and when prompted for password, I have entered the password and gives another error as follows:
    ORA-01034 : Oracle not available
    ORA-27101: Shared Memory realm does not exist
    Linux Error:2:No such file or directory
    3. When I try to manually start the Listener or Services, It gives one more error:
    Root Not a Member of DBA Group
    I need to What is happening or What is the Problem and How will I rectify them?

  • Starting Oracle-Xe on Linux fedora core 5

    Dear fourm members,
    I had Installed Oracle Xe on linux fedora core 5 and configure it.
    When i try to start the oracle Xe server I get the follwing error.
    # /etc/init.d/oracle-xe start
    Starting Oracle Net Listener.
    Starting Oracle Database 10g Express Edition Instance.
    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
    what can i do to start the service.

    Failed To Start Oracle Net Listener

  • Dbms_fga.add_policy with Oracle 10g Express Edition

    begin
    dbms_fga.add_policy (
         object_schema=>'PROVA',
         object_name=>'EMPLOYEE',
         policy_name=>'ACCESS_EMPLOYEES',
         audit_column => 'name',
         ENABLE=> TRUE );
    end;
    Error
    feature not enabled: Fine-grained access control
    at "SYS.DBMS_FGA"
    i'am using Oracle 10g Express Edition i have this error about 5 days ..........please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Thanks for your replay , in the follow the result about the query :
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> select * from v$option;
    VALUE
    Parallel load
    TRUE
    Point-in-time tablespace recovery
    FALSE
    Fine-grained access control
    FALSE
    Now i need fine-grained access control , what can I do ?
    I change the version or exist an other metod?
    thanks..........................

  • Newly installed oracle 10g express edition database

    Hai to all
    I have fedora 15 operating system with oracle 10g express edition database installed .. I already have working knowledge in mysql database .. my question is that when i opened oracle database via sql developer , then by expanding tables tab on left side .. I can able to see some table that are created by default as the following:
    AQ$_INTERNET_AGENT_PRIVS
    DEF$_AQCALL
    LOGMNR_AGE_SPILLS$
    My question is that . Can i drop all these tables ??? . By doing so, will that create any problems ..
    Any idea will help me ..
    thanks in advance to allllllll

    If You wont to see how Oracle drop tables
    - create Youre schema
    create user test_user ... ;
    -create table
    create table test_user.test_table ... ;
    drop table
    table test_user.test_table ;
    Regards,
    Pavel
    Edited by: Pavel on May 22, 2012 10:26 PM

  • Oracle 9i Client on Fedora Core 3

    Has anyone managed to successfully install Oracle 9 Client on Fedora Core 3? Installing the 10g Client was no problem, but I need to run the 9i Client as the 10g Client cannot be used when connecting to 9i our Management Server.
    All help appreciated!

    you need to tell path to script.
    like /instatntclient_odbc.sh /usr/local
    /usr/local is the place where unixodbc configuration fiels are placed
    If you are done with your setup.
    Can you please let me know whether oracle client software is also required or oracle instant client 10g and odbc will work

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • Create a New DB in Oracle 10g Express

    Dear experts
    I have downloaded and installed oracle 10g express on windows 2000 Professional System.
    Now i would like to create a database called AcmeInc and in that database object i want to create tables and relationship. Can anyone please tell how i can do this from HTML interface? or through SQL command. Please help i am new to Oracle and have used MS SQL Server
    Thanks
    Manish Sawjiani

    Check these two links for some facts about Oracle 10g XE :
    http://www.oracle.com/technology/products/database/xe/pdf/dbxe_faq.pdf
    http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf
    And this is the Tutorial :
    http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm

  • Can't uninstall or reinstall oracle 10g express edition in w/server 2003

    Hi,
    I need help from all of you, i already install oracle 10g express edition in
    windows server 2003 in D drive. but i can't remove because the oracle not in
    the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the
    database but can't go to the database home page.The error message (the install
    cannot proceed as service OracleServiceXE is present on the system. Remove the
    service , reboot the systemand retry the installation) can any one guide me to use
    command prompt to remove.
    My email address [email protected]
    Thanks

    Hi,
    Perform the following steps, this will solve your problem and can go with new installation. :-)
    (Only perform the steps 7.2 section and here is the link : http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABDJDCD
    Manually Removing Oracle Database XE
    If the deinstallation is interrupted, follow these steps to manually remove Oracle Database XE from your computer:
    Step 1: Stop the Oracle Database XE Services
    Step 2: Remove the Oracle Database XE Registry Editor Settings
    Step 3: Update the System Variable Path
    Step 4: Remove Oracle Database XE from the Start Menu and Desktop
    Step 5: Remove the Oracle Database XE Directories
    Step 6: Install and Run the Windows Installer CleanUp Utility
    7.2.1 Step 1: Stop the Oracle Database XE Services
    Follow these steps:
    1. Open the Windows Services utility: From the Start menu, select All Programs, then Administrative Tools, and then Services.
    2. If any of the following Oracle services exist and have the status Started, then select each of the services, and click Stop:
    OracleXE
    OracleXETNSListener
    OracleJobSchedulerXE
    OracleXEClrAgent
    OracleMTSRecoveryService
    3.
    Exit Services.
    See also the Microsoft online help for more information on stopping services.
    7.2.2 Step 2: Remove the Oracle Database XE Registry Editor Settings
    Follow these steps:
    1.
    Log on to Windows with Windows administrative privileges.
    2.
    Ensure that you followed the instructions under "Step 1: Stop the Oracle Database XE Services" to stop the Oracle Database XE services.
    3.
    Start the Registry Editor at a command prompt:
    SYSTEM_DRIVE:\> regedit
    4.
    Go to HKEY_CLASSES_ROOT.
    5.
    Delete the following keys:
    NEED TO CONFIRM THE XE-SPECIFIC ONES.
    6.
    Go to HKEY_CURRENT_USER\Software.
    7.
    Under Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs, delete the Oracle Database 10g Express Edition key.
    8.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
    9.
    Expand the ORACLE group key and then delete the KEY_XE and OracleMTSRecoveryService keys.
    10.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI.
    11.
    Expand the ODBCINST.INI key and remove the Oracle in XE key.
    12.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    13.
    Delete the following keys:
    OracleServiceXE
    OracleXEClrAgent
    OracleXETNSListener
    14.
    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application.
    15.
    Delete the Oracle.xe key.
    16.
    Exit the Registry Editor.
    17.
    Restart your computer.
    Thanks,
    Rams...
    Edited by: user10888288 on May 3, 2010 5:58 AM

  • Can't uninstall or reinstall oracle 10g express edition in windows server 2

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

    Hi,
    I need help from all of you, i already install oracle 10g express edition in windows server 2003 in D drive. but i can't remove because the oracle not in the add remove program so i download the windows install clean up to remove
    but after remove it still in the all program i still can start and stop the database but can't go to the database home page. can any one guide me to use command prompt to remove.
    Thanks

  • Cannot install oracle 9i on linux (fedora core 2)

    dear all members.
    I cannot install oracle 9i on linux (fedora core 2)
    progress bar stop at 17% no activity at hardisk. I wait for 15 hours , still no movement. file being copy is " naeet.o " , I am not sure how importance is it.
    I try several times, but still similar result....
    Amnuay U.
    [email protected]

    Hi,
    I think that Feedbak forum is not the best place for this problem.
    You should ask this into
    => Installation Forum : Database Installation
    or
    => Linux Forum : Generic Linux
    Anyway, you can find an install doc here :
    http://ivan.kartik.sk/oracle/install_ora9_fedora.html
    Nicolas.

  • What Are the Tables in new oracle 10g express

    Hi guys,
    I am new at oracle and I just installed the Oracle 10g express. after login to the oracle by SQL Developer I noticed there are lots of tables in table folder which some of them come with $ and some not! can you please let me know what are these tables for? are they like system tables in SQL Server? if so then what are the tables under
    -->Other Users/System/Tables?
    I am lost here and I can't figure out what are the Other Users? are they like databases? I tries to google them but I couldn't find any thing
    Thanks a lot

    http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/toc.htm
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/toc.htm
    SELECT USERNAME FROM ALL_USERS;
    USER/SCHEMA are to Oracle; what database is to SQL_Server
    Edited by: sb92075 on Apr 22, 2011 5:53 PM

  • Oracle 10g Express Edition presentation

    Hi everybody,
    I'm an Italian university student and I have to make a presentation about Oracle 10g Express Edition for an exam. The points of this presentation will be:
    - Portability
    - Compatibility with SQL92 standard
    - Interfaces
    - Installation and hardware resources
    - Costs and license
    - Security
    - Performance
    I'm very new in the Oracle world, can anyone help me or suggest sites where I can retrieve the information I need.
    Thanks

    Si offende qualcuno o semplicemente capisce meno gente? Penso più la seconda, ma mi sembra più "educato" usare l'inglese, in modo che tutti capiscano.
    Translation :
    I think it would be more correct using English, so that everyone can understand.
    Paolo

Maybe you are looking for