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

    FOG PXE inventory issuess

    Scheduled Pinned Locked Moved
    Hardware Compatibility
    5
    23
    9.0k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      I am attempting to replicate the issue as I haven’t changed boot settings in a little while other than to try allowing for multicast and port overrides. That said, can you try giving me the output of:

      [url]http://<ipoffogserver>/fog/service/ipxe/boot.php?mac=MACWithColonOfHostToBeInventoried[/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
      • robzaR
        robza
        last edited by

        Hi Tom,
        below output:


        #!ipxe
        set fog-ip 172.21.100.2
        set fog-webroot fog
        set boot-url [url]http://${fog-ip}/${fog-webroot}[/url]
        cpuid --ext 29 && set arch x86_64 || set arch i386
        goto get_console
        :console_set
        colour --rgb 0xff6600 2
        cpair --foreground 7 --background 2 2
        goto MENU
        :alt_console
        cpair --background 0 1 && cpair --background 1 2
        goto MENU
        :get_console
        console --picture [url]http://172.21.100.2/fog/service/ipxe/bg.png[/url] --left 100 --right 80 && goto console_set || goto alt_console
        :MENU
        menu
        colour --rgb 0x00ff00 0
        cpair --foreground 0 3
        item --gap Host is registered as knur-41
        item --gap – -------------------------------------
        item fog.local Boot from hard disk
        item fog.memtest Run Memtest86+
        item fog.keyreg Update Product Key
        item fog.quickimage Quick Image
        item fog.multijoin Join Multicast Session
        item fog.quickdel Quick Host Deletion
        item fog.sysinfo Client System Information (Compatibility)
        item fog.advancedlogin Advanced Menu
        choose --default fog.local --timeout 2000 target && goto ${target}
        :fog.local
        chain -ar [url]http://172.21.100.2/fog/service/ipxe/grub.exe[/url] --config-file=“rootnoverify (hd0);chainloader +1” || goto MENU
        :fog.memtest
        kernel memdisk iso raw
        initrd memtest.bin
        boot || goto MENU
        :fog.keyreg
        login
        params
        param mac0 ${net0/mac}
        param arch ${arch}
        param username ${username}
        param password ${password}
        param keyreg 1
        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
        :fog.quickimage
        login
        params
        param mac0 ${net0/mac}
        param arch ${arch}
        param username ${username}
        param password ${password}
        param qihost 1
        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
        :fog.multijoin
        login
        params
        param mac0 ${net0/mac}
        param arch ${arch}
        param username ${username}
        param password ${password}
        param sessionJoin 1
        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
        :fog.quickdel
        login
        params
        param mac0 ${net0/mac}
        param arch ${arch}
        param username ${username}
        param password ${password}
        param delhost 1
        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
        :fog.sysinfo
        kernel bzImage32 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.21.100.2/fog/ consoleblank=0 loglevel=4 mode=sysinfo
        imgfetch init_32.xz
        boot || goto MENU
        :fog.advancedlogin
        login
        params
        param mac0 ${net0/mac}
        param arch ${arch}
        param username ${username}
        param password ${password}
        param advLog 1
        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
        :bootme
        chain -ar [url]http://172.21.100.2/fog/service/ipxe/boot.php##params[/url] ||
        goto MENU
        autoboot


        Regards

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

          Is this with the inventory task scheduled?

          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
          • robzaR
            robza
            last edited by

            no, there was without inventory task.
            When I set inventory task and tryied get output I just received blank site on web browser.
            Regards

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

              Okay,

              When you have the white page what do you have in your apache error log?

              Ubuntu: /var/log/apache2/error.log
              RHBased: /var/log/httpd/error_log

              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
              • robzaR
                robza
                last edited by

                Hi Tom,
                here is error log from my apache:
                [Wed Jan 21 14:22:52.570971 2015] [:error] [pid 16440] [client 172.21.2.8:60076] PHP Fatal error: Call to a member function getOptimalStorageNode() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 774
                Regards

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

                  Can you try 2920?

                  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
                  • robzaR
                    robza
                    last edited by

                    svn updated do version 2920, but still same error when trying do inventory as in first post.
                    When I tryied this
                    [url]http://v1fog.intranet/fog/service/ipxe/boot.php?mac=d8:50:e6:bf:9b:ff[/url]
                    I get blank page.
                    Log from error.log from apache
                    [Wed Jan 21 15:07:48.056186 2015] [:error] [pid 20873] [client 172.21.2.8:39190] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/fog/BootMenu.class.php on line 796

                    Regards

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

                      2922?

                      I’m sorry about requesting all this, but I’m trying! My guess, this host doesn’t have an image assigned to it right now, which is why you’re seeing the problem.

                      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
                      • robzaR
                        robza
                        last edited by

                        My fog version:
                        Version: 2920
                        [SIZE=4][FONT=arial][COLOR=red][B]You are not running the most current version of FOG![/B][/COLOR][/FONT][/SIZE]
                        You are currently running version: 2920
                        Latest stable version is 1.2.0
                        Latest svn version is 2922

                        But I’m unable to upgrade this to 2922, I don’t know why.
                        Regards

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

                          How were you upgrading before?

                          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
                          • robzaR
                            robza
                            last edited by

                            as usually
                            svn checkout [url]https://svn.code.sf.net/p/freeghost/code/trunk[/url]
                            cd /svn/trunk/bin
                            ./installfog.sh
                            update database scheme

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wolfbane8653 Developer
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • W
                                Wolfbane8653 Developer
                                last edited by

                                Try: [url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk#SVN[/url]

                                [CODE]cd /some/local/folder/
                                svn up
                                cd bin
                                ./installfog.sh[/CODE]
                                [LIST]
                                [*][I]NOTE:[/I] You must run [B]svn up[/B] in the “/some/local/folder/” and not in “…/fog/bin” or in “…/fog”
                                [/LIST]

                                1 Reply Last reply Reply Quote 0
                                • robzaR
                                  robza
                                  last edited by

                                  Done,
                                  thanks
                                  Version: 2922
                                  [B] Your verson of FOG is up to date.[/B]
                                  And inventory works like a charm 😉
                                  Thanks Tom and [URL=‘http://fogproject.org/forum/members/wolfbane8653.3362/’]Wolfbane8653[/URL]
                                  Regards

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

                                    No problem, sorry it took so long.

                                    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
                                    • Boyan BiandovB
                                      Boyan Biandov
                                      last edited by

                                      No go with undionly.kpxe on HP Desk Pro 400 G1 - Core i5; part number J6D33UT#ABA. PXE boot get’s stuck at “configuring …” and after about 20 seconds the PC reboots.

                                      [url=“/_imported_xf_attachments/1/1618_2015-01-21 12.19.13.jpg?:”]2015-01-21 12.19.13.jpg[/url]

                                      1 Reply Last reply Reply Quote 0
                                      • robzaR
                                        robza
                                        last edited by

                                        hmm, something is not wright,
                                        client sent inventory to server but see the picture. And it can last forever. Hard reset help.
                                        [ATTACH]1620[/ATTACH]
                                        Regards

                                        [url=“/_imported_xf_attachments/1/1620_IMG_20150122_070938.jpg?:”]IMG_20150122_070938.jpg[/url]

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wolfbane8653 Developer
                                          last edited by

                                          I’m having the same issue with a scheduled donation task. Tom will fix it soon.

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

                                            2923 should fix this issue.

                                            Sorry I’m an idiot sometimes.

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

                                            180

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project