- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Can't get rc scripts to start process automati...
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
06-13-2005 10:45 PM
06-13-2005 10:45 PM
Can't get rc scripts to start process automatically
Thanks!~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2005 10:54 PM
06-13-2005 10:54 PM
Re: Can't get rc scripts to start process automatically
It's sounding like it's not '/bin/sh'.
When the system starts, 'rc' uses 'sh' (directly) to execute each of the start-up routines, this means that if the startup script is *not* written to use '#!/bin/sh', then you'll get precisely what you're seeing.
If it must be written in that shell language, then write a small wrapper for your S60 that simply "/opt/dce/etc/rc.dceprcd $@".
If it *is* written to use '/bin/sh', then attach a copy of that routine here and we'll have a look over it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2005 05:35 PM
06-14-2005 05:35 PM
Re: Can't get rc scripts to start process automatically
few more reasons for why it could fail:
which init level are you in? If you are in level 5 then the level 3 script will not get executed, you have to do linking of this in rc5.d also
at system startup there will not be any PATH variable mentioned. So if your script is calling the binary just like opdagt-start (without explicitly stating the path) then it will not run.
Attach your script and let us take a look at it and we may come up with a solution to ur problem.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 09:03 PM
12-06-2005 09:03 PM
Re: Can't get rc scripts to start process automatically
This is the first I've seen about anyone being able to install an agent on a Debian 3.1 system. I've been spending a lot of sweat and tears on that, without any success.
Jackie: Are you willing to share your expertise in making an agent work with me? Have you succeded in making an https agent work as well?
I haven't even installed without major error messages.
/flix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 10:20 AM
12-08-2005 10:20 AM
Re: Can't get rc scripts to start process automatically
script into the rc*.d directories. It
will link it in all the standard directories.
Try running your script using
/bin/sh -x scriptname
to verifiy that it runs corrrectly under sh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 12:25 AM
12-13-2005 12:25 AM
Re: Can't get rc scripts to start process automatically
but be very carefuly because if your script do firewaling then you may experinece some problems during boot process.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2005 12:31 AM
12-13-2005 12:31 AM
Re: Can't get rc scripts to start process automatically
Regards