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

[netbsd] ReceiveTransaction: Bad packet -- bogus header

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: Environment Detection
    • Labels:
      None
    • Platform:
      Other (details)

      Description

      Any idea? Build from 3.6.0 tarball.

      pcre-8.35
      mdb-mdb-7cab7b95e240446dd11c7e0951af8b2c3409765b
      openssl-1.0.1h
      postgresql-8.4.4
      libxml2-2.9.1

      ./configure --prefix=/var/cfengine --with-lmdb=/var/cfengine --with-pcre=/var/cfengine --with-openssl=/var/cfengine LDFLAGS=-L/var/cfengine/lib CPPFLAGS=-I/var/cfengine/include
      gmake CC="gcc -R /var/cfengine/lib"

      <pre>

      1. uname -a
        NetBSD 6.0.5 NetBSD 6.0.5 (GENERIC) i386
      2. ldd /var/cfengine/bin/cf-agent
        /var/cfengine/bin/cf-agent:
        -lpromises.3 => /var/cfengine/lib/libpromises.so.3
        -lrt.1 => /usr/lib/librt.so.1
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lm.0 => /usr/lib/libm.so.0
        -llmdb => /var/cfengine/lib/liblmdb.so
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lpcre.3 => /var/cfengine/lib/libpcre.so.3
        -lssl.1.0.0 => /var/cfengine/lib/libssl.so.1.0.0
        -lcrypto.1.0.0 => /var/cfengine/lib/libcrypto.so.1.0.0
        -lpq.5 => /var/cfengine/lib/libpq.so.5
        -lcrypt.1 => /usr/lib/libcrypt.so.1
        -lxml2.11 => /var/cfengine/lib/libxml2.so.11
        -llzma.1 => /usr/lib/liblzma.so.1
        -lpam.3 => /usr/lib/libpam.so.3
      3. /var/cfengine/bin/cf-agent -V
        CFEngine Core 3.6.0
      4. cf-agent -B 192.168.0.1
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: Copy from '192.168.0.1:/var/cfengine/masterfiles/inventory/suse.cf' failed
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        R: This autonomous node assumes the role of voluntary client
        R: Failed to copy policy from policy server at 192.168.0.1:/var/cfengine/masterfiles
        Please check
      • cf-serverd is running on 192.168.0.1
      • network connectivity to 192.168.0.1 on port 5308
      • masterfiles 'body server control' - in particular allowconnects, trustkeysfrom and skipverify
      • masterfiles 'bundle server' -> access: -> masterfiles -> admit/deny
        It is often useful to restart cf-serverd in verbose mode (cf-serverd -v) on 192.168.0.1 to diagnose connection issues.
        When updating masterfiles, wait (usually 5 minutes) for files to propagate to inputs on 192.168.0.1 before retrying.
        R: Did not start the scheduler
        2014-06-27T16:07:40+0000 notice: /default/cfe_internal_call_update/commands/'"/var/cfengine/bin/cf-agent" -f update.cf'[0]: Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: There is no readable input file at '/var/cfengine/inputs/update.cf'. (stat: No such file or directory)
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: CFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: Copy from '192.168.0.1:/var/cfengine/masterfiles/inventory/suse.cf' failed
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
        Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:

      2014-06-27T16:07:40+0000 notice: /default/cfe_internal_call_update/commands/'"/var/cfengine/bin/cf-agent" -f update.cf'[0]: Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: /default/cfe_internal_update/files/'/var/cfengine/inputs'[0]: ReceiveTransaction: Bad packet – bogus header:
      Q: ".../cf-agent" -f u": R: Failed to copy policy from policy server at 192.168.0.1:/var/cfengine/masterfiles
      Q: ".../cf-agent" -f u": Please check
      Q: ".../cf-agent" -f u": * cf-serverd is running on 192.168.0.1
      Q: ".../cf-agent" -f u": * network connectivity to 192.168.0.1 on port 5308
      Q: ".../cf-agent" -f u": * masterfiles 'body server control' - in particular allowconnects, trustkeysfrom and skipverify
      Q: ".../cf-agent" -f u": * masterfiles 'bundle server' -> access: -> masterfiles -> admit/deny
      Q: ".../cf-agent" -f u": It is often useful to restart cf-serverd in verbose mode (cf-serverd -v) on 192.168.0.1 to diagnose connection issues.
      Q: ".../cf-agent" -f u": When updating masterfiles, wait (usually 5 minutes) for files to propagate to inputs on 192.168.0.1 before retrying.
      Q: ".../cf-agent" -f u": R: Did not start the scheduler
      Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 notice: /default/cfe_internal_call_update/commands/'"/var/cfengine/bin/cf-agent" -f update.cf'[0]: Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: There is no readable input file at '/var/cfengine/inputs/update.cf'. (stat: No such file or directory)
      Q: ".../cf-agent" -f u": Q: ".../cf-agent" -f u": 2014-06-27T16:07:40+0000 error: CFEngine was not able to get confirmation of promises from cf-promises, so going to failsafe

      2014-06-27T16:07:40+0000 error: Bootstrapping failed, no input file at '/var/cfengine/inputs/promises.cf' after bootstrap

      1. ls /var/cfengine/inputs/
        failsafe.cf inventory reports

      </pre>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                a10005 Nakarin Phooripoom (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel