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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permission denied for CM files at /var/log/message 1

Status
Not open for further replies.

halj

Technical User
Oct 6, 2008
32
US
Hello guys,

If I access CM and go to /var/log I am not able to read the message files.
example to get backup status should be like that:
grep SUCCESS message*

I get permission denied

Any idea how I could have backup logs from command line?

user@10.20.30.40> grep SUCCESS messages*
grep: messages: Permission denied
grep: messages.1: Permission denied
grep: messages.2: Permission denied
grep: messages.3: Permission denied

user@10.20.30.40> ls -ltrh messages*
-rw------- 1 root root 21M Feb 1 04:02 messages.3
-rw------- 1 root root 14M Mar 2 12:02 messages.2
-rw------- 1 root root 16M Apr 3 03:01 messages.1
-rw------- 1 root root 2.7M Apr 8 15:30 messages
 
backup status from linux:

backup -t | more
backup -t | less


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]
 
messages files using logc from linux:

window = start_date_time-end_date_time

sudo logc -t 20200408:0001-20200409:2359 lxsys | less
sudo logc -t 20200408:0001-20200409:2359 lxsys | grep SUCCESS

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]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top