• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    error 39 premature end no such file or directory

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    18
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      iamyogo
      last edited by

      ok, I got curious with the alternative binaries… same result … re-captured with the new ones, deployed with the new ones, same same … premature end

      1 Reply Last reply Reply Quote 0
      • I
        iamyogo
        last edited by iamyogo

        and just for fun, i tried the same with the older init.xz (capture -> deploy) with the non-resizable option, no dice … same

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @iamyogo
          last edited by george1421

          @iamyogo Ok so we know now the version of zstd and partclone changing between version 1.5.7 and 1.5.8 doesn’t have an impact on ability to capture/deploy. (just to be clear the newer version of partclone can capture and deploy older versions of partclone captured images, but the older version of partclone can’t reader the newer versions format. So that’s why you need to recapture).

          So the issue has to be in the source image or the target computer’s hardware. So what size hard drive are you deploying this image to?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          I 1 Reply Last reply Reply Quote 0
          • I
            iamyogo @george1421
            last edited by iamyogo

            @george1421 said in error 39 premature end no such file or directory:

            So the issue has to be in the source image or the target computer’s hardware. So what size hard drive are you deploying this image to?

            100GB, source and target are the same VM to rule out incompatibility …

            And I tried again this morning and this time i got the repair windows screen… (resizable)

            then I tried with the fixed size option and success! … still errored, but the system booted! (newer init.xz)

            1 Reply Last reply Reply Quote 0
            • I
              iamyogo
              last edited by

              In any case… i’m going to stick with gzip, as that seems the most flexible and reliable… just thought I’d let you know

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @iamyogo I would say let’s try to see if different versions of Zstd all show the same issue. Download a FOS init build with the latest Zstd github commit as of now.

                I can also build inits with older versions of Zstd to find out when the issue might have started. Are you keen to figure this out and maybe help find a bug in Zstd - if there is one…

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                I 1 Reply Last reply Reply Quote 0
                • I
                  iamyogo @Sebastian Roth
                  last edited by

                  @Sebastian-Roth

                  Sure … my kids are going back to school next week, so i’ll have a bit more free time to troubleshoot …

                  1 Reply Last reply Reply Quote 1
                  • S
                    Sebastian Roth Moderator
                    last edited by Sebastian Roth

                    @iamyogo Looking forward to hear if the latest version is doing any better.

                    Update: Just compiled a few more inits…

                    • 1.3.7
                    • 1.3.8
                    • 1.4.0
                    • 1.4.1
                    • 1.4.2
                    • 1.4.3
                    • 1.4.4 - the default we currently use in our inits, just to have the list completed
                    • commit 17226f59

                    Please try those and report back if they all show the same issue or not.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @iamyogo I’d be keen to hear if any of these did not show the error.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • R
                        roarcore
                        last edited by roarcore

                        Hi guys,

                        Was having the same issue: partclone-Zstd failing at 98%. Managed to resolve it by using compression: 6 instead of compression: 18 and recapturing the image. Attached images show the error I was getting.

                        premature-end.png
                        cannot-find-img.png

                        1 Reply Last reply Reply Quote 0
                        • C
                          CreativeSeeds
                          last edited by

                          Hello

                          I had a problem when deploying an image with the FOG

                          Error message :
                          read ERROR: No such file or directory
                          Args Passed: /images/<image>/d1p2.img
                          /dev/<disk>
                          *

                          For me, it was a problem of user rights on the FOG

                          Before :
                          drwxrwxrwx. 2 root root 190 Jun 29 15:07 <image>

                          After:
                          drwxrwxrwx. 2 fogproject root 190 Jun 29 15:07 <image>

                          I had to do a “chown” on my image folder in the /images directory to add the owner to “fogproject”

                          When creating a new image in the FOG GUI, the folder rights management is not well handled

                          Sincerely

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          183

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project