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

    Build 6303/6315 on CentOS 7.1 FTP path error when attempting to update kernel

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    5
    7
    1.9k
    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.
    • sudburrS
      sudburr
      last edited by sudburr

      Attempting to update kernel produces this error.

      FOGFTP: Failed to put file. Remote Path: /var/www/html/fogservice/ipxe/bzImage32, Local Path: /tmp/bzImage32, Error: ftp_put(): Could not create file.
      

      The path /var/www/html/fogservice/ipxe/ does not exist.

      Should it not be /var/www/html/fog/service/ipxe/ ?

      [ Standing in between extinction in the cold and explosive radiating growth ]

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

        While I don’t have an answer for you, I want to be clear. Was the error generated during install/upgrade of fog, or when you selected update kernel from the FOG management interface?

        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!

        1 Reply Last reply Reply Quote 0
        • MRCURM
          MRCUR Testers @sudburr
          last edited by

          @sudburr Check the FOG_TFTP_PXE_KERNEL_DIR setting under Fog Settings - TFTP Server. I would bet the / is missing between fog and service.

          1 Reply Last reply Reply Quote 1
          • sudburrS
            sudburr
            last edited by sudburr

            First discovered upon upgrading to build 6303 then build 6315, when attemping to “Update Kernel” from within Fog Configuration.

            Inserting the missing “/” to FOG_TFTP_PXE_KERNEL_DIR results in this error:

            FOGFTP: Failed to rename file. Remote Path: //var/www/html/fog/service/ipxe/bzImage32/backup/bzImage32_20160218_132122, Local Path: /var/www/html/fog/service/ipxe/bzImage32, Error: ftp_rename(): Rename failed.
            

            [ Standing in between extinction in the cold and explosive radiating growth ]

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

              @sudburr Please update to the very latest. Tom just pushed a fix. Seams like the kernel update function is not used very often as this issue has been around for some days AFAIK.

              As well see if you have a directory called /var/www/html/fogservice on your FOG server. I guess this was created when the slash was missing in FOG_TFTP_PXE_KERNEL_DIR at first. I think it’s save to delete that. Be careful to not delete the whole fog-www dir 😄

              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 1
              • sudburrS
                sudburr
                last edited by sudburr

                Build 6323 fixes it thank you! … except, links for both x86 and x86_64 both want to replace bzImage32 by default.

                FOG_TFTP_PXE_KERNEL = bzImage
                FOG_TFTP_PXE_KERNEL_32 = bzImage32

                Manually changing bzImage32 to bzImage at the download prompt works at least.

                [ Standing in between extinction in the cold and explosive radiating growth ]

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @sudburr
                  last edited by

                  @sudburr filename detection should now be fixed too, sorry 😞

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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 1
                  • 1 / 1
                  • First post
                    Last post

                  199

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project