From: Eric W. <er...@fn...> - 2003-04-13 03:56:43
|
Note to self: Don't make any mistakes in configureing virtual servers. 8-) That still doesn't seem to address the issue of getting the wrong web site when accessing an apache server configured with webmin, however (see my previous post) On Sat, 2003-04-12 at 21:32, Jamie Cameron wrote: > That's true, existing NameVirtualHost directives are never touched > after creation, because it is too hard to keep track of which ones > belong to which virtual host. However, that's really a separate problem .. > > - Jamie > > Eric Wieling wrote: > > Deleting a virtual host in Webmin doesn't remove the NameVirtualHost > > directive from the httpd.conf. I made a typo on the address of a > > virtual host I added and when I removed it it didn't remove the > > NameVirtualHost directive with the bad address on it. I removed it, > > because when I changed the address it didn't seem to take effect. > > > > On Sat, 2003-04-12 at 19:38, Jamie Cameron wrote: > > > >>Thanks for the files. I see the problem now - Webmin created an extra > >>un-needed Listen directive, which caused Apache to fail to start. To > >>remove it, click on Networking and Addresses in the Apache module and > >>select None in the second row of the 'Listen on addresses and ports' > >>table. > >> > >>An update to prevent this from happening again is availabe from > >>http://www.webmin.com/updates.html . > >> > >> - Jamie > >> > >>Eric Wieling wrote: > >> > >>>BTW, the files I sent you earlier were ENTIRELY managed by webmin and > >> > >>created during the rpm install for httpd on the Redhat 9 box. > >> > >>>On Fri, 2003-04-11 at 20:26, Jamie Cameron wrote: > >>> > >>> > >>>>Eric Wieling wrote: > >>>> > >>>> > >>>>>On Wed, 2003-04-09 at 18:53, Jamie Cameron wrote: > >>>>> > >>>>> > >>>>> > >>>>>>Eric Wieling <er...@fn...> wrote .. > >>>>>> > >>>>>> > >>>>>> > >>>>>>>I have two problems with Webmin on Redhat 9. The first is the webmin is > >>>>>>>not seeing the SSLeay.pm perl module. Here is the error message: > >>>>>>> > >>>>>>>Can't locate Net/SSLeay.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi > >>>>>>>/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > >>>>>>>/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at (eval > >>>>>>>10) line 2. > >>>>>>>BEGIN failed--compilation aborted at (eval 10) line 2. > >>>>>>> > >>>>>>>The RH9 rpm name is perl-Crypt-SSLeay-0.45-7.i386.rpm and installs the > >>>>>>>following > >>>>>>> > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Crypt/SSLeay.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Crypt/SSLeay/CTX.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Crypt/SSLeay/Conn.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Crypt/SSLeay/Err.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Crypt/SSLeay/MainContext.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Crypt/SSLeay/X509.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Net/SSL.pm > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Crypt/SSLeay/SSLeay.bs > >>>>>>>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Crypt/SSLeay/SSLeay.so > >>>>>>>/usr/share/man/man3/Crypt::SSLeay.3pm.gz > >>>>>> > >>>>>>Crypt::SSLeay is actually a different module which just has a similar name. > >>>>>>The one you need is Net::SSLeay. > >>>>> > >>>>> > >>>>>Then Redhat 9 apparently does not ship with the required stuff. Here is > >>>>>a find on the directory I have all three of the Redhat 9 CD's mounted > >>>>>on. > >>>>> > >>>>>[eric@dhcp-1 Redhat-9]$ find . -name "*SSLeay*" -print > >>>>>./Disk2/RedHat/RPMS/perl-Crypt-SSLeay-0.45-7.i386.rpm > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>>The second problem is with the Apache WebMin module. If I use this module > >>>>>>>to > >>>>>>>add name based virtual servers I get the following message: > >>>>>>> > >>>>>>>Starting httpd: (98)Address already in use: make_sock: could not bind to > >>>>>>>address 0.0.0.0:80 > >>>>>>>no listening sockets available, shutting down > >>>>>>> > >>>>>>>This is after doing a fresh install of the httpd RPM (apache) on RH9. > >>>>>> > >>>>>>Looks like something is already listening on port 80. Does webmin still show > >>>>>>the 'Start Apache' link even though Apache is actually already running? > >>>>>>You can find out which process is on that port by using the port search feature > >>>>>>of the Running Processes module .. > >>>>> > >>>>> > >>>>>Doesn't look like anything is listening on port 80. As you can see > >>>>>below. > >>>>> > >>>>>[root@newweb root]# service httpd stop > >>>>>Stopping httpd: [FAILED] > >>>>>[root@newweb root]# netstat -a > >>>>>Active Internet connections (servers and established) > >>>>>Proto Recv-Q Send-Q Local Address Foreign Address > >>>>>State > >>>>>tcp 0 0 *:10000 *:* > >>>>>LISTEN > >>>>>tcp 0 0 *:ssh *:* > >>>>>LISTEN > >>>>>tcp 0 48 63.173.166.96:ssh dsl092-207-122.se:38389 > >>>>>ESTABLISHED > >>>>>udp 0 0 *:10000 *:* > >>>>>Active UNIX domain sockets (servers and established) > >>>>>Proto RefCnt Flags Type State I-Node Path > >>>>>unix 5 [ ] DGRAM 746 /dev/log > >>>>>unix 2 [ ] DGRAM 30278 > >>>>>unix 2 [ ] DGRAM 1094 > >>>>>unix 2 [ ] DGRAM 754 > >>>>>[root@newweb root]# service httpd start > >>>>>Starting httpd: (98)Address already in use: make_sock: could not bind to > >>>>>address 0.0.0.0:80 > >>>>>no listening sockets available, shutting down > >>>>> [FAILED] > >>>> > >>>>It's possible that webmin has erroneously put something into the > >>>>Apache config file that is causing this problem, such as two > >>>>conflicting Listen statements. Would it be possible for you to email > >>>>your httpd.conf file to me at jca...@we... to debug this? > >>>> > >>>> - Jamie > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- BTEL Consulting 504-595-3916x2111 (Experimental) 850-484-4535 (Office) 877-552-0838 (Cell) |