- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: su - startup applications fail
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
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
06-11-2001 11:09 AM
06-11-2001 11:09 AM
Anybody have a clue as to what is happening or where we can look futher?
Thanks in advance...jerry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 11:29 AM
06-11-2001 11:29 AM
Re: su - startup applications fail
from what you have given me
my only suggestion is to check the entire flow of your scripts
look for hard exits and other su commands with in the su command
examples i've seen
processes started in the back ground followed by if then statements ending with an exit
if you can attach one for the scripts thats failing
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 11:34 AM
06-11-2001 11:34 AM
Re: su - startup applications fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 11:38 AM
06-11-2001 11:38 AM
Re: su - startup applications fail
> Make sure that any associated services are available when you code startup scripts. In general, run-level 3 is the appropritate place for applications to be started. See "HP-UX 10.x Startup and Configuration (HP-UX 10.x)" for details:
http://docs.hp.com/hpux/onlinedocs/os/startup.pdf
If you are using these features, check the /etc/rc.log (and/or /etc/rc.log.old) for messages from the startup sequence.
> Make sure that all environmental variables needed for your script are defined in the environment in which you start it. You show the use of 'su -
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 11:44 AM
06-11-2001 11:44 AM
SolutionWe had a similar problem when trying to start some of our Sybase applications. We solved the problme by beginning the su command with a nohup:
/usr/bin/nohup /usr/bin/su - ID -c "command"
This seemed to have fixed our problem.
Hope this helps --- jls