- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Startup scripts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 11:06 AM
11-10-2000 11:06 AM
As of 10.X the startup scripts cannot use any commands and libraries in /opt. Is it the same with 11.00. Actually i need to start oracle database during startup , oracle is installed in /opt/oraswr on my machine. Can I use startup scripts to start oracle at boot time.
Thanks in advance
Praveen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 11:13 AM
11-10-2000 11:13 AM
Re: Startup scripts
Also, see this thread: http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xecf95f260cafd4118fef0090279cd0f9,00.html
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 11:15 AM
11-10-2000 11:15 AM
Re: Startup scripts
Using /opt is not a problem as long as you have transitioned through run-level 1. The mounting of all volume groups is done via /sbin/rc1.d/S100localmount (in 10.20, at least), so by the time you reach level-3 (normally used for Oracle startup) you will be fine.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2000 11:16 AM
11-10-2000 11:16 AM
Re: Startup scripts
You should make the your database startup script one of the last to be executed eg. S999database (in your /sbin/rc2.d) then you will be able to use commands in /opt - the reason is that this ensures that /opt is mounted (ie. all local filesystems are mounted) prior to attempting to start your database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2000 11:53 PM
11-12-2000 11:53 PM
Re: Startup scripts
# instance specific startup section
ORACLE_SID=database_name export ORACLE_SID
svrmgrl <
startup
EOF
if [ $? -eq 0 ]; then
echo ""
echo "Database "${ORACLE_SID}" WARM started."
else
echo ""
echo "Database "${ORACLE_SID}" NOT started."
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2000 11:59 PM
11-12-2000 11:59 PM
Re: Startup scripts
# instance specific startup section
ORACLE_SID=database_name export ORACLE_SID
svrmgrl <
startup
EOF
if [ $? -eq 0 ]; then
echo ""
echo "Database "${ORACLE_SID}" WARM started."
else
echo ""
echo "Database "${ORACLE_SID}" NOT started."
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 12:55 AM
11-13-2000 12:55 AM
Re: Startup scripts
when I do su - oracle -c script, though oracle is getting started properly, the message which I get on console is getting garbled. when i check the /etc/rc.log I get message saying
stty : : Not a typewriter
I think that .profile is getting executed when i do su - oracle and causing this error. What should I do fix this.
Thanks in advance
Praveen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 01:02 AM
11-13-2000 01:02 AM
SolutionI think this link will help you
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x73e66c96588ad4118fef0090279cd0f9,00.html