LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache loading error (https://www.linuxquestions.org/questions/linux-newbie-8/apache-loading-error-165490/)

siphi 04-02-2004 04:15 PM

apache loading error
 
Hi all, I've got a puzzler for ye this time..

Apache 2 on RH9 is refusing to load for me.... services gives me a afailure error.. Term tells me..
"Starting httpd: [FAILED]"

It used give me a warning saying there was a syntax error in line 116 and 124 of2 /etc/httpd/conf.d/ssl.conf"... any ideas what might be wrong?

Longinus 04-02-2004 04:24 PM

looks like you are trying to boot with ssl

try it without it:

apachectl start

trickykid 04-02-2004 04:24 PM

Well, if that is the line its loading or in the config file, do you have ssl installed?

More details and bigger snippets of your config file would be more helpful.

siphi 04-02-2004 04:29 PM

lines 108 to 125 of ssl.conf
# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. A test
# certificate can be generated with `make certificate' under
# built time. Keep in mind that if you've both a RSA and a DSA
# certificate you can configure both in parallel (to also allow
# the use of DSA ciphers, etc.)
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
#SSLCertificateFile /etc/httpd/conf/ssl.crt/server-dsa.crt

# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
#SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server-dsa.key

# Server Certificate Chain:
# Point SSLCertificateChainFile at a file containing the
# concatenation of PEM encoded CA certificates which form the
# certificate chain for the server certificate. Alternatively
# the referenced file can be the same as SSLCertificateFile
# when the CA certificates are directly appended to the server
# certificate for convinience.
#SSLCertificateChainFile /etc/httpd/conf/ssl.crt/ca.crt


I start apache with the command "/sbin/service httpd start"

siphi 04-02-2004 04:48 PM

just found in my logs...
[Fri Apr 02 23:47:21 2004] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "customer-pool-addr168-094.cablesurf.com"
Configuration Failed!

any ideas? thanks!


All times are GMT -5. The time now is 12:36 AM.