My problem is:
when i'm using cli command "scp export configuration to firstname.lastname@example.org:/home from running-config.xml" - all works perfect or "scp export log-file data-plane to email@example.com:/home" - perfect.
And if i try "scp export logdb to firstname.lastname@example.org:/home" - i get error message "'cat' is not recognized as an internal or external command, operable program or batch file." Same error message with "scp export log data to email@example.com:/home start-time equal 2014/03/01@01:00:00 end-time equal 2014/03/20@01:00:00".
Do any have the same problem or any solution? Thanks.
Solved! Go to Solution.
Are you using a windows server for SCP log export..?
Since we can have many lines of logs to export, the system cannot afford to redirect the output to a temp file and then scp it out (both in terms of disk space requirement and speed), Instead, the query log is streamed to ssh via a pipe, and then to the remote system's unix "cat" command
Something like this
pan_logquery | ssh user@remote "cat > /path/to/remote/filesystem"
So, Cannot redirect to a Windows server and need a Linux server or need to install Cigwin on Windows.
There is a BUG opened for this issue ( BUG-59472).
If you are using windows server for SCP export the SCP export functionality to windows based severs is not supported. Currently we only support Linux based SCP server for export.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!