- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: startup script
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
Discussions
Discussions
Forums
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
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-2008 05:55 AM
тАО05-08-2008 05:55 AM
startup script
we re using dbora script for starting,stoping
listners and dtbse.
While running under root user it work fine
we want execute this script on server startup
for this we have created soft link under
/sbin/rc1.d & rc2.d like
bash-3.2# pwd
/sbin/rc2.d
bash-3.2# ls -l S99dbora
lrwxr-xr-x 1 root sys 18 Apr 25 23:05 S99dbora -> /sbin/init.d/dbora
bash-3.2# pwd
/sbin/rc1.d
bash-3.2# ls -l K100dbora
lrwxr-xr-x 1 root sys 18 Apr 25 23:04 K100dbora -> /sbin/init.d/dbora
this didn't work?
pls provide some input to resolve the issue
thanks
shabir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2008 06:00 AM
тАО05-08-2008 06:00 AM
Re: startup script
If you execute the scrips as any user you have a path to used in script binaries.
Use full patch in script - like /usr/bin/ping
or set PATH with appropriate values.
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2008 06:20 AM
тАО05-08-2008 06:20 AM
Re: startup script
ls -l /sbin/init.d/dbora
You should note that scripts have to be shut down in the reverse order to that in which they are started. To achieve this, you should make sure your K and S numbers add up to 1000.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2008 06:39 AM
тАО05-08-2008 06:39 AM
Re: startup script
Well, that's not real helpful. What didn't work? Did you get any error messages? Was anything displayed on the console during the reboot? Did you check the /etc/rc.log file to see if there were any messages there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2008 08:42 AM
тАО05-08-2008 08:42 AM
Re: startup script
Try to put it in rc3.d directory. and restart the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2008 08:49 AM
тАО05-08-2008 08:49 AM
Re: startup script
this seems to be a known issue. Try above run-level 2.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2008 08:01 PM
тАО05-08-2008 08:01 PM
Re: startup script
please refer to metalink note: 1074016.6 - 'dbora' does not work on Redhat linux.
Solution:
You will need to change the link to run level 3.
From:
ln -s /sbin/init.d/dbora /sbin/rc2.d/S99dbora
To:
ln -s /sbin/init.d/dbora /sbin/rc3.d/S99dbora
Explanation:
Linux uses run level 3 instead of run 2 by default for multi-user access.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 09:03 PM
тАО05-09-2008 09:03 PM
Re: startup script
We have executed it on rc3.d run level
but it didn't work.
also we are using hp ux 11.23 version
thanks
shabir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 09:13 PM
тАО05-09-2008 09:13 PM
Re: startup script
Any error messages in the rc.log?
revert!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2008 09:49 PM
тАО05-09-2008 09:49 PM
Re: startup script
there seems no message related dbora stratup
thanks
shabir