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

Kernel Update Transfer Failed

Scheduled Pinned Locked Moved
FOG Problems
2
10
963
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
    SCavender
    last edited by Apr 30, 2021, 5:51 PM

    The Fogserver works great, just trying to update the kernel to work with new clients and receive error:

    Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class/php, Line: 464, Message: ftp_login(): Login incorrect,. Host: xxx.xxx.xx.xx, Username: fog

    Saw another post that said to update and re-run the installer. When I do that, I receive this error:

    The installer was not able to run all the way to the end…
    Job for mariadb.service failed because the control process exited with error code.

    mariadb.service status is active (running) and I don’t see anything negative in journalctl -xe

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Apr 30, 2021, 6:12 PM

      @SCavender Which version of FOG do you use and which version of the FOG installer do you run? I ask because the username fog has not been used in the last couple of versions. I think it’s 2-3 years back since we changed that.

      You wanna take a look at this as well: https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

      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

      S 1 Reply Last reply Apr 30, 2021, 6:27 PM Reply Quote 0
      • S
        SCavender @Sebastian Roth
        last edited by Apr 30, 2021, 6:27 PM

        @sebastian-roth I’m currently using 1.5.7 and the installer I used was downloaded today.

        The “fog” user is to login to the webGUI and there is a fogproject user in CentOS

        When reviewing the article on resyncing FOG’s service account, I do get the ftp login error when attempting to update to the latest kernel, though I can capture images without any errors. The kernel update error is the only one I see. Should I still run through the resyncing procedures?

        Thanks!

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Apr 30, 2021, 6:38 PM

          @scavender said in Kernel Update Transfer Failed:

          the installer I used was downloaded today.

          Which version of the installer? Where did you download it? Just trying to see if you use the old 1.5.7 or current 1.5.9 - could make a difference.

          The “fog” user is to login to the webGUI and there is a fogproject user in CentOS

          Those are two different things! The web UI user has nothing to do with the Linux account. In older versions both were named fog, causing confusions. Therefore we changed the Linux account name tofogproject years ago.

          though I can capture images without any errors.

          Are you sure the image is uploaded properly and moved to /images/#IMAGENAME# path? Please run ls -al /images/ and check the directory date. I can imagine it’s pretty old.

          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

          S 1 Reply Last reply Apr 30, 2021, 6:48 PM Reply Quote 0
          • S
            SCavender @Sebastian Roth
            last edited by Apr 30, 2021, 6:48 PM

            @sebastian-roth I used git clone https://github.com/FOGProject/fogproject.git to get the installer.

            There is a Linux account named fogproject.

            ls -al /images/ shows dates through the end of 2020…apparently I haven’t uploaded any images yet in 2021.

            1 Reply Last reply Reply Quote 0
            • S
              SCavender
              last edited by Apr 30, 2021, 10:06 PM

              I updated the TFTP FTP username from fog to fogproject and the kernel update succeeded.

              I then re-ran the installer, which updated the database credentials to fogstorage. I re-ran the installer after updating the settings file with the fogstorage credentials, and receive a new error at the end of the install:

              HTTP request sent, awaiting response… 500 Internal Server Error
              Error 1142 (42000) at line 1: INSERT,UPDATE command denied to user ‘fogstorage’@‘localhost’ for table ‘globalSettings’

              I’m still able to login, the database looks good the instance says that everything is up to date.

              I don’t have anything on the bench to test with, so will do that a little later today.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by May 1, 2021, 7:27 AM

                @scavender said in Kernel Update Transfer Failed:

                I then re-ran the installer, which updated the database credentials to fogstorage.

                Make sure you read the instructions from the installer more carefully!

                The current fogstorage database password does not meet high
                security standards. We will generate a new password and update
                all the settings on this FOG server for you. Please take note
                of the following credentials that you need to manually update
                on all your storage nodes’ /opt/fog/.fogsettings configuration
                files and re-run (!) the FOG installer:

                The fogstorage account is only used by storage nodes. On your master node you shoud not change the DB user in .fogsettings file. Set it back to fogmaster should do the trick. I hope you still have the auto generated password for fogmaster DB account. Otherwise I would recommend setting fogmaster in .fogsettings file as user but leave the password as is. Then re-run the installer again and it should ask for the DB root login and try to fix the fogmaster account.

                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

                S 1 Reply Last reply May 1, 2021, 6:33 PM Reply Quote 0
                • S
                  SCavender @Sebastian Roth
                  last edited by May 1, 2021, 6:33 PM

                  @sebastian-roth Okay, I did misunderstand the fogstorage piece, thank you. I set it back to fagmaster and re-ran the installer. Everything went well and Fog is now up to date, however, now dhcpd has an error:

                  No subnet declaration for virbr0 (192.168.122.1). Ignoring requests on virbro. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface virbr0 is attached.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by May 2, 2021, 11:35 AM

                    @scavender said in Kernel Update Transfer Failed:

                    Okay, I did misunderstand the fogstorage piece, thank you. I set it back to fagmaster and re-ran the installer. Everything went well and Fog is now up to date

                    Does the kernel update work now as well as image captures?

                    however, now dhcpd has an error

                    May I ask you to open a new topic on this issue? Best if you can add the following information: output of ip a s, content of /etc/dhcp/dhcpd.conf and FOG version (should be 1.5.9 now).

                    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

                    S 1 Reply Last reply May 3, 2021, 7:32 PM Reply Quote 0
                    • S
                      SCavender @Sebastian Roth
                      last edited by May 3, 2021, 7:32 PM

                      @sebastian-roth The kernel update works now and image capture is successful.

                      I’ll start a new topic on the networking issue.

                      Thanks Sebastian!

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

                      206

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project