From: Jeremy R. <jer...@te...> - 2002-06-09 02:01:31
|
> It sounds like webmin is not looking at the right httpd executable on your system.. Try clicking on > Module Config and making sure the 'Path to httpd executable' option is set to > /usr/local/apache/bin/httpd , and leave the 'Apache version' as 'Work out automatically' . I changed the path to the httpd executable to /usr/local/apache/bin/httpd (it was set to /usr/sbin/httpd) and it didn't update even after restarting. Here are my settings under the Module Config page: Apache server root directory: /etc/httpd Path to httpd executable: /usr/local/apache/bin/httpd Path to the apachectl command None Command to start apache /etc/rc.d/init.d/httpd start Command to stop apache /etc/rc.d/init.d/httpd stop Display virtual servers as Icons Order virtual servers by: Server name Maximum number of servers to display: 100 Path to httpd.conf Automatic Path to srm.conf Automatic Path to access.conf Automatic Path to mime.types /etc/mime.types File to add virtual servers to httpd.conf Test config file before applying changes? Yes Does everything look correct? Best Regards, Jeremy -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Jeremy R. <jer...@te...> - 2002-06-09 03:09:56
|
> That all looks correct to me. One more thing you should try is deleting the > file /etc/webmin/apache/site , which caches the version number and apache modules. > It may have gotten out of date .. Here's what was in the site file: modules=core/1.324 mod_access/1.324 mod_actions/1.324 mod_alias/1.324 mod_asis/1.324 mod_auth/1.324 mod_autoindex/1.324 mod_cgi/1.324 mod_dir/1.324 mod_env/1.324 mod_imap/1.324 mod_include/1.324 mod_info/1.324 mod_log_agent/1.324 mod_log_config/1.324 mod_log_referer/1.324 mod_mime/1.324 mod_negotiation/1.324 mod_perl/1.324 mod_php/1.324 mod_php3/1.324 mod_php4/1.324 mod_setenvif/1.324 mod_ssl/1.324 mod_status/1.324 mod_userdir/1.324 mod_vhost_alias/1.324 size=395140 I deleted it and unfortunately, it's still showing up 1.3.20. I also checked the config file in the /etc/webmin/apache directory and it is showing: httpd_version=1.3.24 httpd_conf= start_cmd=/etc/rc.d/init.d/httpd start max_servers=100 stop_cmd=/etc/rc.d/init.d/httpd stop virt_file= mime_types=/etc/mime.types apachectl_path= httpd_dir=/etc/httpd srm_conf= show_order=1 test_config=1 defines=HAVE_PERL HAVE_PHP HAVE_PHP3 HAVE_PHP4 HAVE_DAV HAVE_ROAMING HAVE_SSL SSL httpd_path=/usr/local/apache/bin/httpd show_list=0 access_conf= It's strange that there's all these references of 1.3.24 and 1.3.20 keeps showing up. Do you have anymore ideas? Best Regards, Jeremy Reed -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Jamie C. <jca...@we...> - 2002-06-09 03:37:36
|
Jeremy Reed wrote: >>That all looks correct to me. One more thing you should try is deleting the >>file /etc/webmin/apache/site , which caches the version number and apache modules. >>It may have gotten out of date .. >> > > Here's what was in the site file: > > modules=core/1.324 mod_access/1.324 mod_actions/1.324 mod_alias/1.324 mod_asis/1.324 mod_auth/1.324 mod_autoindex/1.324 mod_cgi/1.324 mod_dir/1.324 mod_env/1.324 mod_imap/1.324 mod_include/1.324 mod_info/1.324 mod_log_agent/1.324 mod_log_config/1.324 mod_log_referer/1.324 mod_mime/1.324 mod_negotiation/1.324 mod_perl/1.324 mod_php/1.324 mod_php3/1.324 mod_php4/1.324 mod_setenvif/1.324 mod_ssl/1.324 mod_status/1.324 mod_userdir/1.324 mod_vhost_alias/1.324 > size=395140 > > I deleted it and unfortunately, it's still showing up 1.3.20. I also checked the config file in the /etc/webmin/apache directory and it is showing: > > httpd_version=1.3.24 > httpd_conf= > start_cmd=/etc/rc.d/init.d/httpd start > max_servers=100 > stop_cmd=/etc/rc.d/init.d/httpd stop > virt_file= > mime_types=/etc/mime.types > apachectl_path= > httpd_dir=/etc/httpd > srm_conf= > show_order=1 > test_config=1 > defines=HAVE_PERL HAVE_PHP HAVE_PHP3 HAVE_PHP4 HAVE_DAV HAVE_ROAMING HAVE_SSL SSL > httpd_path=/usr/local/apache/bin/httpd > show_list=0 > access_conf= > > It's strange that there's all these references of 1.3.24 and 1.3.20 keeps showing up. Do you have anymore ideas? Very strange, because the version number should come from the site file. You're not using a clone of the apache module by any chance? And I presume you are using the latest webmin release? - Jamie |
From: Jeremy R. <jer...@te...> - 2002-06-09 03:49:43
|
> Very strange, because the version number should come from the site file. > You're not using a clone of the apache module by any chance? And I presume you are using > the latest webmin release? No, I deleted the Apache module and downloaded a new one from the Webmin site, uploaded it, and re-installed it. Yes, I'm using the latest Webmin release. Best Regards, Jeremy -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Jeppe U. J. <ar...@nx...> - 2002-06-09 07:32:16
|
> No, I deleted the Apache module and downloaded a new one from the Webmin site, uploaded it, and re-installed it. > > Yes, I'm using the latest Webmin release. > > Have you tried to wipe your browser cache ? I've experienced som weird errors related to IE not being 'nice' /Jeppe Uhd Jepsen - NX |
From: Jamie C. <jca...@we...> - 2002-06-09 10:08:50
|
Jeremy Reed wrote: >>Very strange, because the version number should come from the site file. >>You're not using a clone of the apache module by any chance? And I presume you are using >>the latest webmin release? >> > > No, I deleted the Apache module and downloaded a new one from the Webmin site, uploaded it, and re-installed it. > > Yes, I'm using the latest Webmin release. Well, I'm totally confused because the version shown on the main page definately comes from the site file :( Unless your browser is caching the page or something, I have no idea where that 1.3.20 is coming from! Fortunately it doesn't matter much in terms of the functionality of the module, because if the site file is what determines which apache directives the module will edit. - Jamie |
From: Jeremy R. <jer...@te...> - 2002-06-09 13:35:56
|
> Well, I'm totally confused because the version shown on the main page definately comes from the > site file :( Unless your browser is caching the page or something, I have no idea where that > 1.3.20 is coming from! Fortunately it doesn't matter much in terms of the functionality of the > module, because if the site file is what determines which apache directives the module will > edit. To make sure my browser wasn't caching the page I tried going to it in Netscape, since I always use IE, and it also shows 1.3.20. I even switched the Webmin template back to the default to make sure the problem wasn't due to the template I was using, and it is showing 'Apache version 1.324' at the top of the page under Apache Webserver. Do you think if I tried uninstalling then re-installing Webmin it would fix the problem? Best Regards, Jeremy Reed -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Jamie C. <jca...@we...> - 2002-06-09 14:18:41
|
Jeremy Reed wrote: >>Well, I'm totally confused because the version shown on the main page definately comes from the >>site file :( Unless your browser is caching the page or something, I have no idea where that >>1.3.20 is coming from! Fortunately it doesn't matter much in terms of the functionality of the >>module, because if the site file is what determines which apache directives the module will >>edit. >> > > To make sure my browser wasn't caching the page I tried going to it in Netscape, since I always use IE, and it also shows 1.3.20. > > I even switched the Webmin template back to the default to make sure the problem wasn't due to the template I was using, and it is showing 'Apache version 1.324' at the top of the page under Apache Webserver. Was that a typo, or did switching themes actually solve the problem? > Do you think if I tried uninstalling then re-installing Webmin it would fix the problem? It would definately be worth a try .. - Jamie |
From: Jeremy R. <jer...@te...> - 2002-06-09 14:29:08
|
> > I even switched the Webmin template back to the default to make sure the problem wasn't due to the template I was using, and it is showing 'Apache version 1.324' at the top of the page under Apache Webserver. > > > Was that a typo, or did switching themes actually solve the problem? Sorry about that...I wasn't clear enough. After I switched themes, it displayed the correct version at the top of Webmin (the other template I was using didn't display any version #). But when I run the perldiver.pl script that shows all the server info, or when I lookup my site using www.netcraft.com, it still says 1.3.20. Best Regards, Jeremy Reed -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Jeppe U. J. <ar...@nx...> - 2002-06-09 15:39:30
|
> Sorry about that...I wasn't clear enough. After I switched themes, it displayed the correct version at the top of Webmin (the other template I was using didn't display any version #). But when I run the perldiver.pl script that shows all the server info, or when I lookup my site using www.netcraft.com, it still says 1.3.20. > If netcraft says 1.3.20, it -is- that version that's running... It finds the version by querying your server... It's probably because the old version is still haunting you in some startupscript... /Jeppe Uhd Jepsen - NX |
From: Jeremy R. <jer...@te...> - 2002-06-09 19:34:15
|
> It's probably because the old version is still haunting you in some > startupscript... Yeah this is what somebody else told me in another forum: >> The starting script you use is pointing to the old version. So edit the starting script to run the new version. Which file do I need to modify to make this change? Best Regards, Jeremy Reed -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Jeppe U. J. <ar...@nx...> - 2002-06-09 20:10:03
|
> >> The starting script you use is pointing to the old version. So edit the starting script to run the new version. > > Which file do I need to modify to make this change? > In slackware: /etc/rc.d/rc.httpd In redhat: some file with apache in its name under /etc/init.d (redhat gurus: correct me if i'm wrong...) /Jeppe Uhd Jepsen - NX |
From: Jeremy R. <jer...@te...> - 2002-06-10 16:09:31
|
> In redhat: some file with apache in its name under /etc/init.d (redhat > gurus: correct me if i'm wrong...) You were close....Jeppe, in Red Hat it is located in /etc/rc.d/init.d/httpd. I tried replacing /usr/sbin/httpd with /usr/local/apache/bin/httpd in the file above and when I went to restart Apache in Webmin it said: Failed to start apache : Starting httpd: [60G[ [1;32mOK[0;39m ] When I changed it back to /usr/sbin/httpd, it started. I have /usr/local/apache/bin/httpd listed in the Apache Module Config page next to Path to httpd executable and it doesn't cause any problems there. I tried changing it to /usr/sbin/httpd and it started showing 1.320 at the top of the Apache Webserver page instead of 1.3.24 like it did when I had /usr/local/apache/bin/httpd. Any ideas why the startup script won't work when I have /usr/local/apache/bin/httpd? This seems to be what I need to have in there in order for the correct version # to show up. Best Regards, Jeremy Reed -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup |
From: Joe C. <jo...@sw...> - 2002-06-10 16:36:49
|
Jeremy Reed wrote: >>In redhat: some file with apache in its name under /etc/init.d (redhat >>gurus: correct me if i'm wrong...) > > > You were close....Jeppe, in Red Hat it is located in /etc/rc.d/init.d/httpd. /etc/rc.d/init.d has a link from /etc/init.d, so you can refer to either on a default Red Hat 7.x system. Old habits, though...I still always type /etc/rc.d/init.d just because I've been doing it for so long. -- Joe Cooper <jo...@sw...> Web caching appliances and support. http://www.swelltech.com |
From: Jeppe U. J. <ar...@nx...> - 2002-06-10 18:32:42
|
> Any ideas why the startup script won't work when I have /usr/local/apache/bin/httpd? This seems to be what I need to have in there in order for the correct version # to show up. Maybe the new version want's to be started from apachectl ??? /Jeppe Uhd Jepsen - NX |
From: Jamie C. <jca...@we...> - 2002-06-09 02:53:59
|
Jeremy Reed wrote: >>It sounds like webmin is not looking at the right httpd executable on your system.. Try clicking on >>Module Config and making sure the 'Path to httpd executable' option is set to >>/usr/local/apache/bin/httpd , and leave the 'Apache version' as 'Work out automatically' . >> > > I changed the path to the httpd executable to /usr/local/apache/bin/httpd (it was set to /usr/sbin/httpd) and it didn't update even after restarting. > > Here are my settings under the Module Config page: > > Apache server root directory: /etc/httpd > Path to httpd executable: /usr/local/apache/bin/httpd > Path to the apachectl command None > Command to start apache /etc/rc.d/init.d/httpd start > Command to stop apache /etc/rc.d/init.d/httpd stop > Display virtual servers as Icons > Order virtual servers by: Server name > Maximum number of servers to display: 100 > Path to httpd.conf Automatic > Path to srm.conf Automatic > Path to access.conf Automatic > Path to mime.types /etc/mime.types > File to add virtual servers to httpd.conf > Test config file before applying changes? Yes > > Does everything look correct? That all looks correct to me. One more thing you should try is deleting the file /etc/webmin/apache/site , which caches the version number and apache modules. It may have gotten out of date .. - Jamie |