ORA-07217

Is there a way to avoid ORA-07217 when usin OCI? I need to establish a database connection without the Oracle environment.

Oops. Everywhere except .profile ;-)
I shall now go run on my sword...
Thanks!
did you set your oracle_sid ?
Hi all...
New install, trying to log into SQL*PLUS first time as SYSTEM/MANAGER. Get
"ORA-07217 sltln: environment variable cannot be evaluated."
Apparently there's a null environment variable. Question is, what's missing???
Thanks in advance!
Ben

Similar Messages

  • Error ORA-07217 starting Oracle9i

    Having tried to use Oracle on WindowsMe..., I am now trying RedHat Linux 7.3. I have tried installing Oracle9i standard edition. I had one error during installation which meant the Database Configuration Assistant did not run properly. When I try to run sqlplus and enter the scott/tiger username and password I get the following error:
    ORA-07217: sltln: environment variable cannot be evaluated.
    As I am new to Linux and Oracle I do not understand what this means. Any information/solutions to this problem would be greatly apprectiated
    Thanks
    Mike

    Check $ORACLE_HOME/dbs. I noticed that the installer didn't create the init<ORACLE_SID>.ora during the installation.
    If init<ORACLE_SID>.ora is not in the directory, make a copy from init.ora to init<ORACLE_SID>.ora (e.g your ORACLE_SID name is "test", #cp init.ora inittest.ora). Hope this help.

  • RMAN-03008 and ORA-07217 after restore of controlfile, 11.2.0.2

    Hi,
    try to restore backup done with 11.2.0.2
    because upgrade to 11.2.0.3 has problems with workspace manager,
    - done with DBUA - which is a other part of the story.
    OS is SLES11SP1 x86_64
    Here is what happens:
    startup nomount with minimal pfile in 11.2.0.2 environment
    restore controlfile from SBT
    channel T1: restore complete, elapsed time: 00:01:45
    output file name=+DSKGRP1/alkklefq/controlfile/control01.ctl
    output file name=+DSKGRP1/alkklefq/controlfile/control02.ctl
    then
    RMAN> ALTER DATABASE MOUNT;
    database mounted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    ORA-07217: sltln: Umgebungsvariable kann nicht ausgewertet werden.
    No other command like show all, resync catalog or what ever is working,
    always fails with RMAN-03008 and ORA-07217
    and after
    run {
    allocate channel T1 type 'SBT_TAPE' format 'b_%d_%u_%p_%c.bck';
    restore database from tag 'TAG20120730T212808';
    i got
    Speicherzugriffsfehler = segmentation fault
    Can anyone throw light on this?
    Regards
    Michael

    Hello;
    Based on the information you probably I would double check my "env" for an issue. Something set wrong or not set.
    Does the "env" work without error?
    Here's what is set on mine :
    /home/oracle:PRIMARY >env
    HOSTNAME=
    TERM=
    SHELL=
    HISTSIZE=
    NLS_LANG=
    TMPDIR=
    SSH_CLIENT=
    SSH_TTY=
    USER=oracle
    LD_LIBRARY_PATH=
    LS_COLORS=
    ORACLE_SID=
    ORACLE_BASE=
    SSH_AUTH_SOCK=
    COBBLER_SERVER=
    MAIL=
    PATH=
    INPUTRC=
    PWD=
    EDITOR=
    LANG=
    TZ=
    ORACLE_TERM=
    SSH_ASKPASS=
    SHLVL=
    HOME=
    TMP=
    LOGNAME=oracle
    SSH_CONNECTION=
    LESSOPEN=
    ORACLE_HOME=
    G_BROKEN_FILENAMES=Best Regards
    mseberg
    Edited by: mseberg on Aug 6, 2012 8:02 AM

  • ORA-07217: sltln: environment variable cannot be evaluated.

    hi team
    when try to login my sqlplus i get this error
    and i suspect it environment variable
    how do i set environment in hp-ux 11

    The easiest way to set the environment is using "oraenv" which uses details in the oratab file.
    e.g
    . oraenv
    ORACLE_SID = [mydb] ? mydb
    The Oracle base for ORACLE_HOME=/opt/oracle/product/10.2.0/db_2 is /opt/oracle/product
    $ echo $ORACLE_HOME
    /opt/oracle/product/10.2.0/db_2
    $ echo $ORACLE_SID
    mydb
    $ echo $PATH
    /usr/local/bin:.:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:.:/opt/freeware:/opt/oracle/product/10.2.0/agent10g_ddc/agent10g/jdk/bin:/opt/oracle/product/10.2.0/db_2/bin:/opt/oracle/product/10.2.0/db_2/OPatch

  • Using a variable for the "format" parameter for disk/directory name

    In the interest of maintainability, I'm trying to use an environment variable in the format parameter. I've found that RMAN is able to interpret the $ORACLE_HOME and $ORACLE_BASE variables, but others give the error:
    RMAN-03006: non-retryable error occurred during execution of command: backup
    RMAN-07004: unhandled exception during command execution on channel t1
    RMAN-10035: exception raised in RPC: ORA-07217: sltln: environment variable cannot be evaluated.
    RMAN-10031: ORA-19583 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
    Is there any more specific documentation about what variables are supported within RMAN? (I've found nothing in the manuals beyond the excerpt I included below.) Does anyone know if the "port-specific directory" mentioned in the excerpt below
    can be modified/customized?
    Thanks....
    format 'format_string'
    specifies the filename to use for the backup piece. Any name that is legal as a sequential filename on the platform is allowed, provided that each backup piece has a unique name. If backing up to disk, then any legal disk filename is allowed, provided it is unique. If you do not specify the format parameter, RMAN stores the backup pieces in a port-specific directory ($ORACLE_HOME/dbs on UNIX).

    i have used a different directory other then port-specific one and i am able to backup .
    format '/disk2/app/oracle/test/%d_%s_%t' , i have given full path names instead of substitution variables. i am not sure how
    they(variables) will work though in rman.

  • 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

  • Install oracle 8.1.7 in Solaris Problem

    I have completed to install Oracle in solaris and
    created database, when I use sqlplus login to new created database
    The following error is displayed:
    "ora-07217 : sltln : environment variable cannot be evaluated"
    The following is the environment variable for oracle user
    HOME=/oracle_data1/oracle/product/8.1.7
    HZ=100
    IFS=
    LD_LIBRARY=/oracle_data1/oracle/product/8.1.7/lib:/usr/openwin/lib:/usr/db/lib
    LD_LIBRARY_PATH=/oracle_data1/oracle/product/8.1.7/lib:/usr/openwin/lib:/usr/db/lib
    LOGNAME=eprc817
    MAILCHECK=600
    OPTIND=1
    ORACLE_BASE=/oracle_data1/oracle
    ORACLE_HOME=/oracle_data1/oracle/product/8.1.7
    ORACLE_SID=eprc
    PATH=/usr/bin:/usr/ucb:/etc:/oracle_data1/oracle/product/8.1.7/bin:/usr/ccs/bin:/usr/openwin/bin:.
    PS1=$
    PS2=>
    SHELL=/bin/sh
    TERM=ansi
    TZ=Hongkong
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=400
    set shmsys:shminfo_shmseg=50
    set shmsys:seminfo_semmni=100
    set semsys:seminfo_semmsl=1024
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767

    You may try to add the environment variable
    ORACLE_TERM=vt100 which is not include in your envornment setting.

  • Installation in solaris Problem

    I have completed to install Oracle in solaris and
    created database, when I use sqlplus login to new created database
    The following error is displayed:
    "ora-07217 : sltln : environment variable cannot be evaluated"
    The following is the environment variable for oracle user
    HOME=/oracle_data1/oracle/product/8.1.7
    HZ=100
    IFS=
    LD_LIBRARY=/oracle_data1/oracle/product/8.1.7/lib:/usr/openwin/lib:/usr/db/lib
    LD_LIBRARY_PATH=/oracle_data1/oracle/product/8.1.7/lib:/usr/openwin/lib:/usr/db/lib
    LOGNAME=eprc817
    MAILCHECK=600
    OPTIND=1
    ORACLE_BASE=/oracle_data1/oracle
    ORACLE_HOME=/oracle_data1/oracle/product/8.1.7
    ORACLE_SID=eprc
    PATH=/usr/bin:/usr/ucb:/etc:/oracle_data1/oracle/product/8.1.7/bin:/usr/ccs/bin:/usr/openwin/bin:.
    PS1=$
    PS2=>
    SHELL=/bin/sh
    TERM=ansi
    TZ=Hongkong
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=400
    set shmsys:shminfo_shmseg=50
    set shmsys:seminfo_semmni=100
    set semsys:seminfo_semmsl=1024
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semopm=100
    set semsys:seminfo_semvmx=32767

    You might try setting ORACLE_SID=EPRC.

  • Need SQLPlus direct connect to DB

    This should be an easy one...
    On my DB server, I want to connect to the DB using SQLPlus but NOT go through the client/server mechanism. I want a "direct connection" so to speak.
    My attempts fail with "ORA-07217: sltln: environment variable cannot be evaluated."
    But actually, I'm not sure what I should be using for a username. If the instance I want to connect to is "MYINST", the schema I want to default to is "MYSCHEM", the username for the instance is "MYUSER" and the pw is "MYPW", what should I be entering after the "sqlplus" ?
    Thanks in advance
    -dave

    The problem is not with how you are connecting to sqlplus, but with your os environment. In order to access sqlplus directly, you must set your ORACLE_SID:
    in Windows either set ORACLE_SID = sid or create a registry entry under local machine/software/oracle for ORACLE_SID.
    In UNIX:
    export ORACLE_SID=sid

  • WL6.1 SP2, Oracle 8.1.7, OCI, ConnectionPool

    Hi,
    i try to set up a database connection from a WL6.1 SP2 running on
    Solaris 8 to a Oracle 8.1.7 DB running on Linux. I have to use the
    Oracle - Driver, not the Weblogic - Driver. CLASSPATH, PATH,
    LD_LIBRARY_PATH, ORACLE_HOME and TNS_ADMIN are set correct
    (hopefully). When I use the thin - drivers, everything works fine. Now
    I want to switch to OCI and get the following error:
    ORA-07217: sltln: environment variable cannot be evaluated
    I know this error occurs because I did not provide an ORACLE_SID. But
    why do I need to export ORACLE_SID, isn´t the SID provided by the
    ConnectionURL?
    Anyway, if I set the ORACLE_SID explicitely, I get:
    ORA-01034: ORACLE not available
    Do I need to export the ORACLE_SID? If yes, why do i get the 01034?
    The tnsnames.ora is correct, I can connect by using sqlplus to the
    database without any problems ...
    Here is the definition of the connection - pool:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    LoginDelaySeconds="1" MaxCapacity="10"
    Name="BMSP JDBC Connection Pool"
    Password="{3DES}LFkEplP7jUuI/nVqSwNNjQ=="
    Properties="user=vgn_data;dll=ocijdbc8;protocol=oci8"
    RefreshMinutes="5" Targets="sgw-domain-server"
    TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:oci8:@TESTDB"/>
    Any hint is very welcome.
    Thanks in advance,
    Jochen

    Hi,
    ok, I solved the problem, it was a "classic" version - conflict. The
    drivers (classes12.zip) came from an 8.1.6 - Version, but the
    libraries were all 8.1.7. Mea maxima culpa ;)
    Anyway, it was hard to find this error, because the errormessages did
    not point to a version - conflict ... so, if anyone of you out there
    encounters the same strange behaviour: Check your versions ;)
    Greetings,
    Joche

  • Problem Login Into SQLPLUS

    I am running my Oracle Enterprise DB 9.2.0.1.0 on my Linux Red Hat 8.0 box.
    The DB was installed successfully and I even can connect to the database I created via my Java program.
    However, when I startup the SQLPLUS (via my "oracle" user account), I had tried logging in with IDs "sys", "system", "daniel" (ID I created using the Enterprise Manager Console). They all failed with message ORA-07217: Environment variables cannot be evaluated.
    After checking the error message for its meaning, I found that the cause was that the GETENV returns a null pointer. Although, I know the meaning of the error message, I could not fix the problem. I had checked my environment variable. The include:
    ORACLE_HOME=/home/oracle/OraHome1/
    JAVA_HOME=/usr/java/j2sdk1.4.1_01/
    PATH=$ORACLE_HOME/bin:$JAVA_HOME/bin:.
    CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip:$ORACLE_HOME/jdbc/lib/nls_charset12.zip:.
    My knowledge tells me that I had done it according to books.
    Pls help. Thanks!

    oppss..the environment variable includes another important entry:
    LD_LIBRARY_PATH=$ORACLE_HOME/lib/

  • Could not boot TMS_ORA  for bankapp---error:GP_CAT:1235:

    Hello group members,
    When I tried to integrate tuxedo bankapp application with oracle in linux i get
    this error on booting
    TMS_ORA---GP_CAT:1235: ERROR: Could not initialize random algorithm.
    my environment:tuxedo in linux,oracle 8.1.6
    my RM string was Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh
    TMS was built successfully --using buildtms command.
    my ULOG gives other errors also such as
    LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
    LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    CAN anyone please tell me what to do to solve the problem?
    thanks adi

    hello all,
    I changed my open info string to OPENINFO="Oracle_XA:Oracle_XA+SqlNet=tuxedosesha+Acc=P/tuxedo/tuxedo+SesTm=30+LogDir=."
    and every problem was solved.
    TMS and all servers of bankapp booted up with oracle as database!!
    thanks to Oracle documentation on XA.
    adi sesha
    "adi sesha" <[email protected]> wrote:
    >
    hello all,
    I wish to add the following:
    my client libraries for oracle is in linux, but my server runs in WIN
    NT.
    the xa trace gave the error initially as:
    ORACLE XA: Version 8.1.7.0.0. RM name = 'Oracle_XA'.
    155639.4109.0:
    ORA-07217: sltln: environment variable cannot be evaluated.
    155639.4109.0:
    xaolgn: XAER_RMERR; logon failed. ORA-7217.
    so on checking the resources in the web i get that we need to set the
    $ORACLE_SID
    variable in the operating system.
    the $ORACLE_SID for the NT Oracle server was ORCL.so I set my linux
    $ORACLE_SID
    env variable to ORCL.On doing this I get the xa trace as
    ORACLE XA: Version 8.1.7.0.0. RM name = 'Oracle_XA'.
    220648.4853.0:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    220648.4853.0:
    xaolgn: XAER_RMERR; logon failed. ORA-1034.
    so i guess there is a need to correctly set $ORACLE_SID which will help
    the application
    to correctly identify and connect to the database.am I in the right direction?
    someone please help!!
    + how to correctly set the $ORACLE_SID?
    thanks
    adi
    p.s. my openinfo string is:OPENINFO="Oracle_XA:Oracle_XA+Acc=P/tuxedo@tuxedosesha/tuxedo+SesTm=30+LogDir=."
    where tuxedosesha is the host string set in the client linux machine
    for connecting
    to the NT server.
    " adi sesha" <[email protected]> wrote:
    Hello group members,
    When I tried to integrate tuxedo bankapp application with oracle inlinux
    i get
    this error on booting
    TMS_ORA---GP_CAT:1235: ERROR: Could not initialize random algorithm.
    my environment:tuxedo in linux,oracle 8.1.6
    my RM string was Oracle_XA:xaosw:-L${ORACLE_HOME}/lib -lclntsh
    TMS was built successfully --using buildtms command.
    my ULOG gives other errors also such as
    LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
    LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    CAN anyone please tell me what to do to solve the problem?
    thanks adi

  • Sqlplus starting trouble

    I have Solaris 2.9 and I recently installed oracle release 9.2.0.1.0.
    when I tried to start sqlplus with any user i got the following message
    ERROR:
    ORA'07217: sltln: environment variable cannot be evaluated.
    Unfortunately i do not have manuals yet, and i am trying to migrate from sql server. thanks in advanced.

    Rajasekar,
    The Healthy Living tutorial (once loaded) can be found within your Oracle9iAS Portal installation.
    Use the Navigator to browse through your system to find the Healthy Living objects.
    Your Oracle9iAS Portal should be accessable from http://machinename.domain/pls/
    Rich

  • Oracle 8- sqlpius

    I executed sqlplus command and entered user name and password.
    But it says "ORA-07217: sltln: environment variable cannot be evaluated."
    According to the manual I have to set GETENV.
    How can I do that ?
    Admins help pls.
    null

    Make sure that all of the following environment variables are
    set in Linux properly.
    edit the /etc/profile file to include lines like
    export ORACLE_SID=orcl
    for...
         ORACLE_HOME
         ORACLE_BASE
         LD_LIBRARY_PATH
         ORACLE_SID
         ORAHOME
         also, check for ORACLE_TERM, ORA_NLS33 .These may also
    have importance.
    not sure about the values.. pls refer the installtion
    documentation.

Maybe you are looking for

  • Purchase and sale report

    Dear All Experts, I WANT A QUERY IN WHICH I GET THE FOLLOWING DETAILS:- The logic should display item wise purchase and their sales details with qty and sr# for a given period of time. i.e suppose any item is purchased with 100 qty and against them i

  • Unable to load style(SWF is not a loadable module)

    While devoloping an App voor iOS we decided to use several StyleSheets. We are implementing the loading of Stylesheets as: event_dispatcher:IEventDispatcher = this.styleManager.loadStyleDeclarations2("assests/styles/default.swf");  event_dispatcher.a

  • OS X 10.6.8 and Adobe Lightroom 5

    I have been photographing in JEPG and now wish to start doing my own post processing with Lightroom.  My problem is that my macbook is older and I do not think I can upgrade my computer.  Below are Lightroom 5 requirement and my computer's hardware o

  • Transfer Failed sending mail to GWIA

    In the process of migrating a GW8.0.3 system to SuSE. Two servers, one for primary domain and post office, and second for secondary domain and gwia. All went for the most part well. Issue with GWIA and sending mail to internet. It is receiving mail f

  • CustomLoginModule always error "Invalid null input: name"

    Hi All, I'm trying to create a custom LoginModule. I've changed the autorization.xml, created a new login-stack and set the  LoginModuleClassLoaders property. But whatever I do I always get the message "Unknown message (ID = Invalid null input: name)