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

    Fog 0.33 Beta Issue

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    51
    20.4k
    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
      Scott Boucher
      last edited by

      When I tried to upgrade. I got this error. I can pass through the error and login to fog web intereface but many links and other items do not work, Any advice to fix this. I really need to use the beta version as it allows my new lenovo pc’s to register and inventory. Unless there is a way to use the kernel that is in 0.33 version with 0.32 .

      Here is the error I get during the database schema update.

      [SIZE=6][B][FONT=Ubuntu][CENTER][SIZE=32px][COLOR=#666666]Database Schema Installer / Updater[/COLOR][/SIZE][/CENTER][/FONT][/B][/SIZE]

      [FONT=Ubuntu][COLOR=#555555]FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 0, Error: Invalid key being set
      FOG DEBUG: Image: Database Load Failed: ID: 0, Error: Row not found
      FOG DEBUG: Image: Set Failed: Key: imageDD, Value: 2, Error: Invalid key being set
      Update/Install Successful!
      Click [URL=‘http://10.0.5.19/fog/management’][COLOR=#7baa0f]here[/COLOR][/URL] to login.
      [SIZE=5][B][CENTER][SIZE=18px][COLOR=#4c68a0]The following errors occured[/COLOR][/SIZE][/CENTER][/B][/SIZE]

      [B]Update ID:[/B] 36 - 1
      [B]Database Error:[/B]
      Duplicate entry ‘417-23’ for key ‘gmHostID’

      [B]Database SQL:[/B]
      ALTER TABLE fog.groupMembers ADD UNIQUE ( gmHostID, gmGroupID )[/COLOR][/FONT]

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

        While I feel your pain, I’d say don’t do an upgrade.

        First create a backup of the data you’ll need from Hosts, Images, Inventory, Groups, etc…

        You may have to do this part manually. To my knowledge, the upgrade feature itself doesn’t work yet and I don’t know where to begin to get it working. I’m recommending people start with a new fog database so we know things will work properly.

        That said, yes you can use the kernel in 0.33b as that’s just a kernel. It just contains the drivers needed for the systems you’re trying to image.

        I’d start with trying maybe my kernel, as 0.33b is using 3.11.1 kernel which I created.

        My current version of the kernel is based on 3.11.6

        [url]https://mastacontrola.com/fogboot/kernel/bzImage[/url]

        Place the file in:
        [code]/tftpboot/fog/kernel/bzImage[/code]

        You can also create a backup of the kernel if you need it with:

        [code]cp /tftpboot/fog/kernel/bzImage /tftpboot/fog/kernel/bzImage.original[/code]

        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 0
        • S
          Scott Boucher
          last edited by

          What are the instructions to add your new kernel to the fog server. When I use filzilla to ftp in it wont let me chang eor rename the bzimage file. It looks like a permissions error. Thx in advance.

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            Use CoffeeCup FTP to ftp into your machine, I find that it works better and you can change permissions directly from the app.

            You can even SSH from it if you like.

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • S
              Scott Boucher
              last edited by

              Well I have the kernel installed and now it goes to the point where it shows attempting to register host. It then has a flashing cursor which the screen continues to go up but nothing ever happens? Any other kernels I can try? or suggestions.

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

                Are you on 0.33 or 0.32?

                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 0
                • S
                  Scott Boucher
                  last edited by

                  0.32
                  I am trying to get a Lenovo MT-M-10am to register up so I can image.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Scott Boucher
                    last edited by

                    Here is what I am trying to register and image.
                    [SIZE=6][B][COLOR=#4d4e53][FONT=Prelo-Bold][SIZE=24px]Lenovo ThinkCentre M83 10AM - Core i3 4130 3.4 GHz[/SIZE][/FONT][/COLOR][/B][/SIZE]

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

                      A different kernel, at this point, isn’t what is seeming to be the issue. It seems that the system can’t communicate with the sql server. You got it so it now asks for hostname and attempts to register the host after you enter the host name. To verify where the issue is, I know this sounds odd, but keep the system “stuck” persay.

                      On the fog server, console/ssh in and tail the /var/log/httpd/error_log file, or on ubuntu, /var/log/apache2/error.log.

                      Print the output of that here and I can try helping even further.

                      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 0
                      • S
                        Scott Boucher
                        last edited by

                        Let me explain a little better where I am at. I copied your kernel from the link you provided above. When I tftp boot the machine it gets an ip address and the fog menu appears. When I select a quick register from the list it loads the kernel and I see your fog display and a couple peoples name that it is created by, then it continues on and then gets to a point where it says attempting to register host. This is where it hangs at a flashing cursor. I will send the log in the morning. Thank You for the help

                        1 Reply Last reply Reply Quote 0
                        • S
                          Scott Boucher
                          last edited by

                          There is nothing in my log file from this new Lenovo pc. It gets a ip on initial boot. But then once the kernel load the network fails. See attached image of the fog pc info menu. [ATTACH=full]423[/ATTACH]

                          [url=“/_imported_xf_attachments/0/423_photo.JPG?:”]photo.JPG[/url]

                          1 Reply Last reply Reply Quote 0
                          • Jaymes DriverJ
                            Jaymes Driver Developer
                            last edited by

                            You need a different kernel then, just because your nic card works before “linux” boots doesn’t mean that “linux” is happy with the driver supplied.

                            To be more specific, you need to include your network card driver in the kernel.

                            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                            1 Reply Last reply Reply Quote 0
                            • S
                              Scott Boucher
                              last edited by

                              How would I go about getting this nic card in the kernel?
                              [B][SIZE=6][COLOR=#4d4e53][FONT=Prelo-Bold][SIZE=24px]Lenovo ThinkCentre M83 10AM - Core i3 4130 3.4 GHz[/SIZE][/FONT][/COLOR][/SIZE][/B]

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

                                I’ll need to look, which kernel are you using? Are you sure you’re using the one you downloaded?

                                The kernel I’ve created has all networking drivers capable so far. It jus doesn’t have wireless drivers.

                                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 0
                                • S
                                  Scott Boucher
                                  last edited by

                                  I was using the one you gave in the download above. 3.11.1 I believe is what it was.

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

                                    If you downloaded from my site, the kernel is 3.11.6, but can you provide more information about the type of network on your system? I can try to add that driver to the kernel.

                                    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 0
                                    • S
                                      Scott Boucher
                                      last edited by

                                      I am running cat 5e cable to a mix of hp 2848 gb procurve switches and cisco 100mb cisco 3500 switches. The pc is a
                                      [B][SIZE=6][COLOR=#4d4e53][FONT=Prelo-Bold][SIZE=24px]Lenovo ThinkCentre M83 10AM - Core i3 4130 3.4 GHz[/SIZE][/FONT][/COLOR][/SIZE][/B]

                                      My current pc’s that work with fog now are Lenovo M75’s

                                      Is this what you are looking for

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

                                        No I need to what what type of network is it. I’ll look up what it is if I can.

                                        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 0
                                        • S
                                          Scott Boucher
                                          last edited by

                                          Thank You

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

                                            So I’ve rebuilt a kernel, though it looks like the type of driver you need is an Intel driver, which I assure you has been built in. This new kernel is 18Mb and contains anything and everything I could find pertaining to drivers. It has many many things inside.

                                            Give it a go, if it works, awesome, if not I’ll try again.

                                            [url]https://mastacontrola.com/fogboot/kernel/bzImageAllDevice[/url]

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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project