MadKAT Posted August 14, 2004 Report Share Posted August 14, 2004 (edited) On fresh installed MDK 10, I have apache2 installed, and also webmin. MCC indicates that http is running. I can even stop and start it from there. But how come I cannot connect to it? Pointing the browser to http://127.0.0.1 yields the error: An error occurred while loading http://127.0.0.1: Could not connect to host 127.0.0.1 /var/www/html exists and are readable. However, doing https://127.0.0.1:10000 actually brings up webmin. It also works even if I substitute 127.0.0.1 with the IP address I get from DHCP. So why not localhost? Is there any configuration that I need to set-up? When I had MDK 9.2, it brings up the default page. Thanks in advance! [moved from Software by spinynorman] Edited August 16, 2004 by MadKAT Quote Link to comment Share on other sites More sharing options...
Guest anon Posted August 14, 2004 Report Share Posted August 14, 2004 Starting it through MCC is a hit and miss affair. Open a consol and su to root, then type: service httpd status If that doesn't work type: /etc/rc.d/init.d/httpd status If it isn't running type /etc/rc.d/init.d/httpd start If it starts but you still get access refused, have a look at the logs for error messages. You will find those in /var/log/httpd Quote Link to comment Share on other sites More sharing options...
MadKAT Posted August 16, 2004 Author Report Share Posted August 16, 2004 Thank You, anon! You've been a great help! I did: [root@xilke root]# /etc/rc.d/init.d/httpd start Starting httpd2: [ OK ] [root@xilke root]# service httpd status Apache is *not* running. Use /etc/init.d/httpd extendedstatus for more information. So, as you suggested I looked at /var/log/httpd, and in the error log I found: Sun Aug 15 23:46:26 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/apache2-suexec) [Sun Aug 15 23:46:27 2004] [notice] Digest: generating secret for digest authentication ... [Sun Aug 15 23:46:27 2004] [notice] Digest: done [Sun Aug 15 23:46:28 2004] [error] Cannot allocate shared memory: (17)File exists And so I googled for the error message, and learned that apache may have lefet some ssl lock files. Sure enough, there were several ssl-* files in/var/log/httpd. So I renamed these files and restarted apache. And it worked. I can access the site now. Thanks!!! Quote Link to comment Share on other sites More sharing options...
mondo Posted August 23, 2004 Report Share Posted August 23, 2004 Hello madKAT, I have also a fresh installed MDK 10, I have apache2 installed, and also webmin. MCC indicates that http is not running. Can you tell me what version of kernel is running on your system ? The httpd2 does not work and the error_log file says " Function not implemented: mod_rewrite: could not create rewrite_log_lock Configuration Failed " Any help will be appreciated. Thanks KJ Quote Link to comment Share on other sites More sharing options...
MadKAT Posted August 24, 2004 Author Report Share Posted August 24, 2004 Hi Mondo, My kernel is the one that came default with MDK 10, which is kernel-2.6.3.7mdk-1-1mdk. I'm not getting the same error message as you but, it appears it may be related. My apache version is 2.0.48. Thanks Quote Link to comment Share on other sites More sharing options...
mondo Posted August 25, 2004 Report Share Posted August 25, 2004 Hi MadKAT, I read some place that the problem might be related to kernel (2.6.3-7mdk) which came with MDK 10.0. Please, please tell me the procedure how-to get apache version 2.0.48. I tried urpmi update but with no luck. I will really appreciate your help here. Thanks KJ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.