flaxsearch / flaxcode

Automatically exported from code.google.com/p/flaxcode
4 stars 1 forks source link

Cannot index Samba shares from Windows Server 2003 #207

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I cannot seem to index Samba shares from our Windows Server 2003. I tried
both using a mapped network drive (X:) and a UNC path to the same folder.
There is no problem browsing or opening the files in Explorer.

flaxindexing.log shows:

indexing.remote: 6672: ERROR: File path X:\data is neither a directory or a
file:

Or

indexing.remote: 6672: ERROR: File path \\frodo\www\data is neither a
directory or a file:

The network drive also doesn't show up when browsing for folders in the
collection administration interface.

From Windows XP Professional, I *can* index those very same files with a
UNC path (didn't try network drive).

Let me know if you need more details.

Original issue reported on code.google.com by cy...@home.se on 11 Feb 2009 at 3:35

GoogleCodeExporter commented 9 years ago
Can you check the user account that Flax uses has access to those files? If you 
check
the Flax Service (Programs, Administrative Tools, Services I think) you should 
be
able to see which account the Flax service is using. 

Original comment by charliej...@gmail.com on 11 Feb 2009 at 4:04

GoogleCodeExporter commented 9 years ago
It's running as Local System. The Samba share is not on a domain and not
password-protected, it's open for everyone (since it's behind a firewall). The
Windows server is on a domain, however.

Original comment by cy...@home.se on 12 Feb 2009 at 8:14

GoogleCodeExporter commented 9 years ago
From my reading of:
http://technet.microsoft.com/en-us/library/bb680595.aspx
I think the LocalSystem account may not have network access. Can you create a 
new
account specifically for Flax to use, that has full access to the files you 
need to
index?

Original comment by charliej...@gmail.com on 12 Feb 2009 at 11:40

GoogleCodeExporter commented 9 years ago
I tried creating a domain user, but then the service didn't start at all. In the
Event Viewer, I see a DBPermissionsError ("Operation not permitted"). I gave 
the new
user read access to the "Flax Basic" folder, write access to "logs" and write 
access
to the database folders.

Also, I started the service as Administrator. This worked, but it still 
couldn't find
the network drive.

Original comment by cy...@home.se on 12 Feb 2009 at 12:24

GoogleCodeExporter commented 9 years ago
Since it works on XP but not on Server 2003, I'm pretty sure this is still a
permissions problem....but I'm going to try some experiments here and see if I 
can
find out more.

Original comment by charliej...@gmail.com on 12 Feb 2009 at 1:38

GoogleCodeExporter commented 9 years ago

Original comment by charliej...@gmail.com on 27 Aug 2009 at 1:27