Hi. I am quite a newbie to Linux and Unix in general. I have installed
a Linux box here on a PC and have been doing some interesting stuff. I
decided to try getting it to run a HTTP server and heard that Apache was
clearly the best. Again, being a newbie, I didn't want to get into
compiling and all that sort of thing, so I downloaded the binary version
off the WWW.APACHE.ORG site. (version 1.3.6).
I expanded the file and went about configuring the httpd.conf file.
Strangely though when I try to execute the server by running
/usr/local/apache/bin/httpd -f /usr/local/apache/conf/httpd.conf, I get
a message: "bash: /usr/local/apache/bin/httpd: No such file or
directory". Now I know this is the same message you get when you try to
execute a file that's not there, but it is there. I know it is. I can
rename it, I can perform a strings command on it. I just can't execute
it for some reason. I am logged in as root and all permissions seem
-rwxr-xr-x 1 root root 291913 Mar 25 09:57 httpd*
This is very strange. Anyone have any ideas. I am running a rather old
kernel (i.e. version 2.0.27. Could this be the problem?
< 1K Download