Menu

Switchmap: Couldn't open switch1.idlesince for writing, Permission denied

Help
2016-03-13
2016-03-14
  • balaji papolu

    balaji papolu - 2016-03-13

    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.

     
  • Pete Siemsen

    Pete Siemsen - 2016-03-14

    I can think of a few reasons this might happen.

    1. The $StateFileDirectory variable in your ThisSite.pm file specifies a directory that you can't write to.

    2. 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.

     

Log in to post a comment.