Failed to start A high performance web server and a reverse proxy server 错误提示
来源:互联网 发布:sql 查询列重复的数据 编辑:程序博客网 时间:2024/05/18 15:55
点击打开链接
I am running nginx on Raspbian Jessie operating system.
I just created new virtual host and reloaded nginx service:
I just created new virtual host and reloaded nginx service:
/etc/init.d/nginx restartNow I got:
[....] Reloading nginx configuration (via systemctl): nginx.serviceJob for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details. failed!Turns out I can test if the configuration file is OK with:
nginx -t -c /etc/nginx/nginx.confThis time it says:
nginx: [emerg] could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32nginx: configuration file /etc/nginx/nginx.conf test failedLets check what this setting is in config:
grep server_names_hash_bucket_size /etc/nginx/nginx.confAnd it says that it is not configured:
# server_names_hash_bucket_size 64;OK lets increase this as it says:
sed -i "s/^.*server_names_hash_bucket_size..*;$/server_names_hash_bucket_size 64;/" /etc/nginx/nginx.confCheck again:
grep server_names_hash_bucket_size /etc/nginx/nginx.confIts good now:
server_names_hash_bucket_size 64;Lets test config file:
nginx -t -c /etc/nginx/nginx.confThis now says:
nginx: the configuration file /etc/nginx/nginx.conf syntax is oknginx: configuration file /etc/nginx/nginx.conf test is successfulGot to go:
/etc/init.d/nginx restart
阅读全文
0 0
- Failed to start A high performance web server and a reverse proxy server 错误提示
- FastCGI: A High-Performance Web Server Interface 中文翻译版本
- Server tomcat v7.0 server at localhost failed to start A child container failed during start
- "server tomcat v8.0 server at localhost failed to start"+"A child container failed during start"
- [Seminar Presentation] BCube: A High Performance, Server-centric Network
- Eclipse 运行web project,出现Server Tomcat v9.0 Server at localhost failed to start.错误
- Implements a multi-threaded Web proxy server
- 启动Java Web项目时提示错误:A child container failed during start
- Build High performance Server
- High-Performance Server Architecture
- high-performance server architecture
- High-Performance Server Architecture
- High-Performance Server Architecture
- High-Performance server architecture
- High-Performance Server Architecture
- A child container failed during start Tomcat 错误提示
- 提示错误:A child Container failed during start
- Difference between proxy server and reverse proxy server
- tp3.2中配置链接多个数据库
- LeetCode.217(219) Contains Duplicate && II
- Android基站定位详解
- Android--(13)--Android自定义实现actionbar实现微信标题栏
- ExtJs常用布局--layout详解(含实例)
- Failed to start A high performance web server and a reverse proxy server 错误提示
- [DeeplearningAI笔记]改善深层神经网络1.4_1.8深度学习实用层面_正则化Regularization与改善过拟合
- 重写UINavigationController实现滑动返回
- QT中QString 类的使用--获取指定字符位置、截取子字符串等
- 多维数组转化为一维数组---js方法
- 机器学习经典论文/survey合集
- angularJS全选/批量删除
- js调试工具—控制台Console命令的用法
- Android中EditText点击获得焦点后无法显示输入法键盘