Operating System - HP-UX
1834499 Members
2924 Online
110068 Solutions
New Discussion

I am unable to do tar ?Priority high.

 
SOLVED
Go to solution
Sudhaadm
Regular Advisor

I am unable to do tar ?Priority high.

Hi all,
Thanks in advance.
While excecuting tar as a root user the below error has been occured.
a fkl1_am3/BAAa2693030/c677.vml 3 blocks
tar: couldn't get uname for uid 401
tar: couldn't get gname for gid 16
tar: couldn't get uname for uid 401
tar: couldn't get gname for gid 16
tar: couldn't get uname for uid 401
tar: couldn't get gname for gid 16
a fkl1_am3/BAAa1053535/ic1/test.o 50 blocks
tar: couldn't get uname for uid 401
tar: couldn't get gname for gid 16
tar: couldn't get uname for uid 401
tar: couldn't get gname for gid 16
tar: couldn't get uname for uid 401
tar: couldn't get gname for gid 16
a fkl1_am3/BAAa0112222/ic1/test.o 50 blocks
-----------------------
The file permissions(Instead of user and group name numeric no) also not in proper:
few files in that folder:
-rw-rw-r-- 1 3584 16 1100 Sep 18 2003 unmatched_neu_nets
-rw-rw-r-- 1 3584 16 1854835 Jul 15 12:24 wirelist
-rw-rw-r-- 1 3584 16 1617990 Mar 16 2005 wirelist.1~
-rw-rw-r-- 1 3584 16 3110560 Jul 15 12:24 wirelist.o
-rw-rw-r-- 1 3584 16 2776944 Mar 16 2005 wirelist.o.1~
-rw-rw-r-- 1 3584 16 2077008 Aug 8 2002 wirelist.o.bkp
-rw-rw-r-- 1 3584 16 1223620 Aug 8 2002 wirelist_am2
-rw-rw-r-- 1 3584 16 2222584 Aug 8 2002 wirelist_am2.o

Please provide the solution to do tar and is there any problem with the file permission
4 REPLIES 4
Sivakumar TS
Honored Contributor

Re: I am unable to do tar ?Priority high.

Dear Sudhaadm,

Was there any removal of user / group is the system.

try

pwck --> password check

grpck---> group check

this will check for any inconistencies.

HtH,

Siva.
Nothing is Impossible !
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: I am unable to do tar ?Priority high.

Hi,

Check the thread below :

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=145193

and this thread also :

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=690170

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Arunvijai_4
Honored Contributor

Re: I am unable to do tar ?Priority high.

tar tries to get UID infromation from your system, its of no harm.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Devender Khatana
Honored Contributor

Re: I am unable to do tar ?Priority high.

Hi,

This message simply means that UID 401 and GID 16 does not exists on this system. Allthough the ownner and group of these files from where these were backed up was with these IDs.

This is possible if you took backup on some other system and are restoring somewhere else or if you took backup on same system and restoring backup to onto same then some users and groups were deleted after backup.
This is why in case of user and group name in permissions it shows there numeric values as these users do not exist on this system.

HTH,
Devender
Impossible itself mentions "I m possible"