11-08-2018 10:20 AM - edited 03-01-2019 05:41 AM
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
11-09-2018 05:17 PM
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.
11-13-2018 07:54 AM
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 ?
11-13-2018 07:58 AM
One solution would be to write a cronjob on an external server to scp the file at your configured time interval.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: