- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Code error of tar command
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
тАО02-27-2003 12:02 PM
тАО02-27-2003 12:02 PM
Code error of tar command
I have a backup process whith tar command and
I receive code error = 5
what is this ???? anybody know this code error ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 12:11 PM
тАО02-27-2003 12:11 PM
Re: Code error of tar command
Error code 5 is EIO or I/O error. You can usually find error codes by strings /usr/include/sys/errno.h | grep 5
I suspect that you have a bad tape, drive or SCSI subsystem.
Try another tape first. Then clean the drive.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 12:14 PM
тАО02-27-2003 12:14 PM
Re: Code error of tar command
-couldn't get uname for uid
-couldn't get gname for gid
-pwd failed
-pathname too long
-filesize changed
etc, etc, etc.
Some other error codes which are more serious are ..
2 - tape write error
3 - tape read error (block size changed)
Can you post the actual error message you're getting ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 12:17 PM
тАО02-27-2003 12:17 PM
Re: Code error of tar command
"tar returned error [5]"
.. then my previous post would apply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 12:25 PM
тАО02-27-2003 12:25 PM
Re: Code error of tar command
coderr=$?
and then return 5.
this is a printout of tar command:
a ./disco1/COCOON/PROD/logs/dlg_00_pa_liq_res_001_pr_generar_26_02_2003_14_39_02.log 10 blocks
a ./disco1/COCOON/PROD/logs/dlg_00_pa_liq_res_001_pr_generar_26_02_2003_15_50_02.log 9 blocks
a ./disco1/COCOON/PROD/logs/pa_liq_act_rct_001_pr_calcular_26_02_2003_15_54_02.log 3 blocks
but the proccess is not interactive !!
I think that is a path length problem ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 07:41 PM
тАО02-27-2003 07:41 PM
Re: Code error of tar command
No those paths are nowhere near length limits.
I believe I still stand by my first diag - you've got a simple I/O error.
Start your diag by ruling out the simplest things first:
1) tape
2) drive dirty
3) drive fault
4) SCSI subsystem
5) System bus
6) etc.
Good hunting,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 05:09 AM
тАО03-03-2003 05:09 AM
Re: Code error of tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 05:58 AM
тАО03-03-2003 05:58 AM
Re: Code error of tar command
See man tar for your own system.
See also :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6c983a1c04ffd61190050090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 06:33 AM
тАО03-03-2003 06:33 AM
Re: Code error of tar command
I will check that !!!
thanks very very much to all !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 06:49 AM
тАО03-03-2003 06:49 AM
Re: Code error of tar command
cd /usr/lib/nls/C
dumpmsg tar.cat
This gives
5 Can only create standard output archives