You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Karthik Ananthakrishnan <ka...@beyondsquare.com.INVALID> on 2018/09/18 18:03:59 UTC

Fwd: Fineract CN Server Startup issues

Dear All,

I earlier tried setting up Fineract CN in a AWS Amazon Linux machine and
was able to start the server, but have some stability issues.

So, tried to set up a new environment in a Amazon Ubuntu 16.03 server with
8Core and 32GB machine.

I followed the steps as mentioned in https://cwiki.apache.org/co
nfluence/display/FINERACT/How+To+Build+Apache+Fineract+CN and tried to
start the server with provision=true.

I am facing an issue like seshat and playground databases gets created in
Cassandra and MySQL. The migration scripts starts running in MySQL and then
the server starting error's out that cassandra DB connection is closed. PFB
some error log and log file is available in https://pastebin.com/raw/
fqbQ9DeH

I tried resolving by making changes to timeout parameter for cassandra in
cassandra.yaml but didnt help. Has anyone faced this issue.? Also the
server errors out at the same place everytime i try starting the server.
Kindly help.

2018-09-17 14:32:21.530  INFO 30934 --- [ync-processor-1]
o.f.core.internal.util.VersionPrinter    : Flyway 3.2.1 by Boxfuse
2018-09-17 14:32:21.673  INFO 30934 --- [ync-processor-1]
o.f.c.i.dbsupport.DbSupportFactory       : Database:
jdbc:mysql://localhost:3306/playground (MySQL 5.7)
14:32:21.881 [Test Cluster-worker-16] ERROR c.d.driver.core.ControlConnection
- [Control connection] Unexpected error while refreshing schema
java.util.concurrent.ExecutionException:
com.datastax.driver.core.exceptions.TransportException:
[/127.0.0.1:9042] Connection has been closed
at com.google.common.util.concurrent.AbstractFuture$Sync.
getValue(AbstractFuture.java:299)


Time: 1,315.797
There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
org.apache.fineract.cn.api.util.InternalServerError:
{"timestamp":1537194742974,"status":500,"error":"Internal Server
Error","exception":"com.datastax.driver.core.exceptions.NoHo
stAvailableException","message":"com.datastax.driver.core.
exceptions.NoHostAvailableException: All host(s) tried for query failed (no
host was tried)","path":"/accounting/v1/ledgers/1000"}
at org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlt
ernative(AnnotatedErrorDecoder.java:78)
at org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode
(AnnotatedErrorDecoder.java:65)

Thanks,
Karthik

Re: Fineract CN Server Startup issues

Posted by James Dailey <ja...@gmail.com>.
Hi Karthik - Were you able to resolve this?

Wondering: Is the playground db a result of the DB script or the choice of
the mysql workflow automation (WFA) install on AWS?

James




On Tue, Sep 18, 2018 at 11:04 AM Karthik Ananthakrishnan
<ka...@beyondsquare.com.invalid> wrote:

> Dear All,
>
> I earlier tried setting up Fineract CN in a AWS Amazon Linux machine and
> was able to start the server, but have some stability issues.
>
> So, tried to set up a new environment in a Amazon Ubuntu 16.03 server with
> 8Core and 32GB machine.
>
> I followed the steps as mentioned in https://cwiki.apache.org/co
> nfluence/display/FINERACT/How+To+Build+Apache+Fineract+CN and tried to
> start the server with provision=true.
>
> I am facing an issue like seshat and playground databases gets created in
> Cassandra and MySQL. The migration scripts starts running in MySQL and then
> the server starting error's out that cassandra DB connection is closed. PFB
> some error log and log file is available in https://pastebin.com/raw/
> fqbQ9DeH <https://pastebin.com/raw/fqbQ9DeH>
>
> I tried resolving by making changes to timeout parameter for cassandra in
> cassandra.yaml but didnt help. Has anyone faced this issue.? Also the
> server errors out at the same place everytime i try starting the server.
> Kindly help.
>
> 2018-09-17 14:32:21.530  INFO 30934 --- [ync-processor-1]
> o.f.core.internal.util.VersionPrinter    : Flyway 3.2.1 by Boxfuse
> 2018-09-17 14:32:21.673  INFO 30934 --- [ync-processor-1]
> o.f.c.i.dbsupport.DbSupportFactory       : Database:
> jdbc:mysql://localhost:3306/playground (MySQL 5.7)
> 14:32:21.881 [Test Cluster-worker-16] ERROR
> c.d.driver.core.ControlConnection
> - [Control connection] Unexpected error while refreshing schema
> java.util.concurrent.ExecutionException:
> com.datastax.driver.core.exceptions.TransportException:
> [/127.0.0.1:9042] Connection has been closed
> at com.google.common.util.concurrent.AbstractFuture$Sync.
> getValue(AbstractFuture.java:299)
>
>
> Time: 1,315.797
> There was 1 failure:
> 1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
> org.apache.fineract.cn.api.util.InternalServerError:
> {"timestamp":1537194742974,"status":500,"error":"Internal Server
> Error","exception":"com.datastax.driver.core.exceptions.NoHo
> stAvailableException","message":"com.datastax.driver.core.
> exceptions.NoHostAvailableException: All host(s) tried for query failed (no
> host was tried)","path":"/accounting/v1/ledgers/1000"}
> at org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.getAlt
> ernative(AnnotatedErrorDecoder.java:78)
> at org.apache.fineract.cn.api.util.AnnotatedErrorDecoder.decode
> (AnnotatedErrorDecoder.java:65)
>
> Thanks,
> Karthik
>