You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by Satya Tripathy <sa...@cavisson.com> on 2020/05/14 05:56:23 UTC

Issue - Skywalking - Configuration and Startup

Hello Team, 

 

I have done the setup of skywalking on my local but unable to see the
services in UI once I started  the startup.

 



 



 

 

 

Backend Configuration: Attached the yml file.

 

On Logs : 

 

I am seeing below Logging (skywalking-oap-server.log)

 

2020-05-08 18:04:50,490 -
org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main]
INFO  [] - start the provider h2 in storage module.

2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main]
INFO  [] - HikariPool-1 - Starting...

2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main]
INFO  [] - HikariPool-1 - Start completed.

2020-05-08 18:04:50,801 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: alarm_record does not exist

2020-05-08 18:04:50,814 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: top_n_database_statement does not exist

2020-05-08 18:04:50,818 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: endpoint_relation_server_side_hour does not exist

2020-05-08 18:04:50,826 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: endpoint_relation_server_side_day does not exist

2020-05-08 18:04:50,832 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: endpoint_relation_server_side_month does not exist

2020-05-08 18:04:50,836 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: endpoint_relation_server_side does not exist

2020-05-08 18:04:50,839 -
org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
[main] INFO  [] - table: http_access_log does not exist

 

 

 

Successfully configured the java agent on my tomcat, but could not see the
service in the ui.

 

Could you please help me fix this ?


回复: Issue - Skywalking - Configuration and Startup

Posted by 89528709 <89...@qq.com>.
Obviously, your oap initialization is not completed. Missing index, you need to re-initialize the oap


------------------&nbsp;原始邮件&nbsp;------------------
发件人:&nbsp;"Sheng Wu"<wu.sheng.841108@gmail.com&gt;;
发送时间:&nbsp;2020年5月14日(星期四) 下午2:45
收件人:&nbsp;"dev"<dev@skywalking.apache.org&gt;;"satya.tripathy"<satya.tripathy@cavisson.com&gt;;

主题:&nbsp;Re: Issue - Skywalking - Configuration and Startup



Hi&nbsp;Satya


I want to confirm two things,
1. What does the agent log look like?
2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?


Also, I added your mail in the receiver list, but you should subscribe to the mail list(send mail to dev-subscribe@skywalking.apache.org), otherwise, you would not receive the further discussion.


Sheng Wu 吴晟Twitter, wusheng1108












Satya Tripathy <satya.tripathy@cavisson.com&gt; 于2020年5月14日周四 下午2:39写道:


Hello Team, 

&nbsp;

I have done the setup of skywalking on my local but unable to see the services in UI once I started&nbsp; the startup.

&nbsp;



&nbsp;



&nbsp;

&nbsp;

&nbsp;

Backend Configuration: Attached the yml file.

&nbsp;

On Logs : 

&nbsp;

I am seeing below Logging (skywalking-oap-server.log)

&nbsp;

2020-05-08 18:04:50,490 - org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main] INFO&nbsp; [] - start the provider h2 in storage module.

2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main] INFO&nbsp; [] - HikariPool-1 - Starting...

2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main] INFO&nbsp; [] - HikariPool-1 - Start completed.

2020-05-08 18:04:50,801 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: alarm_record does not exist

2020-05-08 18:04:50,814 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: top_n_database_statement does not exist

2020-05-08 18:04:50,818 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: endpoint_relation_server_side_hour does not exist

2020-05-08 18:04:50,826 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: endpoint_relation_server_side_day does not exist

2020-05-08 18:04:50,832 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: endpoint_relation_server_side_month does not exist

2020-05-08 18:04:50,836 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: endpoint_relation_server_side does not exist

2020-05-08 18:04:50,839 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO&nbsp; [] - table: http_access_log does not exist

&nbsp;

&nbsp;

&nbsp;

Successfully configured the java agent on my tomcat, but could not see the service in the ui.

&nbsp;

Could you please help me fix this ?

RE: Issue - Skywalking - Configuration and Startup

Posted by Satya Tripathy <sa...@cavisson.com>.
I have gone through it and facing issue while startup. 

 

I tried below ref URL : https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-ui-setup.md

 

 

Need help ono the manual driver setup ? I did not see anywhere the steps in the doc ink. 

 

Could anyone help me out here ?

 

 

 

From: Sheng Wu <wu...@gmail.com> 
Sent: Thursday, May 14, 2020 1:23 PM
To: Satya Tripathy <sa...@cavisson.com>
Cc: dev <de...@skywalking.apache.org>
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Have you followed the storage setup document? MySQL driver is not allowed inside the official distribution, do you add it manually?

The tables are installed automatically once you have the driver and OAP starts successfully.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午3:29写道:

1.	Agent Log – Attached.

 

INFO 2020-05-04 15:23:38:894 main AgentClassLoader : C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar loaded. 

ERROR 2020-05-04 15:23:48:587 SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute fail. 

