Forum Discussion
Gordon_Johnston
Nimbostratus
Jan 17, 2007download_file for files in /var/log
I'm having a problem with ConfigSync->download_file (in 9.2.2).
It works fine for files in /config like the bigip.conf, but attempting to transfer /var/log/ltm (or /shared/log/ltm) fails with:
primary_error_code : 16908289 (0x01020001)
secondary_error_code : 0
error_string : Error opening file for read operations
Is there a restriction on transfering files from outside of /config?
Is there an alternative method to get the 'ltm' log file from the server using iControl?
- We have subdomain running on our devices to control file system security on the processes on the device. The iControl daemon is currently not allowed to read into the /var/log directory. This could be problematic as the log files grow and the download_file() methods chunking doesn't allow for pre-determining the file size at initiation. You basically repeat downloading at the next start point until end of file is reached. So, let's say you have iControl logging turned on, if your chunk size isn't large enough, you could get into an endless loop as each download request would append data to the log file you are trying to download.
- Gordon_Johnston
Nimbostratus
Joe. Cheers for the reply makes sense to me. scp it is then.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects