Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D54211563 for ; Wed, 30 Apr 2014 15:26:25 +0000 (UTC) Received: (qmail 35547 invoked by uid 500); 30 Apr 2014 15:26:24 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 35510 invoked by uid 500); 30 Apr 2014 15:26:24 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 35503 invoked by uid 99); 30 Apr 2014 15:26:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 15:26:23 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raminderjsingh@gmail.com designates 209.85.216.182 as permitted sender) Received: from [209.85.216.182] (HELO mail-qc0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 15:26:19 +0000 Received: by mail-qc0-f182.google.com with SMTP id m20so496182qcx.27 for ; Wed, 30 Apr 2014 08:25:58 -0700 (PDT) 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=g7/IBkwlEXo+xovHXwChatvzvnSm22EZNKwl8ZcSmYs=; b=YbjsntWRIm3eCC4y2rF9kOy73BibDXA3Je3ETQrMil+EcPLYr1cR0rqx5jAwYRK9ad ZD4ys7+l1YN0AV1GwhwprOCHRegP2g+8WYkeqRscz58QhtJeaTk+0Rcf+truGxscNXrG y9wf2UmCe6WJ217CX1Hb6jclMhQ28wg4PWIDdqFH5dA4yhN0BG/z6r76tDpsP/qi15Nk EpMmXJ8QlzvXEBYUplwT2w/pfZPKLK5zkE6nc5b93w+bTWVZo3ERrSz5NEFtujO91UJ2 jyyr7msuGAMv/p818OmctIRrkejmjXuGQf9Inh67BCuySotYrbqtjx3znXTvBPg/GeKi aBfA== MIME-Version: 1.0 X-Received: by 10.140.98.233 with SMTP id o96mr5889691qge.86.1398871558813; Wed, 30 Apr 2014 08:25:58 -0700 (PDT) Received: by 10.140.50.143 with HTTP; Wed, 30 Apr 2014 08:25:58 -0700 (PDT) In-Reply-To: <5EB668D9BBF71F46B657363C67832BB31A885CBF@IU-MSSG-MBX101.ads.iu.edu> References: <5EB668D9BBF71F46B657363C67832BB31A885CBF@IU-MSSG-MBX101.ads.iu.edu> Date: Wed, 30 Apr 2014 11:25:58 -0400 Message-ID: Subject: Re: SELinux configuration for Airavata PHP client From: Raminderjeet Singh To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=001a11394eac59839a04f8442a79 X-Virus-Checked: Checked by ClamAV on apache.org --001a11394eac59839a04f8442a79 Content-Type: text/plain; charset=UTF-8 Airavata server was not running and i started it now. It should work now. On Wed, Apr 30, 2014 at 10:56 AM, Reagan, David Michael wrote: > I started seeing a similar error on gw111 yesterday afternoon, and it > continues today. Since I was out of the office, I just assumed someone was > messing with the server temporarily, but perhaps it is something more? > > > > > > ( ! ) Fatal error: Uncaught exception 'Thrift\Exception\TException' with > message ' in > C:\wamp\www\Airavata-PHP-Client-Samples\lib\Thrift\Transport\TSocket.php on > line 235 > > ( ! ) Thrift\Exception\TException: TSocket: Could not connect to > gw111.iu.xsede.org:8930 (A connection attempt failed because the > connected party did not properly respond after a period of time, or > established connection failed because connected host has failed to respond. > [10060]) in > C:\wamp\www\Airavata-PHP-Client-Samples\lib\Thrift\Transport\TSocket.php on > line 235 > > > > > > > > *From:* Marie IUB [mailto:marie.uits@gmail.com] > *Sent:* Wednesday, April 30, 2014 10:37 AM > *To:* dev@airavata.apache.org > *Subject:* SELinux configuration for Airavata PHP client > > > > Hi, > > > > I ran into this yesterday and thought it might be helpful to others as > well. > > > > When deploying the Airavata PHP client on a Linux server, I got the > following errors in the HTTP logs at first: > > PHP Fatal error: Uncaught exception 'Thrift\\Exception\\TException' with > message 'TSocket: Could not connect to server (Permission denied [13])' > .... > > > > It turned out to be SELinux configurations, and need to run the following > command as root to fix: > > setsebool -P httpd_can_network_connect 1 > > > > Thanks > > Marie > > > --001a11394eac59839a04f8442a79 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Airavata server was not running and i started it now. It s= hould work now.=C2=A0


On Wed, Apr 30, 2014 at 10:56 AM, Reagan, David Michael <dmrea= gan@iu.edu> wrote:

I started seeing a simila= r error on gw111 yesterday afternoon, and it continues today. Since I was o= ut of the office, I just assumed someone was messing with the server temporarily, but perhaps it is something more?

=C2=A0

=C2=A0

( ! ) Fatal error: Uncaug= ht exception 'Thrift\Exception\TException' with message ' in C:= \wamp\www\Airavata-PHP-Client-Samples\lib\Thrift\Transport\TSocket.php on line 235

( ! ) Thrift\Exception\TE= xception: TSocket: Could not connect to gw111.iu.xsede.org:8930 (A connection attempt= failed because the connected party did not properly respond after a period of time, or established connection failed because c= onnected host has failed to respond. [10060]) in C:\wamp\www\Airavata-PHP-C= lient-Samples\lib\Thrift\Transport\TSocket.php on line 235

=C2=A0

=C2=A0

=C2=A0

From: Marie = IUB [mailto:marie= .uits@gmail.com]
Sent: Wednesday, April 30, 2014 10:37 AM
To: dev= @airavata.apache.org
Subject: SELinux configuration for Airavata PHP client=

=C2=A0

Hi,=C2=A0

=C2=A0

I ran into this yesterday and thought it might be he= lpful to others as well.=C2=A0

=C2=A0

When deploying the=C2=A0Airavata PHP client on a Lin= ux server, I got the following errors in the HTTP logs at first:=C2=A0

PHP Fatal error: =C2=A0Uncaught exception 'Thrif= t\\Exception\\TException' with message 'TSocket: Could not connect = to server=C2=A0=C2=A0(Permission denied [13])' ....

=C2=A0

It turned out to be SELinux configurations, and need= to run the following command as root to fix:=C2=A0

setsebool -P httpd_can_network_connect 1

=C2=A0

Thanks

Marie

=C2=A0


--001a11394eac59839a04f8442a79--