Page 1 of 1
HELP
#1
Posted 29 December 2003 - 01:09 PM
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!
#3
Posted 29 December 2003 - 09:09 PM
[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]
#4
Posted 29 December 2003 - 09:18 PM
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.
#5
Posted 29 December 2003 - 09:21 PM
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
#6
Posted 29 December 2003 - 10:19 PM
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
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.
#7
Posted 29 December 2003 - 10:23 PM
You can also save some typing when starting and stopping the server. Instead of
use
to start
to stop
to restart
...etc type man apachectl for more uses
Code:
/etc/rc.d/init.d/httpd start
use
Code:
apachectl start
Code:
apachectl stop
Code:
apachectl restart
...etc type man apachectl for more uses
#8
Posted 29 December 2003 - 11:06 PM
the codes above do not work, im using red hat and you have to use the code i used.....anyone else have any ideas?
#9
Posted 29 December 2003 - 11:14 PM
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.
#11
Posted 30 December 2003 - 05:19 PM
log in as your normal user and su to root. You should never log in directly as root.
Share this topic:
Page 1 of 1

Help










