Hi,
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.
Thanks
Hi,
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.
Thanks
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 0.0.0.0:19000âŚ
2020-10-21 16:06:31.371060 I | Failed to listen to 127.0.0.1:19001 for gRPC, error: listen tcp 127.0.0.1:19001: 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!
good luck to you !
glad it is working. now enjoy TigerGraph !