Oracle startup automatically problem

I was able to install Oracle (the kit from Sun) on the intel Solaris intel platform.
My problem is that I cannot automatically start the database after a reboot.
After following instructions it still does not start.
Here are the problems:
When Oracle user is set to bourne (login shell)
the command
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
creates an error
-sh: cannot open /etc/oratab
This is run from /etc/rc2.d
If the login shell is changed to Korn,
cat: not found
is the error message.
What is the problem? THANKS

Set up your dtmail utility so that you can send and receive mail from your ISP. Then under your user account, not as root, run /usr/dt/bin/solregis. Complete the form and send it.
You should receive a return email message from Sun telling you how to register a user name and password which you will need to gain access to upgrades.
Once your user account is established, go to http://access1.sun.com/solarissolve/ and look under "Products" for maintenance upgrades. Download and install MU5. Be sure to read and understand the instructions.
Then you go the URL which I posted earlier, print it, study it, follow its instructions and Oracle will install with no problems whatever.

Similar Messages

  • Oracle 10g automatic startup in Solaris 10

    Good afternoon,
    I've installed Oracle 10g Enterprise Edition Server on a server with Solaris 10. I'm trying to configure the automatic startup/shutdown. I've changed dbstart script. I've prepared dbora script and I've created the necessary link to this script in the rc*.d directories.
    When I launch dbora start or dbora stop everything is ok, but when I reboot my machine nothing happens.
    My dbora script is as follow:
    #!/bin/sh
    ORA_HOME=/u01/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')
    su - $ORA_OWNER -c "ORA_HOME/bin/dbstart"
    su - $ORA_OWNER -c "ORA_HOME/bin/emctl start dbconsole"
    su - $ORA_OWNER -c "ORA_HOME/bin/isqlplusctl start"
    'stop')
    su - $ORA_OWNER -c "ORA_HOME/bin/isqlplusctl stop"
    su - $ORA_OWNER -c "ORA_HOME/bin/emctl stop dbconsole"
    su - $ORA_OWNER -c "ORA_HOME/bin/lsnrctl stop"
    su - $ORA_OWNER -c "ORA_HOME/bin/dbshut"
    esac
    Thanks in advance.
    Best regards,
    Mabel

    I think that I've found the problem but I need your help. The problem is related to the listener. The file listener.ora doesn't exist!!! In fact the listener starts perfectly when I type the command lsnrctl start, but I don't understand why this file doesn't appear :-O. And of course neither the file sqlnet.ora exists.
    I've create these files and I'm going to check. But could you tell how to configure sqlnet.ora to get the file listener.trc?
    Thanks in advance.
    Regards,
    Mabel

  • Oracle don't startup automatically on boot

    Hi, I create a virtual machine on Sun Virtualbox (guest windows 2003 and my host is windows 7). This instalation is to study oracle database!
    In guest Windows 2003, there are 2 network interfaces: a loopback (IP: 10.168.10.50) and a bridge (that to connect to internet - IP: 196.168.0.180 - dinamically DHCP). The hostname of guest is "oracle". I install the oracle 10.2.0.
    After install oracle, when I restart windows, it startups automatically! But after time, I need start manually in sqlplus (startup) because error "ora-12514: TNS: Listener does not currently know of service requested in connect descriptor".
    Below following listener.ora and tnsnames.ora files:
    File listener.ora
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    File tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    After I startup the instance (orcl), everyting run normally, but the instance doesn't statup automatically!
    Someone can help me?

    Hello,
    You may try also this method.
    You can create a *.bat* script which start first the Listener, then the database (and the OracleService<SID>) as follow:
    set ORACLE_SID=<SID>
    lsnrctl start
    oradim -startup -sid <SID> -starttype srvc,instThen, with the Windows Task Scheduler you create a Task to launch this *.bat* script at the Server startup.
    By that way you may control that the Listener start before the Database.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Database does not  startup automatically

    Oracle8i/Windows 2000 server
    we have three database ,all are 9am to 6pm database
    running on ARCHIVELOGMODE.
    Few days back due to disk crash,
    we have recovered our database using coldback up.
    since we did not copy archive logs to different disk,
    we lost some data.
    disk was under warranty ,it was replaced.
    then the database did not startup automatically.
    okay the problem was,during booting(since 9am to 6pm database), we were daily logging in svrmgrl and startup the database manually.
    now we have automated the above(startup) script in
    windows scheduled task.
    what to do to solve this problem.

    Hi
    c:\document and settings\admin>ORADIM -EDIT -SID <SID> -startmode auto -pfile D:\oradata\SID\initsid.ora
    This will add few entries to the regedit
    Go to regedit
    HKEY_LOCALMACHINE\software\oracle
    ORA_SID_PFILE=D:\oradata\SID\initsid.ora
    ORA_SID_AUTOSTART=TRUE
    check these values

  • Automated Oracle Startup & Shutdown

    I am trying to get make my Oracle database shutdown and startup
    automatically at boot, but am having a hard time getting this to
    work properly. I have created a file in /etc/rc.d/init.d called
    dbora:
    case "$1" in
    'start')
    su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
    'stop')
    su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
    esac
    I also created the following links in EVERY (out of frustration)
    /etc/rc.d/rc#.d directory:
    lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora -
    /etc/rc.d/init.d/dboralrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora -
    /etc/rc.d/init.d/dboraThe problem does not really appear to be linked to the actual
    database shutdown or startup, but rather with LINUX. I have
    replaced the contents of dbstart.sh & dbshut.sh with a simple
    echo redirect to file to prove this out. Specifically, here is
    what is happening:
    * Running "dbora start" or "dbora stop" manually always works.
    * Neither "dbora start" or "dbora stop" work when booting or
    switching runlevels, although the message STARTING DBORA does
    scroll past the console.
    I have several people look at this here and no one can figure
    out why this isn't working. Can you assist?
    null

    Peter,
    Normally the problem here is that the environment is not set, or
    is not being set correctly OR that things that Oracle needs to be
    available have already been killed (lower run level) or have not
    been started (higher run level).
    Check that the environment is OK when the dbora script is run and
    check that your scripts are called in the right order of things
    when moving between run levels.
    Regards,
    Mark
    Pete Petersen (guest) wrote:
    : I am trying to get make my Oracle database shutdown and startup
    : automatically at boot, but am having a hard time getting this
    to
    : work properly. I have created a file in /etc/rc.d/init.d called
    : dbora:
    : case "$1" in
    : 'start')
    : su - oracle -c $ORACLE_BASE/admin/bin/dbstart.sh &
    : 'stop')
    : su - oracle -c $ORACLE_BASE/admin/bin/dbshut.sh &
    : esac
    : I also created the following links in EVERY (out of
    frustration)
    : /etc/rc.d/rc#.d directory:
    : lrwxrwxrwx 1 root root 22 Jul 1 10:12 S99dbora
    : > /etc/rc.d/init.d/dbora
    : lrwxrwxrwx 1 root root 22 Jul 1 10:12 K30dbora
    : > /etc/rc.d/init.d/dbora
    : The problem does not really appear to be linked to the actual
    : database shutdown or startup, but rather with LINUX. I have
    : replaced the contents of dbstart.sh & dbshut.sh with a simple
    : echo redirect to file to prove this out. Specifically, here is
    : what is happening:
    : * Running "dbora start" or "dbora stop" manually always works.
    : * Neither "dbora start" or "dbora stop" work when booting or
    : switching runlevels, although the message STARTING DBORA does
    : scroll past the console.
    : I have several people look at this here and no one can figure
    : out why this isn't working. Can you assist?
    null

  • Running Oracle startup or shutdown bat file from Java code

    I have two bat files for the startup and shutdown of Oracle instance which works fine from the command prompt. But my requirement is to run it through a Java program. Please reply with full Java code. Also mention how I would get the status of the bat files that it is successfully executed or not and if not what is the error.

    Your program is working fine, but there is another problem. What's happening now is I have to open the Login screen after the startup of oracle server is complete, but the next line of my program after Runtime.exec is the LoginScreen.show which immediately shows the login screen after executing Runtime.exec and when I am giving the login name and password and press enter, it shows Oracle not available exception, because the startup process is still in progress. I want to stop the execution of my next line of code until and unless my process of Oracle startup is complete.

  • Here's a solution to Oracle Startup / Shutdown on RH6

    I had a hard time getting Red Hat 6.0 to startup and shutdown
    Oracle properly. Red Hat's slick rc scripts look cool, but hide
    the problem unless you do some serious reading.
    This script still isn't perfect, mainly because it can't
    shutdown if oracle users are still logged in. This is a problem
    with the dbshut scripts. I try to avoid hacking Oracle's bin
    directory, but if you really want to go down, change the
    shutdown lines to shutdown immediate. Oracle, please provide an
    option to dbshut to fix this! :-)
    My changes to the book version fix the following:
    1. It creates a file /var/log/dbora to log the startup output to
    give you some visibility after the fact.
    2. Creating the /var/lock/subsys/dbora file after startup makes
    the shutdown work. Otherwise rc won't even try. Deleting it
    makes changes between run levels work right.
    3. The startup is NOT backgrounded so that if you are watching
    it boot you can at least gauge the time it takes before the
    startup.
    4. It starts the listener too.
    5. It checks the log file for startup errors and makes the
    screen say FAILED in red if it sees any errors.
    5. It allows dbshut some time to finish before unmounting. My
    dual xenon machine goes down do fast dbshut wouldn't finish
    downing both of my sids.
    # dbora -start/stop Oracle
    #action
    ORA_HOME=/home/oracle;export ORA_HOME
    ORA_OWNER=oracle;export ORA_OWNER
    if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart" >
    /var/log/dbora.log
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start" >>
    /var/log/dbora.log
    touch /var/lock/subsys/dbora
    'stop')
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
    sleep 15
    rm -f /var/lock/subsys/dbora
    esac
    if egrep -q "ORA-" /var/log/dbora.log; then
    exit -1
    else
    exit 0
    fi
    Note that the links prescribed by the book are also incorrect.
    Linux's rc levels do NOT run sequentially. Therefore, you need a
    start and stop on the same level. If you want to save some RAM
    on the serve by not running X, you'll want level 4 scripts and
    level 5 scripts. So, Create all these links (as ROOT).
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/S99dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    To be really safe also create these links. This way there is no
    escaping a proper oracle shutdown.
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc1.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc2.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc3.d/K10dbora
    ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc6.d/K10dbora
    Have fun!
    null

    It isn't necessary to create the symlinks for the rc scripts
    manually--that's what the "chkconfig" command is for.
    Mike Mitchell (guest) wrote:
    : I had a hard time getting Red Hat 6.0 to startup and shutdown
    : Oracle properly. Red Hat's slick rc scripts look cool, but hide
    : the problem unless you do some serious reading.
    : This script still isn't perfect, mainly because it can't
    : shutdown if oracle users are still logged in. This is a problem
    : with the dbshut scripts. I try to avoid hacking Oracle's bin
    : directory, but if you really want to go down, change the
    : shutdown lines to shutdown immediate. Oracle, please provide
    an
    : option to dbshut to fix this! :-)
    : My changes to the book version fix the following:
    : 1. It creates a file /var/log/dbora to log the startup output
    to
    : give you some visibility after the fact.
    : 2. Creating the /var/lock/subsys/dbora file after startup makes
    : the shutdown work. Otherwise rc won't even try. Deleting it
    : makes changes between run levels work right.
    : 3. The startup is NOT backgrounded so that if you are watching
    : it boot you can at least gauge the time it takes before the
    : startup.
    : 4. It starts the listener too.
    : 5. It checks the log file for startup errors and makes the
    : screen say FAILED in red if it sees any errors.
    : 5. It allows dbshut some time to finish before unmounting. My
    : dual xenon machine goes down do fast dbshut wouldn't finish
    : downing both of my sids.
    : # dbora -start/stop Oracle
    : #action
    : ORA_HOME=/home/oracle;export ORA_HOME
    : ORA_OWNER=oracle;export ORA_OWNER
    : if [ ! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME ]
    : then
    : echo "Oracle startup: cannot start"
    : exit
    : fi
    : case "$1" in
    : 'start')
    : su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart" >
    : /var/log/dbora.log
    : su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start" >>
    : /var/log/dbora.log
    : touch /var/lock/subsys/dbora
    : 'stop')
    : su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
    : sleep 15
    : rm -f /var/lock/subsys/dbora
    : esac
    : if egrep -q "ORA-" /var/log/dbora.log; then
    : exit -1
    : else
    : exit 0
    : fi
    : Note that the links prescribed by the book are also incorrect.
    : Linux's rc levels do NOT run sequentially. Therefore, you need
    a
    : start and stop on the same level. If you want to save some RAM
    : on the serve by not running X, you'll want level 4 scripts and
    : level 5 scripts. So, Create all these links (as ROOT).
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc4.d/S99dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc5.d/S99dbora
    : To be really safe also create these links. This way there is no
    : escaping a proper oracle shutdown.
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc1.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc2.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc3.d/K10dbora
    : ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc6.d/K10dbora
    : Have fun!
    null

  • CRS process does not startup automatically when the system is rebooted

    Hi. all.
    SOME TIMES(not always), CRS process ( exactly OracleCRService on
    windows2003) does not startup automatically when the windows2003 is
    rebooted.
    O/S is windows2003 server.
    DB is 10.2.0.2.0 RAC database that has 2 nodes.
    I am testing a RAC database configuration, and thus rebooting one node
    intentionally by turn.
    I have tested about 20 times, and 17 times is OK. All required process is up
    and all instance is up.
    However, 3 times, OracleCRService services does not start, and concequently
    database instance does not start automatically.
    Here is the log of "crsd.log" file on the active node.
    2007-05-31 17:43:13.281: [ CRSEVT][1720]32Processing RecoveryDone
    2007-05-31 17:46:51.968: [ CRSRES][3876]32StopResource: setting CLI values
    2007-05-31 17:46:52.437: [ OCRMAS][2368]th_rcfg_con: pudata retval [12]. Member [2] might have gone down
    2007-05-31 17:46:52.437: [ OCRMAS][2368]proath_master: Node [2] came up/down 1/0 [1]. Problem retrieving pubdata. Should get down reconfig soon
    2007-05-31 17:48:26.890: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.000: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.109: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.218: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.328: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.437: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.546: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.656: [ CRSCOMM][2852]32Retrying after CLSC timeout tonmsp109
    2007-05-31 17:48:27.750: [ COMMCRS][2668]clsc_send_msg: (028BA8A0) NS err (12571, 12560), transport (533, 57, 0)
    2007-05-31 17:48:27.750: [ CRSCOMM][2852]32CLSC connect failed tonmsp109ret = 9
    2007-05-31 17:48:27.859: [ CRSEVT][2852]32invokepeer ret 200
    2007-05-31 17:48:27.859: [ CRSRES][2852]32Remote start never sent to nmsp109: X_E2E_NotSent : Failed to connect to node: nmsp109
    (File: caa_CmdRTI.cpp, line: 492
    2007-05-31 17:48:27.859: [ CRSRES][2852][ALERT]32Remote start for `ora.nmsp109.gsd` failed on member `nmsp109`
    Is there anyone who can help me?
    Thanks in advance.
    Best Regards.
    Message was edited by:
    user507290

    oops- wrong forum!
    Please try the RAC forum.

  • HA Oracle startup/shutdown question

    Environment:
    2 Sunfire V890's running solaris 2.9 and SC3.1U4
    Hello All,
    I am having a problem with oracle startup and shutdown in my cluster. In order to get oracle to startup after a failover, shutdown what have you, I need to implement the following procedure as a pre/post oracle startup operation/script. Can anyone tell me if there is a place or hook in the HAOracle agent where I can add my own operation? I would rather avoid having to write a GDS agent in order to do this, if it is at all possilble.
    Thanks,
    George Cebulka
    PS
    Please Note: (This is a DBA thing, not mine!)
    ************** Begin *********************
    After a failover or startup we need following to avoid the �authentication error�
    1. remove the sqlnet.ora soft link from $ORACLE_HOME/network/admin
    1. rm /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    2. Create a new soft link to sqlnet.ora in $ORACLE_HOME/network/admin as following
    1. ln �s /global/pitt/dba/network/net8/sqlnet.ora /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    3. startup the database and listeners (using cluster database).
    4. Now database is up and running and we need to turn on radius authentication for which we need this post stuff
    5. Remove the sqlnet.ora link
    1. rm /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    6. Create a new soft link to replace sqlnet.ora with radius sqlnet.ora
    1. ln �s /global/pitt/dba/network/net8/sqlnet.ora.radius /global/oracle/oracledb/oraclev10201/network/admin/sqlnet.ora
    *************** End ******************

    You could also try the following:
    Create two GDS agents, where you need to include the steps to disable the pmf action script, which I describe in a blog at
    http://blogs.sun.com/TF/entry/disabling_pmf_action_script_with .
    This is needed since your scripts will not leave a process running for PMF.
    1. GDS resource (for this example I call it ora-prestart-rs):
    Start_command: It will do the steps to implement the original sqlnet.ora file + the steps from the blog
    Probe_command: /bin/true
    Stop_command: not needed
    2. GDS resource (for this example I call it ora-poststart-rs):
    Start_command: It will do the steps to setup the link for the radius sqlnet.ora file + the steps from the blog
    Probe_command: /bin/true
    Stop_command: It will do the steps to re-implement the original sqlnet.ora file
    Then you create the following resource dependencies (here I assume the name for the SUNW.oracle_server resource is ora-rs):
    scrgadm -c -j ora-rs -y Resource_dependencies=ora-prestart-rs
    scrgadm -c -j ora-poststart-rs -y Resource_dependencies=server-dwdd-rs
    Maybe you need to setup the same dependencies to include the SUNW.oracle_listerner resource. You did not mention which of those is facing problems.
    Of course, I never tried this. But this would enable you to use the HA Oracle agent unchanged.
    Greets
    Thorsten
    PS: I forgot to also mention that you need to set the Restart_type extension property for the SUNW.oracle_server resource to RESOURCE_GROUP_RESTART:
    scrgadm -c -j ora-rs -y Restart_type=RESOURCE_GROUP_RESTART
    That way a triggered restart by ora-rs will allways force the RG to go through stop/start - and only then the link will get set back to the sqlnet.ora the SUNW.oracle_server needs to work correctly.
    Note again - this is theory and needs proper testing.
    Message was edited by:
    Thorsten.Frueauf

  • Help! How to get DS 5.2 SP4 to startup automatically @ boot?

    Hi,
    I've been working on the installation and configuration for DS 5.2 P4 (on Solaris 9), and I ran across the same problem that I did awhile ago.
    After doing the DS installation using "setup", the "directoryserver" command/script (/usr/sbin/directoryserver) doesn't work.
    Then, because of that, the /etc/init.d/rc2.d/S72directory (which uses "directoryserver") also doesn't work, and so, DS 5.2 doesn't startup at boot automatically.
    According to some research I did, the reason the "directoryserver" doesn't work is because it apparently only gets installed/configured correctly if you install DS with a pkgadd, but there is no pkgadd for DS 5.2 P4 (the latest version). There's only a TAR.GZ distribution.
    I ran across this awhile ago, but never found a solution, except to maybe hack my own startup in /etc/init.d/rc2.d, and I was wondering if anyone knows how to configure things so that DS would work startup automatically at boot?
    Thanks,
    Jim

    # cd /etc/rc2.d
    # mv S72directory s72directory
    # cd /etc/rc3.d
    # ln -s /etc/init.d/directory S99directory
    # vi /etc/init.d/directory
    Create your own start/stop script /etc/init.d/directory with the following content.
    IDS5_PATH=/var/Sun/mps
    SERVER_ID=`hostname`
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/ssl/lib:/var/Sun/mps/lib:/usr/lib/mps
    export LD_LIBRARY_PATH
    case "$1" in
    'start')
    echo 'SUN ONE Directory Server service starting.'
    $IDS5_PATH/slapd-$SERVER_ID/start-slapd
    $IDS5_PATH/start-admin
    'stop')
    echo 'SUN ONE Directory Server service stopping.'
    $IDS5_PATH/stop-admin
    $IDS5_PATH/slapd-$SERVER_ID/stop-slapd
    echo "Usage: $0 { start | stop }"
    exit 1
    esac
    If you have SSL Cert DB, you would need to create a pin text file storing the private key password.
    # echo "Internal (Software) Token:secret" >/var/Sun/mps/alias/slapd-`hostname`-pin.txt
    IMPORTANT NOTE: DO NOT LEAVE ANY SPACES after the "Token:" and at the end of the line or else the password will not be recognized by "start-slapd".
    # chmod 400 /var/Sun/mps/alias/slapd-`hostname`-pin.txt
    Gary

  • Oracle Startup Scripts for AIX

    Does anyone have experience setting up automatic Oracle startup scripts for AIX?
    Any help would be greatly appreciated!
    Thanks,
    Mike

    Some recommandation here :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#sthref255
    Nicolas.

  • Oracle 10g forms problem

    hi
    can any body help me?
    i have installed oracle developer 10g with oracle 8i database
    when i run any form including the test.fmx
    it always ask to install JInitiator although it has been installed (appears in the control panel and in c:\program file\oracle folder)
    another problem appears after completing the installtion of JInitiator
    the browser views the HTML tags of the form not execute it
    so does any body have any idea???

    From the Windows Start menu, choose Run, type regedit, and click OK.
    Expand the registry nodes HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE.
    Make a backup copy of this key by right-clicking it and selecting Export from the context menu.
    Select one of the HOME nodes beneath the ORACLE node (the one for Developer Suite). Ensure that you have opened the correct node by verifying that the key FORMS90_PATH exists in that node.
    From the Registry Editor menu, select Edit > New > String Value. Type in the name FORMS90_HIDE_OBR_PARAMS.
    Double-click FORMS90_HIDE_OBR_PARAMS and in the Value data field enter false, then click OK.
    Close the registry editor.
    Now when you run a form from Forms Builder, it should show parameters, including userid, in the URL, but it should run fine.
    15. Set the path for Forms Builder to locate icons:
    a) Double-click the UI_ICON key to open it for editing.
    b) For the value data, append the path to the .gif file that you will use for the
    button icon, which is the \icons subdirectory of your lab directory. Separate this
    path from the remainder of the string with a semicolon; for example:
    ;e:\labs\lab\icons, then click OK.

  • Oracle Report Printing problem

    Dear All,
    i m using below code on button in oracle forms 6i problem is that when i click on button report should be print
    on network printer but it's print blank page however network printer is not my default printer when i set default printer
    to this network printer its working fine.
    and also its working when i set mode=character and network printer is not default printer but when i set mode=default or bitmap and notwork printer is not default then its print blank page.
         DECLARE
              p_list     PARAMLIST;
         BEGIN
         p_list := get_parameter_list('importdata');
         IF NOT Id_Null(p_list) THEN
    Destroy_Parameter_List('importdata');
         END IF;
              p_list := Create_Parameter_List('importdata');
              Add_Parameter(p_list,'P_IGM_NO',TEXT_PARAMETER,'10117/11');
              Add_Parameter(p_list,'P_INDEX_NO',TEXT_PARAMETER,'498');
              Add_Parameter(p_list,'P_CHR_NO',TEXT_PARAMETER,'CL-APL100/011');
              Add_Parameter(p_list,'P_CONTAINER_NO',TEXT_PARAMETER,'APHU6305929');
              Add_Parameter(p_list,'P_USER',TEXT_PARAMETER,'ALI');
              Add_Parameter(p_list,'P_BAL_QTY',TEXT_PARAMETER,0);
              Add_Parameter(p_list, 'PARAMFORM', TEXT_PARAMETER, 'NO');
              Add_Parameter(p_list,'DESTYPE',TEXT_PARAMETER,'PRINTER');
         Add_Parameter(p_list,'DESNAME',TEXT_PARAMETER,'\\192.168.1.67\epson');
         RUN_PRODUCT(REPORTS,'\\ORASERV\Atlas6I\Import\System\Reports\abc.rep',
         SYNCHRONOUS,
         RUNTIME,
         FILESYSTEM,
         p_list,
         NULL);
         END;

    i have made one oracle 6i reports. its is quite wide.when i run the report it shrink into too small font.
    and i increse it font size it by pressing + button on menu bar it looks okay.
    >
    The + button only causes a zoom in on the screen. It is not affecting the actual layout.
    >
    but the problem is that when i take print out of it ,it's printout comes in its intial format(in small font) evenif i choose different type of paper size or different orientation . it's printout is coming in too small font.
    pl tell me how to overcome this problem>
    The report rendering engine tries to fit the report page into the physical page size. This results in shrinking of font size,etc.
    To fix
    a) reduce the content on the report to something reasonable for printing.(Std paper sizes and orientation)
    b) change the page size selection. Of course, you will need a printer and paper of the size you set.
    Cheers,

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • How to mounted oracle database automatically  in oracle version 8.1.7?

    i want to know,how to mounted oracle database automatically in oracle version 8.1.7?

    Does this mean you are not using the WIndows operating system, or you doi not want to do this 'manually' using some point and click method?
    If this means, "do it automatically for reboots" and you are using the Windows OS, you need to set up a service and set it to automatic at reboot. Or, again in a Windows environment but at commnand line, use "net start {service name}" - as described in the manual.

Maybe you are looking for

  • In windows 7, how do I make firefox start automatically when I turn on the pc.?

    In windows 7, how do I make firefox start automatically when I turn on the pc

  • Stock Items by Supplier

    Hi Guys, Sorry to trouble you all again, I am learning I promise :O) I am writing a query to show All of my current items in stock and from which supplier they were purchased from. Could someone please advise which tables I need other than OITM and i

  • ALE and Matmas

    Hey, Please below is my question regarding ALE. EDI 850.     when i create an Purchase order, In output types i can select 1) send immediatley 2) send with periodical job.   if i select (2)  send with periodical job ,   then i can execute the idocs w

  • Tool for comparing two schemas....

    Do we have any tool avalilable in oracle that compares two different schemas and find out the differences between two so that we can validate a schema against a standard one?

  • Creating FOC and return based on Service order

    Dear all, I am working on the scenario where the FOC & return order need to be created based on the customer complaint. The decision took in the service order like Return or FOC then the concern process should initiate as bellow. Notification Service