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

    Extended fog variables in multicast

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    4
    443
    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
      jc35
      last edited by

      Hi,
      FOG 1.5.8
      In post install, we get fog variables with
      curl -A “” -Lkso /tmp/hinfo.txt ${web}service/hostinfo.php -d “mac=$mac”
      It’s works fine in deploy mode, but it doesn’t work in multicast mode.

      Apache error_logs :
      [proxy_fcgi:error] [pid 7589:tid 140504964466432] [client xxx:xxx] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in pathweb/fog/service/hostinfo.php:97\nStack trace:\n#0 {main}\n thrown in pathweb/fog/service/hostinfo.php on line 97\n’

      the file /tmp/hinfo.txt is empty.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @jc35 Thanks for bringing this up. Found and fixed the issue in dev-branch. It’s a fairly simple fix and you might want to add that manually for now as a quick fix for you: https://github.com/FOGProject/fogproject/commit/b69ca5b9e30765f5e751fe09c724c063d7a73d5f

        Moded topic to bug reports.

        Fixed in working-1.6 as well.

        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
        • F
          Florent
          last edited by

          Thanks it’s ok !

          Florent
          Bretagne, FRANCE

          1 Reply Last reply Reply Quote 0
          • J
            jc35
            last edited by

            Hi,
            with the modification of “hostinfo.php”, it’s works fine.
            Thank you very much.

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

            212

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project