How use comand java in red hat terminal

i just started to use red hat and i dont have any IDE i already found how complile a package but i can�t run it i try whit a class with out a package and work but when i try tu run a package dont work i�m using the comand:
/usr/java/j2sdk1.4.2_05/bin/./java -classpath /home/ea01984/public_html/server/ servidorredes.main
the package name is servidorredes and the main class is in the file main.class

Read Setting the Classpath & How Classes are Found for [Solaris and Linux] here:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html

Similar Messages

  • How to install Java on Red Hat

    Does anyone know how to install Java on Red Hat. I'm having problems installing it, and I can't really find any instructions anywhere on how to go about it. Thanks.

    Java won't run on Red Hat because of firewall
    problems.What ? Since when ? But there are problems with certain versions of RH.
    Nothing to do with a firewall though.
    >
    It only runs on Sun and Windows 95.
    But not the Vax version.

  • How to configure DNS on RED HAT 5,4

    Hello Linux experts
    I'm need to configure dns service for Oracle RAC 11gR2
    For dns server, I'm using the hosts for RAC.
    How to configure DNS on RED HAT 5.4 ?
    Anyone have a manual for do this ?
    Best Regardss

    Regardless of whether your will find tools or perl scripts like h2n, or manage your configuration files directly, you will need to get yourself familiar with basic DNS concepts and terms. A DNS cluster is a number of nameservers that share DNS records. You may perhaps rather want to setup a DNS server system consisting of a master and slave DNS server for your authoritative zone (domain name) on each node, but also configure for DNS forwarding and perhaps caching to public DNS servers on the internet. You may want to configure primary and secondary DNS records on your client sides in /etc/resolve.conf, perhaps also using some round-robin or timeout options.
    I'm afraid Google will be your best friend. You may find below links helpful in your approach:
    http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_%3A_Ch18_%3A_Configuring_DNS
    http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/domain-name-server.html
    http://www.redhat.com/magazine/025nov06/features/dns/
    http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/dns-static.htm

  • How to install JDK on RED HAT - Linux interprise 5?

    Hello!
    How to install JDK on RED HAT - Linux interprise 5?
    Thanks!!!

    I did.
    But I have got an error:
    [user@localhost Desktop]$ cd jdk-6u22-linux-i586-rpm.bin ./jdk-6u22-linux-i586-rpm.bin
    bash: cd: jdk-6u22-linux-i586-rpm.bin: Not a directory
    [user@localhost Desktop]$ ./jdk-6u22-linux-i586-rpm.bin
    Unpacking...
    Checksumming...
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
    inflating: jdk-6u22-linux-i586.rpm
    inflating: sun-javadb-common-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-core-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-client-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-javadoc-10.5.3-0.2.i386.rpm
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Installing JavaDB
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Done.
    What is the problem?
    Thanks!

  • Oracle 10g/11g database use on UEK versus Red Hat kernel? How widely used?

    Greetings
    is there any official or semi-official information regarding how widely used is Oracle UEK to run Oracle 10g/11g database (RAC or single-node) versus running Oracle database on Red Hat Linux or on Oracle Linux with Red Hat kernel ?
    I am asking because at my customer site there is a perception that Red Hat (or Oracle Linux with Red Hat kernel) is much more widely used in production to run Oracle 10g/11g database and therefore it will provide better stability even if the performance may be somewhat reduced compared to Oracle UEK option.
    So I need some sort of approximate percentage numbers of how well is UEK used in Linux Oracle community to run Oracle 10g/11g databases.
    Many thanks.
    Yuri B

    The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. Well, in my opinion, a higher market share does not reflect the quality or reliability of a product. Take MS Windows for example. Unfortunately, the reason for success is often not due to knowledge and experience, but rather due to fear and sheep effect or herd behavior.
    Perhaps you can use other arguments or questions to help you to make a decision, eg.:
    Oracle has a better understanding of what Oracle products require than Red Hat.
    Oracle takes full responsibility for the OS and Database, no finger pointing.
    Oracle tries to provide a better product than the RHEL kernel.
    The Oracle UEK kernel contains Oracle driver software, not available for RHEL 6 or later.
    Oracle updates are free of charge, RHEL requires a subscription.
    Oracle as a company is about 20 times bigger than Red Hat.
    There can be reasons that require the use of the original RHEL kernel, for instance if the vendor of a specific driver for your hardware demands it. But otherwise...

  • Using gdb in Linux Red Hat 4.0 Update 1

    Hi,
    I am executing the following command
    jdb -connect sun.jvm.hotspot.jdi.SAPIDAttachingConnector:pid=22375
    I called jps to determine the pid in the above command.
    I am using
    Linux apollo.us.oracle.com 2.6.9-42.0.2.EL #1 Thu Aug 17 17:36:53 EDT 2006 i686 i686 i386 GNU/Linux
    Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
    I am getting the following error
    java.io.IOException
    at sun.jvm.hotspot.jdi.SAPIDAttachingConnector.attach(SAPIDAttachingConnector.java:98)
    at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
    at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
    at com.sun.tools.example.debug.tty.Env.init(Env.java:63)
    at com.sun.tools.example.debug.tty.TTY.main(TTY.java:964)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.jvm.hotspot.jdi.SAPIDAttachingConnector.attach(SAPIDAttachingConnector.java:86)
    ... 4 more
    Caused by: java.lang.RuntimeException: field "_finalizer_register_method" not found in type Universe
    at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:156)
    at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:163)
    at sun.jvm.hotspot.types.basic.BasicType.getField(BasicType.java:167)
    at sun.jvm.hotspot.types.basic.BasicType.getOopField(BasicType.java:240)
    at sun.jvm.hotspot.oops.ObjectHeap.initialize(ObjectHeap.java:136)
    at sun.jvm.hotspot.oops.ObjectHeap.<init>(ObjectHeap.java:152)
    at sun.jvm.hotspot.runtime.VM.getObjectHeap(VM.java:446)
    at sun.jvm.hotspot.jdi.VirtualMachineImpl.init(VirtualMachineImpl.java:173)
    at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForPID(VirtualMachineImpl.java:208)
    ... 9 more
    I would appreciate if you have any insights.
    Thanks,
    Mustafa

    the /etc/oratab file :
    eshopdb:/opt/app/oracle/product/10.2.0/db_1:Y
    the /etc/init.d/dbora file :
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_HOME=/opt/app/oracle/product/10.2.0/db_1
    ORA_OWNER=oracle
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
    'stop')
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop"
    esac

  • How to install 11i on Red Hat Linux 64 bit

    I'm having problems installing Oracle 11i on Red Hat Linux 64. I understand that it is not supported, however I need to go through the exercise of implementing OATM and then upgrade to 12.
    I've started the install and I continue to hit this problem.
    Any advise on how to get around this issue. Oracle Support insist on using 32bit. I do have a co-worker that has been able to install it on Red Hat 64bit.
    Step 1 of 5
    /DAT01/ebs/DataTop/visdb/9.2.0/temp/VIS_rac1/adrun9i.sh
    Completed unzip 67 of 108
    with 62% complete

    Hi;
    I'm having problems installing Oracle 11i on Red Hat Linux 64. I understand that it is not supported, however I need to go through the exercise of implementing OATM and then upgrade to 12. You mean oracle database 11g or you mean oracle e-business suite 11i? I am little confused
    If you mention oracle database 11g than check below
    What is exact linux version. Oracle 11gr2 certified wiht linux64. Please check:
    http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    I've started the install and I continue to hit this problem.
    Any advise on how to get around this issue. Oracle Support insist on using 32bit. I do have a co-worker that has been able to install it on Red Hat 64bit.
    Step 1 of 5
    /DAT01/ebs/DataTop/visdb/9.2.0/temp/VIS_rac1/adrun9i.sh
    Completed unzip 67 of 108
    with 62% completeIf you mention Oracle E-Busines suite than you can not install apps tier on 64 bit which is not supported.
    Regard
    Helios

  • How to Install Oracle on Red Hat Linux?

    My System is having P4 1.8 GHz Processor with 128 MB RAM, 40 GB HDD(7 GB Linux Partition + 1 GB Swap Partition). I have installed Red Hat Linux 9(Server). Now, I want to install Oracle 9 on this syste. But I don't know how to install it. Anyone who knows this, plz, mail me the necessary system requirements alongwith some settings, if any. My Email ID is [email protected]/[email protected]

    I think you'll have some problems with 128MB RAM.....<br><br>
    :P Nonsense, but I do hope that hard drive is one of those new, fancy flash hard drives, otherwise the system will spend so much time swapping that it won't get past the installer.

  • How to invoke rman under red hat

    hi, friends, i want to use rman for the database in the red hat. however after i typed the command of rman, no responses come out.
    what is the reason?
    thanks

    Take a look at MetaLink <Note:101050.1>.
    Under a default REDHAT LINUX 6.1 and 6.2 install, a KDE program called rman (a file
    viewing / editing program) is installed under /usr/bin. If this is listed
    prior to $ORACLE_HOME/bin in the users PATH environment then it is
    called instead of Oracle RMAN.
    Ensure that correct RMAN executable is being run by typing
    $which rman
    The output will most likely show '/usr/bin/rman'
    Execute RMAN by typing in the following:
    $ORACLE_HOME/bin/rman
    Another solution is to add $ORACLE_HOME/bin before /usr/bin
    in the PATH environment variable
    Hope that helps.
    Tammy

  • How to install jsdk on Red Hat Linux 9.0

    Im new user of Linux using RedHat Linux9.0 with kernel-2.4.20-8 with /lib/libc-2.3.2.so ....
    Ive downloaded both: j2sdk-1_3_1_08-linux-i586.bin and j2sdk-1_3_1_08-linux-i586.rpm.bin and execute the following commands but there was no results not even error...commands were:
    chmod a+x j2sdk-1_3_1_08-linux-i586-rpm.bin ./j2sdk-1_3_1_08-linux-i586-rpm.bin
    chmod a+x j2sdk-1_3_1_08-linux-i586.bin ./j2sdk-1_3_1_08-linux-i586.bin
    Ive follwed the instructions of Installation notes on http://java.sun.com/j2se/1.3/install-linux-sdk.html
    Now plz tell me what shuold I do and another problem is that Im trying to install JBuilder7 on Linux but its not installing and even no response when I execute the installation file..

    Hi , how are you ??
    I have a problem with the installation.
    I had followed the step mentioned above but only the root can use java/javac.
    This is my /etc/profile :
    # /etc/profile
    # System wide environment and startup programs, for login setup
    # Functions and aliases go in /etc/bashrc
    pathmunge () {
         if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
         if [ "$2" = "after" ] ; then
         PATH=$PATH:$1
         else
         PATH=$1:$PATH
         fi
         fi
    # Path manipulation
    if [ `id -u` = 0 ]; then
         pathmunge /sbin
         pathmunge /usr/sbin
         pathmunge /usr/local/sbin
    fi
    pathmunge /usr/java/j2sdk1.4.1_02/bin after
    pathmunge /usr/X11R6/bin after
    unset pathmunge
    # No core files by default
    ulimit -S -c 0 > /dev/null 2>&1
    USER="`id -un`"
    LOGNAME=$USER
    MAIL="/var/spool/mail/$USER"
    JAVA_HOME="/usr/java/j2sdk1.4.1_02"
    CLASSPATH="/usr/java/j2sdk1.4.1_02/lib:."
    HOSTNAME=`/bin/hostname`
    HISTSIZE=1000
    if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
    INPUTRC=/etc/inputrc
    fi
    for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
         . $i
    fi
    done
    unset i
    export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC JAVA_HOME CLASSPATH
    What is the error .. ??
    Help me please!!

  • How to install Apache on Red Hat Linux Server-5.....Urgent Reply

    I have rhel-5 and i need to instal apache on that.I dont have any idea about that.
    Someone please explain step by step how to proceed with it.

    944096 wrote:
    I have rhel-5 and i need to instal apache on that.I dont have any idea about that.
    Someone please explain step by step how to proceed with it.why is it URGENT for me to provide you with any assistance?
    when all else fails Read The Fine Manual
    http://www.oracle.com/pls/db112/portal.portal_db?selected=11
    Handle:     944096
    Status Level:     Newbie
    Registered:     Jul 2, 2012
    Total Posts:     10
    Total Questions:     6 (5 unresolved)
    why do you waste time here when you rarely get your questions answered?

  • HOw to uninstall OBIEE in Red Hat Linux?

    Hello All,
    How do I completely uninstall OBIEE in Linux (RHEL 5, in my case)?
    I tried running setup again, and it did not have any options for removal. The only options were to update the existing installation or to perform a fresh install.
    Should I simply remove the OracleBI and OracleBIData directories? Would that be the way to "uninstall" OBIEE in Linux?
    Thank you for any help.
    -sb

    The majority of the programs in Linux can be uninstalled by simply removing the directory where they are installed. OBIEE is not the exception.

  • Correct version of Java SDK for Red Hat 4 ES on x86_64

    I need to install the Java SDK for Red Hat 4 ES on x86_64 and I'm unable to find the correct version to download.
    Note 716604 says to download 1.4.2_13 at java.sun.com but the I can't find the Linux x86_64 bit version.  Note 941595 is for Windows and Solaris only.
    Red Hat's site mentions two versions; java-1.4.2-ibm and java-1.4.2-bea.  I cannot find any SAP notes that mention those names.  Has anyone used these successfully on Red Hat 4 x86_64?
    Does anyone know where I can download the correct version of Java SDK?
    Thanks

    <a href="https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=lxdk&S_PKG=amd64142sr7&S_TACT=105AGX05&S_CMP=JDK&lang=en_US&cp=UTF-8">https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=lxdk&S_PKG=amd64142sr7&S_TACT=105AGX05&S_CMP=JDK&lang=en_US&cp=UTF-8</a>
    I can open that link without a problem.
    Check again...
    Markus

  • Installation of Oracle AS 10g on Red Hat ES 3.0

    Installation of Oracle AS 10g on RedHat ES 3.0 (All issues are cleared and u will b done with no error like Java Configuration Failed and make files errors)
    Red Hat Enterprise Linux 3 Custom Installation
    Copy from OTN Note
    Start
    Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
    1.     Boot the server using the first CD.
    o     You may need to change your BIOS settings to allow booting from the CD.
    2.     The boot screen appears with the boot: prompt at the bottom of the screen.
    o     Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
    o     The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
    3.     Language Selection
    o     Accept the default.
    4.     Keyboard Configuration
    o     Accept the default.
    5.     Welcome Screen
    o     Click on Next.
    6.     Mouse Configuration
    o     Accept the default.
    7.     Installation Type
    o     Select Custom.
    8.     Disk Partitioning Setup
    o     A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
    (WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
    This article uses the following partitioning scheme, with ext3 for each filesystem:
    The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
    - 100MB /boot partition
    -1,500MB swap partition—Set this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
    -7,150MB root partition— This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
    9.     Boot Loader Configuration
    o     Accept the default.
    10.     Network Configuration
    o     It is usually best to configure database servers with a static IP address. To do so, click on Edit.
    o     A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
    o     In the Hostname box, select manually and enter the hostname.
    o     In the Miscellaneous Settings box, enter the remaining network settings.
    11.     Firewall Configuration
    o     For the purposes of this walk-through, no firewall is configured. Select No firewall.
    12.     Additional Language Support
    o     Accept the default.
    13.     Time Zone Selection
    o     Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
    14.     Set Root Password
    o     Enter a password for root, and enter it again to confirm.
    15.     Package Group Selection
    o     Select only the package sets shown here. Leave all others unselected.
    o     Desktop
    - X Window System
    - Gnome
    - KDE
    - See my comments in the RHES 2.1 section regarding choice of GUI.
    o     Applications
    - Editors
    - Graphical Internet
    o     Servers
    - Do not select anything in this group.
    o     Development
    - Development Tools
    o     System
    - Administration Tools
    o     Red Hat Enterprise Linux
    - Do not select anything in this group.
    o     Miscellaneous
    - Legacy Software Development
    o     Click on Next to proceed.
    16.     About to Install
    o     Click on Next.
    17.     Installing Packages
    o     Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
    18.     Graphical Interface (X) Configuration
    o     Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
    19.     Monitor Configuration
    o     Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
    20.     Customize Graphical Configuration
    o     Accept the defaults.
    21.     Congratulations
    o     Remove the installation media from the system, and click on Next.
    22.     The system automatically reboots and presents a new welcome screen.
    o     Click on Next.
    23.     License Agreement
    o     Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
    24.     Date and Time
    o     Set the Date and Time.
    o     If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
    25.     User Account
    o     Create an account for yourself.
    o     Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
    26.     Red Hat Network
    o     If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
    27.     Additional CDs
    o     Click on Next.
    28.     Finish Setup
    o     Click on Next.
    29.     A graphical login screen appears.
    30.     Congratulations! Your Linux software is now installed.     
    End of OTN Note
    Now just install compat-db-4.0.14-5.i386.rpm
    Gnome-libs-1.4.1.2.90-34.1.i386.rpm
    Libpng10-1.0.13-8.i386.rpm
    ORBit-0.5.17-10.4.i386.rpm
    Install patch 3006854
    Copy libcwait.so file from /etc to /lib
    And make links
    mv /usr/bin/gcc     /usr/bin/gcc323
    mv /usr/bin/g++     /usr/bin/g++323
    ln –sf /usr/bin/gcc296     /usr/bin/gcc
    ln –sf /usr/bin/g++296     /usr/bin/g++
    Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 256 65000 200 256
    fs.file-max = 131072
    net.ipv4.ip_local_port_range = 1024 65000
    kernel.msgmnb=65556
    kernel.msgmni=4096
    Then restart the computer
    Login with Oracle user
    now path setting as
    I have done this by make two environment files
    Infra.env
    TMP=/tmp
    Export TMP
    TMPDIR=$TMP
    Export TMPDIR
    ORACLE_BASE=/oracle
    Export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/appsrv/infra
    Export ORACLE_HOME
    ORACLE_SID=asdb     (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
    Export ORACLE_SID
    PATH=/usr/bin:/usr/sbin
    Export PATH
    PATH=$PATH:$ORACLE_HOME/bin     (u can include command paths like dcm as u needed)
    Export PATH
    LD_ASSUME_KERNEL=2.4.19
    Export LD_ASSUME_KERNEL
    Copy this file with name as.env and change ORACLE_HOME from infra to as.
    . ./infra.env
    DISPLAY=localhost:0.0; export DISPLAY
    Xhost +
    Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
    Start installation from CD 1 .
    . ./runInstaller
    Press Y               (There is no need to disturb, upgrade, degrade any package)
    Press Y
    Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
    ] –o [  and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
    There will no error in installation in infrastructure
    Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructure’s installation plz rename that 3 files as
    Mv coredb coredb-infra
    Mv dbhome dbhome-infra
    Mv ora     â€¦     ora…-infra
    If u overwrite that files by creating same name of middle tier files no problem.
    When problem comes?
    AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
    Zeeshan
    @CES
    [email protected]

    Hi,
    I tried uname -a and it returns the following:
    Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
    We have the following problems:
    1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
    rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
         oracleasmlib-1.0.0-1.i386.rpm \
         oracleasm-support-1.0.3-1.i386.rpm \
    When I tried to install these files, I got the following error:
    Checking for Red Hat enterprise kernel: [FAILED]
    Also when I try to run /etc/init.d/oracleasm , I get the same error
    Checking for Red Hat enterprise kernel: [FAILED]
    2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
    [root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
    crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
    crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
    crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
    crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
    then tried this:
    SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
    2 failgroup c1 disk '/dev/raw/raw1'
    3 failgroup c2 disk '/dev/raw/raw2';
    create diskgroup dg1 normal redundancy
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
    [3939617408], [], [], [], [], []
    ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    Any help is appreciated.
    Irshad A. Buchh
    Senior Principal Consultant

  • Installation of OracleAS 10g on Red Hat Linux ES 3.0

    Installation of Oracle AS 10g on RedHat ES 3.0
    Red Hat Enterprise Linux 3
    Copy from OTN Note
    Start
    Oracle 10g is certified to run the base release of Red Hat Enterprise Linux 3 (Advanced Server and Enterprise Server) without updates. If you have update CDs, you can use the boot CD from the update instead of the boot CD from the base release to automatically apply all updates during the installation. All updates from Red Hat are supported by Oracle.
    1.     Boot the server using the first CD.
    o     You may need to change your BIOS settings to allow booting from the CD.
    2.     The boot screen appears with the boot: prompt at the bottom of the screen.
    o     Select Enter to continue with a graphical install on the console. (For other installation methods and options, refer to the Red Hat Installation Guide.)
    o     The installer scans your hardware, briefly displays the Red Hat splash screen, and then begins a series of screen prompts.
    3.     Language Selection
    o     Accept the default.
    4.     Keyboard Configuration
    o     Accept the default.
    5.     Welcome Screen
    o     Click on Next.
    6.     Mouse Configuration
    o     Accept the default.
    7.     Installation Type
    o     Select Custom.
    8.     Disk Partitioning Setup
    o     A thorough treatment of disk partitioning is beyond the scope of this article, which assumes that you are familiar with disk partitioning methods.
    (WARNING: Improperly partitioning a disk is one of the surest and fastest ways to wipe out everything on your hard disk. If you are unsure how to proceed, stop and get help, or you will risk losing data!)
    This article uses the following partitioning scheme, with ext3 for each filesystem:
    The 9GB disk on the first controller (/dev/sda) will hold all Linux and Oracle software and contains the following partitions:
    - 100MB /boot partition
    -1,500MB swap partition—Set this to at least twice the amount of RAM in the system but to no more than 2GB (32-bit systems do not support swap files larger than 2GB). If you need more than 2GB of swap space, create multiple swap partitions.
    -7,150MB root partition— This partition will be used for everything, including /usr, /tmp, /var, /opt, /home, and more. This was done purely to simplify installation for the purposes of this guide. A more robust partitioning scheme would separate these directories onto separate filesystems.
    9.     Boot Loader Configuration
    o     Accept the default.
    10.     Network Configuration
    o     It is usually best to configure database servers with a static IP address. To do so, click on Edit.
    o     A pop-up window appears. Uncheck the Configure using DHCP box, and enter the IP Address and Netmask for the server. Be sure that Activate on boot is checked, and click on OK.
    o     In the Hostname box, select manually and enter the hostname.
    o     In the Miscellaneous Settings box, enter the remaining network settings.
    11.     Firewall Configuration
    o     For the purposes of this walk-through, no firewall is configured. Select No firewall.
    12.     Additional Language Support
    o     Accept the default.
    13.     Time Zone Selection
    o     Choose the time settings that are appropriate for your area. Setting the system clock to UTC is usually a good practice for servers. To do so, click on System clock uses UTC.
    14.     Set Root Password
    o     Enter a password for root, and enter it again to confirm.
    15.     Package Group Selection
    o     Select only the package sets shown here. Leave all others unselected.
    o     Desktop
    - X Window System
    - Gnome
    - KDE
    - See my comments in the RHES 2.1 section regarding choice of GUI.
    o     Applications
    - Editors
    - Graphical Internet
    o     Servers
    - Do not select anything in this group.
    o     Development
    - Development Tools
    o     System
    - Administration Tools
    o     Red Hat Enterprise Linux
    - Do not select anything in this group.
    o     Miscellaneous
    - Legacy Software Development
    o     Click on Next to proceed.
    16.     About to Install
    o     Click on Next.
    17.     Installing Packages
    o     Software will be copied to the hard disk and installed. Change disks as prompted, and click on Next when the installation is complete.
    18.     Graphical Interface (X) Configuration
    o     Accept the defaults unless the installer does not recognize your video card. If your video card is not recognized, you will not be able to continue.
    19.     Monitor Configuration
    o     Accept the default if the installer correctly identifies your monitor. Otherwise, select a compatible monitor from the list.
    20.     Customize Graphical Configuration
    o     Accept the defaults.
    21.     Congratulations
    o     Remove the installation media from the system, and click on Next.
    22.     The system automatically reboots and presents a new welcome screen.
    o     Click on Next.
    23.     License Agreement
    o     Read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click on Next.
    24.     Date and Time
    o     Set the Date and Time.
    o     If you want to use an NTP server (recommended), select Enable Network Time Protocol and enter the name of the NTP server.
    25.     User Account
    o     Create an account for yourself.
    o     Do not create an account for oracle at this time. Creating the oracle account is covered later in this section.
    26.     Red Hat Network
    o     If you want to use or activate your Red Hat Network account now, accept the default, click on Next, and follow the product activation instructions that accompanied your Red Hat product.
    27.     Additional CDs
    o     Click on Next.
    28.     Finish Setup
    o     Click on Next.
    29.     A graphical login screen appears.
    30.     Congratulations! Your Linux software is now installed.     
    End of OTN Note
    Now just install compat-db-4.0.14-5.i386.rpm
    Gnome-libs-1.4.1.2.90-34.1.i386.rpm
    Libpng10-1.0.13-8.i386.rpm
    ORBit-0.5.17-10.4.i386.rpm
    Install patch 3006854
    Copy libcwait.so file from /etc to /lib
    And make links
    mv /usr/bin/gcc     /usr/bin/gcc323
    mv /usr/bin/g++     /usr/bin/g++323
    ln –sf /usr/bin/gcc296     /usr/bin/gcc
    ln –sf /usr/bin/g++296     /usr/bin/g++
    Kernel Settings as per requirement of ORACLE AS 10g in /etc/sysctl.conf
    kernel.shmall = 2097152
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.sem = 256 65000 200 256
    fs.file-max = 131072
    net.ipv4.ip_local_port_range = 1024 65000
    kernel.msgmnb=65556
    kernel.msgmni=4096
    Then restart the computer
    Login with Oracle user
    now path setting as
    I have done this by make two environment files
    Infra.env
    TMP=/tmp
    Export TMP
    TMPDIR=$TMP
    Export TMPDIR
    ORACLE_BASE=/oracle
    Export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/appsrv/infra
    Export ORACLE_HOME
    ORACLE_SID=asdb     (if u will not define SID here then while starting database u will face an error ORA-07217:sltn:environment variable cannot be evaluated)
    Export ORACLE_SID
    PATH=/usr/bin:/usr/sbin
    Export PATH
    PATH=$PATH:$ORACLE_HOME/bin     (u can include command paths like dcm as u needed)
    Export PATH
    LD_ASSUME_KERNEL=2.4.19
    Export LD_ASSUME_KERNEL
    Copy this file with name as.env and change ORACLE_HOME from infra to as.
    . ./infra.env
    DISPLAY=localhost:0.0; export DISPLAY
    Xhost +
    Now u can check that DISPLAY is ok by run the command xclock if clock appears then ok else set DISPLAY with root user ok
    Start installation from CD 1 .
    . ./runInstaller
    Press Y               (There is no need to disturb, upgrade, degrade any package)
    Press Y
    Installation will start while installing and reaches at ~50% then go to /oracle/appsrv/infra/bin open relink file and change at line # 50 i.e. remove 2 brackets
    ] –o [  and at line # 102 make= /usr/ccs/bin/make to /usr/bin/make remove ccs and save the file
    There will no error in installation in infrastructure
    Same as done with relink file in Middle tier installation. I would like to turn ur attention for a serious problem no one asked about it. Here u have seen that a script make 3 file in /usr/local/bin for infrastructure and middle tier when u finished infrastructure’s installation plz rename that 3 files as
    Mv coredb coredb-infra
    Mv dbhome dbhome-infra
    Mv ora     â€¦     ora…-infra
    If u overwrite that files by creating same name of middle tier files no problem.
    When problem comes?
    AS will work fine but when u have to install patches on AS then problem comes if u have overwrite that files. So plz rename them before creation of same files of middle tier. Thanx
    Zeeshan Ali
    @CES
    [email protected]

    Hi,
    I tried uname -a and it returns the following:
    Linux NLABLINUX 2.4.21-20.EL.c0 #1 Thu Sep 9 02:07:03 EDT 2004 i686 i686 i386 GNU/Linux
    We have the following problems:
    1. I am having a box running RHEL 3.0 (got from centos.org). I have Oracle 10g running ok. Now I tried to install ASMLIB downloaded from technet. The files are:
    rpm -Uvh oracleasm-2.4.21-EL-1.0.3-1.i686.rpm \
         oracleasmlib-1.0.0-1.i386.rpm \
         oracleasm-support-1.0.3-1.i386.rpm \
    When I tried to install these files, I got the following error:
    Checking for Red Hat enterprise kernel: [FAILED]
    Also when I try to run /etc/init.d/oracleasm , I get the same error
    Checking for Red Hat enterprise kernel: [FAILED]
    2. We created 4 raw partitions /dev/raw/raw1 - 4 using raw command.
    [root@rcdell root]# ls -l /dev/raw/raw[1,2,3,4]
    crw-rw---- 1 oracle dba 162, 1 Sep 9 11:05 /dev/raw/raw1
    crw-rw---- 1 oracle dba 162, 2 Sep 9 11:05 /dev/raw/raw2
    crw-rw---- 1 oracle dba 162, 3 Sep 9 11:05 /dev/raw/raw3
    crw-rw---- 1 oracle dba 162, 4 Sep 9 11:05 /dev/raw/raw4
    then tried this:
    SYS at +ASM on 29-DEC-04 >create diskgroup dg1 normal redundancy
    2 failgroup c1 disk '/dev/raw/raw1'
    3 failgroup c2 disk '/dev/raw/raw2';
    create diskgroup dg1 normal redundancy
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [kfdsk::grpmatch], [1],
    [3939617408], [], [], [], [], []
    ORA-00600: internal error code, arguments: [kfgrpJoin2], [5], [], [], [], [],
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    ORA-15076: Emulating I/O errors on the OSM disk
    Any help is appreciated.
    Irshad A. Buchh
    Senior Principal Consultant

Maybe you are looking for

  • There was an error while retrieving the universes from the CMS (Central Management Server). (PS 20003)

    Hi there, When I'm trying to manage spaces in SAP Business Objects Explorer 4.1 SP04, I'm getting the following error: Failed to retrieve the data source list. There was an error while retrieving the universes from the CMS (Central Management Server)

  • Oracle 8i on windows xp professional

    Hi all, I'm trying to install Oracle 8i on Windows-xp Professional. it gets installed but runs only once. that means its fails to run once I shut down the system and restart & shows the message-"oracle not found" or "tns server is not found". Can any

  • Javascript Menu reacts differently after signing in

    At this site http://forums.autodesk.com/t5/Autodesk-Inventor/bd-p/78 before I sign in, the options menu works correctly. After signing in though, the options menu does NOT work correctly, why? The secure site (after sign in) reports an invalid certif

  • Font Book 10.5.7

    Hi group! In Font Book, in Preferences, I am trying to disable the 'Alert me if system fonts change' option. But every time i quit out and reopen Font Book, it's active again. We are using a separate font manager, Universal Type Server from Extensis,

  • Adobe CS6 PhoneGap Build Service JavaScript error: At line 565

    Hello everyone, We need some help, when I click on REBUILD APPLICATION (PhoneGap Build Service) I get a dreamweaver pop up box that says: While executing onClick in PhoneGap Build Service.htm the following Java error: At line 565 of file "C:\Program