Sarg Not working There is a failure
-
Hi!
You can do it like this:
/usr/local/bin/php /usr/local/www/sarg.php 0
-
Where do I write this
-
-
Here is what I received
Content-type: text/html
and sarg Still not working
-
run only sarg -x on console and see what you get.
-
Here is what I received
SARG: Init SARG: Loading configuration from /usr/pbi/sarg-i386/etc/sarg/sarg.conf SARG: (info) No graphs available as sarg was not compiled with libgd. Set "graphs" to "no" in /usr/pbi/sarg-i386/etc/sarg/sarg.conf to disable this warning SARG: Chaining IP resolving module "dns" 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: Deleting temporary directory "/tmp/sarg" 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/pbi/sarg-i386/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) = Yes SARG: Output dir (-o) = /usr/local/sarg-reports/ SARG: Use Ip Address instead of userid (-p) = Yes 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) = 24 SARG: SARG: sarg version: 2.3.6 Arp-21-2013 SARG: Loading User table: ldap SARG: Cannot bind to LDAP server: Can't contact LDAP server
-
ccesario fixed it few minutes ago, reinstall the package and try again.
-
[quote] SARG: sarg version: 2.3.6 Arp-21-2013 SARG: Loading User table: ldap SARG: Cannot bind to LDAP server: Can't contact LDAP server [/quote] You have problems with ldap settings on sarg config too.
-
I removed and re-installed
And still no change -
The LC_ALL error or ldap error?
-
Do not know
I did not know there were two failuresAfter reinstalling
I still see the two screens in the image aboveWhat has changed
I went Scheduling tab
And pressed the forced Update Now
It took a minute until it returned to the previous screen
As if he collects the reports or something -
run sarg -x on console to check if it is still complaining about LDAP options.
-
I think it's the same
SARG: Init SARG: Loading configuration from /usr/pbi/sarg-i386/etc/sarg/sarg.conf SARG: (info) No graphs available as sarg was not compiled with libgd. Set "graphs" to "no" in /usr/pbi/sarg-i386/etc/sarg/sarg.conf to disable this warning SARG: Chaining IP resolving module "dns" 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: Deleting temporary directory "/tmp/sarg" 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/pbi/sarg-i386/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) = Yes SARG: Output dir (-o) = /usr/local/sarg-reports/ SARG: Use Ip Address instead of userid (-p) = Yes 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) = 24 SARG: SARG: sarg version: 2.3.6 Arp-21-2013 SARG: Loading User table: ldap SARG: Cannot bind to LDAP server: Can't contact LDAP server
-
[quote] SARG: Loading User table: ldap SARG: Cannot bind to LDAP server: Can't contact LDAP server [/quote] Still problems with your ldap config on sarg gui...
-
Is it possible to fix it
Or should reinstalled -
Is it possible to fix it
What ldap settings did you configured? it's not a package issue, it's a sysadmin config issue.
-
Is it possible to fix it
What ldap settings did you configured? it's not a package issue, it's a sysadmin config issue.
what is ldap settings
and what is sysadmin config
-
Scheduling
-
sysadmin means system administrator, in this case, you.
check user tab if you have configured ldap settings.
Also, uncheck graphs on first tab, the compilation of this feature on 2.1 is still pending.
-
Same result