Results 1 to 5 of 5
Hello,
I am working on Apache2, and am up to the 'test' phase of the process.
Anyway
I accidental sent the apachectl file to acapche2 instead of apache2:
[rootlocalhost sbin]# ...
- 01-05-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 4
Apachectl help
Hello,
I am working on Apache2, and am up to the 'test' phase of the process.
Anyway
I accidental sent the apachectl file to acapche2 instead of apache2:
[rootlocalhost sbin]# mv apachectl /acpache2
I should have done: mv apachectl /usr/local/apache2/bin
That didn't happen..
I echoed ; echo ./apachectl
./apachectl
Sooo, I know its alive, just have no idea where, help? I need to get this file back to start the HTTP Sever.
- 01-05-2011 #2
how did you install apache? what distro and version are you using?
typingjust tells the computer to print out the characters ./apachectl, it doesn't look for them. tryCode:echo ./apachectl
to see if the file is there.Code:ls ./apachectl
if you did
you should be able to doCode:mv apachectl /acpache2
to undo it.Code:mv /acpache2 apachectl
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 01-06-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 4
Thanks for your reply, I used Fedora Red Hat. I installed using source. I found the file and mv it to the correct directory. I am now stuck with the starting the program.. help?
- 01-08-2011 #4
you shouldn't move around binaries after an application is built. If you want the files to be executable without the absolute path, you can either symlink them somewhere else, or add the new directory to your $PATH
I would suggest you remove all the files, and rebuild it in the location you want. You can change where it installes with the --prefix option durring the ./configure step.
you can run ./configure --help to see all available options, but it is quite long, and can be overwhelming.Code:./configure --prefix=/usr/local/apache2/
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 01-28-2011 #5Just Joined!
- Join Date
- Jan 2011
- Posts
- 8
can you post the exact error message while starting apache!


Reply With Quote
