DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: symbolic link

  1. #1
    Join Date
    Jan 2001
    Posts
    138
    We have two init.ora files for our QA instance and startup is failing as the database is looking at the wrong file to start.

    1. $ORACLE_HOME/dbs has initqa.ora
    2. $ORACLE_ADMIN/pfile has iniqa.ora

    I need to create a symbolic link in $ORACLE_HOME/dbs to point to $ORACLE_ADMIN/pfile/initqa.ora

    I tried ln -s. It didn't create the link. Could someone give me the correct command? Thanks.

  2. #2
    Join Date
    Feb 2001
    Location
    Paris, France
    Posts
    809
    use IFILE in your dbs/init... file :
    IFILE=$ORACLE_ADMIN/pfile

    so that way he will open dbs/initSID.ora, which is normal, and point to the righe one.

    PS : to create a link :

    ln -s target link_name

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    For the link:
    cd $ORACLE_HOME/dbs
    ln -s $ORACLE_ADMIN/pfile/initqa.ora .
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width