org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)

        at org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr

 

 

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

NO – Do we have list of queries to create them  ? I did not see it anywhaere in the docs

 

 

Thanks

Satya

 

 

From: Sheng Wu <wu.sheng.841108@gmail.com <ma...@gmail.com> > 
Sent: Thursday, May 14, 2020 12:15 PM
To: dev <dev@skywalking.apache.org <ma...@skywalking.apache.org> >; satya.tripathy@cavisson.com <ma...@cavisson.com> 
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Hi Satya

 

I want to confirm two things,

1. What does the agent log look like?

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

Also, I added your mail in the receiver list, but you should subscribe to the mail list(send mail to dev-subscribe@skywalking.apache.org <ma...@skywalking.apache.org> ), otherwise, you would not receive the further discussion.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午2:39写道:

Hello Team, 

 

I have done the setup of skywalking on my local but unable to see the services in UI once I started  the startup.

 



 



 

 

 

Backend Configuration: Attached the yml file.

 

On Logs : 

 

I am seeing below Logging (skywalking-oap-server.log)

 

2020-05-08 18:04:50,490 - org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main] INFO  [] - start the provider h2 in storage module.

2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main] INFO  [] - HikariPool-1 - Starting...

2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main] INFO  [] - HikariPool-1 - Start completed.

2020-05-08 18:04:50,801 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: alarm_record does not exist

2020-05-08 18:04:50,814 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: top_n_database_statement does not exist

2020-05-08 18:04:50,818 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist

2020-05-08 18:04:50,826 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_day does not exist

2020-05-08 18:04:50,832 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_month does not exist

2020-05-08 18:04:50,836 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side does not exist

2020-05-08 18:04:50,839 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: http_access_log does not exist

 

 

 

Successfully configured the java agent on my tomcat, but could not see the service in the ui.

 

Could you please help me fix this ?


Re: Issue - Skywalking - Configuration and Startup

Posted by Sheng Wu <wu...@gmail.com>.
Great, seems you have figured them out :)

Sheng Wu 吴晟
Twitter, wusheng1108


Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午9:02写道:

