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

    Could not image, Input/output error http://ipxe.org/Id0c6539

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    21
    4.9k
    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 @Bob Henderson
      last edited by

      @Bob-Henderson said in Could not image, Input/output error http://ipxe.org/Id0c6539:

      [Tue Jul 05 08:59:02.976170 2016] [:error] [pid 21672] [client 10.1.0.111:34431] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24

      Just to be sure this was from the apache error log? If so I would say this is AN issue, but shouldn’t be used in the area of the code where you are seeing a problem.

      [Tue Jul 05 08:59:02.976170 2016] [:error] [pid 21672] [client 10.1.0.111:34431] PHP Fatal error: Call to a member function isValid() on null in /var/www/fog/lib/plugins/location/hooks/changeitems.hook.php on line 24
      

      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!

      B 1 Reply Last reply Reply Quote 0
      • B
        Bob Henderson @george1421
        last edited by

        @george1421 Just double checked, yep, that’s the Apache error log (error.log) pulled from the Log viewer under Fog configuration.

        it also worries me where it stays the MySql server has gone away …

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

          @Bob-Henderson sql server going away might cause your issue too. If you key in sudo ps aux|grep sql does it show the mysql server running?

          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!

          B 1 Reply Last reply Reply Quote 0
          • B
            Bob Henderson @george1421
            last edited by

            @george1421

            yep, and I can connect to it via the root login as well.

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

              @Bob-Henderson I’m going to have to defer to the @Developers then so they can take a look at this error.

              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!

              1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator
                last edited by Quazz

                Can you post default.ipxe here?

                Just going to start over here.

                Looks like a problem with the location plugin!

                B 2 Replies Last reply Reply Quote 1
                • B
                  Bob Henderson @Quazz
                  last edited by

                  @Quazz
                  Content is:

                  #!ipxe
                  cpuid --ext 29 && set arch x86_64 || set arch i386
                  params
                  param mac0 ${net0/mac}
                  param arch ${arch}
                  param platform ${platform}
                  param product ${product}
                  param manufacturer ${product}
                  param ipxever ${version}
                  param filename ${filename}
                  isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                  isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                  :bootme
                  chain http://10.1.0.24/fog/service/ipxe/boot.php##params

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bob Henderson @Quazz
                    last edited by

                    @Quazz

                    Appears you’re right. I disabled the location plugin (we only have one location at the time anyways, so why bother) and it booted right up.

                    Now, I’m hoping to add a second location within the week here as a pure storage node, now that we finally got our high speed WAN in place. Hopefully this can be resolved by then, so I don’t have to worry about stuff pulling across the WAN!

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @Bob Henderson
                      last edited by

                      @Bob-Henderson When you access the boot.php page, can you then immediately look at your apache error logs and see if there is anything relevant in there? They will have timestamps.
                      Web interface -> FOG Configuration -> Log Viewer -> Apache error logs

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

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

                        I’m fairly sure this is not related to the location plugin, at least not directly. I believe this is because the location that was trying to connect could not communicate with the database. I could be wrong, it happens a lot.

                        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

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @Tom Elliott
                          last edited by Wayne Workman

                          @Tom-Elliott Ah, right. That’s happening more often now.

                          @Bob-Henderson try to remotely connect to the fog server’s MySQL db using the fogstorage credentials and see what happens:
                          https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Testing_MySQL

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Bob Henderson @Wayne Workman
                            last edited by

                            @Wayne-Workman I haven’t touched it in a while, but where do I grab the fogstorage credentials?

                            I can connect locally as the root user and such

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @Bob Henderson
                              last edited by

                              @Bob-Henderson said in Could not image, Input/output error http://ipxe.org/Id0c6539:

                              where do I grab the fogstorage credentials?

                              Web interface -> FOG Configuration -> FOG Settings -> FOG Storage Nodes -> FOG_STORAGENODE_MYSQLUSER and FOG_STORAGENODE_MYSQLPASS

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • B
                                Bob Henderson
                                last edited by

                                When I attempt that, I get ERROR 2003 (HY000): Can’t connect to MySQL server on ‘10.1.0.24’ (111) . Tried from 2 other linux boxes.

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

                                  @Bob-Henderson on your main server cd to /etc and run grep -rl bind-address .

                                  You will need to figure out the right file but edit them and comment the bind-address lines so they read as #bind-address = 127.0.0.1 then save the files. Once done restart MySQL services and try again.

                                  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

                                  B 1 Reply Last reply Reply Quote 1
                                  • B
                                    Bob Henderson @Tom Elliott
                                    last edited by

                                    @Tom-Elliott

                                    After getting rid of the localhost bind, I can login fine. No issues at all.

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

                                      I’ll bet your location will work fine now too.

                                      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

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        Bob Henderson @Tom Elliott
                                        last edited by

                                        @Tom-Elliott Sure does. Thanks for the help!

                                        1 Reply Last reply Reply Quote 0
                                        • 1
                                        • 2
                                        • 2 / 2
                                        • First post
                                          Last post

                                        122

                                        Online

                                        12.1k

                                        Users

                                        17.3k

                                        Topics

                                        155.4k

                                        Posts
                                        Copyright © 2012-2024 FOG Project