搭建自己的博客遇到的問題記錄和備註3(中間件)

功能 備註

activemq 啓動失敗
activemq java.lang.IllegalStateException: LifecycleProcessor not initialized - call

 'refresh' before invoking lifecycle methods via the context: org.apache.activemq.xbean

機器名字帶有下劃線,修改主機名。
1.查看機器名:uname -a 
2.hostnamectl set-hostname zhengsj
3.vi /etc/hosts             //把默認的機器名localhost localhost.localhost localhst改爲XX
4.#reboot                    //修改後重啓機器
ngnix調用報錯(13: Permission denied) nginx.conf增加 user root;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章