마지막 강의 전까지 잘키고 끄다가 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 이게 오류내용인지.... 터미널 껏다 키는거 말고 초기화?같은걸 해야되는지 ㅠㅠ
봐주시면 감사합니다