cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3362
Views
5
Helpful
3
Replies

How can I view contents of log file on APIC/Fabric nodes ?

sarabsin
Level 1
Level 1

How can i see contents of logfiles as below?

 

On the APIC:
/var/log/dme/log/nginx.bin.log
On fabric nodes:
/var/log/dme/log/nginx.log

 

when i try access file through CLI of APIC , it says permission denied to file.

 

APIC# more /var/log/dme/log/nginx.bin.log
/var/log/dme/log/nginx.bin.log: Permission denied
APIC# more /var/log/dme/log/nginx.bin.log
/var/log/dme/log/nginx.bin.log: Permission denied

3 Replies 3

micgarc2
Cisco Employee
Cisco Employee

I would verify permissions for the user you are logged in as. Definitely looks like a permission issue as you should be able to access those normally. Try using admin rights to verify.

Thank you for your reply! I changed the authentication to local and logged as local admin user and now see the logs locally on APIC.

Do you know how can I send this debug logging (

/var/log/dme/log/nginx.bin.log)

out of ACI and view it on syslog or ftp server ? 

 

One solution would be to write a cronjob on an external server to scp the file at your configured time interval.

Save 25% on Day-2 Operations Add-On License