java技術研究

          統計

          留言簿(3)

          閱讀排行榜

          評論排行榜

          Nginx啟動出錯 error while loading shared libraries:

          [root@localhost conf]# /usr/local/nginx/sbin/nginx
          /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
          從錯誤看出是缺少lib文件導致
          可以看出 libpcre.so.1 => not found 并沒有找到,進入/lib目錄中手動鏈接下

          [root@localhost lib]# ln -s libpcre.so.0.0.1 libpcre.so.1

          然后在啟動nginx ok 了
          [root@localhost lib]# /usr/local/nginx/sbin/nginx
          [root@localhost lib]# ps -ef |grep nginx
          root 9539 1 0 19:06 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
          www 9540 9539 0 19:06 ? 00:00:00 nginx: worker process

          posted on 2014-03-28 08:57 小秦 閱讀(220) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 黄大仙区| 米易县| 祁东县| 灵台县| 天祝| 乳源| 长沙县| 西丰县| 巫溪县| 山西省| 夏津县| 临沧市| 沙雅县| 新竹市| 秦安县| 海伦市| 乌拉特前旗| 胶州市| 霍邱县| 博野县| 图木舒克市| 绥棱县| 上杭县| 扎赉特旗| 宝应县| 博野县| 武威市| 吉安县| 平遥县| 兰考县| 南宫市| 台中县| 资溪县| 宁强县| 石阡县| 满洲里市| 泗阳县| 崇义县| 布拖县| 江华| 沙田区|