Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
oookay, so, ive read the readme's for everything, ive configured and make'd everything, for apache. Im aware that apache comes with RedHat 9, but, since i like doing things myself, and it was out of date, ive installed the newest sub 2.xx version.
So, im a little confused as to how or whether i should get it to start with xinetd, whether its worth the effort or whether its a good idea, and how else would i make the server start if it was in standalone mode? the Documentation wasnt too clear about that.
Also, when i do httpd -k start nothing seems to happen. i get no output, and it looks like its not running (refusing connection attempts to localhost)
ahh, fantastic tutorial! Im going through all the commands, one by one.. unforuntatley, im wating for a "make test" to finish make'ing but its going to fail because i havnt make'ed it yet!
I get this when i try to ./configure apache the second time around
configure: error: libjpeg.(a|so) not found.
what on earth does this mean?
BTW this is after adding the mysql, php and other crap to it
oh lord ....
now i compile it without gd, and the thing refuses to start..
[Thu Oct 9 13:27:33 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/etc/rc.d/init.d/httpd start: httpd could not be started
yep, im certain. its going to the path where i compiled it.
surley if it was the wrong path id just get an error from bash?
hmm, it seems that whenever i edit the httpd.conf file, it dies on me, yet when i do a configcheck or whatever it is, it says the syntax is fine
okay, so now ive used the path to the binary in the apache folder rather than the one in init.d and that still says "-e is and invalid option" and so it still wont run.
In order to make Apache start with mod_ssl automatically, the start script has to be modified. It is to be found at /etc/rc.d/init.d/httpd. There, you have to search for the "start)" line and to modify it as follows:
start)
if [ $RUNNING -eq 1 ]; then
echo "$0 $ARG: httpd (pid $PID) already running"
continue
fi
#original:
#if $HTTPD ; then
#modified, -DSSL inserted:
if $HTTPD -DSSL; then
echo "$0 $ARG: httpd started"
else
echo "$0 $ARG: httpd could not be started"
ERROR=3
fi
;;
I think this is where my problem lies. it wont start SSL for some reason.. why might that be?
yep, i tried running the executable (in /usr/local/apache or whatever it was) and it didnt recognise e. and also, when i tried to get the status it keeps saying lynx isnt installed :/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.