Computing.Net > Forums > Linux > Apachectl start wont start it

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apachectl start wont start it

Reply to Message Icon

Name: BooksOfReverie
Date: August 22, 2003 at 22:16:45 Pacific
OS: suse 8.2 personal
CPU/Ram: 1.7ghz/512 ram
Comment:

ok where to begin. I downloaded apache 2.0.47 from the main apache download link. as well as the checksum (md5) and pgp keys. all is verified and matches the same number. perfect file. :):) i followed the simple directions. 1) unzip etc perfect.2 did the ./configure (using alldefaults) like installs 2 /usr/local/apache2 (whish is fine for me) then make, then make install. no errors no nothing. cool! i goto cd /usr/local/apache2/bin and then by directions on apache.orgs site 2 start it type apachectl start. and it should start . NO. it says no such command or filename . i looked through all dirs and found in /usr/local/apache2/bin the file existed just fine and all other files as well /htdocs everything nicely even index's (i am in as root btw). and all permissions etc are fine (basically all enabled for wut i was doin "executing" . i read the file in VI it says start|stop
restrt etc. well i see and can read the file but it says it doesnt exist so i cd apachectl and it said file isnta directory so i know it sees it. Apache;s site says logs logs read em. well no errors in logs because its not started and wont. ive downloaded and cleaned and retried many times and cant get 2 werk for nuthin. it says same thing eachtime i see no logs.can someone pls help. ty very much. -TY



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: August 23, 2003 at 15:50:16 Pacific
Reply:

It may be that the directory is not in your PATH and/or the file does not have executable permissions.

cd to the directory and then type:

./apachectl

and see if it runs. If it runs, you need to add the directory to your PATH variable.

If it doesn't run, ensure that the file has executable permissions.



0

Response Number 2
Name: booksofreverie
Date: August 23, 2003 at 18:19:07 Pacific
Reply:

SOLVED. even tho apache.org's site said /usr/local/apache2/bin/apachectl start its actually /usr/local/apache2/bin/./apachectl start
which is how in a bashshell 2 execute the file grrr i guess apache was usuing a C shell ohwell ty somuch that solved it. the ./ ty so much


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Apachectl start wont start it

Gimp wont start, Slak 8.1 www.computing.net/answers/linux/gimp-wont-start-slak-81/17371.html

apache - httpd won't start? www.computing.net/answers/linux/apache-httpd-wont-start/20091.html

x will only start as root www.computing.net/answers/linux/x-will-only-start-as-root/15874.html