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 D80A510F0D for ; Wed, 18 Mar 2015 01:22:29 +0000 (UTC) Received: (qmail 86436 invoked by uid 500); 18 Mar 2015 01:22:29 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 86387 invoked by uid 500); 18 Mar 2015 01:22:29 -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 86377 invoked by uid 99); 18 Mar 2015 01:22:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 01:22:29 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hasi7786@gmail.com designates 209.85.213.175 as permitted sender) Received: from [209.85.213.175] (HELO mail-ig0-f175.google.com) (209.85.213.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 01:22:24 +0000 Received: by igbue6 with SMTP id ue6so87891289igb.1 for ; Tue, 17 Mar 2015 18:21:19 -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=K0B9+4v0/6/p2gWXXUQ0VOcEoHybPEcbO7pwQ+ZMGdg=; b=FW271n5MNY3Bp4q6t6eXpNoMl+h2oBe5LyyFqkRh4Von0gmzCzv4T9FG1DbNxVgrjn 6Km4OD1OZkoJeSVAuIM6NmzN+0yoSh0lxiA4qhiQ9CgAR6X//ZDodxGSh8u5x20NxQV/ ih7jUga9MdDmj/oIS1AbH7ueu+T4anBxMiXBT6sdZD5EiSxvR8VcXPOzDPVLrL8BQarA NkmShQ0b8bw8xeD2dqX1LTjr9kV7p0gVTDN+/oU2ckDSIZ1L3MWFTigH4A3oHNRcN2/C JNxrZhHUiZzsUFz8HPrhs50O2oYNHFW2Wyo43R5L9/4z8k6e4K6GtzbnaUhLPtPq4j1L uwpw== X-Received: by 10.107.169.35 with SMTP id s35mr94210020ioe.46.1426641679081; Tue, 17 Mar 2015 18:21:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.176.7 with HTTP; Tue, 17 Mar 2015 18:20:58 -0700 (PDT) In-Reply-To: References: From: Hasini Gunasinghe Date: Tue, 17 Mar 2015 21:20:58 -0400 Message-ID: Subject: Re: Resolving the issues in the Airavata server statup To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=001a1142147080e85a051185e640 X-Virus-Checked: Checked by ClamAV on apache.org --001a1142147080e85a051185e640 Content-Type: text/plain; charset=UTF-8 Hi Chathuri, Thank you very much for this detailed reply. It clarified all the issues that I had with the Airavata server start up. Thanks & Best Regards, Hasini. On Tue, Mar 17, 2015 at 9:43 AM, Chathuri Wimalasena wrote: > 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. >> > > --001a1142147080e85a051185e640 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Chathuri,

Thank you very much for th= is detailed reply. It clarified all the issues that I had with the Airavata= server start up.

Thanks & Best Regards,
=
Hasini.

On Tue, Mar 17, 2015 at 9:43 AM, Chathuri Wimalasena <kamalasini@= gmail.com> wrote:
HI Hasini,=C2=A0

Please see my comments.
<= div class=3D"gmail_extra">
O= n Mon, Mar 16, 2015 at 2:54 AM, Hasini Gunasinghe <hasi7786@gmail.com= > wrote:
Hi Devs,

I tried starting the Airavata server after building from source (t= ried both master branch and 0.14_release). I see the following errors print= ed 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 : Co= uld not listen 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
<= /div>

How= ever, 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.=C2=A0
=C2=A0

2). [ERROR] Cannot connect to a RabbitMQ Server:=C2=A0
ja= va.net.ConnectException: Connection refused

I unde= rstand that this is because I have not run RabbitMQ server. I had some issu= es installing RabbitMQ server in my environment. Is there a way to start Ai= ravata 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. =C2=A0
=C2=A0

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 s= ee below set of properties under "Credential Store module Configuratio= n" in airavata-server.properties

start.c= redential.store=3Dfalse
credential.store.keystore.url=3D/Users/ch= athuri/dev/airavata/credential-store/oa4mp/airavata_sym.jks
crede= ntial.store.keystore.alias=3Dairavata
credential.store.keystore.p= assword=3Dairavata
credential.store.jdbc.url=3Djdbc:derby://local= host:1527/experiment_catalog;create=3Dtrue;user=3Dairavata;password=3Dairav= ata
credential.store.jdbc.user=3Dairavata
credential.st= ore.jdbc.password=3Dairavata
credential.store.jdbc.driver=3Dorg.a= pache.derby.jdbc.ClientDriver
credential.store.server.host=3Dloca= lhost
credential.store.server.port=3D8960
credentialsto= re=3Dorg.apache.airavata.credential.store.server.CredentialStoreServer
credential.store.thrift.server.keystore=3D/Users/chathuri/dev/airavat= a/credential-store/oa4mp/airavata.jks
credential.store.thrift.ser= ver.keystore.password=3Dairavata

You need to= make start.credential.store as true. You need to generate sy= mmetric key and specify that path for credential.store.keystore.url. Creden= tial store thrift service is a secured TLS service.=C2=A0 You need to gener= ate a keystore file and specify the path and password in the properties cre= dential.store.thrift.server.keystore, credential.store.thrift.server.keysto= re.password. If you specify all these properties, credential store will be = start as a secured thrift service.

Hope this helps= ..

Thanks,
Chathuri
=C2=A0

Al= so, could I please know what is the last message that I should see on serve= r 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 pri= nted in the server start up console.)

Thank you in= advance.

Best Regards,
Hasini.


--001a1142147080e85a051185e640--