Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just editted httpd.conf and prepared to run Apache 1.3.27 on my Slack 9. When I type: #httpd -f /etc/apache/httpd.conf, I got nothing. No error message, no successful starting message (if apache have one of these). With #ps -Af I can't see any httpd processes. I tried via /etc/rc.d/rc.httpd script.. #./rc.httpd start, but I got:
# ./rc.httpd start
/usr/sbin/apachectl start: httpd could not be started
I cat`ed the script and saw that it uses something /usr/sbin/apachectl. I tried #/usr/sbin/apachectl start, and got the same 'httpd could not be started' output. Oh, and I chmod'ed rc.httpd to 755.
I searched this forum and found that I could use http -e DEBUG.. but when I try to use it I got the 'invalid option' output.. i.e. http -h screen.
Where can be the mistake?
Hmm sounds like there is some errors in your confirguration file, in apache, and if you cant find the file, then try deinstall, and make a new install of apache
Have you changed something in the config file, in apache?
I had some trouble with my Proftpd, it complained about it couldnīt match my hostname or something..I also had trouble with apache..it gave the same message "couldnt be started" or something...I found out that my hostname and the settings in "hosts" wherenīt the same...maybe check that..?
I removed the Apache package using the pkgtool. Then downloaded Apache2's source and compile it in other directory. Now it works, but I'm worried about other thing. Do I have to remove installed php and Mysql packages and reinstall them considering to the new apache directory?
yeah, as far as i know, you have to reconfigure php and mysql with the new apache2. otherwise, ur apache will not know you have php since u haven't loaded the php module into the httpd conf file. and u didn't necessarily have to deinstall ur first apache. u could have set the listen command to something like 8080, and then see if that works?!?!?
Is reconfigure=reinstall?? A hope no.. Where are config files which I have to edit? I have php.ini (if I need it for that purporse) but it's in the old apache config dir in /etc/apache.. I don't know nothing about MySQL configuring..
it's not all as bad as it seems. i guess u can try to add this: as root, type updatedb, and then type locate*php*.so. it should give u the address of the php module. then open httpd.conf and insert
LoadModule php4_module /path/to/mod_php4.so