服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

无法启动Nginx从源代码编译

我正在尝试从我的DigitalOcean服务器( Ubuntu-14.04 64x )上运行的原始编译的Nginx服务器的源代码编译Nginx,但有一些额外的模块。 我可以安装一切顺利,但我无法启动它。 我确定ini是正确的,因为我将当前正在运行的Nginx服务器的原始源文件复制下来[尽pipe我看到Nginx现在在编译fron源文件时添加了ini。 下面是我正在执行的[漫长的过程] – 增加对不起,但我想为需要信息的人彻底。 因为我是Nginx的newB,所以我肯定我错过了一些东西,或者只是把它全错了。 如果你可以看看我已经做了什么,看看你是否需要改变任何东西,我将不胜感激。 日Thnx! 原始的Nginx服务器仍在运行: 我检查当前/正在运行的Nginxconfiguration,以便可以构build新的Nginx实例,但使用添加的模块: nginx -V # The out-put: configure arguments: –with-cc-opt='-g -O2 -fstack-protector –param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' –with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' –prefix=/usr/share/nginx –conf-path=/etc/nginx/nginx.conf –http-log-path=/var/log/nginx/access.log –error-log-path=/var/log/nginx/error.log –lock-path=/var/lock/nginx.lock –pid-path=/run/nginx.pid –http-client-body-temp-path=/var/lib/nginx/body –http-fastcgi-temp-path=/var/lib/nginx/fastcgi –http-proxy-temp-path=/var/lib/nginx/proxy –http-scgi-temp-path=/var/lib/nginx/scgi –http-uwsgi-temp-path=/var/lib/nginx/uwsgi –with-debug –with-pcre-jit –with-ipv6 –with-http_ssl_module –with-http_stub_status_module –with-http_realip_module –with-http_addition_module –with-http_dav_module –with-http_geoip_module –with-http_gzip_static_module –with-http_image_filter_module –with-http_spdy_module –with-http_sub_module –with-http_xslt_module […]