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 BEC38175F2 for ; Tue, 17 Mar 2015 13:44:48 +0000 (UTC) Received: (qmail 39577 invoked by uid 500); 17 Mar 2015 13:44:48 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 39530 invoked by uid 500); 17 Mar 2015 13:44:48 -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 39520 invoked by uid 99); 17 Mar 2015 13:44:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 13:44:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kamalasini@gmail.com designates 209.85.217.176 as permitted sender) Received: from [209.85.217.176] (HELO mail-lb0-f176.google.com) (209.85.217.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 13:44:22 +0000 Received: by lbcds1 with SMTP id ds1so7248432lbc.3 for ; Tue, 17 Mar 2015 06:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=QKa9Cq1+l+OBqL1aV6jBL+qWARbz0L+x8M8RtFFfu/4=; b=IbjcJsCext6ZWzwBGV993GZDlI4+XSXszcWnzS5MaIzJru1xjxy4PfiLM9ka4/aSZb IPyTbIOvWkzT9GFcpBD6SuskrtprFJBR40DuiVCPxq2b7nGc74WB3ccBaXnQBWJYILj8 rJJ4gB7H3MFMSe5OEvC+E83DjLExaGNycHPnyeEXiXemSmHYJ+GrGbmuqzhMkZTpjPhW PddQeSbgJnsixXqvfagwICs5g8K7+91ymp9tLzWaYlDe3/YfCjLgIEG9hfNN2NaU/2Lh WIg3RhJycUWYYTbk+63efgct2s3z+aqqgqQ/WEXyJt0ij7VjOJBGOAyZ8z9m91intDy2 tJdw== X-Received: by 10.112.175.7 with SMTP id bw7mr60078538lbc.15.1426599861066; Tue, 17 Mar 2015 06:44:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.4.170 with HTTP; Tue, 17 Mar 2015 06:43:59 -0700 (PDT) In-Reply-To: References: From: Chathuri Wimalasena Date: Tue, 17 Mar 2015 09:43:59 -0400 Message-ID: Subject: Re: Resolving the issues in the Airavata server statup To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=001a11345cf2f4a25005117c2902 X-Virus-Checked: Checked by ClamAV on apache.org --001a11345cf2f4a25005117c2902 Content-Type: text/plain; charset=UTF-8 HI Hasini, Please see my comments. On Mon, Mar 16, 2015 at 2:54 AM, Hasini Gunasinghe wrote: > Hi Devs, > > I tried starting the Airavata server after building from source (tried > both master branch and 0.14_release). I see the following errors printed on > the start up console. > I am not sure if they are local to me. > I would appreciate any insight on resolving them. > > 1). [INFO] Reading snapshot data/version-2/snapshot.35 > [INFO] Snapshotting: 4f > Mon Mar 16 02:12:28 EDT 2015 : Could not listen on port 1527 on host > 0.0.0.0: > java.net.BindException: Address already in use > [INFO] Database already created for Registry! > > However, when I did netstat after shutting down the airavata server, port > 1527 is not in used. Is this something that we could ignore? > Yes. You can ignore that. > > 2). [ERROR] Cannot connect to a RabbitMQ Server: > java.net.ConnectException: Connection refused > > I understand that this is because I have not run RabbitMQ server. I had > some issues installing RabbitMQ server in my environment. Is there a way to > start Airavata server without running RabbitMQ separately? > RabbitMQ server is needed only if you are using XBaya to submit / monitor jobs. All the airavata functionalities will work without RabbitMQ running. > > 3) [INFO] Starting Gfac Server on Port 8950 > [INFO] Listening to Gfac Clients .... > [ERROR] The Credential Store Server did not start!!! > > Is there any special configuration for the credential store to start? > Credential store thrift service is not starting by default. If you want to start credential store service, you need to configure it in airavata-server.properties. You will see below set of properties under "Credential Store module Configuration" in airavata-server.properties start.credential.store=false credential.store.keystore.url=/Users/chathuri/dev/airavata/credential-store/oa4mp/airavata_sym.jks credential.store.keystore.alias=airavata credential.store.keystore.password=airavata credential.store.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata credential.store.jdbc.user=airavata credential.store.jdbc.password=airavata credential.store.jdbc.driver=org.apache.derby.jdbc.ClientDriver credential.store.server.host=localhost credential.store.server.port=8960 credentialstore=org.apache.airavata.credential.store.server.CredentialStoreServer credential.store.thrift.server.keystore=/Users/chathuri/dev/airavata/credential-store/oa4mp/airavata.jks credential.store.thrift.server.keystore.password=airavata You need to *make start.credential.store* as *true*. You need to generate symmetric key and specify that path for credential.store.keystore.url. Credential store thrift service is a secured TLS service. You need to generate a keystore file and specify the path and password in the properties credential.store.thrift.server.keystore, credential.store.thrift.server.keystore.password. If you specify all these properties, credential store will be start as a secured thrift service. Hope this helps.. Thanks, Chathuri > > Also, could I please know what is the last message that I should see on > server start up console to confirm that the Airavata server started > successfully? (currently I see a set of messages on "Expiring Session.." > and "Processed session termination.." towards the end of the logs printed > in the server start up console.) > > Thank you in advance. > > Best Regards, > Hasini. > --001a11345cf2f4a25005117c2902 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
HI Hasini,=C2=A0

