斷電後重啓,gitlab沒法訪問,發生500錯誤

發生過好幾回,停電後重啓機器,gitlab發生500錯誤。調查緣由發現是啓動腳本從.pid文件中取到pid, 按照pid企圖殺死舊的進程時,而舊的進程不存在。git   處理: 首先中止系統,而後刪除pid文件gitlab # cd /opt/gitlab-8.5.7-0/進程 #./ctlscript.sh stop # find . -name *.pid ......ip #rm  <pid
相關文章
相關標籤/搜索