cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
120
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

./state/packages-in-use.cur: Failed to rename to ./state/packages-in-use.old: permission denied

Hi team,

 

I'm having an issue with NSO 5.3.1.1 local install on my laptop. When doing "packages reload", everything looks fine from CLI however, the new model of the package doesn't get loaded and I need to restart NSO with --with-package-reload flag to do so. After some troubleshooting I found the following line in the ncs.log:

 

./state/packages-in-use.cur: Failed to rename to ./state/packages-in-use.old: permission denied

 

And really, if I try to the same by myself I get the same message:

 

mv packages-in-use.cur packages-in-use.old
mv: cannot move 'packages-in-use.cur' to 'packages-in-use.old': Permission denied

 

Also, I see "packages-in-use.new" directory:

 

ls packages-in-use*
packages-in-use:
1

packages-in-use.cur:
1

packages-in-use.new:
1

 

Looing a bit deeper, I found the problem to be in "private-jar" and "shared-jar" directories of the IOS NED (the only one I'm using):

 

mv private-jar private-jar-2
mv: cannot move 'private-jar' to 'private-jar-2': Permission denied

 

Any idea how to overcome this problem?

 

Thanks in advance,

Djordje