- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: omniback II & cron 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
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
01-16-2003 04:26 AM
01-16-2003 04:26 AM
with command file at the command line all works properly,but in cron job
it can't work.
Any suggestions?
Solved! Go to Solution.
- Tags:
- crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 10:29 PM
01-16-2003 10:29 PM
SolutionYour question should be posted in HP-UX.
If you use uma, i guess, you have a tape library or something with a robot arm.
Why do you use uma ? Did you not configure your transport device properly ?
Do you not use OmniBack for backups ?
If yes, OmniBack controls the transport device, so you don't have to care about tapes inserted into drives.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 10:30 PM
01-16-2003 10:30 PM
Re: omniback II & cron problem
Sorry, forgot something.
In the ITRC there is a document KBAN00000190
about the configuration of a tape library under HP-UX 11.0 .
This contains the necessary info.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 04:15 AM
01-17-2003 04:15 AM
Re: omniback II & cron problem
Yes,I use autoloader 1/9.
Uma is convenient utility for
tape manipulation when tar program used.uma works properly at the command line.It means that transport device was configured properly,I guess.The only problem that uma don't work in
cron job.I don't use OmniBack for backups.I use tar instead.
Thanx for information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 07:50 AM
01-17-2003 07:50 AM
Re: omniback II & cron problem
uma command stated in your crontab file?
Andre'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2003 12:29 AM
01-20-2003 12:29 AM
Re: omniback II & cron problem
My cron file looks like:
0 * * * * echo "move d1 s8"|/opt/omni/lbin/uma -ioctl /dev/robot.
I use cron jobs many years and
all my cron jobs work fine but I don't know
what is going wrong in this case.May be the problem in PATH or SHELL variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2003 01:48 AM
01-20-2003 01:48 AM
Re: omniback II & cron problem
Here an extract from the uma manpages :
2. To let uma execute a batch script of its own commands, simply
redirect it's stdin to a file containing a list of uma commands
separated with newlines:
cat >/tmp/cmdFile
inq
addr
stat
uma -ioctl /dev/spt/sctl0
END OF EXTRACT
Rgds
Alexander M. Ermes
BTW you should think about using OmniBack.
Very effective
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 02:54 AM
04-15-2003 02:54 AM
Re: omniback II & cron problem
Maybe you have solved this on your own, but I ran into the same problem and for me it worked after I added the -tty switch.
So your cronjob should be changed from:
0 * * * * echo "move d1 s8"|/opt/omni/lbin/uma -ioctl /dev/robot
to:
0 * * * * echo "move d1 s8"|/opt/omni/lbin/uma -ioctl /dev/robot -tty
It worked for me so it might be worth a try.
// Fredrik