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

[git5046] Archlinux tftp + iPXE Menu

Scheduled Pinned Locked Moved Solved
Bug Reports
2
4
1.7k
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
    Sodden
    last edited by Sodden Oct 23, 2015, 5:11 AM Oct 23, 2015, 9:39 AM

    Hi,

    I moved our FOG installation from Debian to Archlinux and noticed some Problems.

    The tftp.service file created by the FOG install script does not work. The default file created by the tftp-hpa package works fine.

    Changes made in FOG Configuration->iPXE Boot Menu cannot be saved. However changing the same settings in FOG Configuration->FOG Settings->FOG Boot Settings works as expected.

    iPXE Advanced menu is not showing up on clients and adding custom entrys to it via “Menu Show With” doesn’t work either (still won’t show). But maybe I’m doing something wrong since there is no reference on how to work with these settings.

    Edit:
    Host List Breaks after time x when importing Hosts from file.
    Apache error.

     AH01071: Got error 'PHP message: PHP Fatal error:  Call to undefined function socket_strerror() in /srv/http/fog/lib/fog/Host.class.php on line 854\n', referer: http://"IP Removed"/fog/management/index.php?node=host&sub=search```
    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Oct 23, 2015, 11:23 AM

      @Sodden Please update and let me know if this is fixed for you.

      Apparently arch doesn’t enable common things so I have to code for each element needed. I have done so and just need verification.

      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
        Sodden
        last edited by Sodden Oct 23, 2015, 6:11 AM Oct 23, 2015, 12:01 PM

        Apparently the host list issue is related to a few bad entrys. I Imported a host list file from an older SVN version (which broke the host list after a few minutes) and exported it again after which I deleted all Hosts and reimported them resulting in the following:

        Total Rows	37
        Successful Host's	28
        Failed Host's	9
        Errors	Row #4: This MAC Belongs to another host
        Row #6: This MAC Belongs to another host
        Row #7: This MAC Belongs to another host
        Row #12: This MAC Belongs to another host
        Row #17: This MAC Belongs to another host
        Row #20: This MAC Belongs to another host
        Row #26: This MAC Belongs to another host
        Row #28: This MAC Belongs to another host
        Row #29: This MAC Belongs to another host
        

        I’ve attached both csv files. As far as I can see there are no overlapping MACs
        host_export.csv
        host_export_buefog02.csv

        Edit:
        After Updating to 5048 importing the SVN host list file results in:

        Total Rows	37
        Successful Host's	28
        Failed Host's	9
        Errors	Row #4: Host already exists with this name: 100408B
        Row #6: Host already exists with this name: 100435B
        Row #7: Host already exists with this name: 100453B
        Row #12: Host already exists with this name: 100798LC
        Row #17: Host already exists with this name: 102173B
        Row #20: Host already exists with this name: BUEPACS23
        Row #26: Host already exists with this name: buepc119
        Row #28: Host already exists with this name: BUEPC372
        Row #29: Host already exists with this name: BUETEST
        

        Still weird but at least it doesn’t break it ;D.

        1 Reply Last reply Reply Quote 0
        • S
          Sodden
          last edited by Sodden Oct 23, 2015, 6:40 AM Oct 23, 2015, 12:39 PM

          Okay. solved the host list issue by clearing the tables hosts and hostMAC and then reimporting the csv file.
          The PHP error message is gone as well after updating.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post

          270

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project