Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 2.0.36 won't start 1

Status
Not open for further replies.

Faded

Programmer
Feb 6, 2002
78
0
0
CA
Hello,
I have a brand new install of Red Hat 7.2, and during the install I chose not to load the because I wanted to install the newest version of Apache (2.0.36).

The instructions I followed are at

Anyways, everything is located in /usr/local/apache2 and has been compiled, but when I try to run
[root@localhost bin]# apachect1 start
I get the error
bash: apachect1: command not found

I can't figure it out. Is there an environment variable that I am missing or something?

Any help would be greatly appreciated.

Thanks, Faded
 
apachectl doesn't get installed in /usr/bin or /usr/local/bin.

you need to go to your apache_home_directory/bin
eg:
%>cd /usr/local/apache2/bin
%>ls
%>./apachectl start

I added an alias in my root .bashrc to make life easier.
<snip>
alias apachectl=&quot;/usr/local/apache2/bin/apachectl&quot;
</snip>

hth leo

------------
Leo Mendoza
lmendoza@garbersoft.net
 
Thanks Leo!

It works perfectly.

Faded
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top