>
>
> Hi
>
>
>
> Thanks for your time. I am good now with service too.
>
>
>
> We can close this mail chain.
>
>
>
>
>
> *Regards*,
> Satya Tripathy
>
>
>
>
>
> *From:* Satya Tripathy <sa...@cavisson.com>
> *Sent:* Thursday, May 14, 2020 5:30 PM
> *To:* 'Sheng Wu' <wu...@gmail.com>
> *Cc:* 'dev' <de...@skywalking.apache.org>
> *Subject:* RE: Issue - Skywalking - Configuration and Startup
>
>
>
> Hi
>
>
>
> I have done the backend Configuration for manual sql driver and it created
> successful connection and created all missing tables
>
>
>
> Also the backend service collector started successfully.
>
>
>
> 2020-05-14 16:53:28,969 -
> org.apache.skywalking.oap.server.library.server.jetty.JettyServer - 94
> [main] INFO  [] - start server, host: 0.0.0.0, port: 12800
>
> 2020-05-14 16:53:28,973 - org.eclipse.jetty.server.Server - 372 [main]
> INFO  [] - jetty-9.4.2.v20170220
>
> 2020-05-14 16:53:29,063 - org.eclipse.jetty.server.handler.ContextHandler
> - 802 [main] INFO  [] - Started
> o.e.j.s.ServletContextHandler@6a7a1a0d{/,null,AVAILABLE}
>
> 2020-05-14 16:53:29,464 - org.eclipse.jetty.server.AbstractConnector - 280
> [main] INFO  [] - Started
> ServerConnector@1182413a{HTTP/1.1,[http/1.1]}{0.0.0.0:12800}
>
> 2020-05-14 16:53:29,465 - org.eclipse.jetty.server.Server - 444 [main]
> INFO  [] - Started @28676ms
>
> 2020-05-14 16:53:29,468 -
> org.apache.skywalking.oap.server.core.storage.PersistenceTimer - 59 [main]
> INFO  [] - persistence timer start
>
> 2020-05-14 16:53:29,476 -
> org.apache.skywalking.oap.server.core.cache.CacheUpdateTimer - 50 [main]
> INFO  [] - Cache updateServiceInventory timer start
>
> 2020-05-14 16:54:44,384 -
> org.apache.skywalking.oap.server.receiver.register.provider.handler.v6.grpc.RegisterServiceHandler
> - 191 [grpcServerPool-1-thread-12] INFO  [] - register service instance
> id=3 [UUID:3ee4f48e3aa64e52b9483acdec22eb9e]
>
> 2020-05-14 16:58:29,481 -
> org.apache.skywalking.oap.server.core.storage.ttl.DataTTLKeeperTimer - 79
> [pool-9-thread-1] INFO  [] - Beginning to remove expired metrics from the
> storage.
>
>
>
>
>
> Now – Agent Is configured in my tomcat application and agent log shows no
> error. (attached)
>
>
>
> But in UI – I don’t see the service even.
>
>
>
> Could you please help me on that part ? how can I configure a new service
> ?
>
>
>
>
>
> *Regards*,
> Satya N Tripathy
>
>
>
>
>
> *From:* Sheng Wu <wu...@gmail.com>
> *Sent:* Thursday, May 14, 2020 1:23 PM
> *To:* Satya Tripathy <sa...@cavisson.com>
> *Cc:* dev <de...@skywalking.apache.org>
> *Subject:* Re: Issue - Skywalking - Configuration and Startup
>
>
>
> Have you followed the storage setup document? MySQL driver is not allowed
> inside the official distribution, do you add it manually?
>
> The tables are installed automatically once you have the driver and OAP
> starts successfully.
>
>
>
> Sheng Wu 吴晟
>
> Twitter, wusheng1108
>
>
>
>
>
> Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午3:29写道:
>
>
>    1. Agent Log – Attached.
>
>
>
> INFO 2020-05-04 15:23:38:894 main AgentClassLoader :
> C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar
> loaded.
>
> ERROR 2020-05-04 15:23:48:587
> SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0
> ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute
> fail.
>
> org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException:
> UNAVAILABLE: io exception
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)
>
>         at
> org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr
>
>
>
>
>
> 2. Are all these tables created in the storage already? If yes, do you
> have data in `service_inventory` table?
>
>
>
> NO – Do we have list of queries to create them  ? I did not see it
> anywhaere in the docs
>
>
>
>
>
> Thanks
>
> Satya
>
>
>
>
>
> *From:* Sheng Wu <wu...@gmail.com>
> *Sent:* Thursday, May 14, 2020 12:15 PM
> *To:* dev <de...@skywalking.apache.org>; satya.tripathy@cavisson.com
> *Subject:* Re: Issue - Skywalking - Configuration and Startup
>
>
>
> Hi Satya
>
>
>
> I want to confirm two things,
>
> 1. What does the agent log look like?
>
> 2. Are all these tables created in the storage already? If yes, do you
> have data in `service_inventory` table?
>
>
>
> Also, I added your mail in the receiver list, but you should subscribe to
> the mail list(send mail to dev-subscribe@skywalking.apache.org),
> otherwise, you would not receive the further discussion.
>
>
>
> Sheng Wu 吴晟
>
> Twitter, wusheng1108
>
>
>
>
>
> Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午2:39写道:
>
> Hello Team,
>
>
>
> I have done the setup of skywalking on my local but unable to see the
> services in UI once I started  the startup.
>
>
>
>
>
>
>
>
>
>
>
> Backend Configuration: Attached the yml file.
>
>
>
> *On Logs : *
>
>
>
> I am seeing below Logging (skywalking-oap-server.log)
>
>
>
> 2020-05-08 18:04:50,490 -
> org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main]
> INFO  [] - start the provider h2 in storage module.
>
> 2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main]
> INFO  [] - HikariPool-1 - Starting...
>
> 2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main]
> INFO  [] - HikariPool-1 - Start completed.
>
> 2020-05-08 18:04:50,801 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: alarm_record does not exist
>
> 2020-05-08 18:04:50,814 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: top_n_database_statement does not exist
>
> 2020-05-08 18:04:50,818 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist
>
> 2020-05-08 18:04:50,826 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_day does not exist
>
> 2020-05-08 18:04:50,832 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_month does not exist
>
> 2020-05-08 18:04:50,836 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side does not exist
>
> 2020-05-08 18:04:50,839 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: http_access_log does not exist
>
>
>
>
>
>
>
> Successfully configured the java agent on my tomcat, but could not see the
> service in the ui.
>
>
>
> Could you please help me fix this ?
>
>

RE: Issue - Skywalking - Configuration and Startup

Posted by Satya Tripathy <sa...@cavisson.com>.
 

Hi 

 

Thanks for your time. I am good now with service too. 

 

We can close this mail chain.

 



 

Regards,
Satya Tripathy

 

 

From: Satya Tripathy <sa...@cavisson.com> 
Sent: Thursday, May 14, 2020 5:30 PM
To: 'Sheng Wu' <wu...@gmail.com>
Cc: 'dev' <de...@skywalking.apache.org>
Subject: RE: Issue - Skywalking - Configuration and Startup

 

Hi 

 

I have done the backend Configuration for manual sql driver and it created successful connection and created all missing tables 

 

Also the backend service collector started successfully. 

 

2020-05-14 16:53:28,969 - org.apache.skywalking.oap.server.library.server.jetty.JettyServer - 94 [main] INFO  [] - start server, host: 0.0.0.0, port: 12800

2020-05-14 16:53:28,973 - org.eclipse.jetty.server.Server - 372 [main] INFO  [] - jetty-9.4.2.v20170220

