Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Lightsquid broken after last upgrade

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    27 Posts 12 Posters 18.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dvserg
      last edited by

      I have success installation on two my 1.2RC3 (VMWare).
      Please send to my mail or PM file '/tmp/pkg_mgr_Lightsquid.log'

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • L
        linuxpro
        last edited by

        @dvserg:

        I have success installation on two my 1.2RC3 (VMWare).
        Please send to my mail or PM file '/tmp/pkg_mgr_Lightsquid.log'

        
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="yellow";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        refresh_full: start
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.0'
        refresh_full: stop
        refresh_now: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="squidauth";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="yellow";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="demo";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="yellow";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        refresh_now: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        refresh_full: start
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.0'
        refresh_full: stop
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        refresh_now: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        refresh_full: start
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.0'
        refresh_full: stop
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        refresh_full: start
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.0'
        refresh_full: stop
        refresh_now: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        refresh_full: start
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.0'
        refresh_full: stop
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novosea";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="red";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        Load config file /usr/local/etc/lightsquid/lightsquid.cfg
        Update config: cfgpath="/usr/local/etc/lightsquid"
        Update config: logpath="/var/squid/log"
        Update config: tplpath="/usr/local/www/lightsquid/tpl"
        Update config: langpath="/usr/local/share/lightsquid/lang"
        Update config: reportpath="/var/lightsquid/report"
        Update config: ip2namepath="/usr/local/libexec/lightsquid"
        Update config: lang="eng";
        Update config: templatename="novopf";
        Update config: ip2name="ip";
        Update config: skipurl="zzz\.zzz"
        Update config: squidlogtype=0
        Update config: barcolor="green";
        Save config file /usr/local/etc/lightsquid/lightsquid.cfg ()
        ls_setup_cron: start task_name=lightsquid_parser, task_key=/lightparser.pl, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_parser on [].
        ls_setup_cron: found cron task with key=/lightparser.pl on [10].
        ls_setup_cron: add cron task 'lightsquid_parser'='/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        ls_setup_cron: end
        ls_setup_cron: start task_name=lightsquid_squid_rotate, task_key=/squid -k rotate, on_off=1
        ls_setup_cron: found cron task with name=lightsquid_squid_rotate on [].
        ls_setup_cron: found cron task with key=/squid -k rotate on [10].
        ls_setup_cron: add cron task 'lightsquid_squid_rotate'='/usr/local/sbin/squid -k rotate > /dev/null'
        ls_setup_cron: end
        refresh_now: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        refresh_full: start
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.0'
        refresh_full: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl access.log.1'
        refresh_full: stop
        refresh_now: execute command '/usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today'
        
        1 Reply Last reply Reply Quote 0
        • L
          linuxpro
          last edited by

          i from china.
          english is poor.

          my lightsquid conf

          #!/usr/bin/perl
          #
          # LightSquid Project (c) 2004-2005 Sergey Erokhin aka ESL
          #
          # This program is free software; you can redistribute it and/or
          # modify it under the terms of the GNU General Public License
          # as published by the Free Software Foundation; either version 2
          # of the License, or (at your option) any later version.
          #
          # detail see in gnugpl.txt
          
          # -------------------- GLOBAL VARIABLES  ---------------------------
          
          #path to additional `cfg` files
          $cfgpath = "/usr/local/etc/lightsquid";
          #path to `tpl` folder
          $tplpath = "/usr/local/www/lightsquid/tpl";
          #path to `lang` folder
          $langpath = "/usr/local/share/lightsquid/lang";
          #path to `report` folder
          $reportpath = "/var/lightsquid/report";
          #path to access.log
          $logpath = "/var/squid/log";
          #path to `ip2name` folder
          $ip2namepath = "/usr/local/libexec/lightsquid";
          
          #path to `lockfile` ;-)
          $lockpath            =$reportpath;
          
          #if lockfile older $maxlocktime second, remove old lock file.
          $maxlocktime	     = 30*60;
          
          #if 1 - lightparser generate some statistic
          $debug               = 0;  
          #if 1 - lightparser generate skip details, 2 ..., 3 ..., ....
          $debug2              = 0;
          
          # -------------------- LightParser VARIABLES  ---------------------------
          #squid log type
          #if native squid format (default squid, see in doc) - must be 0
          #if EmulateHttpdLog ON - set 1
          #digit - for speed optimization
          #try it set to 1 if parser generate warning
          #
          #see also month2dec below !!!!
          #
          $squidlogtype = 0;
          
          #if you want skip some sites from stat, example our local www server
          #WARNING !!!, don't leave this variable empty !!!
          #example, if you want skip LOCAL site, put it here
          #$skipurl             = "zdd.com|192\.168\.1\.|cnn.com";
          $skipurl = "zzz\.zzz";
          
          #define sobroutine file for convertion from IP into name
          #if you want skip some ip from log - return "SKIP THIS IP" ;-)
          #detail see in ip2name folder, 
          
          $ip2name = "ip";;
          
          #use for convert from Text to Dec convertion if EmualteHttpdLog format !!!!
          #fix it if need 
          %month2dec = ( Jan => 1, Feb => 2, Mar => 3, Apr => 4, May => 5,Jun => 6,
                         Jul => 7, Aug => 8, Sep => 9, Oct => 10, Nov => 11,Dec => 12);
          
          # -------------------- Common (Parser & Web) VARIABLES  ----------------------
          #create & use time report statistic (logsize = logsize*2) ;-))
          $timereport          = 1;
          
          # -------------------- WEB VARIABLES  ----------------------------------------
          
          #language
          #see `lang` folder (avaible: bg,eng,fr,hu,it,pt_br,ru,sp)
          $lang = "eng";;
          
          #html template name
          #see template folder `tpl/$templatename/`
          $templatename = "novopf";;
          #$templatename        ="ric";
          #$templatename        ="base.css";
          
          #define type of decimal output
          #fine  123456789 -> 123,456,789
          #class 123456789 ->       117.7 G
          $DecOutType="class";
          
          # define delimiter for thousands (in `fine` mode)
          # = " " -> 12 345 678 
          # = "," -> 12,345,678
          # = ""  ->   12345678
          $decdelimiter        = " ";
          
          #if you dont need Group mode, do =0
          $showgrouplink	     = 1;
          
          #if not zero, groups look like "01\. Group1", if zero - "Group1"
          $showgroupid         = 1;
          
          #if you dont need oversize report , do =0
          $showoversizelink    = 1;
          
          #show how many data user send to internet
          $showputpost         = 0;
          #if putpost higer this variable (in percent), highlight it
          $putpostwarninglevel =15;
          
          #use or not .realname files 
          #.realname contain pair userid -> Full User Name
          $userealname         = 1;
          
          #if url size exceed $bigfilelimit - add this file into report
          $bigfilelimit        = 2*1024*1024; 
          
          #user maximum size per day limit (oversize)
          $perusertrafficlimit = 10*1024*1024;
          
          # weekend display mode
          # both - select sunday & monday
          # monday - only monday 
          $weekendmode="both";
          
          #how many site show in TopSites report
          $topsiteslimit       = 500;
          
          #how many site show in user time report
          $usertimelimit       = 200;
          
          #if you want user traffic GRAPHIC report, set it in 1
          #WARNING !!!, need libgd, GD.PM & other external modules !!!
          #please run check-setup.pl for check library !!!!
          $graphreport         = 1;
          
          #higest value on graph report
          # for user month report (0.05*(...) = 50mb)
          $graphmaxuser=0.05*(1024*1024*1024);
          # for all user month report (1.05*(...) = 1 Gb)
          $graphmaxall =0.80*(1024*1024*1024);
          
          #color scheme for GRAPHICs, avaible "orange","blue","green","yellow","brown","red"
          $barcolor = "green";;
          
          #-------------------------------------------------------------------------- Group support
          #
          
          sub CreateGroupFile($) {
            my $path=shift;
          
            open Fi,"<$cfgpath/group.cfg";
            open Fo,">$path/.group";
            while (<fi>) {
              print Fo $_;
            }
            close Fo;
            close Fi;
          }
          
          #-------------------------------------------------------------------------- RealName support
          #
          
          sub CreateRealnameFile($) {
            my $path=shift;
          
            open Fi,"<$cfgpath/realname.cfg";
            open Fo,">$path/.realname";
            while (<fi>) {
              print Fo $_;
            }
            close Fo;
            close Fi;
          }</fi></fi> 
          

          111.PNG
          111.PNG_thumb

          1 Reply Last reply Reply Quote 0
          • L
            linuxpro
            last edited by

            After testing, by default, it is no problem.

            However, I use a custom district. Squid on to the / cache inside.

            I changed the conf Lightsquid, there have also been 500 that error message.

            Not solve the current swap.

            1 Reply Last reply Reply Quote 0
            • T
              trentster
              last edited by

              I also am having this problem on a fresh install of 1.2-RC3.

              It seems that the report is not even being generated by lightsquid when I click "refresh now" or "refresh all"

              Also get the error message "500 - internal server error"

              Any Ideas on a fix, as we use this a lot for reports for our clients.

              Thanks

              Mark

              1 Reply Last reply Reply Quote 0
              • D
                dvserg
                last edited by

                Looking this ticket - problem here:

                http://cvstrac.pfsense.com/tktview?tn=1536

                Lighttpd error log after adding perl-5.8.8_1 to system
                /libexec/ld-elf.so.1: /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: Undefined symbol "__sbmaskrune"

                Also about problem
                http://groups.google.com.br/group/lucky.freebsd.gnome/browse_thread/thread/98c1a9561b55d303/5a7d72db34f5398e?lnk=raot

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • D
                  dvserg
                  last edited by

                  temporary way for solve problem - copy library
                  /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so
                  from perl-5.8.8 ver.

                  For example this may be:

                  • before installation LightSquid store this lib (must be only perl-5.8.8 on 'pkg_info')
                  • after installation LightSquid - restore lib (old lib must be renamed)

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

                  1 Reply Last reply Reply Quote 0
                  • M
                    mbedyn
                    last edited by

                    Hello
                    i do not clearly uderstand how to solve this…
                    pkg_info shows both ver. of perl, 5.8.8 and 5.8.8_1
                    I have only one folder 5.8.8 in /usr/local/lib/perl5/
                    I suppouse, I have to find the old library somwhere over the internet, and replace new one? Am i right?

                    1 Reply Last reply Reply Quote 0
                    • D
                      dvserg
                      last edited by

                      this method actually before for installation LS
                      Mail me - i send this lib to you

                      SquidGuardDoc EN  RU Tutorial
                      Localization ru_PFSense

                      1 Reply Last reply Reply Quote 0
                      • J
                        jester16
                        last edited by

                        @dvserg:

                        this method actually before for installation LS
                        Mail me - i send this lib to you

                        Thanks, worked like a charm

                        1 Reply Last reply Reply Quote 0
                        • N
                          newera
                          last edited by

                          @dvserg:

                          this method actually before for installation LS
                          Mail me - i send this lib to you

                          I faced the same problem too. Can you post the lib file at here? So we can download and replace it easily.

                          Many thanks!

                          1 Reply Last reply Reply Quote 0
                          • D
                            dvserg
                            last edited by

                            Use this URL:
                            http://diskatel.narod.ru/libperl.so

                            SquidGuardDoc EN  RU Tutorial
                            Localization ru_PFSense

                            1 Reply Last reply Reply Quote 0
                            • T
                              tdickson
                              last edited by

                              Thanks As well!!! Worked for me too!
                              -tim

                              1 Reply Last reply Reply Quote 0
                              • E
                                eckman
                                last edited by

                                Can anyone give me some instruction to do this from the web admin page? I am not sure how to do this otherwise. Any help would be appreciated.

                                Thanks
                                Glenn

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tdickson
                                  last edited by

                                  Well after upgrading to 1.2 final today - I got the 500 internal server error again.
                                  I reapplied this patch, but it didn't work this time, so I went to uninstall and reinstall the package - which failed.
                                  Now when I go to reinstall the package I get:

                                  Downloading package configuration file… done.
                                  Saving updated package information... done.
                                  Downloading Lightsquid and its dependencies... done.
                                  Checking for successful package installation... failed!

                                  Installation aborted.

                                  How might I clear out whatever is needed to get this thing running again?  BTW... my other site that was upgraded to 1.2 yesterday is running perfectly fine.
                                  -Tim

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fribert
                                    last edited by

                                    I hate to post 'metoos', but I'm seeing this problem too.
                                    If I go and do a pkg_info, it shows perl 5.8.8, shoouldn't that be correct?
                                    Well, anyways, I would like to try out the copying of the perl file you recommended, but where should I copy it to?
                                    And being a newbied on this, how do I get the file transfered to the pfsense machine?

                                    Best regards

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tdickson
                                      last edited by

                                      Over write this file with the attached above

                                      /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so

                                      It worked for me the first time!

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fribert
                                        last edited by

                                        I still can't make it work.

                                        I downloaded the libperl.so from the link.
                                        I went to 'command' the webgui, and uploaded the file (to /tmp).
                                        I then moved the file from /tmp/libperl.so to /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so

                                        Still fails.

                                        Do I need to restart the server or ???

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fribert
                                          last edited by

                                          @fribert:

                                          I still can't make it work.

                                          Still fails.

                                          Do I need to restart the server or ???

                                          Very odd, I just tried again, and now it installed!!! I didn't change anything since yesterday, so did the package change in any way?

                                          Well, this is just a happy camper, now I just need to figure out how to use it (I don't see any new menu items?).

                                          /Fribse

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dvserg
                                            last edited by

                                            Very odd, I just tried again, and now it installed!!! I didn't change anything since yesterday, so did the package change in any way?
                                            

                                            I make changes. Old url broken - replaced to new.

                                            How use:

                                            • enable in squid log option & work some time (for have some log statistic's)
                                            • looking option in Status/Proxy report (for quick - press button 'Refresh now')
                                            • looking 'Lightsquid report' page.

                                            SquidGuardDoc EN  RU Tutorial
                                            Localization ru_PFSense

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.