반응형
0. 실행 환경
OS : Ubuntu 22.04.2 LTS
1. Error 메세지
원인
airflow-scheduler.service > [Service] 에 EnvironmentFile 경로가 잘못 지정되어있거나,
AIRFLOW_CONFIG, AIRFLOW_HOME 이 지정되어있지 않아서 발생한다.
해결 방법
Ubuntu(데비안 계열)이라면 /etc/environment, Redhat 계열이라면 /etc/sysconfig/airflow 로 설정되어있고,
AIRFLOW_CONFIG, AIRFLOW_HOME 경로 바르게 설정하면 된다.
sudo journalctl -xeu airflow-webserver. service
A stop job for unit airflow-webserver. service has finished.
The job identifier is 143495 and the job result is done.
Apr 23 19:24:18 linux systemd[1]: airflow-webserver.service: Failed to load environment files:
Apr 23 19:24:18 linux systemd[1]: airflow-webserver.service: Failed to run 'start' task: Is a Apr 23 19:24:18 linux systemd[1]: airflow-webserver.service: Failed with result 'resources
Subject: Unit failed
Defined-By: systemd
Support: http: //www.ubuntu.com/support
The unit airflow-webserver.service has entered the 'failed' state with result 'resources'
Apr 23 19:24:18 linux systemd[1]: Failed to start Airflow webserver daemon.
Subject: A start job for unit airflow-webserver.service has failed
Defined-Bv: systemd
Support: http: //www.ubuntu.com/support
A start job for unit airflow-webserver.service has finished with a failure.
728x90
반응형
'Data > Data Engineering' 카테고리의 다른 글
[Airflow] 2. Airflow 구성 자세히 살펴보기 (0) | 2024.03.05 |
---|---|
[Airflow] 1. Apache Airflow란? (0) | 2024.03.05 |
[Airflow] Airflow를 데몬(서비스)로 실행 설정 (Ubuntu) (0) | 2023.04.23 |
[Snowflake] Data Applications 뱃지 획득 (0) | 2023.04.13 |
[Snowflake] Badge 1 획득 (0) | 2023.01.08 |