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.

Linux Networking 361 This topic was started by , . Last reply by ,


data/avatar/default/avatar33.webp

5 Posts
Location -
Joined 2003-12-29
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!

Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Dec 29
Created
Jan 8
Last Response
0
Likes
2 minutes
Read Time
User User User
Users

Responses to this topic


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
What is the error message that you are getting?

data/avatar/default/avatar33.webp

5 Posts
Location -
Joined 2003-12-29
OP
[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]

data/avatar/default/avatar21.webp

8 Posts
Location -
Joined 2003-12-29
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.

data/avatar/default/avatar33.webp

5 Posts
Location -
Joined 2003-12-29
OP
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

data/avatar/default/avatar21.webp

8 Posts
Location -
Joined 2003-12-29
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.

data/avatar/default/avatar21.webp

8 Posts
Location -
Joined 2003-12-29
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

data/avatar/default/avatar33.webp

5 Posts
Location -
Joined 2003-12-29
OP
the codes above do not work, im using red hat and you have to use the code i used.....anyone else have any ideas?

data/avatar/default/avatar21.webp

8 Posts
Location -
Joined 2003-12-29
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.

data/avatar/default/avatar33.webp

5 Posts
Location -
Joined 2003-12-29
OP
do ihave to log in as root to exicute that cammand?

data/avatar/default/avatar21.webp

8 Posts
Location -
Joined 2003-12-29
log in as your normal user and su to root. You should never log in directly as root.