apache 2.4.3 服务可以起步,但无法停止

apache 2.4.3 服务可以启动,但无法停止

本帖最后由 phper2000 于 2012-09-13 01:03:35 编辑


cd /tmp/httpd-2.4.3
./configure --prefix=/usr/local/apache --enable-so --enable-deflate=shared --enable-expires=shared --enable-headers=shared --enable-rewrite=shared --enable-static-support --with-included-apr --with-mpm=prefork
make && make install
cp -f build/rpm/httpd.init /etc/init.d/httpd
chmod +x /etc/init.d/httpd
chkconfig --add httpd
chkconfig httpd on
cd /etc
mv httpd httpd_old
mkdir -p httpd/conf.d
ln -s /usr/local/apache/conf httpd/conf
cd /usr/sbin/
ln -fs /usr/local/apache/bin/httpd
ln -fs /usr/local/apache/bin/apachectl
cd /var/log
rm -rf httpd/
ln -s /usr/local/apache/logs httpd


 服务可以启动,但无法停止,日志中也没有记录




/etc/init.d/httpd stop

有什么错误提示?




fedora可以这么做,你试试:

service httpd stop

apache 2.4.3 服务可以起步,但无法停止

相关文章:

你感兴趣的文章:

标签云: