From owner-freebsd-elastic@freebsd.org Wed May 2 14:11:28 2018 Return-Path: Delivered-To: freebsd-elastic@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 95A24FAAEDB for ; Wed, 2 May 2018 14:11:28 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3054A8108F for ; Wed, 2 May 2018 14:11:28 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E8BCCFAAEDA; Wed, 2 May 2018 14:11:27 +0000 (UTC) Delivered-To: elastic@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 D62C0FAAED9 for ; Wed, 2 May 2018 14:11:27 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 70A9281072 for ; Wed, 2 May 2018 14:11:27 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AC2762291C; Wed, 2 May 2018 10:11:21 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Wed, 02 May 2018 10:11:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ZnY7TE 1uayNGjFumnhDI8b/4vH6kLSokrR2qXZlrlyc=; b=RqFMdTl1Y51jzx+rwI6LVU VpVZx2wj7M3EbL+4hUaFMuWteD9MBFePYz/CvBUSpbzNTajD8w1rFcqe/rB6z79M 3sE7JKyBY32M06ycWS4hYAZMHAwfViHb5AyBhNMJ+2DHy9FYwGSxvu4nVraDAOMT ym/oQahuyF4tF/Pg1jPp6CEsy45k1zOdFoBh4oAs5K/ndtH+mhle62OVtcbuM+EE 6sNK1lXtN6E0XOv4ovbcQEVfCSKMbtcpzBDaHJRJq+znA/FZL8XP7qUkbv3pAZfv Z+Q6xQimNBG4voixMT0MxYXvlbsR5qkv8VqpRhRWE1TQ1rr+n4HmaTxDFY+5Cw3Q == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 5FB869E3CF; Wed, 2 May 2018 10:11:21 -0400 (EDT) Message-Id: <1525270281.3662427.1358252736.308FAC14@webmail.messagingengine.com> From: Mark Felder To: Joachim Mathes , elastic@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-62b61488 In-Reply-To: <393485b6-ece3-e6a5-48f6-dcb8af419619@punkt.de> Subject: Re: Problem with Elasticsearch 5 service script References: <393485b6-ece3-e6a5-48f6-dcb8af419619@punkt.de> Date: Wed, 02 May 2018 09:11:21 -0500 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2018 14:11:28 -0000 On Wed, Apr 18, 2018, at 06:42, Joachim Mathes wrote: > Hello Elastic-Team, > > we have problems with starting the elasticsearch service of package > https://www.freshports.org/textproc/elasticsearch5/ (2018Q2). > When we try to start elasticsearch the rc.d-script fails with: > > """ > Starting elasticsearch. Could not find any executable java binary. > Please install java in your PATH or set JAVA_HOME > """ > > We fixed this issue by extending the PATH variable in > /usr/local/etc/rc.d/elasticsearch: > > """ > export PATH=$PATH:/usr/local/openjdk8/bin > """ > > Can you reproduce this? > This was narrowed down to the user changing their root shell from csh to something else. It causes issues because /usr/local/bin and /usr/local/sbin are no longer in PATH. Changing the root shell is strongly discouraged as many assumptions are made about which shell your root user has. -- Mark Felder ports-secteam & portmgr member feld@FreeBSD.org From owner-freebsd-elastic@freebsd.org Thu May 3 08:28:33 2018 Return-Path: Delivered-To: freebsd-elastic@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 ED831FC9711 for ; Thu, 3 May 2018 08:28:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 860CD7ACBE for ; Thu, 3 May 2018 08:28:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 42CA8FC970E; Thu, 3 May 2018 08:28:32 +0000 (UTC) Delivered-To: elastic@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 3152EFC970D for ; Thu, 3 May 2018 08:28:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C59397ACBC for ; Thu, 3 May 2018 08:28:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0D72D2B0AD for ; Thu, 3 May 2018 08:28:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w438SUb5046094 for ; Thu, 3 May 2018 08:28:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w438SU8t046093 for elastic@FreeBSD.org; Thu, 3 May 2018 08:28:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: elastic@FreeBSD.org Subject: [Bug 227945] sysutils/beats: filebeat startup script not redirecting stdout Date: Thu, 03 May 2018 08:28:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: w.schwarzenfeld@utanet.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: elastic@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2018 08:28:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227945 w.schwarzenfeld@utanet.at changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |elastic@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=