Compatible Support Forums: HELP

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HELP

#1 User is offline   dontclickhere 

  • stranger
  • Group: Members
  • Posts: 5
  • Joined: 29-December 03

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!
0

#2 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2902
  • Joined: 30-August 02

Posted 29 December 2003 - 04:15 PM

What is the error message that you are getting?
0

#3 User is offline   dontclickhere 

  • stranger
  • Group: Members
  • Posts: 5
  • Joined: 29-December 03

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]
0

#4 User is offline   penguin 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 29-December 03

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.
0

#5 User is offline   dontclickhere 

  • stranger
  • Group: Members
  • Posts: 5
  • Joined: 29-December 03

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
0

#6 User is offline   penguin 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 29-December 03

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

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.
0

#7 User is offline   penguin 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 29-December 03

Posted 29 December 2003 - 10:23 PM

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
0

#8 User is offline   dontclickhere 

  • stranger
  • Group: Members
  • Posts: 5
  • Joined: 29-December 03

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?
0

#9 User is offline   penguin 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 29-December 03

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.
0

#10 User is offline   dontclickhere 

  • stranger
  • Group: Members
  • Posts: 5
  • Joined: 29-December 03

Posted 30 December 2003 - 02:47 AM

do ihave to log in as root to exicute that cammand?
0

#11 User is offline   penguin 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 29-December 03

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.
0

#12 User is offline   penguin 

  • stranger
  • Group: Members
  • Posts: 8
  • Joined: 29-December 03

Posted 09 January 2004 - 12:21 AM

any luck with this?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users