pflogsum with debian lenny and ispcfg3

Discussion in 'General' started by Ovidiu, May 7, 2009.

  1. Ovidiu

    Ovidiu Active Member

    I tried this howto: http://howtoforge.com/mailgraph_pflogsumm_debian_etch

    BUT:

    - /etc/cron.daily/logrotate:
    error: /etc/logrotate.conf:33 duplicate log entry for /var/log/mail.log run-parts: /etc/cron.daily/logrotate exited with return code 1
    my
    looks like:
    Code:
    # see "man logrotate" for details
    # rotate log files weekly
    weekly
    
    # keep 4 weeks worth of backlogs
    rotate 4
    
    # create new (empty) log files after rotating old ones
    create
    
    # uncomment this if you want your log files compressed
    #compress
    
    # packages drop log rotation information into this directory
    include /etc/logrotate.d
    
    # no packages own wtmp, or btmp -- we'll rotate them here
    /var/log/wtmp {
        missingok
        monthly
        create 0664 root utmp
        rotate 1
    }
    
    /var/log/btmp {
        missingok
        monthly
        create 0660 root utmp
        rotate 1
    }
    
    # system-specific logs may be configured here
    /var/log/mail.log {
        missingok
        daily
        rotate 7
        create
        compress
        start 0
    }
    
    I don't see any duplicate mail.log entries so I dunno what is wrong here :-(

    also the mailgraph.cgi doesn't wo9rk. I activated CGI for the site where I copied it into, as well as suPhp for the website itsself, while I copied the mailgraph.cgi into the cgi-bin folder, used the same execution rights as for the web folder but al I get is a 404 file not found error???
     
  2. Ovidiu

    Ovidiu Active Member

Share This Page