2020-05-14 16:53:29,063 - org.eclipse.jetty.server.handler.ContextHandler - 802 [main] INFO  [] - Started o.e.j.s.ServletContextHandler@6a7a1a0d{/,null,AVAILABLE} <mailto:o.e.j.s.ServletContextHandler@6a7a1a0d%7b/,null,AVAILABLE%7d> 

2020-05-14 16:53:29,464 - org.eclipse.jetty.server.AbstractConnector - 280 [main] INFO  [] - Started ServerConnector@1182413a{HTTP/1.1,[http/1.1]}{0.0.0.0:12800} <mailto:ServerConnector@1182413a%7bHTTP/1.1,%5bhttp/1.1%5d%7d%7b0.0.0.0:12800%7d> 

2020-05-14 16:53:29,465 - org.eclipse.jetty.server.Server - 444 [main] INFO  [] - Started @28676ms

2020-05-14 16:53:29,468 - org.apache.skywalking.oap.server.core.storage.PersistenceTimer - 59 [main] INFO  [] - persistence timer start

2020-05-14 16:53:29,476 - org.apache.skywalking.oap.server.core.cache.CacheUpdateTimer - 50 [main] INFO  [] - Cache updateServiceInventory timer start

2020-05-14 16:54:44,384 - org.apache.skywalking.oap.server.receiver.register.provider.handler.v6.grpc.RegisterServiceHandler - 191 [grpcServerPool-1-thread-12] INFO  [] - register service instance id=3 [UUID:3ee4f48e3aa64e52b9483acdec22eb9e]

2020-05-14 16:58:29,481 - org.apache.skywalking.oap.server.core.storage.ttl.DataTTLKeeperTimer - 79 [pool-9-thread-1] INFO  [] - Beginning to remove expired metrics from the storage.

 

 

Now – Agent Is configured in my tomcat application and agent log shows no error. (attached)

 

But in UI – I don’t see the service even.

 

Could you please help me on that part ? how can I configure a new service ? 

 



 

Regards,
Satya N Tripathy

 

 

From: Sheng Wu <wu.sheng.841108@gmail.com <ma...@gmail.com> > 
Sent: Thursday, May 14, 2020 1:23 PM
To: Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> >
Cc: dev <dev@skywalking.apache.org <ma...@skywalking.apache.org> >
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Have you followed the storage setup document? MySQL driver is not allowed inside the official distribution, do you add it manually?

The tables are installed automatically once you have the driver and OAP starts successfully.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午3:29写道:

1.	Agent Log – Attached.

 

INFO 2020-05-04 15:23:38:894 main AgentClassLoader : C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar loaded. 

ERROR 2020-05-04 15:23:48:587 SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute fail. 

org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)

        at org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr

 

 

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

NO – Do we have list of queries to create them  ? I did not see it anywhaere in the docs

 

 

Thanks

Satya

 

 

From: Sheng Wu <wu.sheng.841108@gmail.com <ma...@gmail.com> > 
Sent: Thursday, May 14, 2020 12:15 PM
To: dev <dev@skywalking.apache.org <ma...@skywalking.apache.org> >; satya.tripathy@cavisson.com <ma...@cavisson.com> 
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Hi Satya

 

I want to confirm two things,

1. What does the agent log look like?

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

Also, I added your mail in the receiver list, but you should subscribe to the mail list(send mail to dev-subscribe@skywalking.apache.org <ma...@skywalking.apache.org> ), otherwise, you would not receive the further discussion.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午2:39写道:

Hello Team, 

 

I have done the setup of skywalking on my local but unable to see the services in UI once I started  the startup.

 



 



 

 

 

Backend Configuration: Attached the yml file.

 

On Logs : 

 

I am seeing below Logging (skywalking-oap-server.log)

 

2020-05-08 18:04:50,490 - org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main] INFO  [] - start the provider h2 in storage module.

2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main] INFO  [] - HikariPool-1 - Starting...

2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main] INFO  [] - HikariPool-1 - Start completed.

2020-05-08 18:04:50,801 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: alarm_record does not exist

2020-05-08 18:04:50,814 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: top_n_database_statement does not exist

2020-05-08 18:04:50,818 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist

2020-05-08 18:04:50,826 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_day does not exist

2020-05-08 18:04:50,832 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_month does not exist

2020-05-08 18:04:50,836 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side does not exist

2020-05-08 18:04:50,839 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: http_access_log does not exist

 

 

 

Successfully configured the java agent on my tomcat, but could not see the service in the ui.

 

Could you please help me fix this ?


Re: Issue - Skywalking - Configuration and Startup

Posted by Sheng Wu <wu...@gmail.com>.
Hi Satya

A possible cause is, the time zone is not correct.
Please NOTICE the timezone selector in the right bottom corner, and choose
it as same as your backend. If you are running in docker, it could UTC+0.
After setting the time right, there are two refresh buttons
1. One on the left side of the service selector(you clicked in your
screenshot), for refreshing the service/instance/endpoint selectors.
2. The other at the right top corner, for refreshing the data


