장고 305페이지 서비스 실행 단계에서 나오는 경고문구(해결)

3단계 서비스 실행 등록 단계에서 다음과 같은 경고 문구가 나옵니다.

(mysite) ubuntu@ip-172-26-11-149:/etc/systemd/system$ sudo systemctl start mysite.service
Warning: The unit file, source configuration file or drop-ins of mysite.service changed on disk. Run 'systemctl daemon-reload' to reload units.

이거 어떻게 하는거 건가요?

경고 문구대로 다음과 같이 실행해 보았습니다.

(mysite) ubuntu@ip-172-26-11-149:/etc/systemd/system$ systemctl daemon-reload
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: Ubuntu (ubuntu)
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to reload daemon: Access denied

비번은 AWS 계정 비밀번호를 입력하는게 맞나요?

맞다면 접근권한이 실패하는 이유가 뭘까요?

cezips 317

M 2022년 12월 26일 12:22 오후

목록으로
1개의 답변이 있습니다. 1 / 1 Page

선생님의 21년 3월 7일자 댓글 확인했습니다.

sudo로 실행을 해야하는 거였네요

감사합니다.

cezips

2022년 12월 26일 12:13 오후