커뮤니티
포인트
로딩중
쿠폰
내 강의실
국비 신청 내역
수강권
증명서
숙제 피드백
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
nohub 으로 오타이후 nohup해도 안켜집니다
웹개발 종합반
5주차
북마크
임*은
댓글
1
추천
0
조회수
38
조회수
38
답변 완료

마지막 강의 전까지 잘키고 끄다가 og태그추가부분에서 app.py변경 때문에 ps -ef | grep 'python app.py' | awk '{print $2}' | xargs kill 으로 끄고

파일질라에서 삭제/변경하고 다시 키는 과정에서 nohub python app.py 으로 오타쳐서 그런건지

이 이후로 쭉 안켜지네요 원래대로 app.py 변경해도요 ㅠㅠ

맥이고 터미널좀 봐주실수 있을까요


Last login: Tue Jul 26 23:18:38 2022 from 210.106.198.18

ubuntu@ip-172-31-46-118:~$ ps -ef | grep 'python app.py' | awk '{print $2}' | xargs kill

kill: (18788): No such process

ubuntu@ip-172-31-46-118:~$ nohub python app.py & ----------이부분 오타나서

[1] 18867

ubuntu@ip-172-31-46-118:~

Command 'nohub' not found, did you mean:


 command 'nohup' from deb coreutils (8.30-3ubuntu2)


Try: sudo apt install <deb name> -------이렇게 뜬이후로



[1]+ Exit 127        nohub python app.py

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~$ nohup python app.py &

[1] 18879

ubuntu@ip-172-31-46-118:~$ nohup: ignoring input and appending output to 'nohup.out'


[1]+ Exit 2         nohup python app.py

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~$ nohup python app.py &

[1] 18883

ubuntu@ip-172-31-46-118:~$ nohup: ignoring input and appending output to 'nohup.out'


[1]+ Exit 2         nohup python app.py

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~$ ps -ef | grep 'python app.py' | awk '{print $2}' | xargs kill

kill: (18887): No such process

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~$ nohup python app.py &

[1] 18973

ubuntu@ip-172-31-46-118:~$ nohup: ignoring input and appending output to 'nohup.out'


[1]+ Exit 2         nohup python app.py

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~$ ps -ef | grep 'python app.py' | awk '{print $2}' | xargs kill

kill: (18987): No such process

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~$ nohup python app.py &

[1] 19088

ubuntu@ip-172-31-46-118:~$ nohup: ignoring input and appending output to 'nohup.out'

ubuntu@ip-172-31-46-118:~

[1]+ Exit 2         nohup python app.py

ubuntu@ip-172-31-46-118:~

ubuntu@ip-172-31-46-118:~




계속 이렇게 되는데 [1]+ Exit 2 이게 오류내용인지.... 터미널 껏다 키는거 말고 초기화?같은걸 해야되는지 ㅠㅠ

봐주시면 감사합니다

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