Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- centos
- Jupyter Notebook
- insert
- STF
- port forwarding
- rethinkdb
- appium server
- nohup
- Jupyter
- sshpass
- appium
- Materials
- STF_PortForwarding
- perfect
- PYTHON
- ubuntu
- 실행권한
- ftp
- nmap
- nGrinder
- mysql
- ssh
- postgres
- 28015
- postgresql
- SWIFT
- kitura
- create table
- openpyxl
- GoCD
Archives
- Today
- Total
don't stop believing
STF 실행 에러 (rethinkdb 관련) 본문
STF가 설치된 Ubuntu 서버를 재시작 했습니다.
백그라운드로 실행되던 STF는 중지되었을 것이기 때문에 아래 명령으로 다시 실행했습니다.
sudo stf local --public-ip 10.10.1.54
실행 시 아래와 같은 에러가 리턴되었습니다.
12345678910111213141516$ sudo stf local --public-ip 10.10.1.54rch-field","mail"]'2019-03-29T06:49:44.693Z INF/util:procutil 1369 [*] Forking "/usr/local/lib/node_modules/stf/lib/cli migrate"2019-03-29T06:49:45.068Z INF/db 1375 [*] Connecting to 127.0.0.1:280152019-03-29T06:49:45.075Z INF/db 1375 [*] Unable to connect to 127.0.0.1:280152019-03-29T06:49:45.076Z FTL/db 1375 [*] No hosts left to try2019-03-29T06:49:45.076Z FTL/util:lifecycle 1375 [*] Shutting down due to fatal error/usr/local/lib/node_modules/stf/node_modules/bluebird/js/main/promise.js:680throw e;^ExitError: Exit code "1"at ChildProcess. (/usr/local/lib/node_modules/stf/lib/util/procutil.js:49:23)at emitTwo (events.js:126:13)at ChildProcess.emit (events.js:214:7)at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
에러가 발생했을 때는 에러 메시지를 잘 봐야 합니다. 힌트가 있습니다.
아래 두 에러 라인이 힌트입니다.
2019-03-29T06:49:45.068Z INF/db 1375 [*] Connecting to 127.0.0.1:28015
2019-03-29T06:49:45.075Z INF/db 1375 [*] Unable to connect to 127.0.0.1:28015
28015 포트는 RethinkDB에서 사용하는 포트입니다.
https://rethinkdb.com/docs/start-a-server/
위 rethinkdb 도큐먼트를 보면 info: Listening for client driver connections on port 28015로 되어있습니다.
어떤 원인인지는 모르겠으나 rethinkdb가 정상적으로 실행되고 있지 않은 것 같습니다.
rethinkdb를 kill 명령으로 종료하고 다시 시작해 줍니다.
그런다음 stf를 실행하면 정상적으로 올라옵니다.
'Tools > STF' 카테고리의 다른 글
STF 백그라운드 실행 (nohup) (0) | 2019.03.27 |
---|---|
STF 외부 접속 (Port Forwarding) (0) | 2019.03.27 |
STF 와 LDAP 연동 (4) | 2019.03.27 |
Smartphone Test Farm - STF 설치 (on Ubuntu) (2) | 2019.03.25 |