tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 6159/starman worker
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 25792/nginx
tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 44631/json-proxy
tcp 0 0 127.0.0.1:8082 0.0.0.0:* LISTEN 26311/starman maste
tcp 0 0 127.0.0.1:8083 0.0.0.0:* LISTEN 26163/st-pushd
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 26283/st-userd
tcp 0 0 127.0.0.1:8085 0.0.0.0:* LISTEN 26171/node
tcp 0 0 127.0.0.1:8087 0.0.0.0:* LISTEN 1770/mono
tcp 0 0 127.0.0.1:8091 0.0.0.0:* LISTEN 26276/node
tcp 0 0 127.0.0.1:8093 0.0.0.0:* LISTEN 34053/node
tcp 0 0 0.0.0.0:8096 0.0.0.0:* LISTEN 64054/node
udp 0 0 127.0.0.1:8001 0.0.0.0:* 15422/dtwsagent
Are you still receiving that NGINX error? Could you try running the LD_PRELOAD process once more? If you get the same error then you could try the following:
Kill the process on port 80: sudo fuser -k 80/tcp
Start the NGINX process: service nginx start
If that doesn't work then you could try running the process on a diffferent port.
Sorry for delay, now are you talking about the LD_Preload piece? because the Web Agent runs on port 8001. Is there way to change the LD_PRELOAD to different Port? or is there a file that I should be look at to do a manual LD_PRELOAD
In the list of processes that you shared, there is a starman worker process that is currently running on port 80. That process is preventing your NGINX from starting correctly. Changing the DT process will not resolve the root cause of the issue since it runs on port 8001. You would have to kill that starman process or find a way to change the NGINX port. You could try stopping the starman process and starting the web agent.
This a Triai DT license, so I need to get the Web Server for NGINX running to produce data. I wanted to show Mgmt what data DT could produce. Our NGINX runs on PORT 80 and isn't going to switched according Ops. So we need to come up with another Alternative to do the LD_PRELOAD step, rather quickly.
Mark, yes, Nginx is already running when you try to start it.
before you start Nginx in combination with the LD_PRELOAD option, you have to make sure that no other instances of Nginx are already running. And also no other processes are listening on ports used by the Nginx config! Try to kill all running Nginx processes or use
then start Nginx with the LD_PRELOAD option.
let me know if it worked!
We are trying to configure an agent in Nginx Web Server.
Going through the documentation,we did all the necessary steps it is still not getting configured,we even have gone through the forum for the answer but it didn't worked.
We tried putting the LD_PRELOAD in conf file and also in the nginx.service file but it is not working.
We dont know the exact location where to put this LD_PRELOAD.
Kindly need help on this issue.
Followed the instructions here and it worked
Mine is stored on /lib/systemd/system/nginx.service