Loganalyzer

De Linuxmemo.

[modifier] Toubleshooting

  • Syslog file is not readable, read access may be denied

User permissions in syslog files are 640 but for LogAnalyzer to work syslog files must be readable by www-data. Below are the steps to make syslog readable

  1. First add a new group by using this command, we call the group logadmin in this sample. "groupadd logadmin"
  2. Now we add the www-data user to the new created logadmin group! "usermod -a -G logadmin www-data"
  3. Verify the success by using this command: "groups www-data"
  4. Now it is time to edit the /etc/logrotate.conf configuration file. Search for the default "create" command, and change it to the following: "create 640 root logadmin" The next time logrotate will run, the logfiles will become readable to the webserver by default.
  • The connection to the interface takes long

You will find the configuration of the update check in include/functions_common.php. By replacing the url with nothing you can disable this.

Just replace
$content['UPDATEURL'] = "http://loganalyzer.adiscon.com/files/version.txt";
with
$content['UPDATEURL'] = "";
Outils personnels