- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar error message
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
03-27-2002 06:27 AM
03-27-2002 06:27 AM
I have been unsuccessful in finding on the Internet or ITRC forums any mention of a "tarstat=5" error message. Not even the man pages offer help. The files that I am writing to the tape drive are Oracle archive logs. We've tried different tape drives, new tapes, cleaning the drives to no avail. Any help/hints would be greatly appreciated. Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 06:33 AM
03-27-2002 06:33 AM
SolutionCheck this out:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=5d676e1006888e68c3/screen=ckiDisplayDocument?docId=200000038250705
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 06:53 AM
03-27-2002 06:53 AM
Re: tar error message
check out the tar exit codes. Tar Exit code 5 is non-fatal and can be becuse of variour reasons as mentioned in the link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=616855ba03ba5cafe0/screen=ckiDisplayDocument?docId=200000038250707
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 07:02 AM
03-27-2002 07:02 AM
Re: tar error message
It *might* mean that the "errno" variable is set to 5. If so, that means "I/O error":
> $ grep 5 /usr/include/sys/errno.h
...
> #define EIO 5 /* I/O error */
...
> $
See the errno(2) manual page for details. If the name of the *system call* (i.e. for example "write", "read", etc.) is also reported, then see the "RETURN VALUE" section of the manual page of that system call (i.e. for example write(2)).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 07:06 AM
03-27-2002 07:06 AM
Re: tar error message
For all tar messages
dumpmsg /usr/lib/nls/msg/C/tar.cat
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 12:55 PM
03-28-2002 12:55 PM
Re: tar error message
write a small perl program
with the functionality of:
sub get_stdout_stderr {
# Does "cmd" in C-shell and returns both stdout and stderr.
my $cmd = shift;
my $tmpfile = "/tmp/tmp$$".time;
my $cmd_redirect = "($cmd) >& $tmpfile; cat $tmpfile; rm -f $tmpfile";
my $result = `csh -f -c "$cmd_redirect"`;
return $result;
}
my $tarstat;
$tarstat = get_stdout_stderr "$tar tvf $dlt";
print "$tarstat";
Hopefully this will help you to trace the real returncodes.
Greetings,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 08:13 AM
04-01-2002 08:13 AM
Re: tar error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2006 11:47 PM
10-19-2006 11:47 PM