The $StateFileDirectory variable in your ThisSite.pm file specifies a directory that you can't write to.
You ran the ScanSwitch program as user "A" and then later ran it again as user "B". The second time around, the existing file can't be overwritten by user "B".
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am using switchmap tool, and from past few days, i am getting the following error for one of the switches, could somebody help me fixing this error.
Getting mail stating below:
ScanSwitch: Couldn't open /var/www/html/switchmap/idlesince/switch1.idlesince for writing, Permission denied
But when i check other files, having the same level of permissions like this and not having any errors.
Thanks & Regards,
Bala.
I can think of a few reasons this might happen.
The $StateFileDirectory variable in your ThisSite.pm file specifies a directory that you can't write to.
You ran the ScanSwitch program as user "A" and then later ran it again as user "B". The second time around, the existing file can't be overwritten by user "B".
Hope this helps.