TS3SERV, NGINX, RESTPP services failing


The TS3SERV, NGINX, RESTPP services are failing when i try to load data . Restarted the services but still of no use.

Pls advice on this.


can you check the logs (https://docs.tigergraph.com/faqs/untitled#location-of-log-files)?
I think your firewall may block some ports

Thank for your reply! After check the logs, the problem may be lie in the port conflict. I can start restpp and nginx services by change the NginxPort, but TS3SERV still doesn’t work.The message of log is :

[tigergraph1@tbj3-nlp-server1 informant]$ cat /home/tigergraph1/tigergraph/log/ts3serv/TS3SERV#1.out
2020-10-21 16:06:31.370190 I | Create index whenidx on when
2020-10-21 16:06:31.370890 I |
2020-10-21 16:06:31.370985 I | Starting RESTful server, listening to…
2020-10-21 16:06:31.371060 I | Failed to listen to for gRPC, error: listen tcp bind: address already in use

I want to change the gRPCPort ,but i don’t know the the entry of gRPCPort is?

In addition,by using the command:gadmin config dump | grep -i grpc ,i got:

[tigergraph1@tbj3-nlp-server1 informant]$ gadmin config dump | grep -i grpc
“GrpcMessageMaxSizeMB”: 40,
“GrpcPort”: 9166,
“GrpcPort”: 19001,

I found that there are two configuration items of GrpcPort, Is this the cause of the error?

gadmin config dump | grep -B 10 -A 2 "GrpcPort"

the one with port 19000 according to your error message.

you may also check what app is using that port currently:

netstat -tulpn | grep 19000

After use the commmand: netstat -nlpt | grep 19000, no app are using the port.
After use the commmand: gadmin config dump | grep -B 10 -A 2 “GrpcPort”
There are two configuration items of GrpcPort and RestPort,so should i reset them?

having two entries with different ports for different services is ok, this is not a problem.
you may try sudo netstat -tulpn | grep 19000 - something is blocking this service. Do you have a firewall blocking applications from opening ports?
Try moving the port 19001 to something else …

by using the command: sudo netstat -tulpn | grep 19000,nothing happend:

[root@tbj3-nlp-server1 yuanzhonghui]# netstat -nlpt | grep 19000
[root@tbj3-nlp-server1 yuanzhonghui]# netstat -tulpn | grep 19000
[root@tbj3-nlp-server1 yuanzhonghui]# netstat -tulpn | grep 19000
[root@tbj3-nlp-server1 yuanzhonghui]# sudo netstat -tulpn | grep 19000
[root@tbj3-nlp-server1 yuanzhonghui]#

Can I change port 19001 to another port(eg 19002)?I try to do like this ,but the entry Grpc.Port not found.

[tigergraph1@tbj3-nlp-server1 informant]$ gadmin config set ts3serv.GrpcPort 19002
[ Error] config entry Grpc.Port not found
[ Error] ParameterErr (failed to set one or more config entries)

the properties are case sensitive:
gadmin config set TS3Server.GrpcPort 19002

It’s ok! Thank you very much! :+1:
good luck to you !

1 Like

glad it is working. now enjoy TigerGraph !