• 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


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

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

    Thanks Sebastian!

  • Senior Developer

    @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).


  • @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.

  • Senior Developer

    @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.


  • 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.


  • @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.

  • Senior Developer

    @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.


  • @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!

  • Senior Developer

    @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

391
Online

8.4k
Users

15.2k
Topics

142.5k
Posts