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

    Error $this->_kernel = sprintf ?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    21
    3.5k
    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.
    • george1421G
      george1421 Moderator @Tom Elliott
      last edited by george1421

      @Tom-Elliott FWIW: This is the second post I saw with a kernel syn error on RC10. Let me see if I can find the other link.

      Crosslink: https://forums.fogproject.org/topic/9581/kernel-panic-in-centos-7

      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!

      Tom ElliottT T 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @george1421
        last edited by

        @george1421 https://forums.fogproject.org/topic/9581/kernel-panic-in-centos-7 It’s the same person.

        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
        • T
          todachuy2406 @george1421
          last edited by todachuy2406

          @george1421 I am sorry I thought that they are 2 error is different.

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

            @todachuy2406 Which PXE file do you use? undionly.kpxe, ipxe.kpxe, ipxe.efi or even pxelinux.0???

            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

            T 1 Reply Last reply Reply Quote 0
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              i’d guess that during the upgrade the download for the kernel or the init got corrupted. easiest fix? run the installer again and it will re-download them.

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              T 1 Reply Last reply Reply Quote 0
              • T
                todachuy2406 @Sebastian Roth
                last edited by

                @Sebastian-Roth Hi Sebastian, I am using default Fog configuration, I don’t know which files does it load? I guess that is pxelinux.0.

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

                  @todachuy2406 said in Error $this->_kernel = sprintf ?:

                  I guess that is pxelinux.0.

                  Please confirm this. Because if it is pxelinux.0, the kernel will have an error syncing and connecting to the inits (virtual hard drive). pxelinux.0 should never be used with the current version of fog.

                  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!

                  T 2 Replies Last reply Reply Quote 0
                  • T
                    todachuy2406 @Junkhacker
                    last edited by

                    @Junkhacker Thanks Junkhacker, I installed fresh FOG on new server with version 1.3.5-RC-10.

                    JunkhackerJ 1 Reply Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer @todachuy2406
                      last edited by

                      @todachuy2406 so, is the problem solved?

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        todachuy2406 @george1421
                        last edited by

                        @george1421 Hi george1421, Could you guide me how find out which process is using a configuration file?

                        1 Reply Last reply Reply Quote 0
                        • T
                          todachuy2406 @george1421
                          last edited by

                          @george1421 Hi george1421, do I need to change below code?

                          $this->_kernel = sprintf(
                          'kernel %s %s initrd=%s root=/dev/ram0 rw ’
                          . ‘ramdisk_size=%s%sweb=%s consoleblank=0%s rootfstype=ext4%s%s’,

                          Add more spaces in “web” and “%s%s”

                          $this->_kernel = sprintf(
                          'kernel %s %s initrd=%s root=/dev/ram0 rw ’
                          . ‘ramdisk_size=%s%s web=%s consoleblank=0%s rootfstype=ext4% s%s’,

                          1 Reply Last reply Reply Quote 0
                          • T
                            todachuy2406 @Junkhacker
                            last edited by

                            @Junkhacker I am still not find what way to solve this problems?

                            1 Reply Last reply Reply Quote 0
                            • T
                              todachuy2406
                              last edited by

                              @Junkhacker, @george1421, @Tom-Elliott Thank you so much

                              @george1421 You are perfect, I edited DHCP configuration file from pxelinux.0 to undionly.kpxe. Then I added more spaces on below code as same here:
                              $this->_kernel = sprintf(
                              'kernel %s %s initrd=%s root=/dev/ram0 rw ’
                              . ‘ramdisk_size=%s%s web=%s consoleblank=0%s rootfstype=ext4% s%s’,

                              It works for me!!

                              Many Thanks & Best Regards

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

                                @todachuy2406 The sprintf you keep referring two had nothing wrong with it.

                                It was simply your using pxelinux.0 that was causing the problem with the booting.

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

                                188

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project