Date: Tue, 17 Dec 2019 18:59:08 +0200 From: Vikash Badal <vikashb@chiefjanitor.com> To: freebsd-question@freebsd.org Cc: elastic@FreeBSD.org Subject: sysutils/logstash6 fails to start as logstash user Message-ID: <23849b35-01c4-c07f-978c-0ba977f4e036@chiefjanitor.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23849b35-01c4-c07f-978c-0ba977f4e036>