10.1.2.0.0 on Linux , lack of "clone" directory in ORACLE_HOME middleware

Hello everyone.
I have installed OAS on Redhat enteprise Linux 4 , as installation type I have chosen MIDDLEWARE only.
I'd like to clone this instance to other machine.
In cloning guide I found , that I should run first prepare_clone.pl script from ORACLE_HOME/clone direcotry, but there is no "clone" directory ...
Does anybody met this situation ?
What should I do? Is there any way to install these scripts ?
Regards
Radek

Radek,
Did you find the clone directory ?
Thanks.

Similar Messages

  • Linux version of iPlanet Directory Server 5.0 planned?

    I'm wondering if there are plans to release a Linux version of iPlanet
    Directory Server 5.0?
    If so, any estimation on when it might be released?
    Jon

    I asked the same question and was told .....
    Subject: Re: iDS 5.0 is officially released
    Date: Tue, 15 May 2001 06:00:09 -0600
    From: Richard Megginson <[email protected]>
    To: [email protected]
    All I can say at the moment about Linux support is that we are
    currently
    evaluating our options.
    Peter Allmaker wrote:
    Swell. And the Linux version will release when???------------------
    Jonathan Eric Miller wrote:
    >
    I'm wondering if there are plans to release a Linux version of iPlanet
    Directory Server 5.0?
    If so, any estimation on when it might be released?
    Jon--
    Peter Allmaker
    MCLA Computer Science 413-662-5592
    Computer Support Services 413-662-5510

  • How to install Linux in a regular directory?

    Hello,
    to try new configurations without having to manage new partitions I want to:
    install Arch Linux in a regular directory, as it is explained by this article from the Wiki;
    boot it from GRUB. In fact, add an option to GRUB so I can choose to load either the current Linux or the new one installed in a folder.
    /dev/sda9 is an ext4 partition with mount point /media/Stuff, and I want to install the new distro in /media/Stuff/Linux.
    So is it necessary to format or mount something before installing it? If so, then how to do it? If not, then is it just okay to keep following the instructions in the article?
    What gets me confused is the section Prepare a partition for Arch in the article.
    Thanks in advance.
    Last edited by ILoveJapaneseGirls (2012-01-04 04:34:21)

    Okay, so here's what I did so far:
    It wasn't necessary to format because it's already formatted (as Glorf said), so I just did all the steps until the section Configure the target system.
    Now it says to edit fstab; from the wiki:
    Edit your /etc/fstab, remembering to add /, swap and any other partitions you may wish to use. Be sure to use the /dev/sd* (sda1, sda2, sdb1, etc) for the partitions instead of /dev/hd*, as Arch uses the sdxx convention for all drives.
    But this section is confusing to me, what am I supposed to change in fstab and how should it look like?
    Here is the original fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    It's not necessary to access files "outside of the jail (of chroot)", I just want the system bootable to test new configurations without messing with the rest of the computer.
    And then we can go to the GRUB section, which I also did not understand. Just a question: is it possible edit menu.lst from the real /boot/grub adding a new line pointing to /media/Stuff/Linux/boot/ instead of configuring GRUB inside the chroot? It's just a question, we can go there next.
    Thanks

  • Oracle Linux and Windows Active Directory

    I am looking for a good article on joining an Oracle Linux server to a Windows Active directory domain.
    We are primarily a Windows shop but need to bring up a couple of Oracle Linux servers (VM Server and VM Manager). I would like to use the existing Windows domain controller for user authentication.

    I don't have experience in joining a Linux system with Windows AD, and it generally does not sound like the best idea to me, but since Oracle Enterprise Linux is a clone of Red Hat Enterprise Linux, the solution you are looking for could be called Winbind.
    Perhaps the following links are useful:
    http://spiralbound.net/blog/2007/04/11/rhel-winbind-authentication-against-active-directory
    http://www.linuxmail.info/active-directory-integration-samba-centos-5/
    http://magazine.redhat.com/2007/11/12/tips-and-tricks-how-can-i-configure-winbind-to-synchronize-user-and-group-ids-across-multiple-red-hat-enterprise-linux-hosts-on-active-directory-accounts/

  • Authentication of Unix or Linux Systems via Active Directory

    Hi,
    Is there a inbuilt solution in Windows 2012 R2 which can be used to authenticate Unix or Linux users ?
    I understand there are there are many 3rd Party solution for this but I want to know if there is any available inbuilt in Windows Server.
    Thanks
    Vivek

    What do you mean exactly?
    You can start with these:
    Mixing It Up: Windows, UNIX, And Active Directory: https://technet.microsoft.com/fr-fr/magazine/2005.01.activedirectory(en-us).aspx
    How to Join UNIX / Linux to Active Directory: http://social.technet.microsoft.com/wiki/contents/articles/25944.how-to-join-unix-linux-to-active-directory.aspx
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Oracle linux vm template - resize / directory, resize root directory

    how to resize / mount point.. When I try to resize using resize2fs its saying device is busy.
    I have added the disk to volume group and extended the logical volume but unable to resize the filesystem

    I tried exactly same with another disk but got same error please find the screen shots.

  • Is there a good GUI tool on linux for backups? What do YOU use?

    Hi all,
    I feel Linux lacks a good and simple graphical tool to do desktop backups for regular users. I'm thinking of writing one myself (probably a front-end to a good command line tool), but before I get started, I want to make sure I'm not reinventing the wheel.
    So:
    - Is there a good graphical tool available already? It should be: simple (minimalist interface, sane defaults), fast and incremental.
    - What do YOU currently use for your desktop backups?
    EDIT: rsync alone is not great, because a good backup solution keeps multiple snapshots. Imagine you deleted a file by accident 15 days ago, and realize only today: rsync won't save you.
    EDIT2 : I have tried backintime, I think it's a step in the right direction, but it's not that great. Maybe I should improve on it instead of starting something new, though.
    EDIT3 : Has anyone tried PyBackPack (http://andrewprice.me.uk/projects/pybackpack/) ? I'm trying it at the moment and it seems to be getting it right. I'd like to hear some success stories before getting my hopes to high
    Last edited by lardon (2010-05-11 13:33:55)

    It doesn't snapshot -- I occasionally back-up my back-ups and don't need that -- but it does its job well.
    #!/bin/bash
    ### System Backup ##############
    # Version 0.5 by Scott Garrett #
    # Wintervenom [(at)] gmail.com #
    backup_label="demonpit"
    exclude="/dev/shm/rsync-excludes.rc"
    excludes=(
    'tmp/*' # Temp files.
    'tmp/.*' # Hidden temp files.
    '.mozilla/firefox/*/Cache' # Firefox caches...
    'cookies.sqlite' # Mozilla-based cookies.
    'formhistory.sqlite' # Mozilla-based form history.
    '.thumbnails' # Thumbnail cache.
    '.recently-used.xbel' # Recent-open history.
    '.ccache' # Compiler caches
    'sessionstore.js' # Firefox session-saves.
    '.gvfs' # GNOME virtual filesystem.
    '.local/share/Trash' # XDG trash.
    '.local/share/user-places*' # Recent-open history.
    '.purple/logs' # Pidgin/Finch logs.
    '.cache/Thunar/thumbnailers.cache' # Thumbnailer cache.
    '.cache/chromium' # Chrome cache.
    '*~' # Backup/temp files.
    out () {
    echo ">> $*"
    stat_done () {
    echo ">> ...done."
    stat_fail () {
    echo ">> ...failed!"
    if [ $UID != '0' ]; then
    echo "Must be executed as root user."
    exit 1
    fi
    out "Mouting backup device ('$backup_label')..."
    backup_dev=`readlink -f "/dev/disk/by-label/$backup_label"`
    if mount | grep -qF "$backup_dev on"; then
    backup_root=`mount | grep -F "$backup_dev on" | cut -d' ' -f3`
    echo " - This device seems to already be mounted at '$backup_root'."
    echo ' Do you want to use this, instead (y/N)?'
    echo -n ' << '
    read -n1 confirm
    echo
    [ "$confirm" != 'y' ] && exit 1
    else
    backup_root="/mnt/$backup_label"
    mkdir -p "$backup_root"
    if ! mount -o noatime,user "$backup_dev" "$backup_root"; then
    echo ' - Failed to mount device.'
    exit 1
    fi
    echo ' - Device mounted successfully.'
    fi
    out "Backing up system..."
    echo > /tmp/rsync-excludes.rc
    for file in ${excludes[@]}; do
    echo "$file" >> "$exclude"
    done
    rsync -axl -h --progress --delete --delete-excluded --exclude-from="$exclude" /{home,usr,opt,var,*bin,lib*,etc,boot,root,srv} "$backup_root/$HOSTNAME"
    mkdir -p "$backup_root/$HOSTNAME/"{dev,sys,proc,tmp,mnt,media}
    mkdir -p "$backup_root/$HOSTNAME/var/"{tmp,lock}
    chmod 1777 "$backup_root/$HOSTNAME/tmp" "$backup_root/$HOSTNAME/var/"{tmp,lock}
    stat_done
    out "Backing up package list..."
    pacman -Qqe | grep -v "$(pacman -Qmq)" > "$backup_root/$HOSTNAME/pacman.list"
    pacman -Qmq > "$backup_root/$HOSTNAME/aur.list"
    stat_done
    out "Unmouting backup partition..."
    if umount "$backup_dev"; then
    rmdir "$backup_root/$HOSTNAME"
    rmdir "$backup_root"
    else
    echo ' - Could not unmount.';
    fi

  • How to backup a Linux server over ssh using Leopard?

    I have a server running Linux, and my main machine is a Macbook running Leopard. I want to back up the entire root directory (including subdirectories) of the Linux server to an external HDD attached to Macbook.
    My initial thought was to mount the Linux server's root directory on Leopard using sshfs, and then use RSyncX to backup that mounted directory on external HDD attached to Leopard. Unfortunately sshfs mounted directories are not treated as "drives" by RsyncX (and a lot of other apps).
    Can someone help? Thanks!

    I am currently in the process of setting up a small form factor pc running a linux distro as my router/firewall and will be looking for a backup system on my network which is mostly mac based.
    I just googled 'timemachine for linux' and got a few good results.
    http://handsonhowto.com/2007/timemachine4linux/
    and also a tool call flyback
    You could also try setting up your backup drive as an NFS sharepoint.
    http://macresearch.org/nfs-exports-leopard
    I know my post does not answer your issue directly but flyback is the solution I am going to try.

  • Unable to run ALBPM Ant tasks on Linux

    Hi,
    I am trying to execute a simple build script that creates a session with given directory details and deploys/publishes a project on to the Enterprise Server. With usual modifications, this scripts works fine on Windows, but on Linux it keeps on giving an error that makes no sense. I am copying my build file as well as error stack trace below. Please help me on urgent basis.
    OS: Linux 64 bit
    Oracle Enterprise Server: 10.3.1.0.0
    JAVA_HOME=/usr/java/jdk1.6.0_16
    ANT_HOME=/usr/ant/apache-ant-1.8.1
    build.xml
    <!-- This script publishes and deploys a BPM Project, undeploys and unpublishes a BPM Project, Export Organisation.xml -->
    <project name="sampleproj"
         xmlns:fuego="antlib:fuego.tools.ant.enterprise"
         xmlns:fuego.j2ee="antlib:fuego.tools.ant.j2ee">
    <!-- Include properties -->
    <property file="build.properties"/>
    <echo message="Enterprise Home Directory:: ${fuego.basedir}" />
    <echo message="Ant Version:: ${ant.version}" />
    <echo message="Connecting to directory:: ${fuego.directoryid}" />
    <fuego:passport id="passport"
    directoryid="${fuego.directoryid}"
    preset="engine" />
    <target name="publish-on-linux" description="Publish and deploy processes">
    <echo message="Creating session..."/>
    <!-- Open a session to the ALBPM directory -->
    <fuego:session passportref="passport"
    verbose="true"
    haltonerror="true">
    <!-- Publish processes -->
    <fuego:publish fpr="${bpm.project.path}"
    deploy="true"
    engine="${fuego.engine}"
              haltonerror="true"
              importdata="true"
              automapconfigs="true"
              automapvars="true"
              automaproles="true"
              automapbuspars="true"
              importcustomviews="true">
    </fuego:publish>
    </fuego:session>
    </target>
    </project>
    build.properties
    # Enterprise installation directory
    fuego.basedir=/opt/OraBPMwlHome
    # Name of ALBPM Engine to deploy to
    fuego.engine=bpmengine
    # Project to deploy
    bpm.project.path=/usr/test_ant/sampleproj
    # Directory details
    fuego.directoryid=default
    Error on running the target publish-on-linux
    [echo] Enterprise Home Directory:: /opt/OraBPMwlHome
    [echo] Ant Version:: Apache Ant version 1.8.1 compiled on April 30 2010
    [echo] Connecting to directory:: default
    publish-on-linux:
    [echo] Creating session...
    [fuego:session] fuego base dir [opt/OraBPMwlHome]
    BUILD FAILED
    /usr/test_ant/build1.xml:25: java.lang.NullPointerException
    at fuego.tools.ant.BaseFuegoTask.getClassLoader(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.executeTask(Unknown Source)
    at fuego.tools.ant.enterprise.taskdefs.DirectorySessionTask.executeImpl(Unknown Source)
    at fuego.tools.ant.BaseFuegoTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    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:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    at org.apache.tools.ant.Main.runBuild(Main.java:801)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 0 seconds

    Amit Zini wrote:
    Dear All,
    I am unable to run my oracle 10g forms application on Linux machine which is runing Fedora 16.
    i have tried to install jre 6 but mozilla firefox 10 is not loading my oracle 10 forms application, it says plugin missing.
    Kindly help me to short out the problem.
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.1) (fedora-65.1.11.1.fc16-i386)
    OpenJDK Server VM (build 20.0-b12, mixed mode)
    Regards.
    Amit.Try with down grade of Mozilla firefox. may be version 6 to 8. not 9/10.
    Firefox with 9 and higher doesn't support JRE version 1.6.XX.
    Hopes this helps

  • Feedback on XP Pro (guest OS) installation under VMware 5.5 on Linux host.

    I successfully installed 10g XE on XP Pro (32 bit - with service pack 2 ) guest OS under Linux host (RedHat 4.0 ES - update 2).
    The initial attempt was unsuccessful because of the MS Antivirus program (as some suggested on this forum). I then shutdown the listener service from command line, cleaned the registry for oracle entries (oci.dll was used by some application - I found it was Microsoft Transaction Server), then removed the oracleXE directory , set the oracle listener service to manual start (in services window), and then rebooted the machine. When logged back in, verified that the listener was not up, stopped the antivirus program and then reinstalled 10g XE. This time the installation was successful.
    Realized the sys and system password is the same and by using the sql command tool as sys, you can create new tablespaces, new users, etc. (I could not find any other way to create a new tablespace or adding a new datafile to the existing users tablespace , from within the html_db based administration tool. I am a DBA, so I used the command line from the "Run SQL command line" icon (link). It displayed the SQL> prompt and then I connected as sysdba.
    Next week, I will try installing 10g XE, on a Linux virtual machine (guest) running on XP 64 bit host. I will update this posting then...
    I hope this proves useful.

    Understood.
    I will just create a simple document for our end users explaining and including related sql scripts - or better yet - I will configure, install XE on Linux to a specific directory and then do a cold backup - make a bzipped tar file to distribute to the customer (I know this type of distribution/installation is not supported but it is working and tested with Forms 6i c/s runtime with proper patchset). This is why I will support the XE Linux version only - you don't have to deal with the "registry".
    For our application XE will serve real well - for a simple scenario creation, they can use XE and Forms 6i C/S runtime on Linux. If they want to use our real time game support which will populate the data in close-to-real time and uses iAS EE forms services, then they need the install standard edition.
    I will update with Linux VMware virtual machine installation feedback as soon as I finish installing.

  • Forms Server Install on Redhat Linux 7.0

    I am attempting to install Forms6i/Reports6i/Graphics6i on my Linux Box.
    I already have a 8.1.6 Database configured and running.
    After downloading the tar file and extracting it I am having trouble with the installation of the software. The Guide refers to running the orainstal shell script in the orinstall directory. Well when I execute the script I get a Character Installer and I was expecting the Java based Gui Installer such as the one with Oracle 8i DB. I cannot get the oraviewer program to work either for I wanted to see if there were some other setting I am not executing correctly.
    When I continue with the Char Installer it has trouble finding a lib called X11m.a or something (Motif related).
    Does Forms 6i require Motif? If so where and how do I get it for my Linux box? Are there any work arounds for this.
    Any help is greatly apprecicated.
    Thanks

    Hello Shawn,
    Yes, you need motif libraries. You can obtain it for free from: http://www.metrolink.com/products/Motif/download.html
    I installed both runtime and development packages.
    Aditionally you may ned to have X-devel packages installed.
    After struggling with Forms installation on my linux machine I managed to do this, but let me tell you that it's not so simple. First of all please excuse my bad English, I'm not a native speaker. Anyway that's how I did it.
    I assume that you downloaded the file d2k6irelease2.tar from technet. This file includes Forms 6i rel. 2 Server and Developer.
    I managed to install this on my RedHat 7.1 machine having already installed Oracle 8.1.7 database Server.
    First of I created a separate user which owns Forms Server software. I set this user as belonging to the same group ("dba" in my case) as the oracle database software owner. (On my machine I have "oracle" user which owns databse server belonging to the "dba" group and "forms" user belonging also to the "dba" group). You must set your environment like this (in ".bash-profile" in my case):
    -- Begin .bash_profile file
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    unset LANG
    PATH=$PATH:$HOME/bin
    BASH_ENV=$HOME/.bashrc
    ORACLE_BASE=/oracle
    ORACLE_HOME=$ORACLE_BASE/product/forms
    ORACLE_SID=forms
    ORACLE_AUTOREG=$ORACLE_HOME/guicommon/tk60/admin
    TNS_ADMIN=$ORACLE_HOME/network/admin/tnsnames.ora
    ORACLE_TERM=vt220
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    TWO_TASK=oratest
    MMTK_AVIPLAYER="xanim %s &"
    PATH=$PATH:$ORACLE_HOME/bin
    DISPLAY=TEST_MACHINE:0.0
    export ORACLE_BASE ORACLE_HOME LD_LIBRARY_PATH TWO_TASK MMTK_AVIPLAYER
    export TNS_ADMIN DISPLAY ORACLE_AUTOREG ORACLE_TERM ORACLE_SID
    export BASH_ENV PATH
    unset USERNAME
    -- End .bash_profile file
    As you can see I set up ORACLE_BASE to the same ORACLE_BASE as database software ORACLE_BASE, a new ORACLE_HOME, a dummy ORACLE_SID, TWO_TASK to the sid of your 8.1.6 server instance, TNS_ADMIN pointing to a directory which I created manually before starting the installer (see below my "tnsnames.ora" file under this manually created directory), ORACLE_AUTOREG, ORACLE_TERM, DISPLAY set to your_hostname:0.0, LD_LIBRARY_PATH as seen, MMTK_AVIPLAYER is for playing ".avi' files (I didn't tried this). You may need to "chmod 775" on your $ORACLE_HOME directory from the database user account.
    -- Begin "tnsnames.ora" file
    ORATEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TEST_MACHINE)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oratest)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    -- End "tnsnames.ora" file
    I untared d2k6irelease2.tar under a subdirectory created under "forms" home directory. In "unixdoc/Server" directory you will find linux_svr.pdf instructions for installation of Forms server and under "unixdoc/Developer" you will find linux_dev.pdf instructions for Developer Server. "oraview" didn't worked for me either. GUI installer didn't worked for me either. Chnaging to orainst you may issue ./orainst command and start the installation in character mode (I did not even started an X session). I choosed default install, do not create database objects (I think you will be able to install later this objects by running some sql scripts, I didn't). And I choosed all components presented and all options and default port parameters. You will also be prompted to confirm locations of the motif libraries. I choosed http mode for forms server. Do not install Reports security feature (I've heard that it's not working, this option will be presented to you somewhere at the end of installation). After finishing you may need to edit "forms60_server" file and some other files. For example I had to change my "host_name.domain_name" (in my case was "TEST_MACHINE.(none)") to my IP address as I don't have a DNS server here.
    That's what I did to test forms server:
    I wanted to test my Forms server by running Apache web server (the one that is installed by default by linux). (in the documetation you will find references to the WebDB listener which as far as I know is no longer installed in release 2, so the documentation is obsolete regarding this module). For this you will have to edit /etc/httpd/conf/httpd.conf file. Look for the section "Alias" and "AliasScript". under your forms $ORACLE_HOME/orainst you will find two files "forms6iconfig.txt" and "reports6iconfig.txt". You will find there actions to be performed by you manually. in "forms6iconfig.txt" file you will find virtual mappings for physical directories. You have to put this entries in "httpd.conf" file. You must edit this file as "root". For example 'Alias /dev60temp/ "/oracle/product/forms/tools/web60/temp/"'. The exception I made was for "/dev60cgi" virtaul mapping which I've put under ScriptAlias section 'ScriptAlias /dev60cgi/ "/oracle/product/forms/tools/web60/cgi/"'.
    After succesfully editing the file you will ned to restart http server:
    #/etc/rc.d/init.d/httpd restart
    Login again as "forms" user.
    In $ORACLE_HOME directory isuue:
    $./forms60_server start
    This will start your forms server listener.
    After that you can test your forms server running from an external machine by entering: http://ip_addres_of_linux_machine/dev60html/runform.htm
    and after completing parameters you will see "text.fmx" form applet saying that Forms server is installed corectlly or directly: http://ip_addres_of_linux_machine/dev60cgi/f60cgi
    You have to install Jinitiator to view the applet. It will be prompted for you to download it when accessing the above address.
    To be honest I was disapointed to see that forms server is very slow. And I mean very slow.
    In the end please let me excuse if I wasn't clear in some points. If you have any questions please post them on the list. I'm not an expert and I may have made mistakes, but in the same time I hope this will help you setting up forms server on your linux box.
    I forgot to mention that you will probably see a message saying that "formsweb.cfg was not found" when accesing "http://..../f60cgi". If you see this you have to options: either make a symlink "forms60" in the root directory to $ORACLE_HOME/forms60 directory or add a line in your "httpd.conf" file (I put this lines the last ones):
    #Include 6iserver configuration file for setting formsweb.cfg path
    include "/developer_home/conf/6iserver.conf"
    And in $ORACLE_HOME create a directory named "conf". In this directory create a file named "6iserver.conf" and put the following line in it:
    SetEnv FORMS60_WEB_CONFIG_FILE /developer_home/forms60/server/formsweb.cfg
    This will set your environment correctly and you will be able to see the test form. Don't forget to restart apache web server and forms listener.
    Kindly,
    Codrut Octavian Popescu

  • Oracle 8.1.7 installation on Mandrake 9.2 Linux

    Hello Oracle Linux experts,
    I've got problem with installation of Oracle 8.1.7 on Mandrake 9.2 linux... I know that Mandrake not certified for running Oracle 8i - but may be someone could help ? I managed to install it successfully on 8.x and 9.0 versions
    of Mandrake - but 9.2 (currently installed one giving me problems). I could finish the installation - but unfortunately not all oracle modules (including oracle binary) built successfully. And I've got some errors on a linking stage (even if I run setup_stubs.sh - and according to log file generated by this script all modules have been rebuild) Any suggestions ? Am I missing something ? This are the steps that I was using for Mandrake 9.0 and now I am trying the same ones on 9.2:
    ---cut---
    This is what I've done:
    1. Create oracle installation account (in my case 'ora817' and use 'dba' as primary group) As shell for this account I used 'bash'
    2. Create all required directory structure for Oracle installation i.e.
    ORACLE_BASE=/apps/ora_817
    ORACLE_HOME=${ORACLE_BASE}/product/8.1.7
    3. In home directory of ora817 use create / update file .bash_profile:
    ---.bash_profile---
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    # PATH=$PATH:$HOME/bin
    # export PATH
    # unset USERNAME
    JAVA_HOME=/usr/local/java; export JAVA_HOME
    ORACLE_BASE=/apps/ora_817; export ORACLE_BASE
    ORACLE_HOME=${ORACLE_BASE}/product/8.1.7; export ORACLE_HOME
    PATH=${PATH}:${ORACLE_HOME}/bin; export PATH
    if [${LD_LIBRARY_PATH} == ""]
    then
    LD_LIBRARY_PATH=${ORACLE_HOME}/lib:/usr/lib:/usr/local/lib
    else
    LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
    fi
    export LD_LIBRARY_PATH
    export LD_ASSUME_KERNEL=2.2.5
    umask 002
    unset LANG
    unset LANGUAGE
    ---.bash_profile---
    4. Update / create .bashrc file in the same directory:
    ---.bashrc---
    # .bashrc
    # User specific aliases and functions
    # Source global definitions
    if [ -f /etc/bashrc ]; then
    . /etc/bashrc
    fi
    unset LANG
    unset LANGUAGE
    unset LC_MONETARY
    unset LC_NUMERIC
    unset LC_MESSAGES
    unset LC_COLLATE
    unset LC_CTYPE
    unset LC_TIME
    unset NLS_LANG
    ---.bashrc---
    Then you would have to logout and login back so that changes take place and that's it - your Oracle Universal Installer will start !!!
    Few other notes:
    Before installation you would have to make sure that you got Java JDK-1.1.8 - file should be called:
    jdk118_v3-glibc-2.1.3.tar.bz2
    You could find it on the net.
    During installation there will be step when you would have to run file $ORACLE_HOME/root.sh - make sure that you edit this file before execution:
    Line 102:
    RMF=/bin/rm -f
    is changed into
    RMF="/bin/rm -f"
    and line 156
    RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}`
    is changed into
    RUID=`/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'`
    Please note that id command in Mandrake 9.0 linux located in /bin directory and not in /usr/bin !
    Also path for 'sed' module should be changed from /usr/local/bin to just /bin
    After installation I suggest to unset LD_ASSUME_KERNEL
    env variable and install and run glibc-2.1.3-stubs.tar.gz package that will relink modules for use with newer version of glibc. Copy this package to $ORACLE_HOME directory, untar it - i.e.
    tar -xvzf ./glibc-2.1.3-stubs.tar.gzand then run ./setup_stubs.sh script. (make sure that you do so by the same user that was used during oracle installation)
    This file you could get from oracle OTN web site.
    ---cut---
    Regards,
    Alex

    Just some additional information - I think that I found the problem - but no solution so far:
    When I am trying to rebuild (relink) oracle (using relink script from $ORACLE_HOME/bin - it worked for all other options apart from 'oracle' and as a result oracle binary in
    $ORACLE_HOME/bin is missing....) this is kind of error that I've got:
    ---cut---
    - Linking Oracle
    rm -f /apps/oracle/product/8.1.7/rdbms/lib/oracle
    gcc -o /apps/oracle/product/8.1.7/rdbms/lib/oracle -L/apps/oracle/product/8.1.7/rdbms/lib/ -L/apps/oracle/product/8.1.7/lib/ -L/apps/oracle/product/8.1.7/lib//stubs/ -Wl,-E /apps/oracle/product/8.1.7/rdbms/lib/opimai.o /apps/oracle/product/8.1.7/rdbms/lib/ssoraed.o /apps/oracle/product/8.1.7/rdbms/lib/ttcsoi.o /apps/oracle/product/8.1.7/rdbms/lib/kpuasvr.o /apps/oracle/product/8.1.7/lib/nautab.o /apps/oracle/product/8.1.7/lib/naeet.o /apps/oracle/product/8.1.7/lib/naect.o /apps/oracle/product/8.1.7/lib/naedhs.o /apps/oracle/product/8.1.7/rdbms/lib/config.o -lserver8 -lskgxp8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 /apps/oracle/product/8.1.7/rdbms/lib/defopt.o -lknlopt -lslax8 -lpls8 -lplp8 -lserver8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lknlopt -lslax8 -lpls8 -lplp8 `cat /apps/oracle/product/8.1.7/rdbms/lib/nmliblist` -ldbicx8 -ldbicx8 -ljox8 -lserver8 -lwwg8 -lobk `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtcserver8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lserver8 `if /usr/bin/ar tv /apps/oracle/product/8.1.7/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo8"; fi` -lordts8 -lctxc8 -lctx8 -lzx8 -lgx8 -lctx8 -lzx8 -lgx8 -lordvirt8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /apps/oracle/product/8.1.7/lib/sysliblist` `if [ -f /usr/lib/libsched.so ] ; then echo -lsched ; else true; fi` -Wl,-rpath,/apps/oracle/product/8.1.7/lib:/lib:/usr/lib -lm `cat /apps/oracle/product/8.1.7/lib/sysliblist` `if [ -f /usr/lib/libsched.so ] ; then echo -lsched ; else true; fi` -ldl -lm -ldl `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `sed -e 's/-ljava//g' /apps/oracle/product/8.1.7/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lsql8 -lsql8
    /usr//bin/ld: /apps/oracle/product/8.1.7/rdbms/lib/oracle: hidden symbol `__fixunssfdi' in /usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/libgcc.a(_fixunssfdi.oS) is referenced by DSO
    collect2: ld returned 1 exit status
    make: *** [apps/oracle/product/8.1.7/rdbms/lib/oracle] Error 1
    ---cut---
    Any comments ?

  • SuSE Linux 7.1, oracle 8.1.7... problem on: relink all

    why get i an error when i lounch relink all?
    - compat-glibc RPM 2.1.3.x is installed under /usr/i386-glibc21-linux
    - the files libc-2.1.3.so, libpthread.so, libdl.so and ld-linux.so.2 ar copied to $ORACLE_HOME/lib
    - files are owned by oracle.oinstall
    is there anywhere who can help me?
    thanks,
    ernst dorfmann

    The configuration of my machine is: Intel P3 733 MHz on Intel 815 original motherboard, 256MB RAM, 40 GB Harddisk

  • Archiving File on Shared Folder in Linux using java code

    Hi All,
    I have a requirement wherein I have to ftp a file (Feed.txt) from windows FTP server to Linux machine1 and archive the same file (with timestamp suffixed on file name like Feed.txt_22April) on Linux Machine2. I am
    trying to achieve this through java code. I am able to ftp the file(Feed.txt) from windows ftp server to Linux machine1 /opt/ftproot directory and archiving the same file under /opt/ftproot/archive directory of Linux
    Machine1 with timestamp suffixed on file name.
    My archiving requirement is still not achieved. So, for that I created a shared folder “/temp/shared” on Linux Machine2 and mounted the /temp/shared folder of Linux Machine2 on /opt/ftproot/archive folder of
    Linux Machine1 using following command:
    # mount LinuxMachine2: /temp/shared /opt/ftproot/archive
    Note: I have given full permission on both the folders.
    Logically, archiving the Feed.txt with timestamp in it name under /opt/ftproot/archive folder should create the file in /temp/shared folder of Linux Machine2. But instead of archiving the file on
    /opt/ftproot/archive folder, it archive the file on /opt/ftproot folder.
    In my java code, I have specified copyDir as “/opt/ftproot” and archiveDir as /opt/ftproot/archive”.
    The code is being run from Linux Machine1 as a schedule task.
    Please help.
    PFB the code snippet:
    package com.ftp;
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    import org.apache.commons.net.ftp.*;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    public class FTPService extends SchedulerBaseTask {
         private static String targetDir="";
         private static String archiveDir="";
    public void init() {
    public void execute() {
    try {
    String server = "Machine1
    String username = "username";
    String password = "password";
    String sourceDir = "C:\\Inetpub\\ftproot\\temp.txt";
    //String archiveDir = "/home/ftproot1";
    targetDir = getAttribute("Target Directory");
    FTPClient ftp = new FTPClient();
    * Connect to the server
    ftp.connect(server);
    ftp.login(username, password);
    System.out.println("Connected to " + server + ".");
    String[] names = ftp.listNames();
    for (String name : names) {
    System.out.println("Name = " + name);
    * Get all file names that are present in the current working directory
    FTPFile[] files = ftp.listFiles();
    String fileName = "";
    for (int i = 0; i < files.length; i++) {
    if (files.isFile()) {
    System.out.println("\t" + files[i].getName());
    File file = new File(targetDir + File.separator +
    files[i].getName());
    FileOutputStream fos = new FileOutputStream(file);
    * Copy the file to target system
    ftp.retrieveFile(files[i].getName(), fos);
    fos.close();
    fileName = files[i].getName();
    ftp.logout();
    ftp.disconnect();
    System.out.println("End of FTP....");
    System.out.println("Calling fileCopy()");
    System.out.println("Target Directory"+targetDir);
    fileCopy(fileName,targetDir);
    } catch (Exception e) {
    e.printStackTrace();
    public static String getDate() {
    String sdate = "";
    try {
         System.out.println("Inside getDate()");
    Calendar date = Calendar.getInstance();
    SimpleDateFormat formatter = new SimpleDateFormat(
    "yyyy-MM-dd HH:mm:ss.0");
    sdate = formatter.format(date.getTime());
    } catch (Exception e) {
    return sdate;
    public void moveFile(String t) {
         try{
         System.out.println("inside moveFile");
    System.out.println("Moving Files");
    File fro = new File(t);
    archiveDir = getAttribute("Archive Directory");
    System.out.println("Archiving Directory"+archiveDir);
    File to = new File(archiveDir);
    boolean archived = fro.renameTo(new File(to, fro.getName()));
    if (archived) {
    System.out.println("FileArchived");
              /*String cmd="mv" +" "+t +" "+ "/home/ftproot/archive";
              System.out.println("Archive Directory"+archiveDir);
              System.out.println("Move Command"+cmd);
              Process SshProc =      (Runtime.getRuntime()).exec(cmd);
    } catch (Exception e) {
    e.printStackTrace();
    public void fileCopy(String filename,String Directory) {
         try{
         //String ifile="/home/ftproot/sunny.txt";
              String ifile=targetDir+"/"+filename;
         String ofile=ifile+"_"+getDate();
         File f1 = new File(ifile);
         File f2 = new File(ofile);
         InputStream in = new FileInputStream(f1);
         //For Append the file.
    //      OutputStream out = new FileOutputStream(f2,true);
         //For Overwrite the file.
         OutputStream out = new FileOutputStream(f2);
         byte[] buf = new byte[1024];
         int len;
         while ((len = in.read(buf)) > 0){
         out.write(buf, 0, len);
         in.close();
         out.close();
         System.out.println("File copied.");
         moveFile(ofile);
         }catch(Exception e)
         System.out.println("File copied."+e);
    Cheers,
    Sunny

    sunnyajmera wrote:
    Please help.If it was me....
    - You are connecting to a ftp server. I am guessing you didn't write that.
    - Get a flexible ftp client, there are many but make sure it shows you the ftp result codes.
    - Figure out how and if the ftp server will do what you want.
    If it does do what you want then ftp client will let you do the same thing.
    If that ftp server doesn't allow you to do it then you must do one of the following
    - Find a different server
    - Change the requirements
    - Find a way to impose the requirements using a tool in addition to ftp like some command executed through telnet.

  • Having trouble connecting SQL Developer to database on LINUX machine

    Having trouble connecting SQL Developer to database on LINUX machine
    Hello,
    I am trying to connect my windows 7 home premium machine to an oracle database 11g on a RedHat 5 machine using SQL Developer. i got this error message on SQL Developer
    Status : Failure - Test failed :The Network Adapter could not establish the connection
    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> and TNSPING
    tnsping 172.x.x.x
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$Tnsnames.ora On Linux ,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )Listner on Linux ,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )/ect/hosts Linux ,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBillingand there is no problem of ping linux from windows
    Edited by: user11309581 on Apr 11, 2013 3:16 PM

    yes really i'm already enaple the port 1521 and SELINUX=disabled
    [root@ltebilling ~]# /etc/init.d/iptables status
    Table: filter
    Chain INPUT (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain FORWARD (policy ACCEPT)
    num  target     prot opt source               destination
    1    RH-Firewall-1-INPUT  all  --  0.0.0.0/0            0.0.0.0/0
    Chain OUTPUT (policy ACCEPT)
    num  target     prot opt source               destination
    Chain RH-Firewall-1-INPUT (2 references)
    num  target     prot opt source               destination
    1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
    2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           icmp type 255
    3    ACCEPT     esp  --  0.0.0.0/0            0.0.0.0/0
    4    ACCEPT     ah   --  0.0.0.0/0            0.0.0.0/0
    5    ACCEPT     udp  --  0.0.0.0/0            224.0.0.251         udp dpt:5353
    6    ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:631
    7    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:631
    8    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    9    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:1521
    10   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
    11   REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibitedbut from windows system when i'm try tnsping i got this error
    C:\Windows\system32>tnsping orc11g
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 11-APR-2
    013 14:44:09
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\ubai\product\11.2.0\dbhome_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x
    .x)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orc11g))
    TNS-12535: TNS:operation timed out
    C:\Windows\system32>

Maybe you are looking for