- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script problem
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-16-2002 06:08 AM
тАО05-16-2002 06:08 AM
Re: script problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:09 AM
тАО05-16-2002 06:09 AM
Re: script problem
OK, so are you relying on something else that has *not* yet started when your script is launched??? That is, you have linked it into the startup sequence too early???
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:10 AM
тАО05-16-2002 06:10 AM
Re: script problem
Don't be offended by this, but have you checked permissions in /sbin/rc3.d and in /sbin/init.d
And is the script in /sbin/rc3.d correctly named and linked to the script in /sbin/init.d
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:11 AM
тАО05-16-2002 06:11 AM
Re: script problem
but at boot time no!! Sigh Sigh <<
When you rebooted the system, what did the error log show? If it was empty, or if the timestamp on the file did not change from when you ran it at the command line (if you did that first), then that suggests that your script is not getting started at all during boot, and that there is a setup piece missing.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:12 AM
тАО05-16-2002 06:12 AM
Re: script problem
number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:27 AM
тАО05-16-2002 06:27 AM
Re: script problem
Does the script require any volumes to be mounted, the network to be up and running, a database to be started? It could be just a matter of boot sequence.
Can you post the script?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:27 AM
тАО05-16-2002 06:27 AM
Re: script problem
yes, it's the last in rc3.d
On a Workstation whit the same OS all work correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:30 AM
тАО05-16-2002 06:30 AM
Re: script problem
You certainly have a lot of curiosity generated. Several folks have asked you to *please post the script*. Well?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 06:46 AM
тАО05-16-2002 06:46 AM
Re: script problem
/sbin/rc3.d/S101nrpe star_msg
and
/sbin/rc3.d/S101nrpe start
are valid tests. You can try rebooting into a single-user mode. Do 'mount -a' and then run the same tests.
The other two commands:
/sbin/rc3.d/S101nrpe stop_msg
and
/sbin/rc3.d/S101nrpe stop
should be replaced by:
/sbin/rc2.d/K899nrpe stop_msg
and
/sbin/rc2.d/K899nrpe stop
respectively.
Mladen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2002 07:02 AM
тАО05-16-2002 07:02 AM
Re: script problem
And then you will do: init 4
insert :
exec 2>/tmp/whatishappening
set -x
on the first lines of your scripts...
if /tmp/whatishappening exists at least you know the script have been executed, and the errors produced...