{"id":443,"date":"2010-05-17T00:00:00","date_gmt":"2010-05-17T00:00:00","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/05\/17\/upgrade-export-on-solaris-fails-with-qerror-failed-to-execute-gtar-c-cq\/"},"modified":"2023-02-24T13:02:43","modified_gmt":"2023-02-24T13:02:43","slug":"upgrade-export-on-solaris-fails-with-qerror-failed-to-execute-gtar-c-cq","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/UNIX\/Solaris\/upgrade-export-on-solaris-fails-with-qerror-failed-to-execute-gtar-c-cq.html","title":{"rendered":"Solaris Upgrade Export “Error: Failed to execute ‘gtar -c -C”"},"content":{"rendered":"

When running an upgrade_export on a Solaris Smart Centre you may receive the following error :<\/p>\n

\u00a0\u00a0\u00a0 Compressing the files… gtar: Only wrote 2047 of 10240 bytes to export.tgz.tar gtar: Error is not recoverable: exiting now <\/strong><\/em><\/span>
\n\u00a0\u00a0\u00a0 Error: Failed to execute ‘gtar -c -C “\/opt\/CPsuite-R65\/fw1\/tmp\/upgrade_temp_dir” -f “export.tgz.tar” .’ command [ 26409\u00a0\u00a0\u00a0\u00a0 1]@#######[10 May 15:35:27] Compress: <\/strong><\/em><\/span>
\n\u00a0\u00a0 Error >> Failed to run gtar -c -C “\/opt\/CPsuite-R65\/fw1\/tmp\/upgrade_temp_dir” -f “export.tgz.tar” . command <\/strong><\/em><\/span>
\n\u00a0\u00a0 Error: Failed to compress Check Point Software files<\/strong><\/em><\/span><\/p>\n

This is down to a 2Gb limitation of the gtar command. There are 2 ways to resolve this issue :<\/p>\n