Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

message files under /var/log not readable - CM 6 and 8 2

Status
Not open for further replies.

halj

Technical User
Oct 6, 2008
32
US
On CM 6 message files under /var/log are not readable.

ls -ltr /var/log/messages*
-rw------- 1 root root 12610861 Aug 1 04:02 /var/log/messages.3
-rw------- 1 root root 13438695 Sep 1 04:01 /var/log/messages.2
-rw------- 1 root root 12312058 Oct 1 04:02 /var/log/messages.1
-rw------- 1 root root 11286599 Oct 21 15:35 /var/log/messages

on CM 7 Files are good to read
ls -ltr /var/log/messages*
-rw-r--r-- 1 root root 68299875 Aug 13 03:07 /var/log/messages.3
-rw-r--r-- 1 root root 1498009 Sep 1 03:49 /var/log/messages.2
-rw-r--r-- 1 root root 2330528 Oct 1 03:08 /var/log/messages.1
-rw-r--r-- 1 root root 1735346 Oct 21 21:34 /var/log/messages

On CM 8 also the same as 6, not readable

I am trying to run a script that checks several conditions and when it reaches the message files I am getting permission denied.
PS. I am using the same user level for all CM's

Any ideas?
 
sudo logc -t 20191021:1640-20191021:1640 lxsys

sudo logc -t start_date_time-end_date_time lxsys

You can also use a web browser

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

45 years Bell, AT&T, Lucent, Avaya
Tier 3 for 35 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Thank you AvayaTier3.

I was playing with some commands. Very interesting.
When I did sudo logc --view ipevt for my specific extension I got some different reason codes.
Where I can get more info about those?
Is there any Avaya doc for that?
 
Install with SDM and you can enable customer root and chmod 644
 
It is already installed for years, No way to reinstall.
 
I meant on CM8!

Not sure why /var/log/messages would be 600 on CM6, but most of the stuff regarding call processing is in /var/log/ecs and I've never had a problem reading those with any CLI user
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top