开发者社区> 问答> 正文

centos7 编译安装nginx的错误

nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
Loaded: loaded (/etc/rc.d/init.d/nginx)
Active: failed (Result: exit-code) since Tue 2015-05-12 18:59:11 CST; 5min ago
Process: 3846 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=1/FAILURE)

systemd[1]: Starting SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server...
nginx[3846]: Starting nginx: Can't load '/usr/local/lib64/perl5/auto/nginx/nginx.so' for module ...ine 68.
nginx[3846]: at /usr/local/lib64/perl5/nginx.pm line 56.
nginx[3846]: Compilation failed in require.
nginx[3846]: BEGIN failed--compilation aborted.
nginx[3846]: nginx: [alert] perl_parse() failed: 255
nginx[3846]: [FAILED]
systemd[1]: nginx.service: control process exited, code=exited status=1
systemd[1]: Failed to start SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP...server.
systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.



     这是怎么回事?


展开
收起
myfaday 2015-05-13 14:42:30 18148 0
2 条回答
写回答
取消 提交回答
  • 你好,楼主
    你可以到阿里云市场的运维服务,试试找专业的运维服务商来解决,推荐你看一下:
    Nagios+Cacti、Zabbix等的安装配置
    http://market.aliyun.com/store/178933.html?spm=0.0.0.0.X0STuV
    2015-05-15 16:54:27
    赞同 展开评论 打赏
  • 旺旺:nectar2。
    楼主您好,

    请问您是按哪个教程或说明来编译安装nginx的?

    这里有一篇用yum来安装nginx的文章,您可以参考一下喔:https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7

    祝您生活愉快。
    2015-05-13 21:01:31
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《Nginx 代理系统常用手册》 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载