标签:directory 需要 lag work The ble ima font exe
部署etcd错误总结
1、conflicting environment variable "ETCD_NAME" is shadowed by corresponding command-line flag (either unset environment variable or disable flag)
原因:ETCD3.4版本会自动读取环境变量的参数,所以EnvironmentFile文件中有的参数,不需要再次在ExecStart启动参数中添加,二选一,如同时配置,会触发以下类似报错
etcd: conflicting environment variable "ETCD_NAME" is shadowed by corresponding command-line flag (either unset environment variable or disable flag)
解决:剔除ExecStart中和配置文件重复的内容即可
2、cannot access data directory: directory "/application/kubernetes/data/","drwxr-xr-x" exist without desired file permission "-rwx------".
解决:将权限设置为700即可
3、Failed at step CHDIR spawning /usr/bin/etcd: No such file or directory
原因:etcd.service服务配置文件中设置的工作目录WorkingDirectory=/var/lib/etcd/必须存在,否则会报以上错误
标签:directory 需要 lag work The ble ima font exe
原文地址:https://www.cnblogs.com/HByang/p/13340857.html