Menu

SARG: No Records found

sarg
paulo
2004-12-30
2015-03-18
  • paulo

    paulo - 2004-12-30

    I have built sarg-2.0.2 on slackware.
    (./configure --enable-htmldir="/var/www/htdocs/")

    get a 'No Records found'.
    Output:
    SARG: Init
    SARG: Loading configuration from: /usr/local/sarg/sarg.conf
    SARG: ConfigFile.........= /usr/local/sarg/sarg.conf
    SARG: AccessLog..........= /usr/local/squid/var/logs/access.log
    SARG: BgColor............= background_color white
    SARG: TxColor............= #000000
    SARG: TxBgColor..........= lavender
    SARG: TiColor............= green
    SARG: LogoImage..........=
    SARG: LogoText...........=
    SARG: LogoTextColor......= #000000
    SARG: Width..............= 80
    SARG: Height.............= 45
    SARG: Title..............= Squid User Access Reports
    SARG: BgImage............=
    SARG: FontFace...........= Tahoma,Verdana,Arial
    SARG: HeaderColor........= darkblue
    SARG: HeaderBgColor......= blanchedalmond
    SARG: FontSize...........= 9px
    SARG: PasswdFile.........=
    SARG: TempDir............= /tmp
    SARG: OutputDir..........= /serv/sarg/squid-reports
    SARG: Ip2Name............= no
    SARG: TopuserSortField.........= BYTES
    SARG: UserSortField.........= BYTES
    SARG: TopuserSortOrder.........= reverse
    SARG: UserSortOrder.........= reverse
    SARG: UserAgentLog.......=
    SARG: ExcludeHosts.......=
    SARG: DateFormat.........= e
    SARG: ExcludeUsers.......=
    SARG: PerUserLimitFile...=
    SARG: PerUserLimit.......=
    SARG: UserIp.............= no
    SARG: MaxElapsed.........= 0
    SARG: LastLog............= 0
    SARG:
    SARG: Parameters:
    SARG:
    SARG:              Hostname or IP address (-a) =
    SARG:                       Useragent log (-b) =
    SARG:                        Exclude file (-c) =
    SARG:                     Date from-until (-d) =
    SARG:       Email address to send reports (-e) =
    SARG:                         Config file (-f) = /usr/local/sarg/sarg.conf
    SARG:                         Date format (-g) = Europe (dd/mm/yyyy)
    SARG:                           IP report (-i) = No
    SARG:                           Input log (-l) = /usr/local/squid/var/logs/access.log
    SARG:                  Resolve IP Address (-n) = No
    SARG:                          Output dir (-o) = /serv/sarg/squid-reports/
    SARG:    Use Ip Address instead of userid (-p) = No
    SARG:                       Accessed site (-s) =
    SARG:                                Time (-t) =
    SARG:                                User (-u) =
    SARG:                       Temporary dir (-w) = /tmp
    SARG:                      Debug messages (-x) = Yes
    SARG:                    Process messages (-z) = Yes
    SARG:
    SARG: sarg version: 2.0.2 Nov-22-2004
    SARG: Reading access log file: /usr/local/squid/var/logs/access.log
    SARG: Records in file: 5247, reading: 100.00%
    SARG:    Records read: 5247, written: 0, excluded: 0
    SARG: Squid log format
    SARG: No records found
    SARG: End

    Anyone have any ideas?

     
    • V_NMad

      V_NMad - 2004-12-30

      First of all show pls all:
      config of sarg and 1 line from access.log

       
    • paulo

      paulo - 2004-12-31

      Got it working now. Changes were made to sarg.conf

       
      • asa

        asa - 2015-03-18

        what changes did u make

         
  • Frederic Marchal

    Why are you asking that more than 10 years after the last comment in this thread?

    Chances are that you won't get any up to date answer and probably no answer at all…

    Sarg version 2.0.2 is largely outdated. You probably have a much more recent version.

     

Log in to post a comment.

MongoDB Logo MongoDB