AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Tar error when backup socket files

    Posted Tue August 07, 2007 11:29 AM

    Originally posted by: SystemAdmin


    I'm getting the following error when I take a backup of socket type files in AIX 5.3:

    tar: 0511-180 ./var/ct/215334102/soc/mc/clsrv is not a valid tar file type.
    tar: 0511-180 ./var/ct/215334102/soc/mc/rmsrv is not a valid tar file type.
    tar: 0511-180 ./var/ct/215334102/soc/mc/RMIBM.CSMAgentRM.0 is not a valid tar file type.
    tar: 0511-180 ./var/ct/215334102/soc/mc/RMIBM.AuditRM.0 is not a valid tar file type.
    tar: 0511-180 ./var/ct/215334102/soc/mc/RMIBM.ERRM.0 is not a valid tar file type.
    tar: 0511-180 ./var/ct/215334102/soc/mc/RMIBM.ServiceRM.0 is not a valid tar file type.
    How can I avoid this kind of error?
    #AIX-Forum


  • 2.  Re: Tar error when backup socket files

    Posted Tue August 07, 2007 05:04 PM

    Originally posted by: gcorneau


    The AIX tar command is unable to backup socket files.

    You can either:

    a) redirect the stderr to /dev/null (2>/dev/null) to not see the errors
    b) use a different command (i.e. cpio or backup) or lastly
    c) just ignore them


    Glen Corneau
    IBM System p Advanced Technical Support
    #AIX-Forum


  • 3.  Re: Tar error when backup socket files

    Posted Wed August 08, 2007 09:31 AM

    Originally posted by: SystemAdmin


    and I guess It's the same thing with the following errors:

    ar: 0511-177 Symbolic link name ./usr/share/man/info/EN_US/a_doc_lib/libs/basetrf1/pthread_setcancelstate.htm is too long.
    tar: 0511-177 Symbolic link name ./usr/share/man/info/EN_US/a_doc_lib/libs/basetrf1/pthread_setcanceltype.htm is too long.

    I can't avoid them either?
    #AIX-Forum