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

    Extended fog variables

    Scheduled Pinned Locked Moved
    General
    4
    6
    480
    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.
    • P
      pete
      last edited by

      Re: Extended fog variables problem.

      Hey I have the same problem on the newest version of fog 1.5.7.
      I can’t get the script to work.

      curl -A "" -Lkso /tmp/hinfo.sh ${web}service/hostinfo.php -d "mac=$mac"
      

      Gives me hinfo.sh that outputs:

      Invalid tasking!
      

      If I use the curl command without the -A the cat/tmp/hinfo.sh outputs Cannot view from browser.

      The web url is good because without the mac the output was Invalid MAC Address!

      So the problem in the code is the -A argument of curl.

      Anyone know a solution?

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

        @pete said in Extended fog variables:

        Invalid tasking!

        The message seems pretty clear. There is no valid task scheduled for this host at the moment this is running. So I am wondering if you scheduled a task in the web UI or if you try to directly deploy from the iPXE FOG menu?

        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
        • P
          pete
          last edited by pete

          I had a debug task running through the web GUI.

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

            @george1421 @Greg-Plamondon Can anyone of you confirm this is an issue with FOG 1.5.7?

            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

            george1421G Q 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Sebastian Roth
              last edited by

              @Sebastian-Roth I can confirm it as soon as I get home in a bit.

              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 @Sebastian Roth
                last edited by Sebastian Roth

                @Sebastian-Roth @pete Tested a host with debug tasking. With the -A ""
                argument it works fine, without it Cannot view from browser

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

                250

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project