can any one knows how to setup signoz in amazon ec...
# support
t
can any one knows how to setup signoz in amazon ec2 server
p
@User Which OS are you using in your EC2 machines?
t
linux
Amazon Linux 2 AMI
ERROR: for query-service Cannot start service query-service: driver failed programming external connectivity on endpoint query-service (384b4522fc01bee7d38583f3dfa52f6b6858bbfa7022e8e82385f59565d461c1): Error starting userland proxy: listen tcp4 0.0.0.08080 bind: address already in use
This is the full error screenshot
p
ok, let me check. For Amazon Linux AMI the install script method (which you are using) should work
@User I just tested this on Amazon Linux 2 AMI in a t2.medium machine and it successfully installed for me. 1. Can you take a latest pull of the code and try again. We released a new version(
v0.4.1
) a few hrs back. 2. What is the machine you are trying to install SigNoz? - t2.medium? - SigNoz would need min 3-4 GB RAM machine to get installed
a
@User some application already running on port 8080?
also check if the code is a latest pull...we had a new release a few hrs back
t
sure i will check
is it possible to change the frontend port from 3000 to 3002 or whatever is available
@User "try changing ports at https://github.com/SigNoz/signoz/blob/main/deploy/docker/clickhouse-setup/docker-compose.yaml#L29 to 
8081:8080
 and re-run `./install.sh`" this worked for me, but same issue is coming for frontend port 3000. already in use because i am using that port for our application.
a
t
now everything is installed, facing this issue
a
@User can you send output of
docker ps
? Also, which OS are you running in?
t
OS : Amazon Linux 2 AMI PFA for docker ps
a
Please check if you are working on latest pull. If it persists would a zoom call work at 1pm or post 5pm today?
p
@User 👆
t
Yes i am using latest pull, still the issue is persists, 1 pm is fine for me, send me the meeting link, my lead also want to connect
a
👍
Sent an invite
t
received thanks
Thanks a lot @User for your valuable time and help, you saved my day.
🙌 2
💯 1
🎉 1
a
Let's add more services to SigNoz and let me know if you face issues 🙂
t
dear @User "OTEL_METRICS_EXPORTER=none OTEL_EXPORTER_OTLP_SPAN_ENDPOINT="http://<IP of SigNoz Backend>:55681/v1/trace" LS_SERVICE_NAME=<service name> node server_init.js" what is the <service name> here i need to put application url or any service url
p
@User <service_name> -> Any string which you want to name the service -- it could be for example - "sample application"
t
Thanks, got it
p
👍
t
@User while running this cmd OTEL_METRICS_EXPORTER=none OTEL_EXPORTER_OTLP_SPAN_ENDPOINT="http://<IP of SigNoz Backend>:55681/v1/trace" LS_SERVICE_NAME=<service name> node server_init.js, i am facing below port number issue 3001 that is already in use.
a
as I last remember you changed the port of signoz frontend to 3009 right? Then nothing that is part of should be running at port 3001. This might be some of your applications. Run
lsof -i tcp:3001
and find out what command was used that is running a process at 3001
t
3001 already in use, is it possible to use 3002, if yes where i need to make the changes
a
change this line to
- "3002:3000"
and 3000 to 3002 at this line if you use
./install.sh
t
here i already done the changes to 3009 but still the error is showing
a
whats the output of
lsof -i tcp:3001
?
t
this is the output
a
some nodejs application is run using PM2 command...please check
t
that is our main application
Hi @User can u have sometime to connect