02-12-2013 12:14 PM - edited 03-10-2019 08:04 PM
Hi ALL,
I have to migrate Data from ACS 4.1.1.24 to ACS 5.3.
When I run the migration utility on ACS 4.1.1.24 installed on win2003 server (log on with VNC).I get the following java error:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\migration\bin>migration.bat
**************************************************
Copyright ? 2008-2009 Cisco Systems, Inc.
All rights reserved.
**************************************************
This utility migrates data from ACS 4.x to ACS 5.x You can migrate directly from
the following ACS versions:
- ACS 4.1.1.24
- ACS 4.1.4
- ACS 4.2.0.124
- ACS 4.2.1
Data migration involves the following:
a. The migration utility analyzes the ACS 4.x data, exports any data from ACS 4.
x that can be migrated automatically, and imports the data into ACS 5.x
b. Before the import stage, you can manually consolidate and resolve data accord
ing to the analysis report, to maximize the amount of data that the utility can
migrate.
c. After migration, use the imported data to recreate your policies in ACS 5.x
--------------------------------------------------------------------------------
--------------------------------------
Make sure that the database is running.
Enter ACS 5.x IP address or hostname:
10.1.50.55
Enter ACS 5.x Administrator username:
acsadmin
Enter ACS 5.x password:
*********
Change user preferences?[no]
Save user defaults?[yes]
Connecting to ACS5.x please wait...
Enter ACS 4.x Server ID:
acsOld1
Add server-specific migration prefixes?[no]
Show full report on screen?[yes]
--------------------------------------------------------------------------------
--------------------------------------
Select the ACS 4.x Configuration groups to be migrated:[1]
1 - ALLObjects
2 - AllUsersObjects
3 - AllDevicesObjects
4 - SharedCommandSet
5 - SharedDACLObject
6 - MasterKeys
7 - SharedRACObjectWithVSA
--------------------------------------------------------------------------------
--------------------------------------
3
--------------------------------------------------------------------------------
--------------------------------------
The following object types will be extracted:
--------------------------------------------------------------------------------
--------------------------------------
Network Device Groups
Network Device
--------------------------------------------------------------------------------
--------------------------------------
Choose one of the following:
1 - AnalyzeAndExport
2 - Import
3 - CreateReportFiles
4 - Exit
--------------------------------------------------------------------------------
--------------------------------------
1
Exception in thread "main" java.lang.NumberFormatException: For input string: "
32"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.cisco.nm.acs.mgmt.migration.networkdevice.NetworkDeviceExporter.c
reateAAAClientType(NetworkDeviceExporter.java:480)
at com.cisco.nm.acs.mgmt.migration.networkdevice.NetworkDeviceExporter.a
ddToImportCollection(NetworkDeviceExporter.java:185)
at com.cisco.nm.acs.mgmt.migration.networkdevice.NetworkDeviceExporter.e
xportObjects(NetworkDeviceExporter.java:116)
at com.cisco.nm.acs.mgmt.migration.MigrationApplication.executeExport(Mi
grationApplication.java:440)
at com.cisco.nm.acs.mgmt.migration.MigrationApplicationCLI.runExport(Mig
rationApplicationCLI.java:617)
at com.cisco.nm.acs.mgmt.migration.MigrationApplicationCLI.main(Migratio
nApplicationCLI.java:266)
Any ideas about this issue?
Thank's
03-11-2014 12:22 PM
Cisco TAC said this:
"This error that you are seeing:
Exception in thread "main" java.lang.NumberFormatException: For input string: "
32"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
It is caused by a device or some devices that have leading/trailing spaces in the IP address configuration, so you might need to verify that the IP address has no spaces at the end or the beginning of it."
This looks non sense to me. If that is the case, I should be able to replicate the problem, trying to add a network device, and on purpose, adding spaces in its IP address. But ACS does not allow spaces in any way throwing a message saying 'its illegal'.
So, I am still waiting something from Cisco about this.
02-15-2017 04:43 AM
Hi Bruno;
I m having the same problem and i don´t see any reply messages...the solution is checks every devices IPs and delete spaces? (if there are). My problem is i have more than 2.000 devices :-(
Thanks a lot
02-15-2017 05:43 AM
Hello again;
I ve fixed the problen, found the host with spaces downloading all host to CSV files and looking for spaces " ".
Thanks
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: