Oracle 8i (8.1.5) and linux : Bad adresse

Hi,
When i try to instal Oracle 8.1.5, et have the message :
Initializing Java Virtual Machine from /usr/local/jre/bin/jre. Please wait...
Error in CreateOUIProcess(): -1
: Mauvaise adresse
Someone can help me ?
null

I had the same message, is /usr/local/jre a symbolic link to the install directory of the java machine, I'd looked at the install scripts and installed the JDK to /usr/local/jre. Moved it and set up the symbolic link and the installer ran okay - unfortunately it crapped out later....
Hope this helps
Mike

Similar Messages

  • Oracle 11g R2 Instance Caging on Linux 64-bit? Good, Bad, Ugly.

    Hello everyone
    I hope this is the correct forum, if not please advise best place to post this question.
    I am thinking of using Oracle 11g R2 Enterprise Edition running on 64-bit Linux server (Oracle Linux 6.x or Red Hat Linux 6.x) with Resource Manager Instance Caging feature enabled to consolidate about 20 databases on one larger Intel-X64 server (40 cores, 512RB RAM, SAN). RAC is not needed but RAC One Node may be one other possible option as will also be Data Guard 11g R2 for HA/DR.
    I am looking for opinions from those who have used and implemented Instance Caging feature in production on 11g R1 or 11g R2 on Linux/UNIX 64-bit OS - please share your experiences - good, bad, ugly ?
    Any recent whitepapers and studies on 11g R2? I have seen some information dating back to 11g R1 (~2009), hoping there are some 11g R2 updates on this topic for 2010-2012.
    Please provide pointers if you know of any.
    Has anyone implemented Instance Caging on RAC One Node (or full RAC)? Opinions?
    thanks.
    Yuri B
    Edited by: yurib on Aug 28, 2012 12:08 PM

    Check This
    NOTE:1339769.1 - Master Note for Oracle Database Resource Manager
    Configuring and Monitoring Instance Caging [ID 1362445.1]

  • Question regarding Oracle and Linux on VMware

    Hello,
    I carefuly read the paper on Oracle and Linux on Your Own VMware and I'm missing a point.
    The paper explains how to start a cluster on a single host in a single Linux VM on VMware.
    So, there are 2 instances of Oracle 10g DB on the same Linux VM inside VMware. What does allow that?
    Is it possible to run 2 instances on any (single) Linux box, or is VMware required? If VMware is not required, why this complication in that paper? If VMware is required, what does it bring that make running 2 cluster instances on the same host possible?
    Many thanks for your help.

    userLynx wrote:
    I have an oracle database (10.2) and I have a query that needs to compare data on the Oracle database to data on a MS SQL server DB. I'm using a DB Link between the two databases.
    How would I compare the date fields?
    I have a table that has a date as one of the fields and I need to restrict the records where the date is equal to the date on SQL, however the formats are different:
    My query is as follows:
    SELECT mkt_css_name,
    pmv_rqst_corp_id,
    pmv_rqst_source,
    'G',
    pmv_css_acct_no,
    eq.start_date
    FROM power_move@cmdt,
    enroll_que@tcis eq,
    marketer@cmdt
    WHERE eq.css_account_number = pmv_css_acct_no
    AND eq.requestor_type = 'P'
    AND eq.status IN ('A','P','G','S')
    AND eq.marketer_id = mkt_seq_no
    AND pmv_service_type IN ('G','D')
    And Pmv_Gas_Mktr_No = Eq.Marketer_Id
    AND pmv_received_timestamp= eq.enroll_date ;
    The problem is that the date is stored in Oracle in the following format: DD-MON-YYYY and in SQL as 'YYYY-DD-MM HH:MI:SSSSSS'
    for example: Data in Oracle would be 27-JAN-2012 and in SQL as 2012-01-27 00:00:00.000
    I get an error when I compile.
    How do you reconcile the formats when the syntax is different between databases?
    Thanks, SeanDATE datatypes do NOT have any "format"
    DATE datatype is stored in internal binary notation.
    use TO_CHAR to display, present & compare the DATE datatypes

  • Steps to export and import oracle 10g databse from AIX to AIX and LINUX

    Hi,
    I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
    Please give me all the steps as this is my first exort an import activity.
    thanks,

    For 10g there exist two ways to do so.
    1) Regular exp/imp.
    2) Data pump expdp/impdp.
    As this is your first export and import activity, relevant concept understanding is mandatory for you.
    Documentation Link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
    Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck.

  • Using Oracle driver in JDBC for Unix and Linux based servers

    Please, let me know how to mention the Oracle driver within the forName.class(" "); statement in the Jdbc-Servlet for Unix and Linux based servers.
    I'm using Windows-OS for Java programming. Should I have to use the same environment(Unix/Linux with Oracle) for compiling or just compiling, mentioning the driver in the java program would suffice?
    Please, Help me.
    Thank You.
    from,
    Silas eschole.
    email: [email protected]
    [email protected]

    I've used Oracle's thin driver like this:
    Class.forName ( "oracle.jdbc.driver.OracleDriver" );
    Connection DBConnection = DriverManager.getConnection("jdbc:oracle:thin:USER/PASSWD@database" );
    You need Oracles client classes ( e.g. classes111.zip ) at run time, not during compilation.
    Thin client connects directly to the Oracle DB, so the database description is like PORT:MACHINE:SID
    Connection is made through Oracle's listener even when your DB is in the same machine that your program is running. Port number is propably 1521 or 1526, depending on your listener.ora definitions and used Oracle SQL*Net version.

  • Advanced Replication using Oracle 8i and Linux

    Hi,
    My name is Sadhana. I am a software engineer. I have a doubt regarding Oracle and Linux. Well, I am involved in developing a customer care and billing solution with back end as Oracle8i (8.1.5)on Linux RH 6.1. I need your guidance is regarding the reliability of using Oracle on Linux as data file servers for critical applications like customer care and billing systems in telecom. The rating and billing engine will also run on linux servers. Only the client machined will have windows 98/NT. It will be helpful if you can throw some light on the replication features of Oracle particularly in Linux. For e.g. is it possible to keep a database server - Oracle on linux and a replication server on linux. Will it behave similarly like other replication servers (windows NT or Solaris etc.)? Is it reliable?
    Looking forward for your reply
    TIA,
    With Best Regards,
    Sadhana S Kamath

    Christian Seebode (guest) wrote:
    : Hi everybody,
    : will Oracle 8i be available for Linux ?
    : When ?
    : Or will there be a difference in availability for
    : the different options of 8i ?
    : Thanks for any information
    : Christian
    1.) Yes it will.
    2.) Nobody knows. (Oracle points to May/99...)
    3.) Yes, absolutely, since Enterprise Editions are poorly
    supported under Oracle/Linux
    Bye, Robert
    null

  • Datafile size more 2G on Oracle 9.2 and Linux 7.3

    I have Oracle 9.2 RAC and Linux 7.3.
    Do anybody use datafiles with more than 2 G sizes (raw devices)?
    Is everything OK?
    I created such a datafile 6 G in size. Tried to use it. It seems like
    everything OK.
    But what about using it in production database?
    Igor.

    if u use raw devices
    no limit
    if u use datafile the limit size is 2G

  • Unable to download oracle 10g release 2 for windows 32 bit and linux

    unable to download the oracle 10g for windows and linux from the website given below. http://www.oracle.com/technology/software/products/database/oracle10g/index.html
    can any one help me out ?

    From that site, you need to click on a link and answer the questions on the next page. Click 'I agree' and, on the following page, you select the download you need.
    If that doesn;t work, you may need to review user settings, security, and knowledge base for your browser.

  • Oracle E-Bussiness Suit (11.5.9) and Linux RHEL AS4

    Hello, somebody help me to find documents about Oracle E-Bussiness Suit (11.5.9) and Linux RHEL AS4.
    How it comunicate?
    I just need a simple scheme how it is work.
    Pleas! Urgent!
    Message was edited by:
    user527625

    Hi, Hussein,
    I did see the adgrants.sql after the patch installation and ran it, but AD patch had some errors. One of them about not being able to generate the jar files. I ignored it and chose to continue, thinking that I can generate them with adadmin utility later. Adadmin failed with the following error message:
    adearea();
    Warning=> unable to locate /u0/oracle/prod/comn/java/owa.zip file.
    Signing product JAR files in  JAVA_TOP -
    +/u0/oracle/prod/comn/java+
    using entity PROD_oraprod and certificate 1.
    +/u0/oracle/prod/comn/util/jre/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)+
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM
    AD Administration error:
    aiojavaGetJavaVersion(),ERROR creating javaVersionFile.
    Error :  java version file format not correct
    adogjf() Unable to generate jar files under JAVA_TOP
    When l looked it up in Metalink, I found this document
    Version GLIBC_2.0 Not Defined In File Libc.so.6, Unable To Initialize Threads: Cannot Find class java/lang/Thread [ID 806345.1]
    stating that "JRE 1.1.8 and java 1.3.1 are not certified on Red Hat or Oracle Enterprise Linux 5." It also directs me to upgrade it by following one these documents:
    Please upgrade to java 1.4.2 or higher, following the appropriate note:
    Note 246105.1 - Upgrading to J2SE 1.4.2 with Oracle Applications 11i to upgrade to java 1.4.2.
    Note 304099.1 - Using J2SE Version 5.0 with Oracle E-Business Suite 11i
    Note 401561.1 - Using J2SE Version 6 with Oracle E-Business Suite 11i
    Would it be enough to upgrade it to version 1.4.2? Because the minimum patch levels for the other versions (J2SE 5.0 and 6) are much higher than what I have.
    Can you please advise?
    Thank you,
    Sinan

  • The best combination of oracle tools and linux for server and client pcs

    Hi experts
    I want to know that which is the best certified/tested/best "Linux" operating system / flavor for oracle 10g ids for client and programmers
    for client: access through browser and/or as client/server
    for programmers: development
    Thanks

    All certified Linux distributions you can find here:
    http://www.oracle.com/technology/support/metalink/index.html

  • Install of oracle 8.1.6 on redhat linux

    i installed oracle 8.1.6 on redhat linux 7.0
    after installation while creating a default
    database it is taking lot of time,
    i tried to create one more database using database assistant it is also taking lot of time initialize i don't know how to set virtual memaory which we will set in win-nt
    please write me anyone who know the problem...
    null

    Dear:
    My English is bad, but I think you will understand me what I
    saying.I show what i did in my computer system.
    First: I download i386-glibc-2.1-linux.tar.bz2,
    readme.oracle8i from
    ftp://ftp.ca.kernel.org/pub/software/libs/glibc/hjl/sdk/2.1
    and
    Second : I read the file readme.oracle8i,and do what it
    said.
    It's ok to solve the problem.
    Good Luck.

  • I met problem when installing Oracle 8.1.6 on Turbo Linux 7.0

    I met problem when installing Oracle 8.1.6 on Turbo Linux 7.0.
    After setting up environment variables, and successfully
    accessed KDE interface, everything was going on well.
    The process of installation blocked at 80% in "Database Creation
    Process" dialog window.
    I have tried two times and got the same result.
    The error message is:
    Warning: Cannot convert string "-*-Kochi Gothic-medium-r-normal-
    *-*100...
    Help!

    I have done some oracle installations over RedHat 7.0 (not certificated):
    Let's check some things:
    1- You must have changed very few parameters on your shm.h sem.h files which are in /usr/include/linux directory.
    2- You need to upgrade the glibc and libstdc libraries (.rpm)
    3- You must have installed the jre116_v5 on /usr/jre and made a symbolic link like this
    ln -s /usr/jre/jre116_v5 /usr/local/jre
    4- You must include in the CLASSPATH parameter the jre116_v5 directory. It should look something like this
    CLASSPATH=/usr/jre/jre116_v5:$ORACLE_HOME/jlib
    5- Be sure to create and export all the parameters in your .bash_profile.
    6- Run the ./runInstaller.sh in a terminal window inside the Xwindow.
    You can find the jre116_v5 in www.backdown.org
    I hope these tips help you
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by xx:
    Hi every body
    when I run ./runInstaller from cdrom
    I get this messages :
    Initializing Java Virtual Machine from /usr/local/jre/bin/jre.Please wait ...
    Error in CreateOUIProcess ():-1
    : Bad Address
    I use JDK-1-1-6.
    Thx<HR></BLOCKQUOTE>
    null

  • ASCII-EBCDIC convertion between z/Os and Linux

    Hi experts, we are migrating our landscape to z/Os (DB+ASCS) and Linux (PAS). We have our GLOBALHOST on z/Os but we are experimenting some problems when we try to install our application servers because the conversion between platforms.
    In the planning guide we can see that there is a way to mount NFS file systems exported from z/Os, that make this convertion in an automatic way, but the commands mentioned on the guide are for UNIX and not for Linux.
    Does any of you have this kind of installtion that could help us to set this parameters ok?
    Or does any of you face this problems before?
    Regards
    gustavo

    First, yes, we have z/OS systems programmers and DBAs with specific knowledge of DB2 z/OS. One of the reasons we initially went with the Z platform when we implemented SAP was that our legacy systems ran there for many years and our company had a lot of Z knowledge and experience. zSeries was one of our "core competencies".
    I also need to give you a little more information about our Z setup. We actually had 2 z9 CECs in a sysplex, one in our primary data center and another close by in our DR site and connected by fiber. This allowed us to run SAP as HA on the Z platform. For highly used systems like production ERP we actually ran our DB2 instances active/active. This is one of the few advantages of the Z platform unavailable on other platforms (except Oracle RAC, which is also expensive but can at least be implemented on commodity hardware). Another advantage is that the SAP support personnel for DB2 z/OS are extremely knowledgeable and respond to issues very quickly.
    We also chose the Z platform because of the touted "near-continuous availability" which sounded very good. Let me assure you, however, that although SAP has been making great strides with things like the enhancement pack installer, at present you will never have zero downtime running SAP on any platform. Specifically you will still have planned downtime for SAP kernel updates and support packs or enhancement packs, period. The "near-continuous availability" in this context refers to zero unplanned downtime. In my experience this is not the case either. We had several instances of unplanned downtime, the most recent had to do with issues when the CECs got to 100% CPU utilization for a brief period of time and could not free some asinine small memory area that caused the entire sysplex to pause all LPARs until it was dealt with(yes, this could be dealt with using system automation but our Z folks would prefer to deal with these manually since each situation can be different). We worked with IBM on a PMR for several months, but our eventual "workaround" was much better. We stopped running our DB2 instances as active/active and never had the problem again. We chose this "workaround" because we knew we were abandoning the platform and any of the test fixes from IBM required a rolling update of z/OS in all LPARs (10 total at the time), which is a major hassle, especially when you do it several times applying several different fixes until the problem is finally solved.
    We also experienced some issues with DB2 z/OS itself. In one case, some data in a table in production got corrupted (yikes!!) SAP support helped us correct the data based on our QA system and IBM delivered a PTF (or maybe it was a ++APAR) to correct the problem. We also had several instances of strange poor performance in ERP or BI that were solved with a PTF or by using some special RUNSTATS output by some IBM DB2 tool our DBAs ran when we gave them the "bad" query. Every time we updated DB2 z/OS with an RSU felt like a craps shoot. Sometimes there were no issues revealed during testing, other times major issues were uncovered. This made us very hesitant when it came to patching DB2 and also made us stay well behind currently available maintenance so we could let other organizations identify problems.
    Back to the topic of downtime related to DB2 z/OS itself, we know another company which runs SAP on Z that takes several hours of downtime each week (early Sunday morning I think) to REORG some large BLOB tables(if you're not in the monthly conference call for SAP on DB2 z/OS organizations, I suggest you join in). The need for RUNSTATS and REORGs to be dealt with explicitly (typically once a day for RUNSTATs and once a week for REORGs, at least for us) is a major negative of the platform, in my opinion. It is amazing what "proper" RUNSTATS can do to a previously poor performing query(hours reduced to seconds!). Also, due to the way REORGs are handled in DB2 z/OS, you'll need a lot of extra disk space for the image copies which get created. In our experience you need enough temp disk to hold the shadow copy of the largest table being REORGd and the image copies of the largest tables that are REORGd in the same time period. I recall that the image copies can be migrated to tape or virtual tape to free the image copy space back up using a periodic job, but it was a huge amount of trial and error to properly size this temp disk space, especially when the tables requiring a REORG are not the same week-to-week. We heard that with DB2 z/OS v10 that RUNSTATS and REORGs will be dealt with automatically by DB2, but I do not know if it has even been certified for SAP yet(based on recent posts in this forum it would appear not). Even when it is, I would not recommend going to it immediately(we made this mistake when DB2 z/OS v9 was certified and suffered for months getting bugs with SAP and DB2 interoperability fixed). Also, due to the way that REORGs work on BLOB tables, there will be a period of table unavailability. The caused us some issues/headaches. There are some extra REORG parameters you can set, but these issues are still always a possibility and I think that is why the company mentioned previously just took the weekly downtime to finish the REORGs on their large BLOB tables. They are very smart folks that are very experienced with zSeries and they engaged IBM experts for assistance to try and perform the REORGs online and yet they still take the downtime to perform the BLOB REORGs offline. In contrast, these periodic database tasks do not require our Basis team to do anything with SQLServer and do not cause our end-users grief when a table is unavailable.
    Our reasons for moving platforms (which, let me assure you was a major undertaking and was considered long and hard) were based on 3 things:
    1. Complexity
    2. Performance
    3. Cost
    When I speak of complexity, let me give you some data... There was a time when ~50% of all of the OSS messages the Basis team opened with SAP were in the BC-DB-DB2 category. In contrast, I think we've opened 1 or 2 OSS messages in the BC-DB-MSS category ever. Many of the OSS messages for DB2 z/OS resulted in a fix from either SAP or from IBM. We've had seveal instances of applying a PTF, ++APAR, or RSU to z/OS and/or DB2 which fixed serious "unable to perform a job function" problems with SAP. We've yet to have to apply a single update to Windows or SQLServer to fix an issue with SAP.
    To summarize... Comparing our previous and current SAP platforms, the performance was slower, the cost higher, and the complexity much higher. I have no doubt (especially with the newer Z10 and zEnterprise 196) that we could certainly have built a zSeries SAP solution which performed on par with what we have now, but.... I could not even fathom a guess as to the cost. I suspect this is why you don't see any data  for the standard SAP SD benchmark on zSeries.
    I suspect you're already committed to the platform since deploying a Z machine, even in a lab/sandbox environment isn't as easy as going down to your local computer dealer and buying a $500 test server to install on, but... If you wanted to run SAP on DB2 I would suggest looking at DB2 LUW on either X86_64 Linux or on IBM's pSeries platform.
    Brian

  • Personas suddenly not working Firefox 30, 31, 32 on Win 7 Pro x64 and Linux Mint 16 x64

    Personas which have been working for a long time suddenly quit working on Win 7 and Linux. I tried changing to a different persona to change the background for the top border of the window and it just goes to some odd color and the personas just don't show up. This has been with Firefox 30, 31, 32. The personas still work with Win XP Pro run as a virtual machine on Win 7 host or Win 8 host. I thought it was a Windows thing until I saw the same problem with Linux. Everything else seems normal so this isn't a real bad problem. It's just odd.

    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto

    h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
    Version: B
    Author: Dude, 24. May 2011
    The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
    Access to the Internet is required.
    The instructions cover the following additional topics:
    - Converting Red Hat based Oracle XE installer to Ubuntu.
    - Work-around for missing /sbin/chkconfig tool.
    - Install Oracle XE into a different directory or disk volume.
    - Relocate and configure the Oracle user and default login directory.
    - Uninstall, reconfigure and perform first database backup.
    - Notes and web links.
    - Troubleshooting
    h3. A) System Setup and Prerequisites
    h4. A.1. System Access
    You will need terminal command line, root and system console access to perform the setup tasks.
    To open a Terminal at the system console:
    Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
    sudo apt-get install openssh-server
    sudo passwd root
    Verify:
    ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
    The following is required in order to install Oracle 11gR2 XE:
    sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
    sudo apt-get install vimh4. A.3. System Swap space
    Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
    To analyze current swap space and memory configuration:
    sudo cat /proc/meminfo
    To install a 1 GB swapfile named swapfile in /, for example:
    sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
    (this may take a while)
    sudo mkswap /swapfile
    sudo swapon /swapfile
    sudo cp /etc/fstab /etc/fstab.orig
    sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
    Verify:
    sudo swapon -a
    sudo swapon -sh4. A.4. Kernel Parameters
    Oracle 11g XE requires the following additional kernel parameters:
    sudo nano /etc/sysctl.d/60-oracle.conf
    (Enter the following)
    # Oracle 11g XE kernel parameters
    fs.file-max=6815744
    net.ipv4.ip_local_port_range=9000 65000
    kernel.sem=250 32000 100 128
    kernel.shmmax=536870912
    (Save the file)
    Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
    Verify: sudo cat /etc/sysctl.d/60-oracle.conf
    Load new kernel parameters:
    sudo service procps start
    Verify:
    sudo sysctl -q fs.file-max
    -> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
    The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
    Install Oracle XE to separate disk volume:
    From the system console menu: System > Administration > Disk Utility
    Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
    Notice the device name e.g. /dev/sdb
    Get the drive UUID:
    sudo blkid
    e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
    Modify /etc/fstab to automatically mount the volume at system startup:
    sudo cp /etc/fstab /etc/fstab.original
    sudo nano /etc/fstab
    (Add the following, using determined UUID, for exmple)
    UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
    (Save the file)
    Create the mount-point, mount the new volume and set ownership and privileges:
    sudo mkdir /u01
    sudo mount -a
    sudo chown root:root /u01
    sudo chmod 755 /u01
    Verify:
    df -h
    or restart the systemYou can also install Oracle XE into a specific directory:
    Create a symbolic link to store the installation into an existing directory, for instance:
    sudo mkdir /home/oracle-xe
    sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
    h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
    Please see section E.3. to download the Oracle 11gR2 XE installer.
    Select the version listed for Linux x64.
    sudo unzip linux.x64_11gR2_OracleXE.zip
    sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
    (This may take a while)h4. C.2. Create a special chkconfig script
    The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
    Create /sbin/chconfig:
    sudo nano /sbin/chkconfig
    (Cut and paste the following)
    #!/bin/bash
    # Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
    file=/etc/init.d/oracle-xe
    if [[ ! `tail -n1 $file | grep INIT` ]]; then
       echo >> $file
       echo '### BEGIN INIT INFO' >> $file
       echo '# Provides:             OracleXE' >> $file
       echo '# Required-Start:       $remote_fs $syslog' >> $file
       echo '# Required-Stop:        $remote_fs $syslog' >> $file
       echo '# Default-Start:        2 3 4 5' >> $file
       echo '# Default-Stop:         0 1 6' >> $file
       echo '# Short-Description:    Oracle 11g Express Edition' >> $file
       echo '### END INIT INFO' >> $file
    fi
    update-rc.d oracle-xe defaults 80 01
    (Save the file)
    Set appropriate execute privileges:
    chmod 755 /sbin/chkconfig
    Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
    h4. C.3. Install and configure Oracle XE
    sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
    /etc/init.d/oracle-xe configure
    (This will take a while)
    Remove the /sbin/chkconfig script, which is no longer needed.
    sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
    The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
    Exit all Oracle user sessions:
    sudo /etc/init.d/oracle-xe stop
    sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
    sudo userdel oracle
    sudo useradd -s /bin/bash -G dba -g dba -m oracle
    sudo passwd oracle
    Verify:
    sudo id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
    In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
    sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
    It is not essential to allow the Oracle user to use sudo, but it is convenient:
    usermod -G admin oracle
    Verify:
    id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
    sudo su -
    -> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
    After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
    The following will correct the problem if necessary:
    Login as user Oracle or use:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following command:
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    exith3. D) Unintstall, Reconfigure and Troubleshooting
    h4. D.1. Uninstall Oracle 11g XE
    The following will completely uninstall and remove Oracle 11g XE:
    Login as user root:
    sudo su -
    /etc/init.d/oracle-xe stop
    dpkg --purge oracle-xe
    rm -r /u01/app
    rm /etc/default/oracle-xe
    update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
    Type the following in a terminal window:
    /etc/init.d/oracle-xe stop
    sudo rm /etc/default/oracle-xe
    /etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
    Login as user Oracle:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following commands:
    shutdown immediate
    startup mount
    alter database archivelog;
    alter database open;
    exit
    Login to system console of the Oracle user account:
    Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
    h4. E.1. Oracle 11g XE limitiations overview
    - It will consume, at most, processing resources equivalent to one CPU.
    - Only one installation of Oracle Database XE can be performed on a single computer.
    - The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
    - The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
    - HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
    h4. E.2. Documentation and Links
    Official documentation for Oracle 11gR2 XE can be found at:
    http://www.oracle.com/pls/xe112/homepage
    h4. E.3. Oracle 11g XE downloads
    The Installer is available from the Oracle Technology Network at:
    http://www.oracle.com/technology/products/database/xe
    http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
    h4. E.4 APEX links and archives
    The APEX archives can be found at:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
    The APEX download site is:
    http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
    h3. F) Troubleshooting
    ... in progress
    Regards and best of luck!
    Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.

    even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
    The configuration script tells you "You must be root user to run the configure script. Login as root user and
    then run the configure script."
    This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
    Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems.

Maybe you are looking for

  • Batch Rename Sequence Letter Doesn't Start with A

    I'm using Adobe Bridge CS3 to rename files. Several of the files require me to use the SEQUENCE LETTER function under BATCH RENAME. However, the names of the files contain a sequence of letters that start in the MIDDLE of the ALPHABET (i.e.  C, D, E,

  • What do I need to make a PDF of an email in Outlook 2003

    What do I need to make a PDF of an email in Outlook 2003

  • Disk utility only showing 31gb of 80gb after format

    I just swapped a western digital 80gb hard drive from a windows computer into a powermac G3 and i fired up disk utility to format it for a mac, everything formatted fine but it is only showing 31.5gb out of the entire 80. Any idea what to do here? I

  • Does my MacPro have BlueTooth or not?

    I have a MacPro 4,1 (2.66 GHz quad-core, 3 GB RAM) that Apple offered as a replacement for my PowerMac G5 after I had problems with the logic board 3 different times over less then 1 year. On the menubar the Bluetooth icon was there so I click on the

  • Create Report Painter using LIS table

    Hi Expert, I'n new in ECC version but I found we can create report painter using LIS table, but I'm not success to create report without error or debug Anybody have the documentation about it ?  or tell me how it works ... Please ..urgent...need to t