• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
2.0k
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.
  • S
    sudburr
    last edited by sudburr Feb 17, 2016, 11:19 PM Feb 18, 2016, 5:13 AM

    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 ]

    M 1 Reply Last reply Feb 18, 2016, 1:00 PM Reply Quote 0
    • G
      george1421 Moderator
      last edited by Feb 18, 2016, 11:07 AM

      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
      • M
        MRCUR Testers @sudburr
        last edited by Feb 18, 2016, 1:00 PM

        @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
        • S
          sudburr
          last edited by sudburr Feb 18, 2016, 12:22 PM Feb 18, 2016, 6:12 PM

          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 Feb 18, 2016, 9:48 PM

            @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
            • S
              sudburr
              last edited by sudburr Feb 18, 2016, 4:18 PM Feb 18, 2016, 10:08 PM

              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 ]

              T 1 Reply Last reply Feb 18, 2016, 10:47 PM Reply Quote 0
              • T
                Tom Elliott @sudburr
                last edited by Feb 18, 2016, 10:47 PM

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

                150

                Online

                12.1k

                Users

                17.3k

                Topics

                155.4k

                Posts
                Copyright © 2012-2024 FOG Project