Please see my comments= .

On Mon, Ma= r 16, 2015 at 2:54 AM, Hasini Gunasinghe <hasi7786@gmail.com> wrote:
Hi Devs,

= I tried starting the Airavata server after building from source (tried both= master branch and 0.14_release). I see the following errors printed on the= start up console.=C2=A0
I am not sure if they are local to me.
I would appreciate any insight on resolving them.

1). [INFO] Reading snapshot data/version-2/snapshot.35
[= INFO] Snapshotting: 4f
Mon Mar 16 02:12:28 EDT 2015 : Could not l= isten on port 1527 on host 0.0= .0.0:
=C2=A0java.net.BindException: Address already in use
[INFO] Database already created for Registry!=C2=A0

However, whe= n I did netstat after shutting down the airavata server, port 1527 is not i= n used. Is this something that we could ignore?

Yes. You can ignore that.=C2=A0
=C2=A0

2). [ERROR] Cannot connec= t to a RabbitMQ Server:=C2=A0
java.net.ConnectException: Connecti= on refused

I understand that this is because I hav= e not run RabbitMQ server. I had some issues installing RabbitMQ server in = my environment. Is there a way to start Airavata server without running Rab= bitMQ separately?

RabbitMQ serv= er is needed only if you are using XBaya to submit / monitor jobs. All the = airavata functionalities will work without RabbitMQ running. =C2=A0
=C2=A0

3) [IN= FO] Starting Gfac Server on Port 8950
[INFO] Listening to Gfac Cl= ients ....
[ERROR] The Credential Store Server did not start!!!

Is there any special configuration for the credenti= al store to start?

Credential s= tore thrift service is not starting by default. If you want to start creden= tial store service, you need to configure it in airavata-server.properties.= You will see below set of properties under "Credential Store module C= onfiguration" in airavata-server.properties

<= div>start.credential.store=3Dfalse
credential.store.keystore.url= =3D/Users/chathuri/dev/airavata/credential-store/oa4mp/airavata_sym.jks
credential.store.keystore.alias=3Dairavata
credential.stor= e.keystore.password=3Dairavata
credential.store.jdbc.url=3Djdbc:d= erby://localhost:1527/experiment_catalog;create=3Dtrue;user=3Dairavata;pass= word=3Dairavata
credential.store.jdbc.user=3Dairavata
c= redential.store.jdbc.password=3Dairavata
credential.store.jdbc.dr= iver=3Dorg.apache.derby.jdbc.ClientDriver
credential.store.server= .host=3Dlocalhost
credential.store.server.port=3D8960
c= redentialstore=3Dorg.apache.airavata.credential.store.server.CredentialStor= eServer
credential.store.thrift.server.keystore=3D/Users/chathuri= /dev/airavata/credential-store/oa4mp/airavata.jks
credential.stor= e.thrift.server.keystore.password=3Dairavata

You need to make start.credential.store as true. You need to= generate symmetric key and specify that path for credential.store.keystore= .url. Credential store thrift service is a secured TLS service.=C2=A0 You n= eed to generate a keystore file and specify the path and password in the pr= operties credential.store.thrift.server.keystore, credential.store.thrift.s= erver.keystore.password. If you specify all these properties, credential st= ore will be start as a secured thrift service.

Hop= e this helps..

Thanks,
Chathuri
=C2=A0

Also, c= ould I please know what is the last message that I should see on server sta= rt up console to confirm that the Airavata server started successfully? (cu= rrently I see a set of messages on "Expiring Session.." and "= ;Processed session termination.." towards the end of the logs printed = in the server start up console.)

Thank you in adva= nce.

Best Regards,
Hasini.

--001a11345cf2f4a25005117c2902--