- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2014 05:18 AM - edited 03-10-2019 09:35 PM
Hi!
I do some tests on the ACS through the CLI.
I'd like to import files from a remote repository to test the "import-data" command.
I created a repository from the CLI and when I do a "show repository", I can see the content of the directory.
When I execute the command "import-data", I have the error "Unable to import file "<filename>" from remote repository "repository_name"
What could be the cause?
I use a linux sftp server.
Regards,
Angélique
Solved! Go to Solution.
- Labels:
-
AAA
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 07:54 AM
Hey,
You are missing this:
host-key sync
http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-4/command/reference/cli/cli_app_a.html#pgfId-2187776
Regards
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2014 03:17 PM
Hi Angelique,
ACS uses SCP for file transfer and SFTP for "show repository".
Does your Linux SFTP support SCP?
Run:
debug transfer 7
debug copy 7
and share that please.
Regards
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 01:44 AM
Hi Ed,
Thanks for your reply. The SFTP server supports SCP, indeed.
I did your debug command and saw that there is a "host-key" issue :
3 [6256]: transfer: sftp_copy.c[188] [daemon]: sftp_copy ERROR: host-key option is not configured
3 [6256]: transfer: sftp_copy.c[258] [daemon]: sftp_copy ERROR: command execution failed
Seems to be the initialization of the connection....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 07:54 AM
Hey,
You are missing this:
host-key sync
http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-4/command/reference/cli/cli_app_a.html#pgfId-2187776
Regards
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 12:49 AM
Hi
Just to add Edward post, can you please confirm that all the following services are in running state.
•CSAdmin
•CSAuth
•CSDbSync
•CSLog
•CSMon
•CSRadius
•CSTacacs
For more information, please visit the following link:
http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4-2/trouble/guide/ACSTrbG42.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 01:45 AM
Hi,
I use a linux based system with version 5.4 of ACS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2014 09:59 PM
Please check the user permission:
Only users who have CRUD permissions to a specific configuration object in the GUI can import that particular configuration data to an ACS local store.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2014 12:26 AM
Hi Ed,
Thanks a lot for your reply!
I didn't know this command. It works fine now!
Regards
Angelique
