HELP
This is a discussion about HELP in the Linux Networking category; Ineed help! I have Red Hat Pro Workstation with apache, but when i try to start apache, i get an error that a file is missing or blank, can anyone help me with this? Also, when i try to update, it says my computer has to connect to a channel.
Ineed help!
I have Red Hat Pro Workstation with apache, but when i try to start apache, i get an error that a file is missing or blank, can anyone help me with this?
Also, when i try to update, it says my computer has to connect to a channel. Help Me!
I have Red Hat Pro Workstation with apache, but when i try to start apache, i get an error that a file is missing or blank, can anyone help me with this?
Also, when i try to update, it says my computer has to connect to a channel. Help Me!
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Dec 29
Jan 8
0
2 minutes
Responses to this topic
What is the error message that you are getting?
[charly@dhcppc1 charly]$ /etc/rc.d/init.d/httpd start
Starting httpd: Syntax error on line 129 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty
[FAILED]
Starting httpd: Syntax error on line 129 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' does not exist or is empty
[FAILED]
Unless you need ssl support for your webserver just comment out that line in your httpd.conf.
If you need ssl and have your certificate then you need to place it in /etc/httpd/conf/ssl.crt or change your config file to point to where you already have it.
If you need ssl and have your certificate then you need to place it in /etc/httpd/conf/ssl.crt or change your config file to point to where you already have it.
um, i dont need SSL but apache was pre-installed, so im trying to start it. also i dont see where i typed in a command for SSL, that was the system on itself
relax a bit. No one said you typed in a command to start SSL. It is int he httpd.conf that is calling ssl.conf. You can do two things. Change the line in httpd.conf that says
Code:
It is currently set to load all .conf files in the conf.d directory. Change it so it does not call all of them or just move ssl.conf from /etc/httpd/conf.d/ to another directory.
Code:
## Load config files from the config directory "/etc/httpd/conf.d".#Include conf.d/*.conf
It is currently set to load all .conf files in the conf.d directory. Change it so it does not call all of them or just move ssl.conf from /etc/httpd/conf.d/ to another directory.
You can also save some typing when starting and stopping the server. Instead of
Code:
use
Code:
Code:
Code:
...etc type man apachectl for more uses
Code:
/etc/rc.d/init.d/httpd start
use
Code:
apachectl startto start
Code:
apachectl stopto stop
Code:
apachectl restartto restart
...etc type man apachectl for more uses
the codes above do not work, im using red hat and you have to use the code i used.....anyone else have any ideas?
lol. It is a standard apache command. It works on all Linux OS's. btw. I did this on RH. 9.
type the following command into your terminal.
mv /etc/httpd/conf.d/ssl.conf /root
Then start apache.
type the following command into your terminal.
mv /etc/httpd/conf.d/ssl.conf /root
Then start apache.
do ihave to log in as root to exicute that cammand?
log in as your normal user and su to root. You should never log in directly as root.
any luck with this?