2017-11-10 3 views
0

디지털 오션에 ROS를 설치했습니다.디지털 오션에서 realm 오브젝트 서버가 시작되지 않습니다.

Error: listen EADDRINUSE 0.0.0.0:9080 
    at Object._errnoException (util.js:1024:11) 
    at _exceptionWithHostPort (util.js:1046:20) 
    at Server.setupListenHandle [as _listen2] (net.js:1351:14) 
    at listenInCluster (net.js:1392:12) 
    at doListen (net.js:1501:7) 
    at _combinedTickCallback (internal/process/next_tick.js:141:11) 
    at process._tickCallback (internal/process/next_tick.js:180:9) 

가 어떻게 9080 그래서 ROS는 사용할 수 포트 해제 할 수 있습니다 : CLI에 ros start를 실행할 때 ROS 버전은 다음 2.0.17

, 그것은 다음과 같은 오류가 발생합니다? (우분투)

답변

1

알아 냈어. 다음

sudo kill 1291 

:

실행

tcp6  0  0 :::9080     :::*     LISTEN  1291/node 

는 숫자 "1291"을 가지고 (또는 시스템이 사용하는 어떤 PID) :

sudo netstat -lpn |grep :9080 <-- whats currently using port 9080 

출력됩니다

ros start 

과 비슷한 출력이 표시되어야합니다.

info: Loaded feature token capabilities=[Sync], expires=Wed Apr 19 2017 14:15:29 GMT+0000 (UTC) 
info: Realm Object Server version 2.0.17 is starting 
info: [sync] Realm sync server started ([realm-core-4.0.3], [realm-sync-2.1.1]) 
info: [sync] Directory holding persistent state: /home/sogo/data/sync/user_data 
info: [sync] Operating mode: master_with_no_slave 
info: [sync] Log level: info 
info: [sync] Download log compaction is enabled 
info: [sync] Max download size: 131072 bytes 
info: [sync] Listening on 127.0.0.1:43184 (sync protocol version 22) 
info: [http] 127.0.0.1 - GET /realms/files/%2F__wildcardpermissions HTTP/1.1 200 55 - 32.257 ms 
info: [http] 127.0.0.1 - GET /realms/files/%2F__password HTTP/1.1 200 44 - 24.644 ms 
info: [http] 127.0.0.1 - GET /realms/files/%2F__perm HTTP/1.1 200 40 - 5.688 ms 
info: Autocreated admin user: realm-admin 
info: Realm Object Server has started and is listening on http://0.0.0.0:9080 
info: [http] 127.0.0.1 - GET /realms/files/%2F__admin HTTP/1.1 200 41 - 18.051 ms 
info: [http] 127.0.0.1 - GET /realms/files/%2F__admin HTTP/1.1 200 41 - 4.879 ms 
관련 문제