09-29-2005 10:29 AM
Ciscoworks sucks. I get one step forward, then two steps back on every function. I am trying to download software from Cisco.com to the software repository. The job fails with the following: "User Error: Invalid data directory. Recommended Action: Verify that the directory exists" Of course, it doesn't tell you what directory it is trying to access. Anybody know?
Solved! Go to Solution.
10-03-2005 10:58 PM
ok it's working now.
In the file repository.properties
I replace the line :
repository.imagedir=C\:\\PROGRA~1\\CSCOpx_DATADIR\\rme\\repository\\
with
repository.imagedir=C\:/PROGRA~1/CSCOpx/files/rme/repository/
olsonc don't forget the last'/'
Thx all :-)
09-29-2005 10:35 AM
Check this file out:
CSCOpx\MDC\tomcat\webapps\rme\WEB-INF\classes\com\cisco\nm\rmeng\repository\common\repository.properties
What does it say for repository.imagedir ?
09-29-2005 10:58 AM
repository.imagedir=d\:\\CSCOpx_DATADIR\\rme\\repository\\
However,the default directory structure is as shown:
D:\CSCOpx\files\rme\repository
I tried to force that in the RME Admin-view/edit software preferences but it claims the directory doesn't exist. Which one should I change?
09-29-2005 11:18 AM
Open a DOS shell and issue the command:
net stop crmdmgtd
edit the file (using Wordpad) and modfy the line to be:
repository.imagedir=d\:/CSCOpx/files/rme/repository
Save it as text
net start crmdmgtd
09-29-2005 01:02 PM
Did that, now I get a different error message:
"Error: You do not have write permission on current data directory. Recommended Action: Ask your system administrator to verify the write permissions for this directory or select another directory."
Permissions showed Admins and casuser having full control. Just for kicks, I added "everyone" and gave them write access. I still got the above error.
09-29-2005 01:23 PM
As a final test, I created another directory, gave the appropriate users write access and it STILL fails!
09-29-2005 03:03 PM
Since we have no idea what directory it is trying to write to, check the d:\CSCOpx\log\swim_debug.log file
If the job was already created, then the log files to look at would be under d:\CSCOpx\files\rme\swim\job-id
09-30-2005 06:03 AM
See a portion of the output below.The first error is:"Failed to construct the FileManager Object"
[ Fri Sep 30 08:38:55 CDT 2005 ],DEBUG,[Thread-3],com.cisco.nm.rmeng.repository.common.FileManager,
[ Fri Sep 30 08:38:55 CDT 2005 ],DEBUG,[Thread-3],com.cisco.nm.rmeng.repository.LocalRMERepository,
[ Fri Sep 30 08:38:55 CDT 2005 ],ERROR,[Thread-3],com.cisco.nm.rmeng.repository.RepositoryAdminSvc,getRepository,?,Caught Repository Exception. Error Message = com.cisco.nm.rmeng.repository.common.RepositoryException
[ Fri Sep 30 08:38:55 CDT 2005 ],DEBUG,[Thread-3],com.cisco.nm.rmeng.swim.slim.ImportServiceThread,run,352,Failed to add image to LocalRepository Error Msg = null
[ Fri Sep 30 08:38:55 CDT 2005 ],DEBUG,[Thread-3],com.cisco.nm.rmeng.swim.slim.ImportServiceThread,run,388,Failed to add to one or more repositories
When I try to add the directory in software mgt./view/edit preferences I get the same error message that is output on the job file. It doesn't matter what directory I put in.
10-01-2005 08:40 AM
olsonc0510,
I've the exactly same error. Do you use ACS with your LMS2.5 like me ?
Anybody know?
10-03-2005 06:25 AM
No. We are smaller and do not have an ACS so it must be something else. I will probably open a case on this. I'll keep you informed of progress. If you come up with anything, please let me know.
CO
10-03-2005 10:58 PM
ok it's working now.
In the file repository.properties
I replace the line :
repository.imagedir=C\:\\PROGRA~1\\CSCOpx_DATADIR\\rme\\repository\\
with
repository.imagedir=C\:/PROGRA~1/CSCOpx/files/rme/repository/
olsonc don't forget the last'/'
Thx all :-)
10-04-2005 06:17 AM
Thanks ysolan!!! You were right, the last / is crucial.
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: