Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

CS-MARS pnexp not working

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CS-MARS pnexp not working

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

2 REPLIES
Cisco Employee

Re: CS-MARS pnexp not working

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

New Member

Re: CS-MARS pnexp not working

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..

645
Views
0
Helpful
2
Replies
CreatePlease to create content