[update] inexq router -- broken httpd

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Tue Feb 17 18:20:36 UTC 2004


Am Di, den 17.02.2004 schrieb Trevor Smith um 17:25:
> On February 15, 2004 06:42 pm, Alexander Dalloz wrote:
> > A ServerName is not an IP. If you really want to use localhost than give
> > it "localhost.localdomain". You have a corresponding line in
> > /etc/hosts.conf.
> 
> Sorry, I don't have such a line in /etc/hosts.conf. What is the syntax I 
> should use?
> 
> 127.0.0.1 localhost.localdomain
> or
> localhost.localdomain 127.0.0.1
> or
> ??

Sorry, I just saw I wrote /etc/hosts.conf by mistake. It is /etc/hosts
which look at least this:

$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain   localhost


The line starting with 127.0.0.1 is very important! Sorry for confusing
you.

> > Check /var/log/httpd/error_log for more information. Check also
> 
> Bizarre. The logs showed many errors, all the same, complaining:
> 
> [Sun Feb 15 17:37:47 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Sun Feb 15 17:37:47 2004] [notice] LDAP: SSL support unavailable
> [Sun Feb 15 17:37:47 2004] [alert] (EAI 2)Name or service not known: 
> mod_unique_id: unable to find IPv4 address of "skip"
> Configuration Failed
> 
> Then, on Monday, the last entry says:
> 
> [Mon Feb 16 14:16:37 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Mon Feb 16 14:16:37 2004] [notice] LDAP: SSL support unavailable
> [Mon Feb 16 14:16:38 2004] [notice] suEXEC mechanism enabled 
> (wrapper: /usr/sbin/suexec)
> [Mon Feb 16 14:16:39 2004] [notice] Digest: generating secret for digest 
> authentication ...
> [Mon Feb 16 14:16:39 2004] [notice] Digest: done
> [Mon Feb 16 14:16:39 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Mon Feb 16 14:16:39 2004] [notice] LDAP: SSL support unavailable
> [Mon Feb 16 14:16:44 2004] [notice] Apache/2.0.47 (Fedora) configured -- 
> resuming normal operations
> 
> I saw the "resuming normal operations" and thought, hmmm... Sure enough, I 
> tried and suddenly httpd is running again. Shrug. That's seriously weird.
> 
> > apachectl -t or with parameter -S
> 
> [trevor at localhost /]$ /usr/sbin/apachectl -t
> Syntax error on line 127 of /etc/httpd/conf.d/ssl.conf:
> SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist 
> or is empty

Without SSL certificates HTTPS will not run. Seems you installed RPMs on
your system with beating the dependencies. Did you use "rpm --nodeps"?
The SSL certs/key are part of package mod_ssl-2.0.48-1.2. Did you
manually remove things by accident? Looks really weird. Either your
harddrive is dieing or you did some crazy things.

> ('/usr/sbin/apachectl -S' produces the same result.)
> 
> -- 
>  Trevor Smith    |    trevor at haligonian.com 

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2166.nptl
Sirendipity 19:12:41 up 2 days, 22:51, load average: 0.28, 0.42, 0.29 
                   [ Γνωθι σ'αυτον - gnothi seauton ]






More information about the fedora-list mailing list