Hi Jatin, Yes if you are using mysql you should uncomment the corresponding mysql configuration lines and comment out the derby configuration lines.
On Wed, Mar 16, 2016 at 11:20 AM, Jatin Balodhi <[email protected]> wrote: > I'm using mysql but the lines below are configuration for derby so i still > need to uncomment these lines or not. > > > registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver > registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata > > > registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver > registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata > > Thanks > Jatin > > > -------- Forwarded Message -------- > Subject: Re: Re: Re: Re: Re: Re: > Date: Wed, 16 Mar 2016 13:36:07 +0000 > From: Shameera Rathnayaka <[email protected]> > <[email protected]> > Reply-To: [email protected] > To: [email protected] <[email protected]> > <[email protected]> > > Hi Jatin, > > You have both debry and msql configurations active in you configuration > file. You can only use one at a time, if you need to use mysql. then you > need to uncomment mysql related properties and comment default derby > related properties. (You also can change these defalut values we have used > but it is not necessary ) > > Uncomment following liens in your airavata-server.properties file under > "API Server Registry Configuration" > > registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver > registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata > > > also following lines which is under "Application Catalog DB Configuration" > > registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver > registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata > > If you face access denide issue after these changes then this is simple > post which explains how to give permssion to new user. > https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql > > Regards, > Shameera. > > > > On Tue, Mar 15, 2016 at 2:48 PM Jatin Balodhi <[email protected]> > wrote: > >> I think it can be a problem of mysql.jar file. Can some send me file or >> its link. >> >> Jatin >> >> >> -------- Forwarded Message -------- >> Subject: Re: Re: Re: Re: Re: >> Date: Tue, 15 Mar 2016 16:38:35 +0000 >> From: Shameera Rathnayaka <[email protected]> >> <[email protected]> >> Reply-To: [email protected] >> To: [email protected] <[email protected]> >> <[email protected]> <[email protected]> >> >> >> Is this mean you could able start Airavata successfully? >> >> On Tue, Mar 15, 2016 at 11:47 AM Jatin Balodhi <[email protected]> >> wrote: >> >>> Hi Shameera >>> >>> I think all permissions are set correctly in mysql. I think now rabbitmq >>> is running correctly by uncommenting the >>> rabbitmq.broker.url=amqp://localhost:5672. >>> Thanks Jatin >>> -------- Forwarded Message -------- >>> Subject: Re: Re: Re: Re: >>> Date: Mon, 14 Mar 2016 19:31:59 +0000 >>> From: Shameera Rathnayaka <[email protected]> >>> <[email protected]> <[email protected]> >>> Reply-To: [email protected] >>> To: [email protected] >>> >>> >>> Yes seems rabbitmq issue has gone, give correct permission to you >>> databases in mysql to resolve the new error. >>> >>> On Mon, Mar 14, 2016 at 3:07 PM Jatin Balodhi <[email protected]> >>> wrote: >>> >>>> I think its connected. >>>> >>>> >>>> Jatin >>>> >>>> >>>> >>>> -------- Forwarded Message -------- >>>> Subject: Re: Re: Re: >>>> Date: Mon, 14 Mar 2016 18:53:14 +0000 >>>> From: Shameera Rathnayaka <[email protected]> >>>> <[email protected]> <[email protected]> >>>> Reply-To: [email protected] >>>> To: [email protected] >>>> >>>> Hi Jatin, >>>> >>>> I had a quick look at your rabbitmq configs, in your >>>> airavata-server.properties file you have two entries for >>>> rabbitmq.broker.url , comment out the first one "# >>>> rabbitmq.broker.url=amqp://localhost:5672" and try while I check other >>>> properties. >>>> >>>> rabbitmq.broker.url=amqp://localhost:5672 >>>> >>>> rabbitmq.broker.url=amqp://airavata:airavata@localhost:5672/messaging >>>> >>>> >>>> >>>> On Mon, Mar 14, 2016 at 2:43 PM <[email protected]> wrote: >>>> >>>>> Yes I have created airavata user and vhost, and I have also accessed >>>>> to <http://localhost:15672>http://localhost:15672 . >>>>> >>>>> Jatin >>>>> >>>>> Sent from Outlook Mobile <https://aka.ms/blhgte> >>>>> >>>>> >>>>> ---------- Forwarded message ---------- >>>>> From: "Chathuri Wimalasena" < <[email protected]> >>>>> [email protected]> >>>>> Date: Mon, Mar 14, 2016 at 11:38 AM -0700 >>>>> Subject: Re: Re: >>>>> To: < <[email protected]>[email protected]> >>>>> >>>>> >>>>> Hi Jatin, >>>>> >>>>> When you configuring rabbitMQ, did you create the virtual host and >>>>> all. Once you successfully created everything, you can log in to rabbitMQ >>>>> web interface and see everything working flne. ( >>>>> <http://localhost:15672>http://localhost:15672). If it is working, >>>>> you should not get any errors related rabbitMQ at startup. >>>>> >>>>> rabbitmqctl add_user airavata airavata >>>>> rabbitmqctl add_vhost messaging >>>>> rabbitmqctl set_permissions -p messaging airavata ".*" ".*" ".*" >>>>> rabbitmqctl set_user_tags airavata administrator >>>>> >>>>> Thanks, >>>>> Chathuri >>>>> >>>>> >>>>> >>>>> On Mon, Mar 14, 2016 at 2:07 PM, Jatin Balodhi < >>>>> <[email protected]>[email protected]> wrote: >>>>> >>>>>> airavata-server.properties file. >>>>>> >>>>>> >>>>>> >>>>>> -------- Forwarded Message -------- >>>>>> Subject: Re: >>>>>> Date: Mon, 14 Mar 2016 17:54:09 +0000 >>>>>> From: Shameera Rathnayaka <[email protected]> >>>>>> <[email protected]> <[email protected]> >>>>>> Reply-To: <[email protected]>[email protected] >>>>>> To: <[email protected]>[email protected] >>>>>> <[email protected]><[email protected]> >>>>>> <[email protected]> >>>>>> >>>>>> As you can see there is an issue with rabbitmq configurations, can >>>>>> you share your airavata-server.properties file with us? >>>>>> >>>>>> >>>>>> On Mon, Mar 14, 2016 at 1:39 PM Jatin Balodhi < >>>>>> <[email protected]>[email protected]> wrote: >>>>>> >>>>>>> Its running "./airavata-server.sh" but with errors. >>>>>>> >>>>>>> >>>>>>> Jatin >>>>>>> >>>>>>> >>>>>>> >>>>>>> -------- Forwarded Message -------- >>>>>>> Subject: Re: Re: >>>>>>> Date: Mon, 14 Mar 2016 17:23:24 +0000 >>>>>>> From: Shameera Rathnayaka <[email protected]> >>>>>>> <[email protected]> <[email protected]> >>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>> To: <[email protected]>[email protected] >>>>>>> <[email protected]><[email protected]> >>>>>>> <[email protected]> >>>>>>> >>>>>>> try with "./airavata-server.sh" and see. >>>>>>> >>>>>>> On Mon, Mar 14, 2016 at 1:21 PM Jatin Balodhi < >>>>>>> <[email protected]>[email protected]> wrote: >>>>>>> >>>>>>>> Hi Shameera, >>>>>>>> >>>>>>>> I am also getting error with "sh airavata-server.sh start". >>>>>>>> >>>>>>>> >>>>>>>> Jatin >>>>>>>> >>>>>>>> -------- Forwarded Message -------- >>>>>>>> Subject: Re: >>>>>>>> Date: Mon, 14 Mar 2016 16:36:57 +0000 >>>>>>>> From: Shameera Rathnayaka <[email protected]> >>>>>>>> <[email protected]> <[email protected]> >>>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>>> To: <[email protected]>[email protected] >>>>>>>> <[email protected]><[email protected]> >>>>>>>> <[email protected]> >>>>>>>> >>>>>>>> Hi Jatin, >>>>>>>> >>>>>>>> Can we see the startup error/s stack you are getting with airavata. >>>>>>>> use "sh airavata-server.sh" to get console outputs. >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Mar 14, 2016 at 12:33 PM Pierce, Marlon < <[email protected]> >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi Jatin, >>>>>>>>> >>>>>>>>> I put you on the wrong track by recommending to run with just >>>>>>>>> “airaveata-server.sh start”. Stick with the instructions in the docs. >>>>>>>>> >>>>>>>>> Marlon >>>>>>>>> >>>>>>>>> >>>>>>>>> From: Jatin Balodhi < <[email protected]> >>>>>>>>> [email protected]> >>>>>>>>> Reply-To: " <[email protected]>[email protected]" < >>>>>>>>> <[email protected]>[email protected]> >>>>>>>>> Date: Monday, March 14, 2016 at 12:21 PM >>>>>>>>> To: " <[email protected]>[email protected]" < >>>>>>>>> <[email protected]>[email protected]> >>>>>>>>> Subject: <no subject> >>>>>>>>> >>>>>>>>> All of my prerequisites are running mysql, rabbitmq, mysql are >>>>>>>>> running when i am executing "airavata-server.sh start" It starts in >>>>>>>>> daemon >>>>>>>>> mode, but when executing "airavata-server.sh" it's showing errors. >>>>>>>>> >>>>>>>>> Jatin >>>>>>>>> >>>>>>>>> -------- Forwarded Message -------- >>>>>>>>> Subject: Re: >>>>>>>>> Date: Mon, 14 Mar 2016 09:54:54 -0400 >>>>>>>>> From: Suresh Marru <[email protected]> <[email protected]> >>>>>>>>> <[email protected]> <[email protected]> >>>>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>>>> To: Airavata Dev <[email protected]> >>>>>>>>> <[email protected]><[email protected]> >>>>>>>>> <[email protected]> >>>>>>>>> >>>>>>>>> Did you google this error? >>>>>>>>> >>>>>>>>> You will need to put some effort. Dev list is the last resort, not >>>>>>>>> the first one. We are here to help, but you need to convince us that >>>>>>>>> you >>>>>>>>> exhausted all your tries before you seek help. >>>>>>>>> >>>>>>>>> Suresh >>>>>>>>> >>>>>>>>> On Mar 14, 2016, at 9:51 AM, Jatin Balodhi < >>>>>>>>> <[email protected]>[email protected]> wrote: >>>>>>>>> >>>>>>>>> Yes I did now when i'm starting rabbitmq-server from terminal its >>>>>>>>> showing >>>>>>>>> "ERROR: node with name "rabbit" already running on" >>>>>>>>> >>>>>>>>> >>>>>>>>> -------- Forwarded Message -------- >>>>>>>>> Subject: Re: >>>>>>>>> Date: Mon, 14 Mar 2016 09:48:32 -0400 >>>>>>>>> From: Suresh Marru <[email protected]> <[email protected]> >>>>>>>>> <[email protected]> <[email protected]> >>>>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>>>> To: Airavata Dev <[email protected]> >>>>>>>>> <[email protected]><[email protected]> >>>>>>>>> <[email protected]> >>>>>>>>> >>>>>>>>> Did you do all the pre-requisites? Number 2 - Rabbit MQ and >>>>>>>>> started it? >>>>>>>>> >>>>>>>>> Suresh >>>>>>>>> >>>>>>>>> On Mar 14, 2016, at 9:44 AM, Jatin Balodhi < >>>>>>>>> <[email protected]>[email protected]> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> I'm following these >>>>>>>>> <http://airavata.readthedocs.org/en/latest/Airavata-Installation/> >>>>>>>>> "http://airavata.readthedocs.org/en/latest/Airavata-Installation/" >>>>>>>>> <http://airavata.readthedocs.org/en/latest/Airavata-Installation/> >>>>>>>>> . >>>>>>>>> >>>>>>>>> Jatin >>>>>>>>> >>>>>>>>> -------- Forwarded Message -------- >>>>>>>>> Subject: Re: >>>>>>>>> Date: Mon, 14 Mar 2016 09:40:27 -0400 >>>>>>>>> From: Suresh Marru <[email protected]> <[email protected]> >>>>>>>>> <[email protected]> <[email protected]> >>>>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>>>> To: Airavata Dev <[email protected]> >>>>>>>>> <[email protected]><[email protected]> >>>>>>>>> <[email protected]> >>>>>>>>> >>>>>>>>> Which installation documentation are you following? >>>>>>>>> >>>>>>>>> Suresh >>>>>>>>> >>>>>>>>> On Mar 14, 2016, at 9:38 AM, Jatin Balodhi < >>>>>>>>> <[email protected]>[email protected]> wrote: >>>>>>>>> >>>>>>>>> I started server again but got so many errors. >>>>>>>>> >>>>>>>>> Jatin >>>>>>>>> >>>>>>>>> >>>>>>>>> -------- Forwarded Message -------- >>>>>>>>> Subject: Re: >>>>>>>>> Date: Mon, 14 Mar 2016 13:32:57 +0000 >>>>>>>>> From: Pierce, Marlon <[email protected]> <[email protected]> >>>>>>>>> <[email protected]> <[email protected]> >>>>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>>>> To: <[email protected]>[email protected] >>>>>>>>> <[email protected]><[email protected]> >>>>>>>>> <[email protected]> >>>>>>>>> >>>>>>>>> I notice now the docs do recommend using “sh”. Did you use step >>>>>>>>> 15 from >>>>>>>>> <http://airavata.readthedocs.org/en/latest/Airavata-Installation/> >>>>>>>>> http://airavata.readthedocs.org/en/latest/Airavata-Installation/ to >>>>>>>>> examine the logs? >>>>>>>>> >>>>>>>>> Marlon >>>>>>>>> >>>>>>>>> >>>>>>>>> From: Jatin Balodhi < <[email protected]> >>>>>>>>> [email protected]> >>>>>>>>> Reply-To: " <[email protected]>[email protected]" < >>>>>>>>> <[email protected]>[email protected]> >>>>>>>>> Date: Monday, March 14, 2016 at 9:30 AM >>>>>>>>> To: " <[email protected]>[email protected]" < >>>>>>>>> <[email protected]>[email protected]> >>>>>>>>> Subject: Fwd: Re: >>>>>>>>> >>>>>>>>> >>>>>>>>> Hi Marlon >>>>>>>>> >>>>>>>>> Its showing "starting airavata server in daemon mode" how should i >>>>>>>>> check its working or not. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> jatin >>>>>>>>> -------- Forwarded Message -------- >>>>>>>>> Subject: Re: >>>>>>>>> Date: Mon, 14 Mar 2016 13:15:17 +0000 >>>>>>>>> From: Pierce, Marlon <[email protected]> <[email protected]> >>>>>>>>> <[email protected]> <[email protected]> >>>>>>>>> Reply-To: <[email protected]>[email protected] >>>>>>>>> To: <[email protected]>[email protected] >>>>>>>>> <[email protected]><[email protected]> >>>>>>>>> <[email protected]> >>>>>>>>> >>>>>>>>> You shouldn’t need to preface the command with “sh”. Just directly >>>>>>>>> invoke it. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On 3/14/16, 5:12 AM, "Jatin Balodhi" <[email protected]> >>>>>>>>> <[email protected]> wrote: >>>>>>>>> >>>>>>>>> >Hi >>>>>>>>> > >>>>>>>>> >I'm getting error while executing airavata-server.sh in terminal. >>>>>>>>> >Please help. >>>>>>>>> > >>>>>>>>> >Jatin >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> <2.png> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>> Shameera Rathnayaka >>>>>>>> >>>>>>>> -- >>>>>>> Shameera Rathnayaka >>>>>>> >>>>>>> >>>>>>> -- >>>>>> Shameera Rathnayaka >>>>>> >>>>>> >>>>>> >>>>> -- >>>> Shameera Rathnayaka >>>> >>>> >>>> -- >>> Shameera Rathnayaka >>> >>> -- >> Shameera Rathnayaka >> >> -- > Shameera Rathnayaka > > > -- Thank you Supun Nakandala Dept. Computer Science and Engineering University of Moratuwa
