View previous topic :: View next topic |
Author |
Message |
zakl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18553681483f1c33bf972ad.jpg)
Joined: 09 May 2003 Posts: 73
|
Posted: Mon Jun 30, 2003 4:52 pm Post subject: Apache 2.0.46 (no httpd.conf) |
|
|
I've been scanning throught the documentation @ www.apache.org for Apache httpd 2.0 webservers. Usually, in all the past versions I've used, httpd.conf was either placed by the rpm file, or created during compile time.
After it emerged, apache 2.0.46 config was located in /etc/apache2/conf, but there is no httpd.conf file. The only two config files I get are:
apache2.conf commonapache2.conf
as well as a vhosts directory with some vhost config files.
Also, when I start the daemon, it gives me the following error:
root@logical init.d # ./apache2 restart
* Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Is there something wrong? Where's httpd.conf? And where do I set the "server's fully qualified domain name"?
Thanks,
Zak |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
himpierre l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Mon Jun 30, 2003 5:47 pm Post subject: |
|
|
Hello
apache2.conf = httpd.conf
Quote: |
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
|
Try to prevent loading mod_unique stuff in apache2.conf.
regards
Thomas |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
niki n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18644585741eeda7ab1612.gif)
Joined: 25 May 2003 Posts: 19 Location: Switzerland
|
Posted: Mon Jun 30, 2003 5:59 pm Post subject: |
|
|
hi
/etc/apache2/conf/apache2.conf is the main config file of apache2.
In it the other config files (commonapche2.conf, vhosts, ...) are included.
Form apache2.conf:
Quote: |
###
### Global Configuration
###
# Splitting up apache2.conf into two files makes it easier to support
# multiple configurations on the same serer. In commonapache2.conf
# you keep directives that apply to all implementations and in this
# file you keep server-specific directives. While we don't yet have
# multiple configurations out-of-the-box, this allows us to do that
# in the future easily. (PERLPROXIED *ahem*)
#
# For Apache2 we load all conf files in conf/modules.d
Include conf/modules.d/*.conf
Include conf/commonapache2.conf
|
The ServerName is in apache2.conf. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zakl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18553681483f1c33bf972ad.jpg)
Joined: 09 May 2003 Posts: 73
|
Posted: Mon Jun 30, 2003 10:39 pm Post subject: |
|
|
Thanks, I commented the line
Code: | LoadModule unique_id_module modules/mod_unique_id.so |
as told, and it started with no problem.
Thanks for the help,
Zak |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carbon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Fri Jul 25, 2003 2:34 pm Post subject: |
|
|
i also commented out the unique modules line to avoid the same problem you were having, but it didnt solve the problem on my machine, does it require a reboot? ![Confused :?](images/smiles/icon_confused.gif) _________________ I do what I want, and that's what I do.
GNU World Domination
Carbon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puggy Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1938300246424d80c21584d.jpg)
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Fri Jul 25, 2003 2:39 pm Post subject: |
|
|
carbon wrote: | i also commented out the unique modules line to avoid the same problem you were having, but it didnt solve the problem on my machine, does it require a reboot? ![Confused :?](images/smiles/icon_confused.gif) |
If you make changes to apache you'll have to restart it:
Code: | /etc/init.d/apache2 restart | for apache2.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carbon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Fri Jul 25, 2003 3:22 pm Post subject: |
|
|
i did that, didnt help _________________ I do what I want, and that's what I do.
GNU World Domination
Carbon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puggy Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1938300246424d80c21584d.jpg)
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Fri Jul 25, 2003 4:03 pm Post subject: |
|
|
carbon wrote: | i did that, didnt help |
Have you set ServerName?
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carbon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Fri Jul 25, 2003 5:57 pm Post subject: |
|
|
in apache2.conf? _________________ I do what I want, and that's what I do.
GNU World Domination
Carbon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puggy Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1938300246424d80c21584d.jpg)
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Fri Jul 25, 2003 6:04 pm Post subject: |
|
|
carbon wrote: | in apache2.conf? |
Yes or in the commonapache2.conf, I believe either would work. I don't quite know whay it can't pull your servername itself though. No entry in /etc/hosts or /etc/hostname for you current IP address?
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carbon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Sun Jul 27, 2003 3:06 am Post subject: |
|
|
i dont have a static ip, i use DNS to map my dynamic ip,
so what do i do with /etc/hosts to make apache know what my ip is _________________ I do what I want, and that's what I do.
GNU World Domination
Carbon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puggy Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1938300246424d80c21584d.jpg)
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Sun Jul 27, 2003 3:10 am Post subject: |
|
|
carbon wrote: | i dont have a static ip, i use DNS to map my dynamic ip,
so what do i do with /etc/hosts to make apache know what my ip is |
Apache doesn't need to know. It just needs to know the name of your server. e.g. mydomain.dydns.com
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
madmango Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/160262239540153adaebb0a.gif)
Joined: 15 Jul 2003 Posts: 507 Location: PA, USA
|
Posted: Sun Jul 27, 2003 2:50 pm Post subject: |
|
|
i have set my FQDN properly in /etc/hostname and still get the same problem _________________ word. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 23 Jun 2003 Posts: 943
|
Posted: Sun Jul 27, 2003 6:51 pm Post subject: |
|
|
Check out the ServerName option in the conf file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
carbon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Spiderman.gif)
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Mon Jul 28, 2003 1:04 am Post subject: |
|
|
alright!! it worked ![Laughing :lol:](images/smiles/icon_lol.gif) _________________ I do what I want, and that's what I do.
GNU World Domination
Carbon |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|