- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Failing backupscripts
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
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
тАО02-25-2004 07:01 PM
тАО02-25-2004 07:01 PM
Monday i've rebuild my kernel on our hpux11.0 box.
Suddenly the Omniback 5.10 start and stopscripts that i use after the backup behave wierd.
The script to start and stop my database is the same, i call the script simply with the option start, to start and stop, to stop.
During the start operation everything works fine but during stopping the script can't find anny command like su, basename, id etc. that it used before.
I've compaired /etc/profile /etc/PATH and found no differance.
What happend or what can i do !!!
The start/stop scripts have not been changed sinse last week till now.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 07:12 PM
тАО02-25-2004 07:12 PM
SolutionThen, post that and the script here :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 07:16 PM
тАО02-25-2004 07:16 PM
Re: Failing backupscripts
It sounds strange. As a first test you can try to add a line in each script.
in the pre_exec script:
env >/tmp/pre.log
in the pre_exec script:
env >/tmp/post.log
And compare the files after backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 07:26 PM
тАО02-25-2004 07:26 PM
Re: Failing backupscripts
When i came in these last day's i've used the very same scripts to start the databases and applications after the backup manualy.
Futher i've found out calling the commands explicitly in the script like
/usr/bin/basename seems to work fine.
Probably an Omniback/Dataprotector problem ??
Kl@@S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 09:12 PM
тАО02-25-2004 09:12 PM
Re: Failing backupscripts
i too think it has to do with environment settings, especially $PATH. Did you try the suggestion to execute the 'env' command?
Also check whether $PATH is set explicitly in your script and if it is correct.
If you reaaly think it has to do with your kernel: what changes did you make?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 09:26 PM
тАО02-25-2004 09:26 PM
Re: Failing backupscripts
If they run from the command line then the problem is environmental viarables which exits for a login but not when the scripts try to run. Ensure you path fully to all commands that you call in your scripts.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2004 12:48 AM
тАО02-26-2004 12:48 AM
Re: Failing backupscripts
1. You use the same script for starting and stopping.
2. The only change was the building of the new kernel. (?)
In addittion to what has already been suggested, could you please also post the script.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2004 05:37 PM
тАО02-26-2004 05:37 PM
Re: Failing backupscripts
My problem is solved, i've added the line "PATH=`/usr/bin/cat /etc/PATH`" to my script after the first line "#!/usr/bin/sh".
Yesterday i've checked the forum group Dataprotector and there were some questions about this behaviour in some old versions of omniback.
All the answers pointed to the fact that omniback does not use a 'default' shell, if you have luck the environment settings are there but it is not guaranteed .
Thanks for all the input !!!
Kl@@s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2004 05:51 PM
тАО02-26-2004 05:51 PM
Re: Failing backupscripts
I've rebuild my kernel and the only thing changed was the parameter nflocks, it went from 4096 to 10.000 because of problems with my applications.
nfile is set to 20.000 by the way.
Kl@@s