From owner-freebsd-elastic@freebsd.org Tue Dec 17 16:59:30 2019 Return-Path: Delivered-To: freebsd-elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CCA721ECB44 for ; Tue, 17 Dec 2019 16:59:30 +0000 (UTC) (envelope-from vikashb@chiefjanitor.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47ckrd2NHCz4XnB for ; Tue, 17 Dec 2019 16:59:29 +0000 (UTC) (envelope-from vikashb@chiefjanitor.com) Received: by mailman.nyi.freebsd.org (Postfix) id 4F3991ECB41; Tue, 17 Dec 2019 16:59:29 +0000 (UTC) Delivered-To: elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DE181ECB40 for ; Tue, 17 Dec 2019 16:59:29 +0000 (UTC) (envelope-from vikashb@chiefjanitor.com) Received: from smtp02-bry.isdsl.net (smtp02-bry.isdsl.net [196.23.28.232]) by mx1.freebsd.org (Postfix) with ESMTP id 47ckrX1sGcz4Xn4 for ; Tue, 17 Dec 2019 16:59:23 +0000 (UTC) (envelope-from vikashb@chiefjanitor.com) Received: from 196-209-218-4.dynamic.isadsl.co.za ([196.209.218.4]:17400 helo=l5580.where-ever.za.net) by smtp02-bry.isdsl.net with esmtp (Exim 4.92.2 #0) (envelope-from ) id 1ihGBm-000BBb-N3; Tue, 17 Dec 2019 18:59:21 +0200 To: freebsd-question@freebsd.org Cc: elastic@FreeBSD.org From: Vikash Badal Subject: sysutils/logstash6 fails to start as logstash user Message-ID: <23849b35-01c4-c07f-978c-0ba977f4e036@chiefjanitor.com> Date: Tue, 17 Dec 2019 18:59:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-SA-Score: 2.1 X-Scan-Signature: a9495487cd85e3d903f256d993338001{101}} X-Trace: smtp02-bry.isdsl.net 1ihGBm-000BBb-N3 06b490f5eba02287e9b8fffc33319f75 X-Rspamd-Queue-Id: 47ckrX1sGcz4Xn4 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of vikashb@chiefjanitor.com has no SPF policy when checking 196.23.28.232) smtp.mailfrom=vikashb@chiefjanitor.com X-Spamd-Result: default: False [3.41 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[4.218.209.196.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[232.28.23.196.rep.mailspike.net : 127.0.0.18]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[chiefjanitor.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.90)[0.904,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.99)[0.991,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[232.28.23.196.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3741, ipnet:196.23.0.0/16, country:ZA]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.62)[asn: 3741(3.07), country: ZA(0.00)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2019 16:59:30 -0000 on a fresh install of freebsd 12.1 service logstash start does not start or produce any logs, i have used the defaults in /usr/local/etc/logstash running the command: su -m logstash -c '/usr/local/logstash/bin/logstash --path.settings /usr/local/etc/logstash -l /var/log/logstash' [ERROR] 2019-12-17 18:41:12.279 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (ArgumentError) could not find a temporary directory if i run as root: /usr/local/logstash/bin/logstash --path.settings /usr/local/etc/logstash -l /var/log/logstash logstash starts up from several google searches, https://github.com/elastic/logstash/issues/10714 looked promising, how ever i am unable to start logstash i have checked /tmp and the noexec is off root@elk-01:/usr/local/etc # zfs get all zroot/root/tmp NAME            PROPERTY              VALUE                  SOURCE zroot/root/tmp  type                  filesystem             - zroot/root/tmp  creation              Thu Dec 12 11:16 2019  - zroot/root/tmp  used                  952K                   - zroot/root/tmp  available             108G                   - zroot/root/tmp  referenced            952K                   - zroot/root/tmp  compressratio         1.00x                  - zroot/root/tmp  mounted               yes                    - zroot/root/tmp  quota                 none                   default zroot/root/tmp  reservation           none                   default zroot/root/tmp  recordsize            128K                   default zroot/root/tmp  mountpoint            /tmp                   inherited from zroot/root zroot/root/tmp  sharenfs              off                    default zroot/root/tmp  checksum              on                     default zroot/root/tmp  compression           off                    default zroot/root/tmp  atime                 on                     default zroot/root/tmp  devices               on                     default zroot/root/tmp  exec                  on                     default zroot/root/tmp  setuid                on                     default zroot/root/tmp  readonly              off                    default zroot/root/tmp  jailed                off                    default zroot/root/tmp  snapdir               hidden                 default zroot/root/tmp  aclmode               discard                default zroot/root/tmp  aclinherit            restricted             default zroot/root/tmp  createtxg             11                     - zroot/root/tmp  canmount              on                     default zroot/root/tmp  xattr                 off                    temporary zroot/root/tmp  copies                1                      default zroot/root/tmp  version               5                      - zroot/root/tmp  utf8only              off                    - zroot/root/tmp  normalization         none                   - zroot/root/tmp  casesensitivity       sensitive              - zroot/root/tmp  vscan                 off                    default zroot/root/tmp  nbmand                off                    default zroot/root/tmp  sharesmb              off                    default zroot/root/tmp  refquota              none                   default zroot/root/tmp  refreservation        none                   default zroot/root/tmp  guid                  15516683446707309425   - zroot/root/tmp  primarycache          all                    default zroot/root/tmp  secondarycache        all                    default zroot/root/tmp  usedbysnapshots       0                      - zroot/root/tmp  usedbydataset         952K                   - zroot/root/tmp  usedbychildren        0                      - zroot/root/tmp  usedbyrefreservation  0                      - zroot/root/tmp  logbias               latency                default zroot/root/tmp  dedup                 off                    default zroot/root/tmp  mlslabel                                     - zroot/root/tmp  sync                  standard               default zroot/root/tmp  dnodesize             legacy                 default zroot/root/tmp  refcompressratio      1.00x                  - zroot/root/tmp  written               952K                   - zroot/root/tmp  logicalused           934K                   - zroot/root/tmp  logicalreferenced     934K                   - zroot/root/tmp  volmode               default                default zroot/root/tmp  filesystem_limit      none                   default zroot/root/tmp  snapshot_limit        none                   default zroot/root/tmp  filesystem_count      none                   default zroot/root/tmp  snapshot_count        none                   default zroot/root/tmp  redundant_metadata    all                    default if i execute ./logstash-plugin update in /usr/local/logstash/bin i get this error: Error ArgumentError, retrying 1/10 could not find a temporary directory please advise thanks Vikash