Sheng Wu 吴晟
Twitter, wusheng1108


Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午7:59写道:

> Hi
>
>
>
> I have done the backend Configuration for manual sql driver and it created
> successful connection and created all missing tables
>
>
>
> Also the backend service collector started successfully.
>
>
>
> 2020-05-14 16:53:28,969 -
> org.apache.skywalking.oap.server.library.server.jetty.JettyServer - 94
> [main] INFO  [] - start server, host: 0.0.0.0, port: 12800
>
> 2020-05-14 16:53:28,973 - org.eclipse.jetty.server.Server - 372 [main]
> INFO  [] - jetty-9.4.2.v20170220
>
> 2020-05-14 16:53:29,063 - org.eclipse.jetty.server.handler.ContextHandler
> - 802 [main] INFO  [] - Started o.e.j.s.ServletContextHandler@6a7a1a0d
> {/,null,AVAILABLE}
>
> 2020-05-14 16:53:29,464 - org.eclipse.jetty.server.AbstractConnector - 280
> [main] INFO  [] - Started ServerConnector@1182413a{HTTP/1.1,[http/1.1]}{
> 0.0.0.0:12800}
>
> 2020-05-14 16:53:29,465 - org.eclipse.jetty.server.Server - 444 [main]
> INFO  [] - Started @28676ms
>
> 2020-05-14 16:53:29,468 -
> org.apache.skywalking.oap.server.core.storage.PersistenceTimer - 59 [main]
> INFO  [] - persistence timer start
>
> 2020-05-14 16:53:29,476 -
> org.apache.skywalking.oap.server.core.cache.CacheUpdateTimer - 50 [main]
> INFO  [] - Cache updateServiceInventory timer start
>
> 2020-05-14 16:54:44,384 -
> org.apache.skywalking.oap.server.receiver.register.provider.handler.v6.grpc.RegisterServiceHandler
> - 191 [grpcServerPool-1-thread-12] INFO  [] - register service instance
> id=3 [UUID:3ee4f48e3aa64e52b9483acdec22eb9e]
>
> 2020-05-14 16:58:29,481 -
> org.apache.skywalking.oap.server.core.storage.ttl.DataTTLKeeperTimer - 79
> [pool-9-thread-1] INFO  [] - Beginning to remove expired metrics from the
> storage.
>
>
>
>
>
> Now – Agent Is configured in my tomcat application and agent log shows no
> error. (attached)
>
>
>
> But in UI – I don’t see the service even.
>
>
>
> Could you please help me on that part ? how can I configure a new service
> ?
>
>
>
>
>
> *Regards*,
> Satya N Tripathy
>
>
>
>
>
> *From:* Sheng Wu <wu...@gmail.com>
> *Sent:* Thursday, May 14, 2020 1:23 PM
> *To:* Satya Tripathy <sa...@cavisson.com>
> *Cc:* dev <de...@skywalking.apache.org>
> *Subject:* Re: Issue - Skywalking - Configuration and Startup
>
>
>
> Have you followed the storage setup document? MySQL driver is not allowed
> inside the official distribution, do you add it manually?
>
> The tables are installed automatically once you have the driver and OAP
> starts successfully.
>
>
>
> Sheng Wu 吴晟
>
> Twitter, wusheng1108
>
>
>
>
>
> Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午3:29写道:
>
>
>    1. Agent Log – Attached.
>
>
>
> INFO 2020-05-04 15:23:38:894 main AgentClassLoader :
> C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar
> loaded.
>
> ERROR 2020-05-04 15:23:48:587
> SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0
> ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute
> fail.
>
> org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException:
> UNAVAILABLE: io exception
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)
>
>         at
> org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr
>
>
>
>
>
> 2. Are all these tables created in the storage already? If yes, do you
> have data in `service_inventory` table?
>
>
>
> NO – Do we have list of queries to create them  ? I did not see it
> anywhaere in the docs
>
>
>
>
>
> Thanks
>
> Satya
>
>
>
>
>
> *From:* Sheng Wu <wu...@gmail.com>
> *Sent:* Thursday, May 14, 2020 12:15 PM
> *To:* dev <de...@skywalking.apache.org>; satya.tripathy@cavisson.com
> *Subject:* Re: Issue - Skywalking - Configuration and Startup
>
>
>
> Hi Satya
>
>
>
> I want to confirm two things,
>
> 1. What does the agent log look like?
>
> 2. Are all these tables created in the storage already? If yes, do you
> have data in `service_inventory` table?
>
>
>
> Also, I added your mail in the receiver list, but you should subscribe to
> the mail list(send mail to dev-subscribe@skywalking.apache.org),
> otherwise, you would not receive the further discussion.
>
>
>
> Sheng Wu 吴晟
>
> Twitter, wusheng1108
>
>
>
>
>
> Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午2:39写道:
>
> Hello Team,
>
>
>
> I have done the setup of skywalking on my local but unable to see the
> services in UI once I started  the startup.
>
>
>
>
>
>
>
>
>
>
>
> Backend Configuration: Attached the yml file.
>
>
>
> *On Logs : *
>
>
>
> I am seeing below Logging (skywalking-oap-server.log)
>
>
>
> 2020-05-08 18:04:50,490 -
> org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main]
> INFO  [] - start the provider h2 in storage module.
>
> 2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main]
> INFO  [] - HikariPool-1 - Starting...
>
> 2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main]
> INFO  [] - HikariPool-1 - Start completed.
>
> 2020-05-08 18:04:50,801 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: alarm_record does not exist
>
> 2020-05-08 18:04:50,814 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: top_n_database_statement does not exist
>
> 2020-05-08 18:04:50,818 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist
>
> 2020-05-08 18:04:50,826 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_day does not exist
>
> 2020-05-08 18:04:50,832 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_month does not exist
>
> 2020-05-08 18:04:50,836 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side does not exist
>
> 2020-05-08 18:04:50,839 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: http_access_log does not exist
>
>
>
>
>
>
>
> Successfully configured the java agent on my tomcat, but could not see the
> service in the ui.
>
>
>
> Could you please help me fix this ?
>
>

