0 Replies Latest reply: Jun 21, 2011 5:40 PM by user235116 RSS

    HELP: flarcreate fails with ERROR: unable to write archive

    user235116
      Greetings,
      Having trouble trying to create flar file.
      I am using the following syntax, but the -X seems to be ignored and I can't find what the format for that file should be.

      appdev03 # flarcreate -n appdev03 -S -H -a "author" -X /tmp/exclude /tools/appdev03.flar
      Full Flash
      Checking integrity...
      Integrity OK.
      WARNING: fdo: Ignoring duplicate filter entry. Choosen entry will be: /opt/orca/var -
      WARNING: fdo: Ignoring duplicate filter entry. Choosen entry will be: /opt/orca/var -
      Running precreation scripts...
      Precreation scripts done.
      Creating the archive...
      cpio: "var/tmp/21502_00000001" ?
      cpio: "var/tmp/28914_00000001" ?
      cpio: "var/tmp/28939_00000001" ?
      cpio: "var/tmp/26624_00000001" ?
      cpio: "var/tmp/26627_00000001" ?
      cpio: "var/tmp/04733_00000001" ?
      cpio: "var/tmp/29298_00000001" ?
      cpio: "var/tmp/13627_00000001" ?
      cpio: "var/tmp/13628_00000001" ?
      cpio: "var/tmp/02531_00000001" ?
      cpio: "var/tmp/02532_00000001" ?
      cpio: "var/tmp/04735_00000001" ?
      cpio: "var/tmp/xsauthn" ?
      cpio: "var/tmp/27491_00000001" ?
      cpio: "var/tmp/08868_00000001" ?
      cpio: "var/tmp/08869_00000001" ?
      cpio: "var/tmp/20269_00000001" ?
      cpio: "var/tmp/20270_00000001" ?
      cpio: "var/tmp/27492_00000001" ?
      cpio: "var/tmp/xsauthz" ?
      cpio: "var/tmp/16103_00000001" ?
      cpio: "var/tmp/16104_00000001" ?
      cpio: "var/tmp/29964_00000001" ?
      cpio: "var/tmp/03913_00000001" ?
      cpio: "var/tmp/09305_00000001" ?
      cpio: "var/tmp/10454_00000001" ?
      cpio: "var/tmp/10505_00000001" ?
      cpio: "var/tmp/07839_00000001" ?
      cpio: "var/tmp/08129_00000001" ?
      cpio: "var/tmp/00574_00000001" ?
      cpio: "var/tmp/00694_00000001" ?
      cpio: "var/tmp/05611_00000001" ?
      cpio: "var/tmp/05612_00000001" ?
      cpio: "var/tmp/01281_00000001" ?
      cpio: "var/tmp/06672_00000001" ?
      cpio: "var/tmp/06674_00000001" ?
      cpio: "var/tmp/14242_00000001" ?
      cpio: "var/tmp/14243_00000001" ?
      cpio: "var/tmp/13904_00000001" ?
      cpio: "var/tmp/13924_00000001" ?
      cpio: "var/tmp/25133_00000001" ?
      cpio: "var/tmp/25159_00000001" ?
      cpio: "var/tmp/27648_00000001" ?
      cpio: "var/tmp/27649_00000001" ?
      cpio: "var/tmp/29284_00000001" ?
      cpio: "var/tmp/29287_00000001" ?
      cpio: "var/tmp/12637_00000001" ?
      cpio: "var/tmp/12640_00000001" ?
      cpio: "var/tmp/13947_00000001" ?
      cpio: "var/tmp/03944_00000001" ?
      cpio: "var/tmp/03945_00000001" ?
      cpio: "var/tmp/13950_00000001" ?
      cpio: Error with fstatat() of "opt/appworx/log/RmiServer1106141450.log", errno 2, No such file or directory
      cpio: Error with fstatat() of "opt/appworx/log/RmiServer1106141440.log", errno 2, No such file or directory
      22708784 blocks
      54 error(s)
      Unable to write archive file.
      ERROR: Unable to write archive.

      my -X file /tmp/exclude is as follows, yet it seems ignored:

      appdev03 # more /tmp/exclude
      /var/tmp/.oracle
      /var/tmp/[0-9*]
      /var/tmp/xsauthz
      /var/crash
      /tlg
      /tacp
      /depot
      /tools
      /toolsdb
      /development
      /opt/orca/var
      /usr/local/CAcrypto/cacrypto_solaris.tar
      /usr/local/CAcrypto/cacrypto_sun4_solaris.tar
      /usr/local/CAcrypto/cacrypto.tar
      /var/opt/oracle/jre/jre.tar
      /var/opt/oracle/oraInventory.09252003.tar
      /var/opt/oracle/oraInventory.10212003.tar
      /var/opt/oracle/oraInventory.11032003.tar
      /var/opt/oracle/jre.tar
      /opt/ca/harvest/harvest.tar
      /opt/ca/harvest/tomcat55/apache-tomcat-5.5.20.tar
      /opt/ca/harvest/tomcat55/apache-tomcat-5.5.20-compat.tar
      /opt/ca/caiptodbc/odbc511.tar
      /opt/appworx/UWClient/web/images.tar
      /opt/appworx/jre.tar
      /opt/appworx/apache.tar
      /opt/appworx/apache_dev.tar
      /opt/appworx61/jre.tar
      /opt/appworx61/apache.tar
      /opt/appworx61/AWjars.tar
      /opt/appworx61/AWutil.tar
      /opt/appworx61/install/v61/apache.tar
      /opt/appworx61/install/v61/awjars.tar
      /opt/appworx61/install/v61/awutil.tar
      /opt/appworx61/install/v61/jre.tar
      /opt/appworx/log/RmiServer1106141450.log
      /opt/appworx/log/RmiServer1106141440.log
      /emc/2312fcode_2_00_6.tar

      the file is there but not sure of its accuracy:

      appdev03 # flar -i appdev03
      files_archived_method=cpio
      creation_date=20110621221025
      creation_master=appdev03
      content_name=appdev03
      creation_node=appdev03
      creation_hardware_class=sun4u
      creation_platform=SUNW,Netra-T12
      creation_processor=sparc
      creation_release=5.9
      creation_os_name=SunOS
      creation_os_version=Generic_118558-39
      files_compressed_method=none
      content_author=author
      content_architectures=sun4u
      type=FULL


      system is Solaris 9 04/03 with Generic_118558-39 V1280.
      plenty of space in the directory being written to and I can touch a file there as well.

      Any advise is appreciated, thanks.
      Jeff

      Edited by: user13021352 on Jun 21, 2011 3:40 PM