Skip navigation
1 2 Previous Next 7358 Views 18 Replies Latest reply: May 3, 2011 2:27 PM by keithr RSS
Apprentice 93 posts since
Jun 11, 2009

Has received 2 of 9 achievements.
Currently Being Moderated

Dec 23, 2010 3:23 AM

Lucene Folder Access Error

Hello,

 

Quick query regarding a knowledge base error if anyone can help with this one please.

 

After performing an iis reset the automatic knowledge searches (on the incident window) have stopped returning results for our integrated login versions of console.

 

Checking the server reports errors saying:

 

UnauthorizedAccessException
Access to the path '\\servername\lucene\index' is denied

 

We have not changed anything to my knowledge from the day before; any ideas as to exactly what specifically needs to be granted access to the lucene folder?

 

Many thanks for any help.

  • CCrossfield SupportEmployee 170 posts since
    Nov 11, 2008

    Has received 5 of 9 achievements.
    Currently Being Moderated
    2. Dec 29, 2010 8:06 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi Darren,

     

    I think this uses the account which IIS is running under (by default this is the network service account).

     

    Does the network service account have access to the Lucene directory.

     

    Calvin

  • CCrossfield SupportEmployee 170 posts since
    Nov 11, 2008

    Has received 5 of 9 achievements.
    Currently Being Moderated
    4. Dec 30, 2010 3:09 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi Darren,

     

    Does the search work when logged in explicitly?

     

    If so do the IIS directories/ application pools have different authentication setting to the explicit tps directory?

     

    Calvin

  • masterpetz ITSMMVPGroup 387 posts since
    Feb 26, 2008

    Has received 7 of 9 achievements.
    Currently Being Moderated
    6. Dec 30, 2010 3:42 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi Darren,

     

    does your lucene folder have permission set for "Authenticated User"?

     

    Best regards

    Christian

  • CCrossfield SupportEmployee 170 posts since
    Nov 11, 2008

    Has received 5 of 9 achievements.
    Currently Being Moderated
    7. Dec 30, 2010 3:47 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi Darren,

     

    Yes that looks ok, as long as the share can be accessed by the Network Service (\\itbmapp2\lucene).

     

    Which version of IIS are you using? I will show you where the authenication settings can be found.

     

    Calvin

  • CCrossfield SupportEmployee 170 posts since
    Nov 11, 2008

    Has received 5 of 9 achievements.
    Currently Being Moderated
    10. Dec 30, 2010 4:21 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi Darren,

     

    When opening IIS Manager there should be a list of the virtual directories if you select the TPS directory then click on Authentication it will give you a list of the authentication options.

     

    These setting should be the same on Explicit and Integrated tps directories. This problem could be caused if IIS is picking up an 'authenticated user' and trying to access the directory with this user instead of the network service.

     

    If you right on the application pool (being used) in the tree it will show an advanced option which shows the user that is being used by IIS (the default is the network service).

     

    Calvin

  • CCrossfield SupportEmployee 170 posts since
    Nov 11, 2008

    Has received 5 of 9 achievements.
    Currently Being Moderated
    11. Dec 30, 2010 4:28 AM (in response to CCrossfield)
    Re: Lucene Folder Access Error

    To test this you could try adding the user who is logged in doing the search onto the directory.

     

    Then see if it works for that user.

     

    Calvin

  • CCrossfield SupportEmployee 170 posts since
    Nov 11, 2008

    Has received 5 of 9 achievements.
    Currently Being Moderated
    13. Dec 30, 2010 6:13 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi Darren,

     

    Yes that is the right area further down in the security category there is an icon for the authentication settings.

     

    The virtual directory that is being used can be found by selecting Help and About in Console.

     

    Yes that was what I meant. I think Christian was suggesting this when he said "Authenticated User".

     

    If this does not work I would suggest contacting your Support Provider so someone can check the settings to see why the integrated tps is not connecting to the folder.

     

    Give them the link to this thread so they can see what we have tried so far.

     

    Thanks

     

    Calvin

  • masterpetz ITSMMVPGroup 387 posts since
    Feb 26, 2008

    Has received 7 of 9 achievements.
    Currently Being Moderated
    14. Dec 30, 2010 6:39 AM (in response to Darren_Perkins)
    Re: Lucene Folder Access Error

    Hi  Darren,

     

    IIS could be one thing but the other thing is security permissions on the folders. Try to modify the "lucene" folder an add the "authenticated user", its a built in windows account, to this folder. Do an iisreset and try the backgroundsearch. If this is not working, give "everyone" rights on this folder so you can see, if it is a ntfs permission problem or not. After that, you can go on with IIS.

     

    Best regards

    Christian

1 2 Previous Next

More Like This

  • Retrieving data ...

Bookmarked By (2)

Legend

  • Correct Answers - 20 points
  • Helpful Answers - 10 points
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software