RE: Issue - Skywalking - Configuration and Startup

Posted by Satya Tripathy <sa...@cavisson.com>.
Hi 

 

I have done the backend Configuration for manual sql driver and it created successful connection and created all missing tables 

 

Also the backend service collector started successfully. 

 

2020-05-14 16:53:28,969 - org.apache.skywalking.oap.server.library.server.jetty.JettyServer - 94 [main] INFO  [] - start server, host: 0.0.0.0, port: 12800

2020-05-14 16:53:28,973 - org.eclipse.jetty.server.Server - 372 [main] INFO  [] - jetty-9.4.2.v20170220

2020-05-14 16:53:29,063 - org.eclipse.jetty.server.handler.ContextHandler - 802 [main] INFO  [] - Started o.e.j.s.ServletContextHandler@6a7a1a0d{/,null,AVAILABLE}

2020-05-14 16:53:29,464 - org.eclipse.jetty.server.AbstractConnector - 280 [main] INFO  [] - Started ServerConnector@1182413a{HTTP/1.1,[http/1.1]}{0.0.0.0:12800}

2020-05-14 16:53:29,465 - org.eclipse.jetty.server.Server - 444 [main] INFO  [] - Started @28676ms

2020-05-14 16:53:29,468 - org.apache.skywalking.oap.server.core.storage.PersistenceTimer - 59 [main] INFO  [] - persistence timer start

2020-05-14 16:53:29,476 - org.apache.skywalking.oap.server.core.cache.CacheUpdateTimer - 50 [main] INFO  [] - Cache updateServiceInventory timer start

2020-05-14 16:54:44,384 - org.apache.skywalking.oap.server.receiver.register.provider.handler.v6.grpc.RegisterServiceHandler - 191 [grpcServerPool-1-thread-12] INFO  [] - register service instance id=3 [UUID:3ee4f48e3aa64e52b9483acdec22eb9e]

2020-05-14 16:58:29,481 - org.apache.skywalking.oap.server.core.storage.ttl.DataTTLKeeperTimer - 79 [pool-9-thread-1] INFO  [] - Beginning to remove expired metrics from the storage.

 

 

Now – Agent Is configured in my tomcat application and agent log shows no error. (attached)

 

But in UI – I don’t see the service even.

 

Could you please help me on that part ? how can I configure a new service ? 

 



 

Regards,
Satya N Tripathy

 

 

From: Sheng Wu <wu...@gmail.com> 
Sent: Thursday, May 14, 2020 1:23 PM
To: Satya Tripathy <sa...@cavisson.com>
Cc: dev <de...@skywalking.apache.org>
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Have you followed the storage setup document? MySQL driver is not allowed inside the official distribution, do you add it manually?

The tables are installed automatically once you have the driver and OAP starts successfully.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午3:29写道:

1.	Agent Log – Attached.

 

INFO 2020-05-04 15:23:38:894 main AgentClassLoader : C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar loaded. 

ERROR 2020-05-04 15:23:48:587 SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute fail. 

org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)

        at org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr

 

 

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

NO – Do we have list of queries to create them  ? I did not see it anywhaere in the docs

 

 

Thanks

Satya

 

 

From: Sheng Wu <wu.sheng.841108@gmail.com <ma...@gmail.com> > 
Sent: Thursday, May 14, 2020 12:15 PM
To: dev <dev@skywalking.apache.org <ma...@skywalking.apache.org> >; satya.tripathy@cavisson.com <ma...@cavisson.com> 
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Hi Satya

 

I want to confirm two things,

1. What does the agent log look like?

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

