Window 启动Wnmp,提示: CreateFile() failed (2: The system cannot find the file specified

来源:互联网 发布:淘宝店铺装修在哪里弄 编辑:程序博客网 时间:2024/06/05 05:49

今天在启动bat脚本打开nginx的时候发现失败了,然后查看nginx的日志,报错提示:24 CreateFile() "E:\wwwroot\nginx/html/50x.html" failed (2: The system cannot find the file specified;

原因:没有权限创建文件,应该是以管理员身份启动脚本;


阅读全文
0 0