Database Administration (MOSC)

MOSC Banner

Auto shutdown oracle db on solaris 11.2 not working

edited Sep 24, 2014 5:00AM in Database Administration (MOSC) 2 commentsAnswered

This question is Not Answered.(Mark as assumed answered)

2725026

Newbie

2725026 Sep 13, 2014 7:51 AM

Dear experts,

Followed these steps to auto shutdown  oracle  11.2 on Solaris x86  11.2 :

1. created /etc/init.d/dbstop :

#!/bin/bash

export PATH=/usr/bin:/bin:/sbin:/usr/sbin:

/usr/bin/dbstop.bash 1>>/var/log/dbstop.log 2>&1

ls -ld /etc/init.d/dbstop

-rwxr-xr-x   1 root     root          95 Sep 13 13:27 /etc/init.d/dbstop

2. cd /etc/rc0.d/

ln -s /etc/init.d/dbstop  K01dbstop

ls -ld K01*

lrwxrwxrwx   1 root     root          18 Sep 13 15:41 K01dbstop -> /etc/init.d/dbstop

Executed reboot. checked  /var/log, didnt  find dbstop.log. Also checked alert log, did not see shutdown messages. I'm able manually shutdown database by  executing  /usr/bin/dbstop.bash.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center