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

MAC address not sticking on host

Scheduled Pinned Locked Moved Solved
FOG Problems
4
21
5.8k
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.
  • J
    johnomaz
    last edited by johnomaz Sep 1, 2015, 3:56 PM Aug 25, 2015, 4:42 PM

    So I’m adding some hosts to my fog server, I type it all in, save the host but the MAC address doesn’t stick.

    Keep in mind, I don’t tinker with my fog server. It sits there and runs. The only thing I do is backup my database outside of the web GUI.

    W 1 Reply Last reply Aug 25, 2015, 4:44 PM Reply Quote 0
    • W
      Wayne Workman @johnomaz
      last edited by Aug 25, 2015, 4:44 PM

      @johnomaz What version of FOG? Look in the cloud in the top left of the web interface.

      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
      • J
        johnomaz
        last edited by Sep 1, 2015, 9:19 PM

        Sorry for the seriously delayed reply. Work has been crazy. Its SVN 3261. I’ve used this SVN for months, everything has been just fine for the most part (I’ve had to delete some hosts manually in msyql, but thats about it). I added a bunch of hosts over the past couple of months but I have about 20 that refuse to take a mac address. I’ve deleted the host and recreated it and still doesn’t take the mac address.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Sep 1, 2015, 9:24 PM

          I’d actually take a look at a more current version of FOG. There were issues that were known about but found after that revision. I’m fairly sure I’ve fixed most of them.

          My guess, right now, is your DB has some hostMAC.hmHostID fields that are setup for a hostID of 0. This is not valid, but because the MAC Exists in this field, but not attached to a proper host, it is causing issues. You will need to take a look at the DB and check that these unassociated fields are removed.

          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
          • J
            johnomaz
            last edited by johnomaz Sep 1, 2015, 3:43 PM Sep 1, 2015, 9:31 PM

            You happen to have a guide on how to do that?

            I have also tried to update my version, but when I run the install script, I get is “Sorry, answer not recognized” scrolling for about 8-10 times and then exits. I do not have a .fogsettings file. I was going to eventually redo my fog server but I haven’t had the time.

            …

            Ok, so doing a bit of googling, I tried delete from hostMAC where hmHostID = 0; and it didnt’ do anything. Is that way off, or in the ballpark? I did a backup of my database before so if I fubar it, I can restore it.

            W 1 Reply Last reply Sep 1, 2015, 9:50 PM Reply Quote 0
            • W
              Wayne Workman @johnomaz
              last edited by Sep 1, 2015, 9:50 PM

              @johnomaz If you would update FOG, I believe the more recent revisions look for and delete these"0" entries. I think I remember Tom saying that somewhere… it’s been a hot minute.

              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
              • J
                johnomaz
                last edited by Sep 1, 2015, 9:53 PM

                @Wayne-Workman I have an issue upgrading. I would upgrade if it wasn’t for the error I get when I try. I get “Sorry, answer not recognized” scrolling for about 8-10 times and then exits.

                W 1 Reply Last reply Sep 1, 2015, 9:55 PM Reply Quote 0
                • W
                  Wayne Workman @johnomaz
                  last edited by Sep 1, 2015, 9:55 PM

                  @johnomaz said:

                  @Wayne-Workman I have an issue upgrading. I would upgrade if it wasn’t for the error I get when I try. I get “Sorry, answer not recognized” scrolling for about 8-10 times and then exits.

                  Can you get us a screenshot?

                  Also - what’s in your /opt/fog/.fogsettings file? Can you post it and omit your passwords (carefully as to not ruin the syntax)?

                  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
                  • J
                    johnomaz
                    last edited by Sep 1, 2015, 9:59 PM

                    https://i.imgur.com/WxWBJYt.jpg Thats the error I get.

                    I do not have a /opt/fog/.fogsettings file. I also didn’t delete said file at any point in time. I know the file exists and unless I have a reason t delete it, i dont’. I haven’t had a reason to delete the file.

                    W 1 Reply Last reply Sep 1, 2015, 10:13 PM Reply Quote 0
                    • W
                      Wayne Workman @johnomaz
                      last edited by Sep 1, 2015, 10:13 PM

                      @johnomaz Can you run this command and give us the output? Obviously omit passwords if you wish to protect them, but not in such a way that destroys the syntax of where/how it was there.

                      cat /opt/fog/.fogsettings
                      

                      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
                      • J
                        johnomaz
                        last edited by Sep 1, 2015, 10:14 PM

                        @Wayne-Workman cat: /opt/fog/.fogsettings: No such file or directory

                        W 1 Reply Last reply Sep 1, 2015, 10:16 PM Reply Quote 0
                        • W
                          Wayne Workman @johnomaz
                          last edited by Sep 1, 2015, 10:16 PM

                          @johnomaz Um… well… this is a head scratch-er… because - if you completed an installation of FOG, then you should have this file. It’s where all fog installation settings are stored. This is why you are getting the errors right when the installer starts - it’s trying to read settings from that file but because it’s not there, it just throws errors for each line it tries to read.

                          Do you have an /opt directory? and /opt/fog directory?

                          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
                          • W
                            Wayne Workman
                            last edited by Sep 1, 2015, 10:18 PM

                            What Linux Distro are you using? What version?

                            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
                            • J
                              johnomaz
                              last edited by johnomaz Sep 1, 2015, 4:20 PM Sep 1, 2015, 10:18 PM

                              I do have both directories. The fog directory appears to have all the folders I’ve come to known to be in there (log service snapins utils).

                              I’m running CentOS 6.5.

                              1 Reply Last reply Reply Quote 0
                              • J
                                johnomaz
                                last edited by Sep 1, 2015, 10:25 PM

                                I unfortunately have to go. I’ll check back tomorrow morning when I get in. I have to image a computer lab in the morning, but after that I may end up rebuilding if a resolution can’t be found.

                                W 1 Reply Last reply Sep 1, 2015, 10:26 PM Reply Quote 0
                                • W
                                  Wayne Workman @johnomaz
                                  last edited by Sep 1, 2015, 10:26 PM

                                  @johnomaz said:

                                  I unfortunately have to go. I’ll check back tomorrow morning when I get in. I have to image a computer lab in the morning, but after that I may end up rebuilding if a resolution can’t be found.

                                  We can help you to migrate your images and hosts so that they are not lost - unless you have that under control.

                                  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
                                  • J
                                    johnomaz
                                    last edited by Sep 2, 2015, 2:18 PM

                                    I have my images on a seperate internal hard drive and my database is already backed up. Thank you guys.

                                    1 Reply Last reply Reply Quote 1
                                    • J
                                      johnomaz
                                      last edited by Sep 4, 2015, 2:31 PM

                                      So after deciding to rebuild my FOG server, I decided to go with Fedora 22. CentOS 7 kept giving me issues with downloading certain packages and Fedora gave me zero issues. I got it all back up and running, imported my database and it removed all the hosts that wouldn’t accept a MAC address.

                                      I do appreciate the help Tom and Wayne gave me (and the extra mile Wayne with). It was a huge help.

                                      ch3iC 1 Reply Last reply Sep 4, 2015, 2:36 PM Reply Quote 0
                                      • ch3iC
                                        ch3i Moderator @johnomaz
                                        last edited by Sep 4, 2015, 2:36 PM

                                        @johnomaz said:

                                        So after deciding to rebuild my FOG server, I decided to go with Fedora 22. CentOS 7 kept giving me issues with downloading certain packages and Fedora gave me zero issues. I got it all back up and running, imported my database and it removed all the hosts that wouldn’t accept a MAC address.

                                        I do appreciate the help Tom and Wayne gave me (and the extra mile Wayne with). It was a huge help.

                                        It’s solved ?

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          johnomaz
                                          last edited by Sep 4, 2015, 3:34 PM

                                          Yes, it can be flagged as solved.

                                          ch3iC 1 Reply Last reply Sep 4, 2015, 4:02 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          169

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project