clzera
(usa Debian)
Enviado em 28/10/2015 - 13:46h
ismabsd escreveu:
Exclui o /usr/local/sarg-reports e depois cria o link novamente ln -s /usr/pbi/sarg-amd64/local/sarg-reports /usr/local/sarg-reports
Quando der um ls no /usr/local vai ter que aparecer assim;
sarg-reports -> /usr/pbi/sarg-amd64/local/sarg-reports
Você é um gênio cara.... Vlw msm!!!
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local: rm -rf sarg-reports/
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local: ls
bin include libdata openssl share
captiveportal info libexec pkg www
etc lib man sbin
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local: ln -s /usr/pbi/sarg-i386/local/sarg-reports /usr/local/sarg-reports
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local:
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local: ls
bin include libdata openssl sbin
captiveportal info libexec pkg share
etc lib man sarg-reports www
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local: cd sarg-reports/
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local/sarg-reports: ls
23Oct2015-23Oct2015 25Oct2015-26Oct2015 28Oct2015-28Oct2015
24Oct2015-24Oct2015 26Oct2015-26Oct2015 images
25Oct2015-25Oct2015 27Oct2015-27Oct2015 index.html
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local/sarg-reports: ls
23Oct2015-23Oct2015 25Oct2015-26Oct2015 28Oct2015-28Oct2015
24Oct2015-24Oct2015 26Oct2015-26Oct2015 images
25Oct2015-25Oct2015 27Oct2015-27Oct2015 index.html
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/local/sarg-reports: cd ..
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/pbi/sarg-i386/local: ls
bin include lib sarg-reports share
etc info libdata sbin
[2.2.4-RELEASE][root@FIREWALL.digis.com.br]/usr/pbi/sarg-i386/local: sarg -x
SARG: Init
SARG: Loading configuration from /usr/local/etc/sarg/sarg.conf
SARG: Loading exclude host file from: /usr/pbi/sarg-i386/etc/sarg/exclude_hosts.conf
SARG: Loading exclude file from: /usr/pbi/sarg-i386/etc/sarg/exclude_users.conf
SARG: Reading host alias file "/usr/pbi/sarg-i386/etc/sarg/hostalias"
SARG: List of host names to alias:
SARG: Parameters:
SARG: Hostname or IP address (-a) =
SARG: Useragent log (-b) =
SARG: Exclude file (-c) = /usr/pbi/sarg-i386/etc/sarg/exclude_hosts.conf
SARG: Date from-until (-d) =
SARG: Email address to send reports (-e) =
SARG: Config file (-f) = /usr/local/etc/sarg/sarg.conf
SARG: Date format (-g) = Europe (dd/mm/yyyy)
SARG: IP report (-i) = No
SARG: Keep temporary files (-k) = No
SARG: Input log (-l) = /var/squid/logs/access.log
SARG: Resolve IP Address (-n) = No
SARG: Output dir (-o) = /usr/local/sarg-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
SARG: Debug messages (-x) = Yes
SARG: Process messages (-z) = No
SARG: Previous reports to keep (--lastlog) = 0
SARG:
SARG: sarg version: 2.3.9 Sep-21-2014
SARG: Reading access log file: /var/squid/logs/access.log
SARG: Records in file: 16629, reading: 100.00%
SARG: Records read: 16629, written: 16629, excluded: 0
SARG: Squid log format
SARG: Period: 28 Oct 2015
SARG: Sorting log /tmp/sarg/192_168_1_253.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_253
SARG: Sorting log /tmp/sarg/192_168_1_193.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_193
SARG: Sorting log /tmp/sarg/192_168_1_166.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_166
SARG: Sorting log /tmp/sarg/192_168_1_180.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_180
SARG: Sorting log /tmp/sarg/192_168_1_252.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_252
SARG: Sorting log /tmp/sarg/192_168_1_150.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_150
SARG: Sorting log /tmp/sarg/192_168_1_189.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_189
SARG: Sorting log /tmp/sarg/192_168_1_190.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_190
SARG: Sorting log /tmp/sarg/192_168_1_191.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_191
SARG: Sorting log /tmp/sarg/192_168_1_251.user_unsort
SARG: Making file: /tmp/sarg/192_168_1_251
SARG: Sorting file: /tmp/sarg/192_168_1_253.utmp
SARG: Making report: 192.168.1.253
SARG: Sorting file: /tmp/sarg/192_168_1_193.utmp
SARG: Making report: 192.168.1.193
SARG: Sorting file: /tmp/sarg/192_168_1_166.utmp
SARG: Making report: 192.168.1.166
SARG: Sorting file: /tmp/sarg/192_168_1_180.utmp
SARG: Making report: 192.168.1.180
SARG: Sorting file: /tmp/sarg/192_168_1_252.utmp
SARG: Making report: 192.168.1.252
SARG: Sorting file: /tmp/sarg/192_168_1_150.utmp
SARG: Making report: 192.168.1.150
SARG: Sorting file: /tmp/sarg/192_168_1_189.utmp
SARG: Making report: 192.168.1.189
SARG: Sorting file: /tmp/sarg/192_168_1_190.utmp
SARG: Making report: 192.168.1.190
SARG: Sorting file: /tmp/sarg/192_168_1_191.utmp
SARG: Making report: 192.168.1.191
SARG: Sorting file: /tmp/sarg/192_168_1_251.utmp
SARG: Making report: 192.168.1.251
SARG: Making index.html
SARG: Successful report generated on /usr/local/sarg-reports/28Oct2015-28Oct2015
SARG: Purging temporary file sarg-general
SARG: End