nginx: [emerg] mkdir() "/var/temp/nginx/client" failed (2: No such file or directory)
时间: 2023-10-21 08:21:19 浏览: 120
这个错误的原因是在运行`nginx`时,发现目录`/var/temp/nginx/client`不存在,导致创建目录失败。解决这个问题的方法是创建该目录。根据引用的建议,可以使用以下命令来创建目录`/var/temp/nginx`:`sudo mkdir -p /var/temp/nginx`。 这样就可以解决`nginx: [emerg] mkdir() "/var/temp/nginx/client" failed (2: No such file or directory)`的问题了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [nginx: [emerg] mkdir() "/var/temp/nginx/client" failed (2: No such file or directory)](https://blog.csdn.net/qq_32575047/article/details/78269386)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [./nginx: No such file or directory](https://download.csdn.net/download/weixin_38667920/14052998)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文