【发布时间】:2021-10-08 01:58:41
【问题描述】:
我正在关注guide 在我的 Windows 机器上安装 Airflow。
但是,在启动 Airflow 网络服务器的步骤中,我得到了他的错误:
=================================================================
[2021-10-07 22:51:25 -0300] [7468] [INFO] Starting gunicorn 20.1.0
Traceback (most recent call last):
File "/home/thadeu/airflow_env/bin/gunicorn", line 8, in <module>
sys.exit(run())
File "/home/thadeu/airflow_env/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/home/thadeu/airflow_env/lib/python3.8/site-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/home/thadeu/airflow_env/lib/python3.8/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/home/thadeu/airflow_env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 198, in run
self.start()
File "/home/thadeu/airflow_env/lib/python3.8/site-packages/gunicorn/arbiter.py", line 137, in start
self.pidfile.create(self.pid)
File "/home/thadeu/airflow_env/lib/python3.8/site-packages/gunicorn/pidfile.py", line 45, in create
os.chmod(self.fname, 420)
PermissionError: [Errno 1] Operation not permitted: '/mnt/f/airflow/airflow-webserver.pid'
我在 this one 等其他帖子中找不到解决方案。
我的 WSL 用户拥有运行 Ubunto 20.04 的 root 权限
【问题讨论】:
标签: ubuntu airflow windows-subsystem-for-linux