dontclickhere 0 Posted December 29, 2003 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! Share this post Link to post
danleff 0 Posted December 29, 2003 What is the error message that you are getting? Share this post Link to post
dontclickhere 0 Posted December 29, 2003 [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] Share this post Link to post
penguin 0 Posted December 29, 2003 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. Share this post Link to post
dontclickhere 0 Posted December 29, 2003 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 Share this post Link to post
penguin 0 Posted December 29, 2003 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: ## 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. Share this post Link to post
penguin 0 Posted December 29, 2003 You can also save some typing when starting and stopping the server. Instead of Code: /etc/rc.d/init.d/httpd start use Code: apachectl start to start Code: apachectl stop to stop Code: apachectl restart to restart ...etc type man apachectl for more uses Share this post Link to post
dontclickhere 0 Posted December 29, 2003 the codes above do not work, im using red hat and you have to use the code i used.....anyone else have any ideas? Share this post Link to post
penguin 0 Posted December 29, 2003 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. Share this post Link to post
dontclickhere 0 Posted December 30, 2003 do ihave to log in as root to exicute that cammand? Share this post Link to post
penguin 0 Posted December 30, 2003 log in as your normal user and su to root. You should never log in directly as root. Share this post Link to post