cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
926
Views
0
Helpful
2
Replies

CS-MARS pnexp not working

cschweigert
Level 1
Level 1

I am running v4.3.6 (2841) below is the output from the command pnexp> export all.

I can see that I am connecting on the SFTP server (in the logs) and I am creating  the folder as expected but there is nothing being sent. I have R/W permissions on the destination system. Any ideas to what could be the issue here?

pnexp> export all
Usage: export {config|data|all} {nfs_path} [MM/DD/YY:HH]

pnexp> export all sftp:1.1.1.1:/MARS
WARNING: this will stop CS-MARS, do you wish to continue (yes/no): yes

Estimated total number of events to export: 223842332
Estimated time to export events: 6 hours 13 minutes
Estimated space for exported events: 10674 MB

Do you wish to continue (yes/no): yes
Please enter username on 1.1.1.1: ******
Please enter password for ******:

!!! Stopping CS-MARS processes ...
!!! Exporting config data to local disk

Dumping configuration data, may take a while ...
Configuration dump finished.
Configdump to /tmp/Some_MARS_2010-06-17-17-02-19 finished successfully.

!!! Moving config data to the remote host
Error: failed to save file to the remote host

1 Accepted Solution

Accepted Solutions

Scott Fringer
Cisco Employee
Cisco Employee

What are you using for your SFTP server?  Is it from the supported list here:

http://www.cisco.com/en/US/docs/security/security_management/cs-mars/6.0/compatibility/local_controller/dtlc60x.html#wp77011

The CS-MARS makes use of both SFTP and SCP to move the files across during an export.  If your server does not support SCP, the export will not succeed.

Scott

View solution in original post

2 Replies 2

Scott Fringer
Cisco Employee
Cisco Employee

What are you using for your SFTP server?  Is it from the supported list here:

http://www.cisco.com/en/US/docs/security/security_management/cs-mars/6.0/compatibility/local_controller/dtlc60x.html#wp77011

The CS-MARS makes use of both SFTP and SCP to move the files across during an export.  If your server does not support SCP, the export will not succeed.

Scott

Thanks for the reply. I think that was a issue. We were using FreeSSH instead of OpenSSL. We sent up the UNIX file share on a windows box and it is exporting now. The instructions in the posted link was helpful, pay particular attention to the reboot step if you have any issues with file permissions as noted..