Also, I added your mail in the receiver list, but you should subscribe to the mail list(send mail to dev-subscribe@skywalking.apache.org <ma...@skywalking.apache.org> ), otherwise, you would not receive the further discussion.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午2:39写道:

Hello Team, 

 

I have done the setup of skywalking on my local but unable to see the services in UI once I started  the startup.

 



 



 

 

 

Backend Configuration: Attached the yml file.

 

On Logs : 

 

I am seeing below Logging (skywalking-oap-server.log)

 

2020-05-08 18:04:50,490 - org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main] INFO  [] - start the provider h2 in storage module.

2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main] INFO  [] - HikariPool-1 - Starting...

2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main] INFO  [] - HikariPool-1 - Start completed.

2020-05-08 18:04:50,801 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: alarm_record does not exist

2020-05-08 18:04:50,814 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: top_n_database_statement does not exist

2020-05-08 18:04:50,818 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist

2020-05-08 18:04:50,826 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_day does not exist

2020-05-08 18:04:50,832 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_month does not exist

2020-05-08 18:04:50,836 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side does not exist

2020-05-08 18:04:50,839 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: http_access_log does not exist

 

 

 

Successfully configured the java agent on my tomcat, but could not see the service in the ui.

 

Could you please help me fix this ?


Re: Issue - Skywalking - Configuration and Startup

Posted by Sheng Wu <wu...@gmail.com>.
Have you followed the storage setup document? MySQL driver is not allowed
inside the official distribution, do you add it manually?
The tables are installed automatically once you have the driver and OAP
starts successfully.

Sheng Wu 吴晟
Twitter, wusheng1108


Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午3:29写道:

>
>    1. Agent Log – Attached.
>
>
>
> INFO 2020-05-04 15:23:38:894 main AgentClassLoader :
> C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar
> loaded.
>
> ERROR 2020-05-04 15:23:48:587
> SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0
> ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute
> fail.
>
> org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException:
> UNAVAILABLE: io exception
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)
>
>         at
> org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)
>
>         at
> org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr
>
>
>
>
>
> 2. Are all these tables created in the storage already? If yes, do you
> have data in `service_inventory` table?
>
>
>
> NO – Do we have list of queries to create them  ? I did not see it
> anywhaere in the docs
>
>
>
>
>
> Thanks
>
> Satya
>
>
>
>
>
> *From:* Sheng Wu <wu...@gmail.com>
> *Sent:* Thursday, May 14, 2020 12:15 PM
> *To:* dev <de...@skywalking.apache.org>; satya.tripathy@cavisson.com
> *Subject:* Re: Issue - Skywalking - Configuration and Startup
>
>
>
> Hi Satya
>
>
>
> I want to confirm two things,
>
> 1. What does the agent log look like?
>
> 2. Are all these tables created in the storage already? If yes, do you
> have data in `service_inventory` table?
>
>
>
> Also, I added your mail in the receiver list, but you should subscribe to
> the mail list(send mail to dev-subscribe@skywalking.apache.org),
> otherwise, you would not receive the further discussion.
>
>
>
> Sheng Wu 吴晟
>
> Twitter, wusheng1108
>
>
>
>
>
> Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午2:39写道:
>
> Hello Team,
>
>
>
> I have done the setup of skywalking on my local but unable to see the
> services in UI once I started  the startup.
>
>
>
>
>
>
>
>
>
>
>
> Backend Configuration: Attached the yml file.
>
>
>
> *On Logs : *
>
>
>
> I am seeing below Logging (skywalking-oap-server.log)
>
>
>
> 2020-05-08 18:04:50,490 -
> org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main]
> INFO  [] - start the provider h2 in storage module.
>
> 2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main]
> INFO  [] - HikariPool-1 - Starting...
>
> 2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main]
> INFO  [] - HikariPool-1 - Start completed.
>
> 2020-05-08 18:04:50,801 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: alarm_record does not exist
>
> 2020-05-08 18:04:50,814 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: top_n_database_statement does not exist
>
> 2020-05-08 18:04:50,818 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist
>
> 2020-05-08 18:04:50,826 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_day does not exist
>
> 2020-05-08 18:04:50,832 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_month does not exist
>
> 2020-05-08 18:04:50,836 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side does not exist
>
> 2020-05-08 18:04:50,839 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: http_access_log does not exist
>
>
>
>
>
>
>
> Successfully configured the java agent on my tomcat, but could not see the
> service in the ui.
>
>
>
> Could you please help me fix this ?
>
>

RE: Issue - Skywalking - Configuration and Startup

Posted by Satya Tripathy <sa...@cavisson.com>.
1.	Agent Log – Attached.

 

INFO 2020-05-04 15:23:38:894 main AgentClassLoader : C:\apache-skywalking-apm-bin\agent\activations\apm-toolkit-trace-activation-7.0.0.jar loaded. 

