dgwebminmodule-users Mailing List for DansGuardian Webmin Module (Page 5)
Brought to you by:
fuzzbawl
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(4) |
Aug
(2) |
Sep
(8) |
Oct
(1) |
Nov
|
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2004 |
Jan
(4) |
Feb
|
Mar
(2) |
Apr
(2) |
May
(7) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
(1) |
| 2005 |
Jan
(1) |
Feb
(1) |
Mar
(12) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
(4) |
| 2006 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(9) |
| 2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
(2) |
Feb
(1) |
Mar
(6) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(3) |
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
|
From: Adam K. <ake...@ni...> - 2002-09-03 19:36:51
|
What your trying to do is a system config issue, not webmin :)
On slackware systems, and most other linux systems, modify the
/etc/ld.so.conf file.
In that file on a new line put /usr/local/lib
Save the file and exit your file editor. Then run the command 'ldconfig'
without the quotes.
That will tell your system programs where they can find libraries.
Webmin doesn't look for libraries at all. Your fix to the webmin module
will work only because it's setting environment variables so the DG
program knows where to look for it's libs. Once you do the above config
change, then you could take out the changes to the module.
-Adam
Tim Simpson wrote:
> What I ended up doing was the following
>
> in these scripts index.cgi, restart.cgi, start.cgi, status.cgi, stop.cgi I
> added the following code
>
> $ENV{'LD_LIBRARY_PATH'} ="/usr/local/lib";
>
> before the call to the binary program
>
> Not knowing webmin at all I had already tried adding to the webmin startup
> script, to a couple of webmin perl routines which seem to be called by most of
> the code but none of these worked.
>
> It would be useful if this could be added as some sort of config option
>
> On a slightly different matter I editted the webmin config file by hand to set
> the variables, but was puzzled to see that they did not appear to have any
> affect , it was not until I used the webmin option to configure dansguardian
> that the variables seemed to work, is this normal webmin behaviour or am I
> missing a step somewhere?
>
> Tim
--
------------------------------------------------
| Northern Indiana Educational Services Center |
------------------------------------------------
| Adam Kennedy - ake...@ni... |
| Certified Linux Administrator - Master Level |
| Phone: (574) 254-0111 x113 |
| Fax: (574) 254-0148 |
------------------------------------------------
|
|
From: Tim S. <tsi...@du...> - 2002-09-03 08:45:07
|
Daniel Barron (02/09/2002 23:08):
>In message <02A...@ga...> you wrote:
>
>>
>> Hello,
>>
>> I have just downloaded the webmin module for Dansguardian
>>
>> I am running on Solaris 8
>>
>> with Dansguardian=20in /usr/local/dansguardian
>>
>> I cannot start the webmin module because the shared library dansguardian
>> needs is in /usr/local/lib
>>
>> how can I set LD=5FLIBRARY=5FPATH correctly so that it can be passed to=
the
>> webmin module
>
>I don't know the module but the normal way to pass a variable on like that
>is to:
>
>LD=5FLIBRARY=5FPATH=3D/usr/local/lib
>export LD=5FLIBRARY=5FPATH
>/usr/local/dansguardian/bin/dansguardian
>
>In some sh or bash script should work. You might need to mod the webmin
>module code to add this...
>
What I ended up doing was the following
in these scripts index.cgi, restart.cgi, start.cgi, status.cgi, stop.cgi I
added the following code
$ENV{'LD=5FLIBRARY=5FPATH'} =3D"/usr/local/lib";
before the call to the binary program
Not knowing webmin at all I had already tried adding to the webmin startup
script, to a couple of webmin perl routines which seem to be called by most=
of
the code but none of these worked.
It would be useful if this could be added as some sort of config option
On a slightly different matter I editted the webmin config file by hand to=
set
the variables, but was puzzled to see that they did not appear to have any
affect , it was not until I used the webmin option to configure dansguardian
that the variables seemed to work, is this normal webmin behaviour or am I
missing a step somewhere=3F
Tim
|
|
From: Daniel B. <dg...@ja...> - 2002-09-02 23:08:20
|
In message <02A...@ga...> you wrote: > > Hello, > > I have just downloaded the webmin module for Dansguardian > > I am running on Solaris 8 > > with Dansguardian in /usr/local/dansguardian > > I cannot start the webmin module because the shared library dansguardian > needs is in /usr/local/lib > > how can I set LD_LIBRARY_PATH correctly so that it can be passed to the > webmin module I don't know the module but the normal way to pass a variable on like that is to: LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH /usr/local/dansguardian/bin/dansguardian In some sh or bash script should work. You might need to mod the webmin module code to add this... -- Daniel Barron No group of professionals meets except to conspire against the public at large. -- Mark Twain. |
|
From: Tim S. <tsi...@du...> - 2002-08-28 12:51:04
|
Hello, I have just downloaded the webmin module for Dansguardian I am running on Solaris 8 with Dansguardian in /usr/local/dansguardian I cannot start the webmin module because the shared library dansguardian ne= eds is in /usr/local/lib how can I set LD=5FLIBRARY=5FPATH correctly so that it can be passed to the= webmin module Tim |
|
From: Adam K. <ake...@ni...> - 2002-08-01 22:01:09
|
I've released version 0.3.6 as the latest stable. Here's the ChangeLog: 0.3.6: - Fixed error under FreeBSD where the log file for DG isn't named access.log - Fixed bug where pics file didn't have an "edit" link - Renamed module title to "DansGuardian 2.4" instead of "Manage DansGuardian 2.4.x", it's easier to find/read this way You can get it on the sourceforge project page: <a href="http://sourceforge.net/projects/dgwebminmodule/">SourceForge Project Page for dgwebminmodule</a> Thanks to those who have helped! And thanks to those who find bugs! -- ------------------------------------------------ | Northern Indiana Educational Services Center | ------------------------------------------------ | Adam Kennedy - ake...@ni... | | Certified Linux Administrator - Master Level | | Phone: (574) 254-0111 x113 | | Fax: (574) 254-0148 | ------------------------------------------------ |
|
From: Freddie C. <fc...@sd...> - 2002-07-29 18:01:30
|
Just a head's up that I've posted a bug report and feature request to the= =20 Sourceforge trackers. Just in case people don't check them regularly. := ) --=20 Freddie fc...@sd... |
|
From: Adam K. <ake...@ni...> - 2002-07-10 13:28:36
|
What do you all think about the new log analyzer script? I've given it thought to integrate it into the module and remove the other one. Let me know what you think. Also, if anyone knows perl and would like to assist with the module, please do. Here is a list of things that are on the todo list: - Add support for webmin user acl's - Add support for .Includes in the config lists - Change the way config lists are edited (each "entry" in a list has it's own line in a table. That will make it easier to edit and view) - Add support for more languages - Fix bugs when they arise Thanks for testing the module and providing assistance! -- ------------------------------------------------ | Northern Indiana Educational Services Center | ------------------------------------------------ | Adam Kennedy - ake...@ni... | | Certified Linux Administrator - Master Level | | Phone: (574) 254-0111 x113 | | Fax: (574) 254-0148 | ------------------------------------------------ |
|
From: Adam K. <ake...@ni...> - 2002-07-01 17:31:22
|
Forgot to post the link where it can be downloaded :P http://sourceforge.net/projects/dgwebminmodule/ -- ------------------------------------------------ | Northern Indiana Educational Services Center | ------------------------------------------------ | Adam Kennedy - ake...@ni... | | Certified Linux Administrator - Master Level | | Phone: (574) 254-0111 x113 | | Fax: (574) 254-0148 | ------------------------------------------------ |
|
From: Adam K. <ake...@ni...> - 2002-07-01 17:30:04
|
I've released version 0.3.5a which fixes the loglevel error. It also has the fix for viewlog.cgi where it couldn't find the log file. If any other bugs are found, please let me know. I'm going to release this as stable once all the little nitpicky bugs are pretty much patched up. Then I can start working on ACL support for 0.4.0 =) -- ------------------------------------------------ | Northern Indiana Educational Services Center | ------------------------------------------------ | Adam Kennedy - ake...@ni... | | Certified Linux Administrator - Master Level | | Phone: (574) 254-0111 x113 | | Fax: (574) 254-0148 | ------------------------------------------------ |
|
From: Adam K. <ake...@ni...> - 2002-06-17 19:41:06
|
I believe I've fixed the viewlog.cgi bug. If there are any other bugs please let me know. If I don't receive any other bug reports then I'll release 0.3.5a in a few hours. A workaround is available for current 0.3.5 users. Go into the module config, and verify the log directory path. Note: I realize that the logfile analyzer doesn't work with CSV style logging. I'm going to modify the log analyzer and email the patch to the author if I can get it working. I will send the announcement for 0.3.5a to BOTH the DG and the DGwebminmodule-users (ugh it's too long of a name) lists. In the future, all announcements regarding the webmin module will be sent to the DG webmin module list. Announcements of stable versions will be sent to the DG Announcements list (If that's ok with Daniel). -- ------------------------------------------------ | Northern Indiana Educational Services Center | ------------------------------------------------ | Adam Kennedy - ake...@ni... | | Certified Linux Administrator - Master Level | | Phone: (574) 254-0111 x113 | | Fax: (574) 254-0148 | ------------------------------------------------ |
|
From: <beo...@ya...> - 2002-06-17 16:21:44
|
3 Things!
Wasn't sure where to send this.. so it's gone direct
to you ;)
* Just found out where to send it.. mailing list!
1st thing:
You might wanna kill off:
dansguardian/.viewconf.cgi.swp
I think it's a leftover file.. not sure if you'd want
it as part of release.. it's got
b0VIM 6.0
fuzzy
akennedy
~fuzzy/webmin/dansguardian/dansguardian/viewconf.cgi
3210#"!
at the top.
---------------------------------------
2nd thing:
Anyways.. I have a Mandrake 8.2 install with dgwebmin
0.3.5 (although it did it on 0.3.4 too).
My webmin version is 0.92.
I click on 'View DG logfile' .. and get:
HTTP/1.0 500 Perl execution failed Server:
MiniServ/0.01 Date: Mon, 17 Jun 2002 16:06:06 GMT
Content-type: text/html Connection: close
Error - Perl execution failed
No log file exists. Is DansGuardian even running?
No such file or directory
I checked the perl source, but I've only a generic
understanding.
In viewlog.cgi, line 54:
$log_file = "$config{'log_path'}/access.log";
and line 62:
open( LOG_FILE, "<", "$log_file" )
Line 54 doesn't seem to work right for me.
I did a print "$log_file" just after line 54, and it
just said on the page:
/access.log
I manually set $log_file to
/var/log/dansguardian/access.log and tried it again..
and it worked. So for some reason, the
$config{'log_path'} bit seems to fail. I cannot work
out why.
-----------------------------------------------------------------
3rd Thing:
The log file analysis doesn't work properly for CSV
log formats.. it's designed for dg format logs. (Up to
you what you do with that comment.. hehe)
-----------------------------------------------------------------
Hope that helps,
Regards,
Andrew Jackson
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
|