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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie Apache2 command not found

Status
Not open for further replies.

hannahsh

Technical User
Feb 18, 2002
82
GB
I guess this is a linux issue and not just Apache but here goes.

I have uninstalled the RPM version on Apache 1.2.whatever, and then, thinking I was clever (and as advised by all u unix gurus), installed apache 2.0.43 using

./configure --prefix=/usr/local/apache-2.0.43 --enable-module=so

make, make install

It looked ok during installation but then when I try apachctl start it says
bash: apachectl: command not found

I am logged in as root so I guess there is no permissions issues.

what I done wrong, this time.
 
ok I entered

apachectl restart

- now apache runs BUT I have no control and none of the commands work ie start stop restart apachectl or httpd ???

Similarly I cant configure webmin for remote management cos it cant find the path to the exectutables ??


bleeding UNIX
 
i take it you tried running the apache executable as follows:

./apachectl start

what about

./httpd -k start

hope this helps
TheSaltyDuke [pipe]
 
Yip your right !

I have moved on a lot since this, found a great site rpmfind.net, not that I use the prm's but the info on dependancies is very usefull, and they have everything on their ftp site.

Stewart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top