ERROR 2020-05-04 15:23:48:587 SkywalkingAgent-7-ServiceAndEndpointRegisterClient-0 ServiceAndEndpointRegisterClient : ServiceAndEndpointRegisterClient execute fail. 

org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:240)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:221)

        at org.apache.skywalking.apm.dependencies.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:140)

        at org.apache.skywalking.apm.network.register.v2.RegisterGrpc$RegisterBlockingStub.doServiceRegister(RegisterGr

 

 

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

NO – Do we have list of queries to create them  ? I did not see it anywhaere in the docs

 

 

Thanks

Satya

 

 

From: Sheng Wu <wu...@gmail.com> 
Sent: Thursday, May 14, 2020 12:15 PM
To: dev <de...@skywalking.apache.org>; satya.tripathy@cavisson.com
Subject: Re: Issue - Skywalking - Configuration and Startup

 

Hi Satya

 

I want to confirm two things,

1. What does the agent log look like?

2. Are all these tables created in the storage already? If yes, do you have data in `service_inventory` table?

 

Also, I added your mail in the receiver list, but you should subscribe to the mail list(send mail to dev-subscribe@skywalking.apache.org <ma...@skywalking.apache.org> ), otherwise, you would not receive the further discussion.

 

Sheng Wu 吴晟

Twitter, wusheng1108

 

 

Satya Tripathy <satya.tripathy@cavisson.com <ma...@cavisson.com> > 于2020年5月14日周四 下午2:39写道:

Hello Team, 

 

I have done the setup of skywalking on my local but unable to see the services in UI once I started  the startup.

 



 



 

 

 

Backend Configuration: Attached the yml file.

 

On Logs : 

 

I am seeing below Logging (skywalking-oap-server.log)

 

2020-05-08 18:04:50,490 - org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main] INFO  [] - start the provider h2 in storage module.

2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main] INFO  [] - HikariPool-1 - Starting...

2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main] INFO  [] - HikariPool-1 - Start completed.

2020-05-08 18:04:50,801 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: alarm_record does not exist

2020-05-08 18:04:50,814 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: top_n_database_statement does not exist

2020-05-08 18:04:50,818 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist

2020-05-08 18:04:50,826 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_day does not exist

2020-05-08 18:04:50,832 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side_month does not exist

2020-05-08 18:04:50,836 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: endpoint_relation_server_side does not exist

2020-05-08 18:04:50,839 - org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66 [main] INFO  [] - table: http_access_log does not exist

 

 

 

Successfully configured the java agent on my tomcat, but could not see the service in the ui.

 

Could you please help me fix this ?


Re: Issue - Skywalking - Configuration and Startup

Posted by Sheng Wu <wu...@gmail.com>.
Hi Satya

I want to confirm two things,
1. What does the agent log look like?
2. Are all these tables created in the storage already? If yes, do you have
data in `service_inventory` table?

Also, I added your mail in the receiver list, but you should subscribe to
the mail list(send mail to dev-subscribe@skywalking.apache.org), otherwise,
you would not receive the further discussion.

Sheng Wu 吴晟
Twitter, wusheng1108


Satya Tripathy <sa...@cavisson.com> 于2020年5月14日周四 下午2:39写道:

> Hello Team,
>
>
>
> I have done the setup of skywalking on my local but unable to see the
> services in UI once I started  the startup.
>
>
>
>
>
>
>
>
>
>
>
> Backend Configuration: Attached the yml file.
>
>
>
> *On Logs : *
>
>
>
> I am seeing below Logging (skywalking-oap-server.log)
>
>
>
> 2020-05-08 18:04:50,490 -
> org.apache.skywalking.oap.server.library.module.BootstrapFlow - 55 [main]
> INFO  [] - start the provider h2 in storage module.
>
> 2020-05-08 18:04:50,498 - com.zaxxer.hikari.HikariDataSource - 80 [main]
> INFO  [] - HikariPool-1 - Starting...
>
> 2020-05-08 18:04:50,741 - com.zaxxer.hikari.HikariDataSource - 82 [main]
> INFO  [] - HikariPool-1 - Start completed.
>
> 2020-05-08 18:04:50,801 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: alarm_record does not exist
>
> 2020-05-08 18:04:50,814 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: top_n_database_statement does not exist
>
> 2020-05-08 18:04:50,818 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_hour does not exist
>
> 2020-05-08 18:04:50,826 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_day does not exist
>
> 2020-05-08 18:04:50,832 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side_month does not exist
>
> 2020-05-08 18:04:50,836 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: endpoint_relation_server_side does not exist
>
> 2020-05-08 18:04:50,839 -
> org.apache.skywalking.oap.server.core.storage.model.ModelInstaller - 66
> [main] INFO  [] - table: http_access_log does not exist
>
>
>
>
>
>
>
> Successfully configured the java agent on my tomcat, but could not see the
> service in the ui.
>
>
>
> Could you please help me fix this ?
>