由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - [转载] start apache server , httpd? apachectl?
相关主题
apache问题请教How to change a port binding number?
problem: apache web serverApache设置更新一问
有成功集合过Apache2和PHP4的大侠吗?Can not start Apache 2 with 用户认证. :-(
关于apache的新手问题Apache 1.3.33 + PHP 4.3.10 @ Redhat 9???
how to configure apache to support mobile browsing traffic?Question about Apache & permission
questions about phpHow To Install Linux, Apache, MySQL, PHP (LAMP)
[转载] 如何删除windows2000里的服务a question about Apache Server, Thank you tommy
Re: Install JServ on Apache/Redhat密码窗口一问
相关话题的讨论汇总
话题: httpd话题: apache话题: apachectl话题: server话题: start
进入BuildingWeb版参与讨论
1 (共1页)
r*****r
发帖数: 397
1
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: ruisher (aa), 信区: Linux
标 题: start apache server , httpd? apachectl?
发信站: Unknown Space - 未名空间 (Wed Sep 22 23:42:02 2004) WWW-POST
Kind of confuse.There are two httpd.conf file,
one is in /etc/httpd/conf/httpd.conf
one is in /usr/loca/apache2/conf/httpd.conf
which one should I configure, or both?
When I try to start the apache server, what's the difference between
apachectl start
httpd start?
Looks when I start with httpd, it fails and told me can't bind to the a
c***c
发帖数: 21374
2

系统默认的Apache配置文件,一般情况下都是自动启动(默认安装如此)
这个配置文件没启用
httpd是服务,apachectl是启动httpd服务的文件名称
你是不是自己又安装了一次apache?
cgi目录随便指定,在httpd.conf里面设置久可以了

【在 r*****r 的大作中提到】
: 【 以下文字转载自 Linux 讨论区,原文如下 】
: 发信人: ruisher (aa), 信区: Linux
: 标 题: start apache server , httpd? apachectl?
: 发信站: Unknown Space - 未名空间 (Wed Sep 22 23:42:02 2004) WWW-POST
: Kind of confuse.There are two httpd.conf file,
: one is in /etc/httpd/conf/httpd.conf
: one is in /usr/loca/apache2/conf/httpd.conf
: which one should I configure, or both?
: When I try to start the apache server, what's the difference between
: apachectl start

r*****r
发帖数: 397
3

Maybe, how can I get rid one ?At first, I installed as a general user, then i
reinstalled as root.I guess.Is there any trouble?
Now, when I want to httpd start, I got the error,
(98)Address already in use: make_sock: could not bind to address 127.0.0.1:80
no listening sockets available, shutting down
But when I ps -ef |grep apache, there is no process. What's wrong?
address,

【在 c***c 的大作中提到】
:
: 系统默认的Apache配置文件,一般情况下都是自动启动(默认安装如此)
: 这个配置文件没启用
: httpd是服务,apachectl是启动httpd服务的文件名称
: 你是不是自己又安装了一次apache?
: cgi目录随便指定,在httpd.conf里面设置久可以了

r*****r
发帖数: 397
4
Hi, you are right.
I checked
$ /usr/local/apache2/bin/httpd -v
Server version: Apache/2.0.50
Server built: Sep 7 2004 23:50:34
$ /usr/sbin/httpd -v
Server version: Apache/2.0.40
Server built: Sep 4 2002 17:20:34
Is there any trouble?How can I uninstall one of them?How can I fix the
problem?
Thanks very much.
address,
c***c
发帖数: 21374
5
pathtoapache/apachectl -stop先
然后用rpm删除就可以了
rpm类似windows里面的卸载,很方便

【在 r*****r 的大作中提到】
: Hi, you are right.
: I checked
: $ /usr/local/apache2/bin/httpd -v
: Server version: Apache/2.0.50
: Server built: Sep 7 2004 23:50:34
: $ /usr/sbin/httpd -v
: Server version: Apache/2.0.40
: Server built: Sep 4 2002 17:20:34
: Is there any trouble?How can I uninstall one of them?How can I fix the
: problem?

r*****r
发帖数: 397
6
The problem is I installed from source.That will be more complicated.

【在 c***c 的大作中提到】
: pathtoapache/apachectl -stop先
: 然后用rpm删除就可以了
: rpm类似windows里面的卸载,很方便

r*****r
发帖数: 397
7
When I downloaded the tar file and I installed from source, it automaically
goes to /usr/local/apache2 directory.
The older version goes to /etc/httpd, I guess somebody else installed it in
the lab. It's build from rpm, if I rm the rpm, is there any trouble?
Or maybe better to remove my own version, I just worried i installed from
source, may not easy to uninstall.

【在 c***c 的大作中提到】
: pathtoapache/apachectl -stop先
: 然后用rpm删除就可以了
: rpm类似windows里面的卸载,很方便

l**u
发帖数: 35
8
even you build it from source, you can get in the source
directory and make uninstall. That should work.

【在 r*****r 的大作中提到】
: When I downloaded the tar file and I installed from source, it automaically
: goes to /usr/local/apache2 directory.
: The older version goes to /etc/httpd, I guess somebody else installed it in
: the lab. It's build from rpm, if I rm the rpm, is there any trouble?
: Or maybe better to remove my own version, I just worried i installed from
: source, may not easy to uninstall.

r*****r
发帖数: 397
9
When I installed from source, I specified /usr/local/apache, can i just delte
the whole directory apache?
I found my machine is running very slow now, is that mean I didn' t configure
the apache correctly?

automaically
in

【在 l**u 的大作中提到】
: even you build it from source, you can get in the source
: directory and make uninstall. That should work.

1 (共1页)
进入BuildingWeb版参与讨论
相关主题
密码窗口一问how to configure apache to support mobile browsing traffic?
httpd, php under RH8.0questions about php
PHP apache 配置问题[转载] 如何删除windows2000里的服务
XP mysql uninstall problemRe: Install JServ on Apache/Redhat
apache问题请教How to change a port binding number?
problem: apache web serverApache设置更新一问
有成功集合过Apache2和PHP4的大侠吗?Can not start Apache 2 with 用户认证. :-(
关于apache的新手问题Apache 1.3.33 + PHP 4.3.10 @ Redhat 9???
相关话题的讨论汇总
话题: httpd话题: apache话题: apachectl话题: server话题: start