Webalizer deleted stats every week with inc enabled

Discussion in 'PSA 2.5 Troubleshooting and Problems' started by dazz123, Aug 6, 2002.

  1. dazz123

    dazz123 Guest

    Hi,

    Webalizer deleting the webalizer stats weekly and I have enabled Incremental. I have done a copy and paste job from webalizer.conf anyone see anything wrong? or have any experience as to why the web stats are still getting deleted weekly.(by the way this all started after setting delete apache logs weekly =)

    Thanks.

    ============================================
    # information. The value may be 'yes' or 'no', with a default of 'no'.
    # The file 'webalizer.current' is used to store the current state data,
    # and is located in the output directory of the program (unless changed
    # with the IncrementalName option below). Please read at least the section
    # on Incremental processing in the README file before you enable this option.

    #Incremental yes

    # IncrementalName allows you to specify the filename for saving the
    # incremental data in. It is similar to the HistoryName option where the
    # name is relative to the specified output directory, unless an absolute
    # filename is specified. The default is a file named "webalizer.current"
    # kept in the normal output directory. If you don't specify "Incremental"
    # as 'yes' then this option has no meaning.

    #IncrementalName webalizer.current

    # ReportTitle is the text to display as the title. The hostname
    # (unless blank) is appended to the end of this string (seperated with
     
  2. kark

    kark Guest

    What about deleting the '#' from Incremental en IncrementalName? :)
     
  3. jimroe

    jimroe Guru

    Messages:
    2,067
    As kark says

    Actually, if your webalizer.conf file is as you posted it, with the "#" in font of the

    Incremental yes

    line, then Incremental isn't implemented. You must remove the # and save the file.
     
  4. dazz123

    dazz123 Guest

    Thanks!

    Just want to check is this correct as I dont want anymore stats going missing. Do Ineed to have both the # removed from Incremental and IncrementalName ? or just Incremental ? I have removed both hope thats right :) Thanks!!!

    ================================

    # information. The value may be 'yes' or 'no', with a default of 'no'.
    # The file 'webalizer.current' is used to store the current state data,
    # and is located in the output directory of the program (unless changed
    # with the IncrementalName option below). Please read at least the section
    # on Incremental processing in the README file before you enable this option.

    Incremental yes

    # IncrementalName allows you to specify the filename for saving the
    # incremental data in. It is similar to the HistoryName option where the
    # name is relative to the specified output directory, unless an absolute
    # filename is specified. The default is a file named "webalizer.current"
    # kept in the normal output directory. If you don't specify "Incremental"
    # as 'yes' then this option has no meaning.

    IncrementalName webalizer.current

    # ReportTitle is the text to display as the title. The hostname
    # (unless blank) is appended to the end of this string (seperate
     
  5. jimroe

    jimroe Guru

    Messages:
    2,067
    One or Both??

    From what you've specified in the IncrementalName option, the history data will be saved as webalizer.current in the output directory of the program (which is changed on the command line that executes webalizer for each domain - thus each domain will get a webalizer.current file). In the Incremental line, the same thing will happen by default.

    The IncrementalName option as you've chosen it mimics the default behaviour, so isn't necessary. But, it shouldn't hurt anything.
     

Share This Page