|
From: RYAN M. v. G. <lu...@co...> - 2006-04-03 07:49:15
|
----- Jamie Cameron <jca...@we...> wrote: > On 2/Apr/2006 16:53 RYAN vAN GINNEKEN wrote .. > > Jamie Cameron wrote: > > > > >On 2/Apr/2006 03:22 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > >>Hello again all i have another question i cannot get my bandwidth > module > > >>to work either with webmin or with virtual webmin. I turned it on > in > > both > > >>and set the type to ipfirewall in the bandwidth module config but > it > > always > > >>states there is no data collected. > > >> > > >>ps it has been on for a month should be some data by now? > > >> > > >> > > > > > >It certainly should have! > > >You are using FreeBSD there, right? > > > > > Yes Sir > > > > > If you go to the IPFW module, does it > > >show logging rules created by the Bandwidth Module? > > > > > Not sure i have alot of rules what am i looking for exactly? > > It should be one that allows traffic from anywhere to anywhere via > the selected interface, and has logging enabled. > Looks like webmin has added the nessary lines would these be them log level local7.debug out on xl0 all log level local7.debug in on xl0 all ps thank for all your help Jamie hope i am not being to bothersome. Webmin is great it was way to much for me at first, where to begin i was overwelmed it could do everything for me. At the same time I could see how much time and patients it was going to take. With your help it is turning out to be a life saver i mean clicking create virtual domain and watching virtual min do everything for me makes me smile ear to ear THANKS. |
|
From: RYAN v. G. <lu...@co...> - 2006-04-03 08:20:56
|
noticed this in /etc/syslog local7.debug /var/log/bandwidth !startslip *.* /var/log/slip.log !ppp *.* /var/log/ppp.log There was some stuff (not much about 50 lines)in /var/log/bandwidth but when i did update statistics is seemed to disappear Aha solved that part it was the default Directory for bandwidth data /etc/webmin/bandwidth/hours on bsd it is /usr/local/etc/webmin/bandwidth i tried the hours part but i does not exist should be fine in the fore mentioned dir right? Still seems weird that all i get is dhcp crap wait a minute thats xll thats not right at all xll is my inside interface. Should be logging xl0 according the lines added to ifp.rules what is groin on. Apr 3 02:01:39 tokyo dhcpd: DHCPREQUEST for 192.168.0.24 from 00:02:2d:56:7e:f4 Apr 3 02:01:39 tokyo dhcpd: DHCPACK on 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO Apr 3 02:02:35 tokyo dhcpd: DHCPREQUEST for 192.168.0.10 from 00:0a:5e:51:71:48 Apr 3 02:02:35 tokyo dhcpd: DHCPACK on 192.168.0.10 to 00:0a:5e:51:71:48 via xl Apr 3 02:06:39 tokyo dhcpd: Wrote 0 deleted host decls to leases file. Apr 3 02:06:39 tokyo dhcpd: Wrote 0 new dynamic host decls to leases file. Apr 3 02:06:39 tokyo dhcpd: Wrote 21 leases to leases file. Apr 3 02:06:39 tokyo dhcpd: DHCPREQUEST for 192.168.0.24 from 00:02:2d:56:7e:f4 Apr 3 02:06:39 tokyo dhcpd: DHCPACK on 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO Apr 3 02:07:35 tokyo dhcpd: DHCPREQUEST for 192.168.0.10 from 00:0a:5e:51:71:48 Apr 3 02:07:35 tokyo dhcpd: DHCPACK on 192.168.0.10 to 00:0a:5e:51:71:48 via xl Apr 3 02:11:39 tokyo dhcpd: DHCPREQUEST for 192.168.0.24 from 00:02:2d:56:7e:f4 Apr 3 02:11:39 tokyo dhcpd: DHCPACK on 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPT ----- Jamie Cameron <jca...@we...> wrote: > On 2/Apr/2006 16:53 RYAN vAN GINNEKEN wrote .. > > Jamie Cameron wrote: > > > > >On 2/Apr/2006 03:22 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > >>Hello again all i have another question i cannot get my bandwidth > module > > >>to work either with webmin or with virtual webmin. I turned it on > in > > both > > >>and set the type to ipfirewall in the bandwidth module config but > it > > always > > >>states there is no data collected. > > >> > > >>ps it has been on for a month should be some data by now? > > >> > > >> > > > > > >It certainly should have! > > >You are using FreeBSD there, right? > > > > > Yes Sir > > > > > If you go to the IPFW module, does it > > >show logging rules created by the Bandwidth Module? > > > > > Not sure i have alot of rules what am i looking for exactly? > > It should be one that allows traffic from anywhere to anywhere via > the selected interface, and has logging enabled. > Looks like webmin has added the nessary lines would these be them log level local7.debug out on xl0 all log level local7.debug in on xl0 all ps thank for all your help Jamie hope i am not being to bothersome. Webmin is great it was way to much for me at first, where to begin i was overwelmed it could do everything for me. At the same time I could see how much time and patients it was going to take. With your help it is turning out to be a life saver i mean clicking create virtual domain and watching virtual min do everything for me makes me smile ear to ear THANKS. |
|
From: Jamie C. <jca...@we...> - 2006-04-03 16:39:28
|
Hi Ryan, If logging is workign properly, you should see each packet that goes via xl0 logged to /var/log/bandwidth. This file then gets periodically truncated and summarized into the /etc/webmin/bandwidth/hours directory, so that it can be viewed in the Bandwidth Module. Is anything being written to /var/log/bandwidth on your system? - Jamie On 3/Apr/2006 03:20 RYAN vAN GINNEKEN wrote .. > noticed this in /etc/syslog > local7.debug /var/log/bandwidth > !startslip > *.* > /var/log/slip.log > !ppp > *.* > /var/log/ppp.log > > > There was some stuff (not much about 50 lines)in > /var/log/bandwidth but when i did update > statistics is seemed to disappear > > Aha solved that part it was the default Directory > for bandwidth data /etc/webmin/bandwidth/hours on > bsd it is /usr/local/etc/webmin/bandwidth i tried > the hours part but i does not exist should be fine > in the fore mentioned dir right? > > Still seems weird that all i get is dhcp crap wait > a minute thats xll thats not right at all xll is > my inside interface. Should be logging xl0 > according the lines added to ifp.rules what is > groin on. > > Apr 3 02:01:39 tokyo dhcpd: DHCPREQUEST for > 192.168.0.24 from 00:02:2d:56:7e:f4 > Apr 3 02:01:39 tokyo dhcpd: DHCPACK on > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO > Apr 3 02:02:35 tokyo dhcpd: DHCPREQUEST for > 192.168.0.10 from 00:0a:5e:51:71:48 > Apr 3 02:02:35 tokyo dhcpd: DHCPACK on > 192.168.0.10 to 00:0a:5e:51:71:48 via xl > Apr 3 02:06:39 tokyo dhcpd: Wrote 0 deleted host > decls to leases file. > Apr 3 02:06:39 tokyo dhcpd: Wrote 0 new dynamic > host decls to leases file. > Apr 3 02:06:39 tokyo dhcpd: Wrote 21 leases to > leases file. > Apr 3 02:06:39 tokyo dhcpd: DHCPREQUEST for > 192.168.0.24 from 00:02:2d:56:7e:f4 > Apr 3 02:06:39 tokyo dhcpd: DHCPACK on > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO > Apr 3 02:07:35 tokyo dhcpd: DHCPREQUEST for > 192.168.0.10 from 00:0a:5e:51:71:48 > Apr 3 02:07:35 tokyo dhcpd: DHCPACK on > 192.168.0.10 to 00:0a:5e:51:71:48 via xl > Apr 3 02:11:39 tokyo dhcpd: DHCPREQUEST for > 192.168.0.24 from 00:02:2d:56:7e:f4 > Apr 3 02:11:39 tokyo dhcpd: DHCPACK on > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPT > > > ----- Jamie Cameron <jca...@we...> wrote: > > On 2/Apr/2006 16:53 RYAN vAN GINNEKEN wrote .. > > > Jamie Cameron wrote: > > > > > > >On 2/Apr/2006 03:22 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > > > > >>Hello again all i have another question i cannot get my bandwidth > > module > > > >>to work either with webmin or with virtual webmin. I turned it on > > in > > > both > > > >>and set the type to ipfirewall in the bandwidth module config but > > it > > > always > > > >>states there is no data collected. > > > >> > > > >>ps it has been on for a month should be some data by now? > > > >> > > > >> > > > > > > > >It certainly should have! > > > >You are using FreeBSD there, right? > > > > > > > Yes Sir > > > > > > > If you go to the IPFW module, does it > > > >show logging rules created by the Bandwidth Module? > > > > > > > Not sure i have alot of rules what am i looking for exactly? > > > > It should be one that allows traffic from anywhere to anywhere via > > the selected interface, and has logging enabled. > > > Looks like webmin has added the nessary lines > would these be them > > > log level local7.debug out on xl0 all > log level local7.debug in on xl0 all > > ps thank for all your help Jamie hope i am not > being to bothersome. Webmin is great it was way > to much for me at first, where to begin i was > overwelmed it could do everything for me. At the > same time I could see how much time and patients > it was going to take. With your help it is > turning out to be a life saver i mean clicking > create virtual domain and watching virtual min do > everything for me makes me smile ear to ear THANKS. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 |
|
From: Hamid H. <ha...@mo...> - 2006-04-06 05:48:49
|
Hi ,
in virtualmin if one of virtual server owner delete the public_html and
logs directory in their own home directory via FTP by mistake and the
httpd wants to restart or reload it will fail and the whole httpd goes
down for all hosts. How can I prevent it ?
--
Regards
=================================================================
/ Seyyed Hamid Reza / WINDOWS FOR NOW !! /
/ Hashemi Golpayegani / Linux for future , FreeBSD for ever /
/ Morva System Co. / ------------------------------------- /
/ Network Administrator/ ha...@mo... , ICQ# : 42209876 /
================================================================
|
|
From: Jamie C. <jca...@we...> - 2006-04-06 07:23:51
|
On 6/Apr/2006 01:00 Hamid Hashemi wrote .. > Hi , > > in virtualmin if one of virtual server owner delete the public_html and > logs directory in their own home directory via FTP by mistake and the > httpd wants to restart or reload it will fail and the whole httpd goes > down for all hosts. How can I prevent it ? Does deleting the public_html directory really cause Apache to fail to start? I know about the logs directory causing problems, which is why there is an option on the server templates page to have logs written via a program (writelogs.pl) to avoid exactly this problem.. - Jamie |
|
From: Hamid H. <ha...@mo...> - 2006-04-06 08:22:08
|
You are right. Deleting the public_html directoy just make the apache to give a warning in log file but I didn't know about the writelogs.pl to solve the logs problem. I will try it. Does it have the same functionality like vlogger ( http://n0rp.chemlab.org/vlogger/ ) ? I mean it won't run out of file descriptor with many virtualhosts ? Jamie Cameron wrote: > On 6/Apr/2006 01:00 Hamid Hashemi wrote .. > >> Hi , >> >> in virtualmin if one of virtual server owner delete the public_html and >> logs directory in their own home directory via FTP by mistake and the >> httpd wants to restart or reload it will fail and the whole httpd goes >> down for all hosts. How can I prevent it ? >> > > Does deleting the public_html directory really cause Apache to fail to start? > I know about the logs directory causing problems, which is why there is an > option on the server templates page to have logs written via a program (writelogs.pl) > to avoid exactly this problem.. > > - Jamie > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 > > -- Regards ================================================================= / Seyyed Hamid Reza / WINDOWS FOR NOW !! / / Hashemi Golpayegani / Linux for future , FreeBSD for ever / / Morva System Co. / ------------------------------------- / / Network Administrator/ ha...@mo... , ICQ# : 42209876 / ================================================================ |
|
From: Jamie C. <jca...@we...> - 2006-04-06 17:47:38
|
I am not familiar with vlogger .. however, there won't be any problem with file descriptors, as Apache is still opening the same number as it would have for normal logging (except that they are to pipes rather than files).<br /><br />=A0- Jamie<br /><br />On 6/Apr/2006 03:33 Hamid Hashemi wrote .. <blockquote type=3D"cite"> You=A0 are right. Deleting the public_html directoy just make the apache to give a warning in log file but I didn't know about the writelogs.pl to solve the logs problem. I will try it. Does it have the same functionality like vlogger ( <a href=3D"http://n0rp.chemlab.org/vlogger/" class=3D"moz-txt-link-freetext">http://n0rp.chemlab.org/vlogger/</a> ) ?<br /> I mean it won't run out of file descriptor with many virtualhosts ?<br /> <br /> Jamie Cameron wrote: <blockquote type=3D"cite" cite=3D"http://mail.webmin.com:20000/mailbox/mid...@ww..."> <pre>On 6/Apr/2006 01:00 Hamid Hashemi wrote ..<br /> </pre> <blockquote type=3D"cite"> <pre>Hi ,<br /><br />in virtualmin if one of virtual server owner delete the public_html and<br />logs directory in their own home directory via FTP by mistake and the <br />httpd wants to restart or reload it will fail and the whole httpd goes<br />down for all hosts. How can I prevent it ?<br /> </pre> </blockquote> <pre><!----> Does deleting the public_html directory really cause Apache to fail to start? I know about the logs directory causing problems, which is why there is an option on the server templates page to have logs written via a program (writelogs.pl) to avoid exactly this problem.. - Jamie ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! <a href=3D"http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D121642" class=3D"moz-txt-link-freetext">http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D121642</a> - Forwarded by the Webmin mailing list at <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">web...@li...</a> To remove yourself from this list, go to <a href=3D"http://lists.sourceforge.net/lists/listinfo/webadmin-list" class=3D"moz-txt-link-freetext">http://lists.sourceforge.net/lists/listinfo/webadmin-list</a> </pre> </blockquote> <br /> <pre cols=3D"72" class=3D"moz-signature">-- <br />Regards<br /> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br /> / Seyyed Hamid Reza / WINDOWS FOR NOW !! /<br /> / Hashemi Golpayegani / Linux for future , FreeBSD for ever /<br /> / Morva System Co. / ------------------------------------- /<br />/ Network Administrator/ <a href=3D"_unsafe_link_" class=3D"moz-txt-link-abbreviated">ha...@mo...</a> , ICQ# : 42209876 /<br />=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D </pre> </blockquote><br /> |
|
From: RYAN M. v. G. <lu...@co...> - 2006-04-04 07:40:12
|
----- Jamie Cameron <jca...@we...> wrote: > Hi Ryan, > If logging is workign properly, No like mentioned in my last email it is logging the wrong interface there is data showing up in the /var/log/bandwidth dir but it is xl1 not xl0. I am repeating myself here but webmin added this to /etc/syslog but is logging xl1? top of the file. log level local7.debug out on xl0 all log level local7.debug in on xl0 all this in /etc/syslog local7.debug /var/log/bandwidth See previous mail for an example of the output to /var/log/bandwidth. I have pointed webmin to this dir but there does not seem to be any contents there. /usr/local/etc/webmin/bandwidth #ls config rotate.pl > you should see each packet that > goes via xl0 logged to /var/log/bandwidth. This file then gets > periodically truncated and summarized into the > /etc/webmin/bandwidth/hours > directory, so that it can be viewed in the Bandwidth Module. > > Is anything being written to /var/log/bandwidth on your system? > > - Jamie > > On 3/Apr/2006 03:20 RYAN vAN GINNEKEN wrote .. > > noticed this in /etc/syslog > > local7.debug /var/log/bandwidth > > !startslip > > *.* > > /var/log/slip.log > > !ppp > > *.* > > /var/log/ppp.log > > > > > > There was some stuff (not much about 50 lines)in > > /var/log/bandwidth but when i did update > > statistics is seemed to disappear > > > > Aha solved that part it was the default Directory > > for bandwidth data /etc/webmin/bandwidth/hours on > > bsd it is /usr/local/etc/webmin/bandwidth i tried > > the hours part but i does not exist should be fine > > in the fore mentioned dir right? > > > > Still seems weird that all i get is dhcp crap wait > > a minute thats xll thats not right at all xll is > > my inside interface. Should be logging xl0 > > according the lines added to ifp.rules what is > > groin on. > > > > Apr 3 02:01:39 tokyo dhcpd: DHCPREQUEST for > > 192.168.0.24 from 00:02:2d:56:7e:f4 > > Apr 3 02:01:39 tokyo dhcpd: DHCPACK on > > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO > > Apr 3 02:02:35 tokyo dhcpd: DHCPREQUEST for > > 192.168.0.10 from 00:0a:5e:51:71:48 > > Apr 3 02:02:35 tokyo dhcpd: DHCPACK on > > 192.168.0.10 to 00:0a:5e:51:71:48 via xl > > Apr 3 02:06:39 tokyo dhcpd: Wrote 0 deleted host > > decls to leases file. > > Apr 3 02:06:39 tokyo dhcpd: Wrote 0 new dynamic > > host decls to leases file. > > Apr 3 02:06:39 tokyo dhcpd: Wrote 21 leases to > > leases file. > > Apr 3 02:06:39 tokyo dhcpd: DHCPREQUEST for > > 192.168.0.24 from 00:02:2d:56:7e:f4 > > Apr 3 02:06:39 tokyo dhcpd: DHCPACK on > > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO > > Apr 3 02:07:35 tokyo dhcpd: DHCPREQUEST for > > 192.168.0.10 from 00:0a:5e:51:71:48 > > Apr 3 02:07:35 tokyo dhcpd: DHCPACK on > > 192.168.0.10 to 00:0a:5e:51:71:48 via xl > > Apr 3 02:11:39 tokyo dhcpd: DHCPREQUEST for > > 192.168.0.24 from 00:02:2d:56:7e:f4 > > Apr 3 02:11:39 tokyo dhcpd: DHCPACK on > > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPT > > > > > > ----- Jamie Cameron <jca...@we...> wrote: > > > On 2/Apr/2006 16:53 RYAN vAN GINNEKEN wrote .. > > > > Jamie Cameron wrote: > > > > > > > > >On 2/Apr/2006 03:22 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > > > > > > > >>Hello again all i have another question i cannot get my > bandwidth > > > module > > > > >>to work either with webmin or with virtual webmin. I turned > it on > > > in > > > > both > > > > >>and set the type to ipfirewall in the bandwidth module config > but > > > it > > > > always > > > > >>states there is no data collected. > > > > >> > > > > >>ps it has been on for a month should be some data by now? > > > > >> > > > > >> > > > > > > > > > >It certainly should have! > > > > >You are using FreeBSD there, right? > > > > > > > > > Yes Sir > > > > > > > > > If you go to the IPFW module, does it > > > > >show logging rules created by the Bandwidth Module? > > > > > > > > > Not sure i have alot of rules what am i looking for exactly? > > > > > > It should be one that allows traffic from anywhere to anywhere > via > > > the selected interface, and has logging enabled. > > > > > Looks like webmin has added the nessary lines > > would these be them > > > > > > log level local7.debug out on xl0 all > > log level local7.debug in on xl0 all > > > > ps thank for all your help Jamie hope i am not > > being to bothersome. Webmin is great it was way > > to much for me at first, where to begin i was > > overwelmed it could do everything for me. At the > > same time I could see how much time and patients > > it was going to take. With your help it is > > turning out to be a life saver i mean clicking > > create virtual domain and watching virtual min do > > everything for me makes me smile ear to ear THANKS. > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > - > > 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > 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 -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton |
|
From: Jamie C. <jca...@we...> - 2006-04-04 16:41:42
|
On 4/Apr/2006 02:39 RYAN M. vAN GINNEKEN wrote .. > > ----- Jamie Cameron <jca...@we...> wrote: > > Hi Ryan, > > If logging is workign properly, > > No like mentioned in my last email it is logging the wrong interface there > is data showing up in the /var/log/bandwidth dir but it is xl1 not xl0. > I am repeating myself here but webmin added this to /etc/syslog but is > logging xl1? top of the file. > > log level local7.debug out on xl0 all > log level local7.debug in on xl0 all > > this in /etc/syslog > > local7.debug /var/log/bandwidth > > See previous mail for an example of the output to /var/log/bandwidth. > > I have pointed webmin to this dir but there does not seem to be any contents > there. > > /usr/local/etc/webmin/bandwidth #ls > config rotate.pl I can't see why traffic on xl1 would be logged, as those rules clearly mention xl0 as the interface .. although perhaps someone can point out an error in those IPFW rules. - Jamie |