Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1687

OS X 10.8.5 - error: Couldn't get interfaces - old kernel? Try setting CF_IFREQ to 1024.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.2
    • Component/s: Environment Detection
    • Labels:
      None
    • Platform:
      Other (details)
    • Found in version (details):
      3.6.2rc

      Description

      We have been successfully using CFEngine 3.6.0 and 3.6.1 to manage OS X (Darwin) hosts. The 3.6.2rc tarball builds and install fine, however all of the executables abort with the following message; error: Couldn't get interfaces - old kernel? Try setting CF_IFREQ to 1024. (ioctl: Device not configured)

      I have tried changing CF_IFREQ from 2048 to 1024 and recompiling, but the issue persists.

      <pre>
      macaroni:wscfengine3 root# /private/var/wscfengine3/bin/cf-key -d
      2014-09-15T13:59:40-0400 debug: Trying to shlib_open extension plugin 'cfengine-enterprise.so' from '/private/var/wscfengine3/lib/cfengine-enterprise.so'
      2014-09-15T13:59:40-0400 debug: Could not open shared library: No such file or directory

      2014-09-15T13:59:40-0400 verbose: Could not open extension plugin 'cfengine-enterprise.so' from '/private/var/wscfengine3/lib/cfengine-enterprise.so': (not installed)
      2014-09-15T13:59:40-0400 verbose: Setting cfengine default port to 5308
      2014-09-15T13:59:40-0400 verbose: Work directory is /private/var/wscfengine3
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/inputs/update.conf'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/inputs/update.conf' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/bin/cf-agent -D from_cfexecd'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/bin/cf-agent -D from_cfexecd' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/outputs/spooled_reports'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/outputs/spooled_reports' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/lastseen/intermittencies'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/lastseen/intermittencies' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/reports/various'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/reports/various' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/state/cf_procs'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/state/cf_procs' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/state/previous_state/'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/state/previous_state/' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/state/diff/'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/state/diff/' exists. Okay
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/state/untracked/'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/state/untracked/' exists. Okay
      2014-09-15T13:59:40-0400 verbose: Looking for a source of entropy in '/private/var/wscfengine3/randseed'
      2014-09-15T13:59:40-0400 verbose: Could not read sufficient randomness from '/private/var/wscfengine3/randseed'
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/.'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/.' exists. Okay
      2014-09-15T13:59:40-0400 verbose: Making sure that locks are private...
      2014-09-15T13:59:40-0400 debug: Trying to create a parent directory for '/private/var/wscfengine3/state/.'
      2014-09-15T13:59:40-0400 debug: Directory for '/private/var/wscfengine3/state/.' exists. Okay
      2014-09-15T13:59:40-0400 verbose: Checking integrity of the state database
      2014-09-15T13:59:40-0400 verbose: Checking integrity of the module directory
      2014-09-15T13:59:40-0400 verbose: Checking integrity of the PKI directory
      2014-09-15T13:59:40-0400 verbose: Reference time set to 'Mon Sep 15 13:59:40 2014'
      2014-09-15T13:59:40-0400 verbose: CFEngine Core 3.6.2rc
      2014-09-15T13:59:40-0400 verbose: Host name is: macaroni
      2014-09-15T13:59:40-0400 verbose: Operating System Type is darwin
      2014-09-15T13:59:40-0400 verbose: Operating System Release is 12.5.0
      2014-09-15T13:59:40-0400 verbose: Architecture = x86_64
      2014-09-15T13:59:40-0400 verbose: Using internal soft-class darwin for host macaroni
      2014-09-15T13:59:40-0400 verbose: The time is now Mon Sep 15 13:59:40 2014
      2014-09-15T13:59:40-0400 verbose: Additional hard class defined as: 64_bit
      2014-09-15T13:59:40-0400 verbose: Additional hard class defined as: darwin_12_5_0
      2014-09-15T13:59:40-0400 verbose: Additional hard class defined as: darwin_x86_64
      2014-09-15T13:59:40-0400 verbose: Additional hard class defined as: darwin_x86_64_12_5_0
      2014-09-15T13:59:40-0400 verbose: GNU autoconf class from compile time: compiled_on_darwin12_5_0
      2014-09-15T13:59:40-0400 verbose: Address given by nameserver: 160.91.216.178
      2014-09-15T13:59:40-0400 verbose: No interface exception file /private/var/wscfengine3/inputs/ignore_interfaces.rx
      2014-09-15T13:59:40-0400 error: Couldn't get interfaces - old kernel? Try setting CF_IFREQ to 1024. (ioctl: Device not configured)
      </pre>

        Attachments

          Activity

            People

            • Assignee:
              a10038 jimis (Dimitrios Apostolou)
              Reporter:
              traterjr James Trater
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel