1. nohup 명령어 사용중 → nohup cannot find file or directory 'node'

node 명령어가 환경변수 등록이 되어있어서 사용가능하다고 생각했는데, Script 에서는 실행이되지만 Systemctl 에서는 위와 같은 에러가 발생했다.

nohup node 명령어를 다음과 같이 절대경로를 넣어서 해결

$ nohup /usr/local/bin/node ...


2. wget 명령어 사용중 → ERROR : The certificate of 'url' is not trusted

wget 으로 다운받을 url 주소가 안전하지 않아서 발생하는 에러인듯하다. 다음과 같이 옵션을 넣어서 해결

$ wget --no-check-certificate 'url'


3. npm install 명령어 사용중 → npm install not working, ssl error : CERT_NOT_YET_VALID

찾아보니 시스템 시간 동기화를 해주면 해결된다고 함

$ sudo ntpdate time.bora.net

$ date


4. ntpdata 명령어 사용중 → The NTP socket is in use, exiting

ntp 서비스에서 소켓을 사용중이라서 발생하는 에러라고 함, ntp 서비스를 중지시키고 명령어를 실행하면 됨

$ sudo /etc/init.d/ntp stop

$ sudo ntpdate time.bora.net