- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- starting programms at startup
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
05-08-2002 12:39 AM
05-08-2002 12:39 AM
i have a problem starting automatic an Oracle9i Database after an reboot of the server.
As mentioned in the HP-UX Documentation I created a script to automatic start und stop the Database. I tried all the instrunctions by hand and it work fine. I although create the symbolic links mentioned in the Documentation.
Although the Database is not started after reboot. In rc.log I get the following Message:
Output from "/sbin/rc3.d/S99dbora start":
----------------------------
/sbin/rc3.d/S99dbora[24]: su: not found.
"/sbin/rc3.d/S99dbora start" FAILED
Can someone please help me and tell me what am I doing wrong.
Many thanks in advance
Luis
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:43 AM
05-08-2002 12:43 AM
Re: starting programms at startup
Startup scripts have a very limited shell environment. It sounds as though PATH isn't set correctly.
Could you post your startup script?
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:44 AM
05-08-2002 12:44 AM
Re: starting programms at startup
If not try putting it in and see if it makes a difference.
Regards,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:53 AM
05-08-2002 12:53 AM
Re: starting programms at startup
The script is not able to find the su command.
So at line 24 in S99dbora file
change 'su' to '/usr/bin/su'.
Also, it is ideal to specify the shell in which you run the S99dbora file. So change your /sbin/init.d/dbora file and at the beginning mention #!/usr/bin/ksh
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 03:17 AM
05-08-2002 03:17 AM
Re: starting programms at startup
you all where right. He couldn't found the su command.
I've changed it but it still doesn't work.
Now I get this message in rc.log
Output from "/sbin/rc3.d/S99dbora start":
----------------------------
stty: : Not a typewriter
(c)Copyright 1983-1997 Hewlett-Packard Co., All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-1997 Mentat, Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1997 Isogon Corporation
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
logout
The command I use to start the database is the following:
/usr/bin/su - $ORA_OWNER -c "/opt/oracle/products/9.0.1/bin/dbstart &"
ORA_OWNER is an variable I define at the begin of the dbora script.
Maybe you could help me.
Many thanks in advance
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 06:22 PM
05-08-2002 06:22 PM
Re: starting programms at startup
Another thing - try replacing
/usr/bin/su - $ORA_OWNER -c "/opt/oracle/products/9.0.1/bin/dbstart &"
with
/usr/bin/su - $ORA_OWNER -c "nohup /opt/oracle/products/9.0.1/bin/dbstart &"
Good Luck!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 06:33 PM
05-08-2002 06:33 PM
Re: starting programms at startup
nohup /usr/bin/su - $ORA_OWNER -c "/opt/oracle/products/9.0.1/bin/dbstart" &
Let us know if this helps.
