-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingwontfixThis will not be worked onThis will not be worked on
Description
phenomenon
[#970#root@ubuntu-1604 /go/src/github.com/moooofly/hunter-agent]$docker run -it -p 12345:12345 -v /var/run:/var/run --rm hunter-agent:tmp -H tcp://0.0.0.0:12345 -H unix:///var/run/hunter-agent.sock --metrics-addr 0.0.0.0:12346 --broker xx.xx.xx.xx:9092 --topic jaeger-spans-test-001
Error starting daemon: pid file found, ensure hunter-agent is not running or delete /var/run/hunter-agent.pid
[#971#root@ubuntu-1604 /go/src/github.com/moooofly/hunter-agent]$
solution
[#971#root@ubuntu-1604 /go/src/github.com/moooofly/hunter-agent]$rm /var/run/hunter-agent.pid
[#972#root@ubuntu-1604 /go/src/github.com/moooofly/hunter-agent]$docker run -it -p 12345:12345 -v /var/run:/var/run --rm hunter-agent:tmp -H tcp://0.0.0.0:12345 -H unix:///var/run/hunter-agent.sock --metrics-addr 0.0.0.0:12346 --broker xx.xx.xx.xx:9092 --topic jaeger-spans-test-001
DEBU[2018-08-23T08:45:05.727044578Z] --> Serve [::]:12345
INFO[2018-08-23T08:45:05.727090605Z] Listener created on tcp (0.0.0.0:12345)
DEBU[2018-08-23T08:45:05.727150482Z] --> Serve /var/run/hunter-agent.sock
INFO[2018-08-23T08:45:05.727163209Z] Listener created on unix (/var/run/hunter-agent.sock)
DEBU[2018-08-23T08:45:05.731410016Z] --> config.Root: /var/lib/hunter
DEBU[2018-08-23T08:45:05.734990555Z] Golang's threads limit set to 6930
INFO[2018-08-23T08:45:05.735049956Z] Hunter agent commit=library-import version=library-import
INFO[2018-08-23T08:45:05.735070403Z] Daemon has completed initialization
...
todo
Need a better way to clear /var/run/hunter-agent.pid file.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwontfixThis will not be worked onThis will not be worked on