+ -
当前位置:首页 → 问答吧 → freebsd 下安装apache2 服务不能启动

freebsd 下安装apache2 服务不能启动

时间:2005-07-11

来源:互联网

下了一个.tar.gz 不知道是源代码还是二进制,
是不是.tar的都是源代码,.tbz & .rpm & .deb这些才是二进制包?
用pkg_add 不行

于是解包进入/usr/local/www/http-2.0.35目录

make
make install

安装在/usr/local/apache2
进入/bin
./httpd
提示bus error(core dumpd)

./apachectl start
提示bus error(core dumpd)
httpd could not be start.

请各位指点。谢谢

作者: scorpior   发布时间: 2005-07-11

更新下你的PORTS
然后安装最新版本的APACHE2

作者: linyin   发布时间: 2005-07-12

好主意,问题是我不能上网,要不就不用自己下源代码了。

操作应该没问题吧?难道下的包有问题?没改http.conf

./configure 没加 prefix

想删掉重装试一下,应当怎么操作,直接删掉/usr/local/apache2行吗?

其他配置文件用不用改?

作者: scorpior   发布时间: 2005-07-13

look the /usr/ports/www/apache2/distinfo
then down the *.tar.bz2 to the dir /usr/ports/distfile
after that ,cd /usr/ports/www/apache2/;make install;
just try.

作者: Eg_zm   发布时间: 2005-07-18