Page 1 of 1

Can't add syslog to LogAnalyzer - Permissions problem

Posted: Wed Sep 12, 2012 10:28 am
by jiml
When trying to add the syslog at /var/log/syslog I get the following error;

The source 'syslog' checking returned with an error:
Syslog file is not readable, read access may be denied

Has to be a simple permissions error but as I've only recently added this app it also could be an install issue.

How can this be resolved

Jim!

Re: Can't add syslog to LogAnalyzer - Permiisions problem

Posted: Wed Sep 12, 2012 3:47 pm
by bigfoot65
I don't believe this can be resolved. It's not an app install issue, but permissions as you suggested. syslog is owned by root, unlike many other log files. As a result, the app cannot read it. That is why it's not setup by default.

You could try changing permissions to apache:users and see how long it sticks. Since the log files are rotated to prevent them from getting too large, I believe it will inevitably return to ownership by root.

It is unfortunate this app does not allow reading files that are owned by root. Recommend you file a bug with the app software vendor or check their forums for a possible solution.

http://loganalyzer.adiscon.com/

Re: Can't add syslog to LogAnalyzer - Permiisions problem

Posted: Wed Sep 12, 2012 7:54 pm
by jiml
So what you are saying is that despite the fact that the default to add a source is a syslog type file "/var/log/syslog" this application is just not set up up to work as such a basic log file.

I will definitely be having words with the people at Adiscon. :?

Jim!

Re: Can't add syslog to LogAnalyzer - Permissions problem

Posted: Wed Sep 12, 2012 8:05 pm
by bigfoot65
That's the way I see it, but I could be wrong. I have not done extensive research to see how to add root protected log files.

I am sure they can assist somehow.

Re: Can't add syslog to LogAnalyzer - Permissions problem

Posted: Thu Sep 13, 2012 5:52 pm
by bigfoot65
Found this potential fix for the log permission problem.

http://6hp.4f.sl.pt

I have not tried it, but seems like it should work.