×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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?

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

2
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
http://bshtele.com

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

(OP)
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?

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

Install with SDM and you can enable customer root and chmod 644

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

(OP)
It is already installed for years, No way to reinstall.

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

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close