源代码编译安装apache启动报错
源代码编译安装apache启动报错问题1:httpd: apr_sockaddr_info_get() failed for crushlinux1.comhttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNamehttpd not running, trying to start
# cd /usr/local/httpd/conf/# vi httpd.conf97 #ServerName www.example.com:8098 ServerName localhost:80
重新启动apache# /usr/local/httpd/bin/apachectl start# ps -aux |grep httpd# netstat -anptu |grep "httpd"
问题2:/usr/local/apache/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory有很多so模块在/usr/local/lib目录下,所以在/etc/ld.so.conf中加入/usr/local/lib这一行
# vi /etc/ld.so.conf/usr/local/lib# /sbin/ldconfig -v现在您已经将 Apach安装在 /usr/local/apache。本安装支持可装载模块和标准的 MPM prefork。之后,可以使用如下命令启动 Apache 服务器:# /usr/local/httpd/bin/apachectl start
微机原理闹危机,随机过程随机过,实变函数学十遍,汇编语言不会编! 听君一席话,省我十本书! 如果有一双眼睛陪我一同哭泣,就值得我为生命受苦。 我喜欢孩子,更喜欢造孩子的过程! 男人在结婚前觉得适合自己的女人很少,结婚后觉得适合自己的女人很多。 勃起不是万能的,但不能勃起却是万万都不能的!
页:
[1]