cacti安装问题汇总【已解决】

回复 收藏
本帖最后由 Rohero 于 2015-12-24 21:26 编辑

说明:由于前面安装过LNMP,用yum安装LNMP后启动httpd出问题
error1:Could not reliably determine the server's fully qualified domain name
原因:这是在/etc/httpd/conf/httpd.conf中确实对主机端口的指定
解决办法:vim /etc/httpd/conf/httpd.conf 增加一条 ServerName localhost:80
error2:(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
原因:80端口被占用
解决办法:netstat -lnp |grep 80 ;发现nginx占用80端口,使用kill -9 PID 结果nginx重启了,使用killall nginx杀死成功。/etc/init.d/httpd start   ok
2015-12-24 21:17 举报
已邀请:
0

boy461205160

赞同来自:

支持一下
0

Rohero

赞同来自:

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: