Return-Path: X-Original-To: apmail-nifi-users-archive@minotaur.apache.org Delivered-To: apmail-nifi-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E25DC18C49 for ; Tue, 19 Jan 2016 11:54:31 +0000 (UTC) Received: (qmail 80049 invoked by uid 500); 19 Jan 2016 11:54:31 -0000 Delivered-To: apmail-nifi-users-archive@nifi.apache.org Received: (qmail 80021 invoked by uid 500); 19 Jan 2016 11:54:31 -0000 Mailing-List: contact users-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@nifi.apache.org Delivered-To: mailing list users@nifi.apache.org Received: (qmail 80011 invoked by uid 99); 19 Jan 2016 11:54:31 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 11:54:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 504DE1A09E6 for ; Tue, 19 Jan 2016 11:54:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Gu3Hf35MGZNi for ; Tue, 19 Jan 2016 11:54:30 +0000 (UTC) Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 717B421265 for ; Tue, 19 Jan 2016 11:54:30 +0000 (UTC) Received: by mail-ig0-f177.google.com with SMTP id mw1so66026387igb.1 for ; Tue, 19 Jan 2016 03:54:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ktz6Qg+CeJTAgPv0ix1FG8bz92nf8+MoAIlcDuwurk0=; b=JUpw7guYRu3awabh/9Z0yrRJOQ3t1Ts3Vr7pJe4B+gEQU462nHfvr8+sIv0shYCXe3 KPZ5H1NeEHY4EtWLyAkQEwSPyUQTpfKgkjE3T3UCtO432HpNQo8Iknu1cyqwZcmUxH+I IHHkRaZ+CZyF167kVDEtT6A2lT7e0xn8WBMTHRS8Sj3wPOg0z+g99zTLNTphN0HtkduH rsqwc2p3+xXPSO3JOSDGIVBS1s7Se/6r34U7r+V2NztElAdb4vsprLKfdlpIbBLrtHQn LoJB9gwjbj0804RDE2U9fkSDSYF/W46eeXLOO9DEbdTAMtj0YAMbuCvZJOtgP/bVVVax AyRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Ktz6Qg+CeJTAgPv0ix1FG8bz92nf8+MoAIlcDuwurk0=; b=C245keg6Ar3QHN+g9NgD93WKtTNvsMgMlDPDtYxVkQbw5e88hijlBtHLFaPrFmJx1Q 18mHQ6uyKoM496W14W0g1/McfAVC+HmuRZ1Qq5UeaVJl1I+AU5D6iB4zxtYd4b7HLY92 PkFyk7fWhUQuOmekBU1DvQeTZRP09b/jitvQf5r1UWonZgWac2cCEtZNYYbSjfkZbOnF dbJhZrwN/S+FWQ+Uo0iv3z5ry/7xekh+3HncM4lIxhkj8QFhvtrBoVIabWVZHMy8myN8 o0bDvInLkmddUW8uZB+j/jr4jSaciDLbATctiyUzLKkzlq31jQk405qrwS1QO4nFI0br yVZw== X-Gm-Message-State: AG10YORAJK8hTq0JDWtikHHhWB0DCdN9oXYqbOFkb45OZeHkd4eVIgsil1k+AgKr04PzgxSoKwPbBrUYa5TE/g== MIME-Version: 1.0 X-Received: by 10.50.21.10 with SMTP id r10mr15763217ige.93.1453204469732; Tue, 19 Jan 2016 03:54:29 -0800 (PST) Received: by 10.50.114.67 with HTTP; Tue, 19 Jan 2016 03:54:29 -0800 (PST) In-Reply-To: References: Date: Tue, 19 Jan 2016 17:24:29 +0530 Message-ID: Subject: Re: ListenHTTP processor From: sudeep mishra To: users@nifi.apache.org Content-Type: multipart/alternative; boundary=047d7b86eeae345e1a0529ae881a --047d7b86eeae345e1a0529ae881a Content-Type: text/plain; charset=UTF-8 Thanks Jeremy. I was running NiFi with another user account and not as a root user. Running NiFi as a root user helped to resolve the issue. On Tue, Jan 19, 2016 at 5:07 PM, Jeremy Dyer wrote: > Sudeep, > > ListenHTTP tries to bind to port 80 by default which is a privileged port. > All ports 1024 and below are privileged ports and must be opened by root. > Try setting the port number on ListenHTTP to something higher than 1024 > > Sent from my iPhone > > > On Jan 19, 2016, at 2:11 AM, sudeep mishra > wrote: > > > > Hi, > > > > I am getting an error as 'failed to invoke @OnSchedule method due to > java.net.SocketException:Permission denied' when using 'ListenHTTP > processor'. > > > > Please suggest how to resolve the issue. > > > > Thanks & Regards, > > > > Sudeep Shekhar Mishra > > > -- Thanks & Regards, Sudeep Shekhar Mishra +91-9167519029 sudeepshekharm@gmail.com --047d7b86eeae345e1a0529ae881a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Jeremy.

I was running NiFi with = another user account and not as a root user. Running NiFi as a root user he= lped to resolve the issue.



On Tue, Jan 19, 2016 at 5:07 PM, Jer= emy Dyer <jdye64@gmail.com> wrote:
Sudeep,

ListenHTTP tries to bind to port 80 by default which is a privileged port. = All ports 1024 and below are privileged ports and must be opened by root. T= ry setting the port number on ListenHTTP to something higher than 1024

Sent from my iPhone

> On Jan 19, 2016, at 2:11 AM, sudeep mishra <sudeepshekharm@gmail.com> wrote:
>
> Hi,
>
> I am getting an error as 'failed to invoke @OnSchedule method due = to java.net.SocketException:Permission denied' when using 'ListenHT= TP processor'.
>
> Please suggest how to resolve the issue.
>
> Thanks & Regards,
>
> Sudeep Shekhar Mishra
>



--
=
Thanks & Regards,
<= br>
Sudeep Shekhar Mishra

+91-9167519029=
--047d7b86eeae345e1a0529ae881a--