• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Quazz
    3. Posts
    Q
    • Profile
    • Following 3
    • Followers 2
    • Topics 27
    • Posts 1,977
    • Best 545
    • Controversial 0
    • Groups 3

    Posts made by Quazz

    • RE: slow speed and timeout issues

      @Sebastian-Roth I mean, this seems to be the very same problematic code (or closely related to) that has already been given us various issues, primarily low speeds, which was subsequentially partially (or fully for some disks) addressed by setting the latency kernel parameter to 0 by default.

      That said, as we then discovered, in some cases it is not sufficient and we had to disable ASPM using the NVME cli utility for them to work normally. I don’t believe that was ever integrated into FOS since we don’t fully know if this could cause issues in otherwise properaly working drives.

      For NVME disks specifically it’s APST, a subset of ASPM.

      sudo nvme set-feature -f 0x0c -v=0 /dev/nvme0
      

      That line should disable it (assuming disk name is nvme0)

      posted in FOG Problems
      Q
      Quazz
    • RE: [FOG 1.6] SQL Install by FOG

      @jmeyer It’s fixed in https://github.com/FOGProject/fogproject/commit/e0449fa268df2d10e3ea66cf78d4bc76da015afb dev-branch, but hasn’t been ported to working-1.6 it seems.

      posted in Bug Reports
      Q
      Quazz
    • RE: Git commit fcf4695 Setting up MySQL user and database..........................Failed

      @Sebastian-Roth Went through it successfully. Of course this is only the scenario where root password is already set, not sure what an initial environment would do if that makes sense.

      posted in Bug Reports
      Q
      Quazz
    • RE: Git commit fcf4695 Setting up MySQL user and database..........................Failed

      @Sebastian-Roth Setting snmysqlrootpass in .fogsettings allows it to function normally again, but that’s of course not very secure.

      Line 1201 is where it trips up, if not set.

      posted in Bug Reports
      Q
      Quazz
    • RE: Git commit fcf4695 Setting up MySQL user and database..........................Failed

      @Sebastian-Roth Not this time, no. The installer on first try after resetting root password, asked for a password, so I entered it. It accepted it, carried on sucessfully.

      Then I ran the installer again (still no autoaccept) and it fails.

      Observe:

      localhost bin # ./installfog.sh
      Installing LSB_Release as needed
       * Attempting to get release information.......................Done
      
      
         +------------------------------------------+
         |     ..#######:.    ..,#,..     .::##::.  |
         |.:######          .:;####:......;#;..     |
         |...##...        ...##;,;##::::.##...      |
         |   ,#          ...##.....##:::##     ..:: |
         |   ##    .::###,,##.   . ##.::#.:######::.|
         |...##:::###::....#. ..  .#...#. #...#:::. |
         |..:####:..    ..##......##::##  ..  #     |
         |    #  .      ...##:,;##;:::#: ... ##..   |
         |   .#  .       .:;####;::::.##:::;#:..    |
         |    #                     ..:;###..       |
         |                                          |
         +------------------------------------------+
         |      Free Computer Imaging Solution      |
         +------------------------------------------+
         |  Credits: http://fogproject.org/Credits  |
         |       http://fogproject.org/Credits      |
         |       Released under GPL Version 3       |
         +------------------------------------------+
      
      
         Version: 1.5.8.13 Installer/Updater
      
      
       * Found FOG Settings from previous install at: /opt/fog/.fogsettings
      
       * Performing upgrade using these settings
      
      
        Starting Redhat based Installation
      
      
      
         ######################################################################
         #     FOG now has everything it needs for this setup, but please     #
         #   understand that this script will overwrite any setting you may   #
         #   have setup for services like DHCP, apache, pxe, tftp, and NFS.   #
         ######################################################################
         # It is not recommended that you install this on a production system #
         #        as this script modifies many of your system settings.       #
         ######################################################################
         #             This script should be run by the root user.            #
         #      It will prepend the running with sudo if root is not set      #
         ######################################################################
         #            Please see our wiki for more information at:            #
         ######################################################################
         #             https://wiki.fogproject.org/wiki/index.php             #
         ######################################################################
      
       * Here are the settings FOG will use:
       * Base Linux: Redhat
       * Detected Linux Distribution: CentOS Linux
       * Interface: eno1
       * Server IP Address: 192.168.1.154
       * Server Subnet Mask: 255.255.255.0
       * Server Hostname: localhost
       * Installation Type: Normal Server
       * Internationalization:
       * Image Storage Location: /home/fog/images
       * Using FOG DHCP: No
       * DHCP will NOT be setup but you must setup your
       | current DHCP server to use FOG for PXE services.
      
       * On a Linux DHCP server you must set: next-server and filename
      
       * On a Windows DHCP server you must set options 066 and 067
      
       * Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.1.154)
       * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
      
      
       * Are you sure you wish to continue (Y/N) y
      
       * Installation Started
      
       * Testing internet connection.................................Done
       * Adjusting repository (can take a long time for cleanup).....OK
       * Preparing Package Manager...................................OK
       * Packages to be installed:
      
              bc curl gcc gcc-c++ genisoimage gzip httpd jq lftp m4 make mariadb mariadb-server mod_ssl mtools net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel
      
      
       * Skipping package:   bc......................................(Already Installed)
       * Skipping package:   curl....................................(Already Installed)
       * Skipping package:   gcc.....................................(Already Installed)
       * Skipping package:   gcc-c++.................................(Already Installed)
       * Skipping package:   genisoimage.............................(Already Installed)
       * Skipping package:   gzip....................................(Already Installed)
       * Skipping package:   httpd...................................(Already Installed)
       * Skipping package:   jq......................................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   make....................................(Already Installed)
       * Skipping package:   mariadb.................................(Already Installed)
       * Skipping package:   mariadb-server..........................(Already Installed)
       * Skipping package:   mod_ssl.................................(Already Installed)
       * Skipping package:   mtools..................................(Already Installed)
       * Skipping package:   net-tools...............................(Already Installed)
       * Skipping package:   nfs-utils...............................(Already Installed)
       * Skipping package:   php.....................................(Already Installed)
       * Skipping package:   php-bcmath..............................(Already Installed)
       * Skipping package:   php-cli.................................(Already Installed)
       * Skipping package:   php-common..............................(Already Installed)
       * Skipping package:   php-fpm.................................(Already Installed)
       * Skipping package:   php-gd..................................(Already Installed)
       * Skipping package:   php-ldap................................(Already Installed)
       * Skipping package:   php-mbstring............................(Already Installed)
       * Skipping package:   php-mysqlnd.............................(Already Installed)
       * Skipping package:   php-process.............................(Already Installed)
       * Skipping package:   syslinux................................(Already Installed)
       * Skipping package:   tar.....................................(Already Installed)
       * Skipping package:   tftp-server.............................(Already Installed)
       * Skipping package:   unzip...................................(Already Installed)
       * Skipping package:   vsftpd..................................(Already Installed)
       * Skipping package:   wget....................................(Already Installed)
       * Skipping package:   xinetd..................................(Already Installed)
       * Skipping package:   xz-devel................................(Already Installed)
       * Updating packages as needed.................................OK
      
       * Confirming package installation
      
       * Checking package: bc........................................OK
       * Checking package: curl......................................OK
       * Checking package: gcc.......................................OK
       * Checking package: gcc-c++...................................OK
       * Checking package: genisoimage...............................OK
       * Checking package: gzip......................................OK
       * Checking package: httpd.....................................OK
       * Checking package: jq........................................OK
       * Checking package: lftp......................................OK
       * Checking package: m4........................................OK
       * Checking package: make......................................OK
       * Checking package: mariadb...................................OK
       * Checking package: mariadb-server............................OK
       * Checking package: mod_ssl...................................OK
       * Checking package: mtools....................................OK
       * Checking package: net-tools.................................OK
       * Checking package: nfs-utils.................................OK
       * Checking package: php.......................................OK
       * Checking package: php-bcmath................................OK
       * Checking package: php-cli...................................OK
       * Checking package: php-common................................OK
       * Checking package: php-fpm...................................OK
       * Checking package: php-gd....................................OK
       * Checking package: php-ldap..................................OK
       * Checking package: php-mbstring..............................OK
       * Checking package: php-mysqlnd...............................OK
       * Checking package: php-process...............................OK
       * Checking package: syslinux..................................OK
       * Checking package: tar.......................................OK
       * Checking package: tftp-server...............................OK
       * Checking package: unzip.....................................OK
       * Checking package: vsftpd....................................OK
       * Checking package: wget......................................OK
       * Checking package: xinetd....................................OK
       * Checking package: xz-devel..................................OK
      
       * Configuring services
      
       * Setting up fogproject user..................................Skipped
       * Locking fogproject as a system account......................OK
       * Setting up fogproject password..............................OK
       * Stopping FOGMulticastManager.service Service................OK
       * Stopping FOGImageReplicator.service Service.................OK
       * Stopping FOGSnapinReplicator.service Service................OK
       * Stopping FOGScheduler.service Service.......................OK
       * Stopping FOGPingHosts.service Service.......................OK
       * Stopping FOGSnapinHash.service Service......................OK
       * Stopping FOGImageSize.service Service.......................OK
       * Setting up and starting MySQL...............................OK
      
         The installer detected a blank database *root* password. This
         is very common on a new install or if you upgrade from any
         version of FOG before 1.5.8. To improve overall security we ask
         you to supply an appropriate database *root* password now.
      
         NOTICE: Make sure you choose a good password but also one
         you can remember or use a password manager to store it.
         The installer won't store the given password in any place
         and it will be lost right after the installer finishes!
      
         Please enter a new database *root* password to be set:
      
       * Setting up MySQL user and database..........................OK
       * Backing up user reports.....................................Done
       * Stopping web service........................................OK
       * Removing vhost file.........................................OK
       * Setting up Apache and PHP files.............................OK
       * Testing and removing symbolic links if found................OK
       * Backing up old data.........................................OK
       * Copying new files to web folder.............................OK
       * Creating config file........................................OK
       * Downloading kernel, init and fog-client binaries............Done
       * Copying binaries to destination paths.......................OK
       * Enabling apache and fpm services on boot....................OK
       * Creating SSL Certificate....................................OK
       * Creating auth pub key and cert..............................OK
       * Resetting SSL Permissions...................................OK
       * Setting up Apache virtual host (no SSL).....................OK
       * Starting and checking status of web services................OK
       * Changing permissions on apache log files....................OK
       * Backing up database.........................................Done
      
       * You still need to install/update your database schema.
       * This can be done by opening a web browser and going to:
      
         http://192.168.1.154/fog/management
      
       * Press [Enter] key when database is updated/installed.
      
       * Update fogstorage database password.........................OK
       * Granting access to fogstorage database user.................OK
       * Setting up storage..........................................OK
       * Setting up and starting DHCP Server.........................Skipped
       * Setting up and starting TFTP and PXE Servers................OK
       * Setting up and starting VSFTP Server........................OK
       * Setting up FOG Snapins......................................OK
       * Setting up UDPCast..........................................OK
       * Configuring UDPCast.........................................OK
       * Building UDPCast............................................OK
       * Installing UDPCast..........................................OK
       * Installing FOG System Scripts...............................OK
      
      
       * Configuring FOG System Services
      
      
       * Setting permissions on FOGMulticastManager.service script...OK
       * Enabling FOGMulticastManager.service Service................OK
       * Setting permissions on FOGImageReplicator.service script....OK
       * Enabling FOGImageReplicator.service Service.................OK
       * Setting permissions on FOGSnapinReplicator.service script...OK
       * Enabling FOGSnapinReplicator.service Service................OK
       * Setting permissions on FOGScheduler.service script..........OK
       * Enabling FOGScheduler.service Service.......................OK
       * Setting permissions on FOGPingHosts.service script..........OK
       * Enabling FOGPingHosts.service Service.......................OK
       * Setting permissions on FOGSnapinHash.service script.........OK
       * Enabling FOGSnapinHash.service Service......................OK
       * Setting permissions on FOGImageSize.service script..........OK
       * Enabling FOGImageSize.service Service.......................OK
       * Setting up FOG Services.....................................OK
       * Starting FOGMulticastManager.service Service................OK
       * Starting FOGImageReplicator.service Service.................OK
       * Starting FOGSnapinReplicator.service Service................OK
       * Starting FOGScheduler.service Service.......................OK
       * Starting FOGPingHosts.service Service.......................OK
       * Starting FOGSnapinHash.service Service......................OK
       * Starting FOGImageSize.service Service.......................OK
       * Setting up exports file.....................................Skipped
       * Ensuring node username and passwords match..................Done
      
       * Setup complete
      
         You can now login to the FOG Management Portal using
         the information listed below.  The login information
         is only if this is the first install.
      
         This can be done by opening a web browser and going to:
      
         http://192.168.1.154/fog/management
      
         Default User Information
         Username: fog
         Password: password
      
      localhost bin # ./installfog.sh
      Installing LSB_Release as needed
       * Attempting to get release information.......................Done
      
      
         +------------------------------------------+
         |     ..#######:.    ..,#,..     .::##::.  |
         |.:######          .:;####:......;#;..     |
         |...##...        ...##;,;##::::.##...      |
         |   ,#          ...##.....##:::##     ..:: |
         |   ##    .::###,,##.   . ##.::#.:######::.|
         |...##:::###::....#. ..  .#...#. #...#:::. |
         |..:####:..    ..##......##::##  ..  #     |
         |    #  .      ...##:,;##;:::#: ... ##..   |
         |   .#  .       .:;####;::::.##:::;#:..    |
         |    #                     ..:;###..       |
         |                                          |
         +------------------------------------------+
         |      Free Computer Imaging Solution      |
         +------------------------------------------+
         |  Credits: http://fogproject.org/Credits  |
         |       http://fogproject.org/Credits      |
         |       Released under GPL Version 3       |
         +------------------------------------------+
      
      
         Version: 1.5.8.13 Installer/Updater
      
      
       * Found FOG Settings from previous install at: /opt/fog/.fogsettings
      
       * Performing upgrade using these settings
      
      
        Starting Redhat based Installation
      
      
      
         ######################################################################
         #     FOG now has everything it needs for this setup, but please     #
         #   understand that this script will overwrite any setting you may   #
         #   have setup for services like DHCP, apache, pxe, tftp, and NFS.   #
         ######################################################################
         # It is not recommended that you install this on a production system #
         #        as this script modifies many of your system settings.       #
         ######################################################################
         #             This script should be run by the root user.            #
         #      It will prepend the running with sudo if root is not set      #
         ######################################################################
         #            Please see our wiki for more information at:            #
         ######################################################################
         #             https://wiki.fogproject.org/wiki/index.php             #
         ######################################################################
      
       * Here are the settings FOG will use:
       * Base Linux: Redhat
       * Detected Linux Distribution: CentOS Linux
       * Interface: eno1
       * Server IP Address: 192.168.1.154
       * Server Subnet Mask: 255.255.255.0
       * Server Hostname: localhost
       * Installation Type: Normal Server
       * Internationalization:
       * Image Storage Location: /home/fog/images
       * Using FOG DHCP: No
       * DHCP will NOT be setup but you must setup your
       | current DHCP server to use FOG for PXE services.
      
       * On a Linux DHCP server you must set: next-server and filename
      
       * On a Windows DHCP server you must set options 066 and 067
      
       * Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.1.154)
       * Option 067/filename is the bootfile: (e.g. undionly.kpxe)
      
      
       * Are you sure you wish to continue (Y/N) y
      
       * Installation Started
      
       * Testing internet connection.................................Done
       * Adjusting repository (can take a long time for cleanup).....OK
       * Preparing Package Manager...................................OK
       * Packages to be installed:
      
              bc curl gcc gcc-c++ genisoimage gzip httpd jq lftp m4 make mariadb mariadb-server mod_ssl mtools net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel
      
      
       * Skipping package:   bc......................................(Already Installed)
       * Skipping package:   curl....................................(Already Installed)
       * Skipping package:   gcc.....................................(Already Installed)
       * Skipping package:   gcc-c++.................................(Already Installed)
       * Skipping package:   genisoimage.............................(Already Installed)
       * Skipping package:   gzip....................................(Already Installed)
       * Skipping package:   httpd...................................(Already Installed)
       * Skipping package:   jq......................................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   make....................................(Already Installed)
       * Skipping package:   mariadb.................................(Already Installed)
       * Skipping package:   mariadb-server..........................(Already Installed)
       * Skipping package:   mod_ssl.................................(Already Installed)
       * Skipping package:   mtools..................................(Already Installed)
       * Skipping package:   net-tools...............................(Already Installed)
       * Skipping package:   nfs-utils...............................(Already Installed)
       * Skipping package:   php.....................................(Already Installed)
       * Skipping package:   php-bcmath..............................(Already Installed)
       * Skipping package:   php-cli.................................(Already Installed)
       * Skipping package:   php-common..............................(Already Installed)
       * Skipping package:   php-fpm.................................(Already Installed)
       * Skipping package:   php-gd..................................(Already Installed)
       * Skipping package:   php-ldap................................(Already Installed)
       * Skipping package:   php-mbstring............................(Already Installed)
       * Skipping package:   php-mysqlnd.............................(Already Installed)
       * Skipping package:   php-process.............................(Already Installed)
       * Skipping package:   syslinux................................(Already Installed)
       * Skipping package:   tar.....................................(Already Installed)
       * Skipping package:   tftp-server.............................(Already Installed)
       * Skipping package:   unzip...................................(Already Installed)
       * Skipping package:   vsftpd..................................(Already Installed)
       * Skipping package:   wget....................................(Already Installed)
       * Skipping package:   xinetd..................................(Already Installed)
       * Skipping package:   xz-devel................................(Already Installed)
       * Updating packages as needed.................................OK
      
       * Confirming package installation
      
       * Checking package: bc........................................OK
       * Checking package: curl......................................OK
       * Checking package: gcc.......................................OK
       * Checking package: gcc-c++...................................OK
       * Checking package: genisoimage...............................OK
       * Checking package: gzip......................................OK
       * Checking package: httpd.....................................OK
       * Checking package: jq........................................OK
       * Checking package: lftp......................................OK
       * Checking package: m4........................................OK
       * Checking package: make......................................OK
       * Checking package: mariadb...................................OK
       * Checking package: mariadb-server............................OK
       * Checking package: mod_ssl...................................OK
       * Checking package: mtools....................................OK
       * Checking package: net-tools.................................OK
       * Checking package: nfs-utils.................................OK
       * Checking package: php.......................................OK
       * Checking package: php-bcmath................................OK
       * Checking package: php-cli...................................OK
       * Checking package: php-common................................OK
       * Checking package: php-fpm...................................OK
       * Checking package: php-gd....................................OK
       * Checking package: php-ldap..................................OK
       * Checking package: php-mbstring..............................OK
       * Checking package: php-mysqlnd...............................OK
       * Checking package: php-process...............................OK
       * Checking package: syslinux..................................OK
       * Checking package: tar.......................................OK
       * Checking package: tftp-server...............................OK
       * Checking package: unzip.....................................OK
       * Checking package: vsftpd....................................OK
       * Checking package: wget......................................OK
       * Checking package: xinetd....................................OK
       * Checking package: xz-devel..................................OK
      
       * Configuring services
      
       * Setting up fogproject user..................................Skipped
       * Locking fogproject as a system account......................OK
       * Setting up fogproject password..............................OK
       * Stopping FOGMulticastManager.service Service................OK
       * Stopping FOGImageReplicator.service Service.................OK
       * Stopping FOGSnapinReplicator.service Service................OK
       * Stopping FOGScheduler.service Service.......................OK
       * Stopping FOGPingHosts.service Service.......................OK
       * Stopping FOGSnapinHash.service Service......................OK
       * Stopping FOGImageSize.service Service.......................OK
       * Setting up and starting MySQL...............................OK
       * Setting up MySQL user and database..........................Failed!
      
      localhost fogproject # tail -50 bin/error_logs/fog_error_1.5.8.13.log
      php-process-7.3.15-1.el7.remi.x86_64
      syslinux-4.05-15.el7.x86_64
      tar-1.26-35.el7.x86_64
      tftp-server-5.2-22.el7.x86_64
      unzip-6.0-20.el7.x86_64
      vsftpd-3.0.2-25.el7.x86_64
      wget-1.14-18.el7_6.1.x86_64
      xinetd-2.3.15-13.el7.x86_64
      xz-devel-5.2.2-1.el7.x86_64
      No packages marked for update
      bc-1.06.95-13.el7.x86_64
      curl-7.29.0-54.el7_7.2.x86_64
      gcc-4.8.5-39.el7.x86_64
      gcc-c++-4.8.5-39.el7.x86_64
      genisoimage-1.1.11-25.el7.x86_64
      gzip-1.5-10.el7.x86_64
      httpd-2.4.6-90.el7.centos.x86_64
      jq-1.6-1.el7.x86_64
      lftp-4.4.8-11.el7.x86_64
      m4-1.4.16-10.el7.x86_64
      make-3.82-24.el7.x86_64
      mariadb-5.5.64-1.el7.x86_64
      mariadb-server-5.5.64-1.el7.x86_64
      mod_ssl-2.4.6-90.el7.centos.x86_64
      mtools-4.0.18-5.el7.x86_64
      net-tools-2.0-0.25.20131004git.el7.x86_64
      nfs-utils-1.3.0-0.65.el7.x86_64
      php-7.3.15-1.el7.remi.x86_64
      php-bcmath-7.3.15-1.el7.remi.x86_64
      php-cli-7.3.15-1.el7.remi.x86_64
      php-common-7.3.15-1.el7.remi.x86_64
      php-fpm-7.3.15-1.el7.remi.x86_64
      php-gd-7.3.15-1.el7.remi.x86_64
      php-ldap-7.3.15-1.el7.remi.x86_64
      php-mbstring-7.3.15-1.el7.remi.x86_64
      php-mysqlnd-7.3.15-1.el7.remi.x86_64
      php-process-7.3.15-1.el7.remi.x86_64
      syslinux-4.05-15.el7.x86_64
      tar-1.26-35.el7.x86_64
      tftp-server-5.2-22.el7.x86_64
      unzip-6.0-20.el7.x86_64
      vsftpd-3.0.2-25.el7.x86_64
      wget-1.14-18.el7_6.1.x86_64
      xinetd-2.3.15-13.el7.x86_64
      xz-devel-5.2.2-1.el7.x86_64
      chsh: Shell is niet gewijzigd.
      Wijzigen van standaard-shell voor fogproject.
      Nieuw wachtwoord:Nieuw wachtwoord herhalen: Wachtwoord voor gebruiker fogproject veranderen.
      passwd: alle authenticatie tokens zijn succesvol bijgewerkt.
      ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
      
      
      posted in Bug Reports
      Q
      Quazz
    • RE: Documentation Snapin Return Codes

      I think they just return the exitcode of whatever it is you’re trying to snapin.

      posted in General
      Q
      Quazz
    • RE: Git commit fcf4695 Setting up MySQL user and database..........................Failed

      @JJ-Fullmer Thanks for the instructions; that worked!

      Also, it will tell you that your password is blank when you do these steps, because when you set both a password and authentication plugin, the password gets ignored by mysql.

      I skipped the step to set password in mysql console itself to test the installer handling itself.

      Some notes on the situation for me:

      Root password was set BUT only for ‘localhost’, but the host localhost did not have any type set (whereas the others had mysql_native_password)

      Running the installer a second time, after successfully setting root password in previous installer run, ends in the same error. (due to line 1201 expecting a root password it no longer has access to)

      posted in Bug Reports
      Q
      Quazz
    • RE: Git commit fcf4695 Setting up MySQL user and database..........................Failed

      @Sebastian-Roth Yeah, I always run auto accept, generally.

      localhost fogproject # rpm -qa | grep -i -e mariadb -e mysql
      php-williamdes-mariadb-mysql-kbs-1.2.10-1.el7.remi.noarch
      mariadb-libs-5.5.64-1.el7.x86_64
      perl-DBD-MySQL-4.023-6.el7.x86_64
      mariadb-5.5.64-1.el7.x86_64
      mariadb-server-5.5.64-1.el7.x86_64
      php-mysqlnd-7.3.15-1.el7.remi.x86_64
      

      As mentioned in my edit, I reckon the real point where it fails is further down at line 1201. Try running the installer twice in a row without having snmysqlrootpass in .fogsettings and it will fail. (regardless of autoaccept or not)

      That said, line 1075 also seems like it would fail and throw an error on consecutive runs. (can be easily altered to use snmysqluser)

      1077 seems fine after some testing.

      It’s important to note that the root password is not saved anywhere as far as I am aware and can thus not be retrieved by the installer. So anything that needs root access needs to check if the password is set or not before running.

      posted in Bug Reports
      Q
      Quazz
    • RE: Git commit fcf4695 Setting up MySQL user and database..........................Failed

      @Sebastian-Roth Getting the same thing on Centos 7, updated from 1.5.8.3

      Looks like it tries to connect using root with no password at a point where it has already given it a password?

      localhost bin # tail error_logs/fog_error_1.5.8.13.log
      unzip-6.0-20.el7.x86_64
      vsftpd-3.0.2-25.el7.x86_64
      wget-1.14-18.el7_6.1.x86_64
      xinetd-2.3.15-13.el7.x86_64
      xz-devel-5.2.2-1.el7.x86_64
      chsh: Shell is niet gewijzigd.
      Wijzigen van standaard-shell voor fogproject.
      Nieuw wachtwoord:Nieuw wachtwoord herhalen: Wachtwoord voor gebruiker fogproject veranderen.
      passwd: alle authenticatie tokens zijn succesvol bijgewerkt.
      ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
      

      I think https://github.com/FOGProject/fogproject/blob/fcf4695bfb69aeeb2b83d40bdea7e31a580cd000/lib/common/functions.sh#L1075

      that line (and 1077) will cause issues, since it can’t connect using root after a password is set. So any future runs will fail.

      Edit: oh and https://github.com/FOGProject/fogproject/blob/fcf4695bfb69aeeb2b83d40bdea7e31a580cd000/lib/common/functions.sh#L1201 that line too. It assumes a rootpassword in area where you may not have one. This is likely the point where it actually fails, I think

      posted in Bug Reports
      Q
      Quazz
    • RE: Snapin replication no working

      @AlexPDX Rule of thumb is to create a new thread, since the OP in this case was using a very old version, and you are likely using FOG 1.5.8

      That said, quick fix is:

      sed -i 's#/usr/bin/php env #/usr/bin/env php #g' /usr/lib/systemd/system/FOGSnapinReplicator.service
      systemctl daemon-reload
      systemctl start FOGSnapinReplicator
      
      posted in FOG Problems
      Q
      Quazz
    • RE: High CPU Usage

      @george1421 Relevant github issue for further discussion and thoughts on MyISAM -> InnoDB specifically: https://github.com/FOGProject/fogproject/issues/370

      posted in FOG Problems
      Q
      Quazz
    • RE: Image Size of the client in Fog does not match the size of the Capture in Hard Drive

      @dforce I don’t think this is the same thing.

      Sounds like you created a “resizable” image type, which will indeed shrink the main partition so that it can be deployed on a larger array of devices where it will then expand to full size (relative to disk size).

      posted in Bug Reports
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @mp12 Perhaps, though I believe the same issue does not occur in Clonezilla which also uses partclone 0.3.

      Their partclone commands are relatively similar to ours, though they include a specific Read Write buffer of -z 10485760 (which is 10 times the default). That said, the default didn’t cause issues before, so it’s unlikely to cause issues now.

      A greated divergence between FOS and Clonezilla is that Clonezilla uses debian as a base for their live ISO, whereas we build a filesystem using Buildroot and kernel from source.

      So more likely there is a problem introduced in that area, whether bug, config issues, or otherwise.

      That all said, thank you for helping us narrow it down significantly already.

      posted in FOG Problems
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @mp12 Would it be possible to test the binaries between 1.5.3 and 1.5.7 (so 1.5.4, 1.5.5, 1.5.6)?

      This will help us track down roughly when the problem was introduced. (as there is about 2 years between 1.5.3 and current dev-branch I believe)

      posted in FOG Problems
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @Sebastian-Roth I mean, the strange part is that the older versions gave him proper speed too. And it’s not like this is a universal problem since others have not experienced such a large performance difference between FOG versions.

      So I guess it’s time for more information to try and pin down the source of it all.

      @mp12 Can you list a full spec list of a troubled machine? (or perhaps even two or three different ones if you have that)

      It almost assuredly has to be some kind of interaction between certain kind of hardware and the Linux kernel (and its config), so we have to try and narrow it down or at least get a clearer picture of what we’re dealing with.

      posted in FOG Problems
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @mp12 I vaguely recalled someone having this problem before with similar outcomes.

      Linking here for further reference: https://forums.fogproject.org/topic/13733/hp-elitebook-830-gen-6-issues-capturing-images-and-deploying-images/10

      Our kernels and inits have since received a few upgrades, however.

      Are you on the dev-branch, by the way? I don’t believe 1.5.7 was launched with partclone 0.3.12 (that’s for the upcoming release).

      If not, then try the init and kernel files from https://dev.fogproject.org/blue/organizations/jenkins/fos/detail/master/122/artifacts

      posted in FOG Problems
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @mp12 I found somewhat similiar situations on google where the conclusion was to use Secure Erase on the drive first. Worth a try just to see if it helps?

      posted in FOG Problems
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @george1421 He did some write tests earlier at around ~100MB/s from RAM to disk using dd.

      posted in FOG Problems
      Q
      Quazz
    • RE: Slowdown Unicast and Multicast after upgrading FOG Server

      @mp12 Those speeds are about 4 times as slow as we’d expect for a SATA SSD.

      Can you also try the command hdparm -I /dev/sda in debug?

      posted in FOG Problems
      Q
      Quazz
    • RE: Error when deploy image with SSD Sandisk Ultra

      @ticsoftware Try changing the SATA mode in BIOS.

      Or if the motherboard has multiple SATA controllers (more common on older boards), try a SATA port of a different controller.

      If you could give some details on a PC that doesn’t work that would be helpful.

      Right now we don’t even know if these PCs are 1 week old or 15 years.

      posted in Hardware Compatibility
      Q
      Quazz
    • 1 / 1