From owner-freebsd-questions@freebsd.org Wed Jan 9 11:32:37 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86C3F14A00A3 for ; Wed, 9 Jan 2019 11:32:37 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D93481F9A for ; Wed, 9 Jan 2019 11:32:36 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id f188so7790767wmf.5 for ; Wed, 09 Jan 2019 03:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=mH5FTnDWPXI9gB6eFrZ9f0t+deVr5+XWX1qRpwXR0vQ=; b=eVqLUY65BZaBI/jpwemQMqvfVbEYZZWojcYkHzMtufmVeZrlGyx+Gf5UQ/yfBupKZL 8nIEEicvXpw3cxiWLy7fIsRlCZDK3/RgUZbPBr4a0r5hKKG6mdB24CGCcfCdkvIwMjGn XMKpgL7jjE6uZgngORwkOa6nwiIDnSC9Jkoeu31E0num7P/YZlN7lmlYovhMlzP6m7ec HdPyGZVTxj2Q0UXv5i8cRFpukJnMHAvFOFm37e16ZSP7RW+2tHavahxsWxtk2gCf0aht mXZHIMEbZyn1zOmNVQXN2f4w0eyujl2sV+lTY0brSehpnfgOPn64qV1gBRvjPnerKnDk D48g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=mH5FTnDWPXI9gB6eFrZ9f0t+deVr5+XWX1qRpwXR0vQ=; b=cgBRNv7txgZvpMn8IJ/s7ukO+tKnclVYMNfkZy1n3o7I4n0TZZWskQrhhJ88Y5MpPp nx4sMWiqKgtEz4yNxYtK/gxHfG8SpBGgyWJ5CBJINKfGfzwi8Aa1Wc0GXv74d1mVF/ck kCxXfUYeVvOCIBUWBuI0OslovCve2kbVJXCvwL5VA58kKmPuJE6guW+hsfgZOia+SWSp A1u4mL5mbZeYZ3XGMaxE1yieWF/vtqkJ56ERb7tkKoHvp/skSS9LI3D5aOA8J0cfkBUi 9Rs7n5IpQC8XKmBVxiWJFLts0JOeibDyVaOKzWcHNmQ7xJ64IlmMRxVbtjOI3SMeBjg/ UKjg== X-Gm-Message-State: AJcUukcs73SNcUXjjpsiHwgZ2X2BvBw/N0DN4/gm/BJOLdP96C9fnSCx uk8+LX73D/zDAC2kqZhJahE9Zjb6 X-Google-Smtp-Source: ALg8bN6dDsa+tELx4SPZaYq5Wn4v13tRGmmQMOqgCsf95KmUkFJovI2f/J+ke569MNy1PnOo+PVIqA== X-Received: by 2002:a1c:d00d:: with SMTP id h13mr5095355wmg.13.1547033555117; Wed, 09 Jan 2019 03:32:35 -0800 (PST) Received: from MacBook-Air-van-Johan.local ([62.12.9.66]) by smtp.googlemail.com with ESMTPSA id k23sm10115330wmj.32.2019.01.09.03.32.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jan 2019 03:32:34 -0800 (PST) To: freebsd-questions@freebsd.org From: Johan Hendriks Subject: Salt-minion will not start on a freshly installed FreeBSD 12.0 Message-ID: <641dacc6-c84a-1456-e407-fcdf9a6257b7@gmail.com> Date: Wed, 9 Jan 2019 12:32:33 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: nl X-Rspamd-Queue-Id: 8D93481F9A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=eVqLUY65; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johhendriks@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=johhendriks@gmail.com X-Spamd-Result: default: False [-6.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.49)[ip: (-8.75), ipnet: 2a00:1450::/32(-1.94), asn: 15169(-1.71), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[9.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 11:32:37 -0000 Hello all, I use salt to configure my machines and all is fine. I have a new machine installed from USB and i can not start salt-minion. It comes to the part Generating keys and then it stops and place a pyhton27.core file. I also checked with python3.6 which has the same result. I used the ports tree to install and my poudriere but it always fails. The strange part is that on machines that I updated from 11.x to 12.0 the minion starts fine? My minion log logs this (the end) 2019-01-09 12:22:37,986 [salt.utils.process                                          :35  ][TRACE   ][46009] Process manager iteration 2019-01-09 12:22:38,022 [salt.minion                                                 :674 ][DEBUG   ][46009] Connecting to master. Attempt 1 of 1 2019-01-09 12:22:38,023 [salt.minion                                                 :237 ][DEBUG   ][46009] Master URI: tcp://192.168.2.247:4506 2019-01-09 12:22:38,041 [salt.crypt                                                  :463 ][DEBUG   ][46009] Initializing new AsyncAuth for (u'/usr/local/etc/salt/pki/minion', u'rtr51.server.netaffairs.nl', u'tcp://192.168.2.247:4506') 2019-01-09 12:22:38,042 [salt.crypt                                                  :778 ][INFO    ][46009] Generating keys: /usr/local/etc/salt/pki/minion If i recompile python2.7 with debug enabled i see the following. 2019-01-09 12:18:19,293 [salt.utils.process                                          :35  ][TRACE   ][38352] Process manager iteration 2019-01-09 12:18:19,346 [salt.minion                                                 :674 ][DEBUG   ][38352] Connecting to master. Attempt 1 of 1 2019-01-09 12:18:19,346 [salt.minion                                                 :237 ][DEBUG   ][38352] Master URI: tcp://192.168.2.247:4506 2019-01-09 12:18:19,371 [salt.minion                                                 :1014][CRITICAL][38352] Unexpected error while connecting to 192.168.2.247 Traceback (most recent call last):   File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line 997, in _connect_minion     yield minion.connect_master(failed=failed)   File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run     value = future.result()   File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result     raise_exc_info(self._exc_info)   File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run     yielded = self.gen.throw(*exc_info)   File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line 1188, in connect_master     master, self.pub_channel = yield self.eval_master(self.opts, self.timeout, self.safe, failed)   File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run     value = future.result()   File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result     raise_exc_info(self._exc_info)   File "/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 307, in wrapper     yielded = next(result)   File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line 697, in eval_master     pub_channel = salt.transport.client.AsyncPubChannel.factory(self.opts, **factory_kwargs)   File "/usr/local/lib/python2.7/site-packages/salt/transport/client.py", line 161, in factory     import salt.transport.zeromq   File "/usr/local/lib/python2.7/site-packages/salt/transport/zeromq.py", line 31, in     import salt.transport.mixins.auth   File "/usr/local/lib/python2.7/site-packages/salt/transport/mixins/auth.py", line 36, in     from Crypto.Cipher import PKCS1_OAEP   File "/usr/local/lib/python2.7/site-packages/Crypto/Cipher/PKCS1_OAEP.py", line 57, in     import Crypto.Signature.PKCS1_PSS   File "/usr/local/lib/python2.7/site-packages/Crypto/Signature/PKCS1_PSS.py", line 74, in     from Crypto.Util.strxor import strxor ImportError: /usr/local/lib/python2.7/site-packages/Crypto/Util/strxor.so: Undefined symbol "Py_InitModule4_64" 2019-01-09 12:18:19,372 [salt.minion                                                 :674 ][DEBUG   ][38352] Connecting to master. Attempt 1 of 1 2019-01-09 12:18:19,372 [salt.minion                                                 :237 ][DEBUG   ][38352] Master URI: tcp://192.168.2.247:4506 2019-01-09 12:18:19,374 [salt.minion                                                 :1014][CRITICAL][38352] Unexpected error while connecting to 192.168.2.247 What can i do to find out where it goes wrong regards Johan