The paths for the shares listed below could not be found.

Please post questions and issues pertaining to share access and file permission here.

Re: The paths for the shares listed below could not be found.

Postby rt1 » Sat May 30, 2009 1:09 am

I tried, but it doesn't work. The directories are correctly created in root (where I can see also the other shared directories) but they don't show up in the "Share List" on the NAS web interface so it's not possible to delete them from there.


I had a similar problem where just recreating (or deleting) the directory through SSH did not fix the error message. Trying to create a share with the same name resulted in an error that the share already existed. The answer for me was in the configuration file, which had references to the missing share regardless of the true state of the directory tree. After confirming through SSH that a directory relating to the missing share did not exist on the drive, I reverted back to a configuration file that pre-dated my cock-up with the missing share.

It isn't an ideal solution if you haven't backed up your configuration recently (or at all), but it might save a full reset/wipe. Reverting to an earlier configuration file also affects your add-ons (for example, if you didn't have ToggleSSH installed when you backed up the configuration, you'll have to reinstall it after you revert).

Hope this helps.
rt1
ReadyNAS Newbie
 
Posts: 2
Joined: Sat May 30, 2009 12:54 am
ReadyNAS: NV+

Re: The paths for the shares listed below could not be found.

Postby tsubasa99tsubasa » Wed Jun 24, 2009 12:43 am

I am having a very similar issue with my ReadyNas Pro. you mentioned :

"The answer for me was in the configuration file, which had references to the missing share regardless of the true state of the directory tree. After confirming through SSH that a directory relating to the missing share did not exist on the drive, I reverted back to a configuration file that pre-dated my cock-up with the missing share."

Where is this configuration file located? Presumably FrontView is a bit confused...would like to just edit the file and remove the reference considering I have already deleted the user and the associated folders.....
tsubasa99tsubasa
ReadyNAS Newbie
 
Posts: 8
Joined: Mon Jun 22, 2009 12:07 pm
ReadyNAS: Pro

Re: The paths for the shares listed below could not be found.

Postby tsubasa99tsubasa » Wed Jun 24, 2009 1:38 am

I think I may have figured out the problem with the missing shares, it stems from a mismatch between the file systems actual contents and what the Samba server shares config file states. It can be resolved by editing the "Shares.conf" file.

Here is my take on a "How-to" to fix the problem :

DISCLAIMER :

Exercise caution, I don't take any responsibility for your messed up ReadyNas. If you are concerned that you don't understand the "how-to", seek out help from a qualified professional.

ISSUE :

An error is shown the the ReadyNas log file stating :

"The paths for the shares listed below could not be found. Typically, this occurs when the ReadyNAS is unable to access the data volume. my_missing_user"

There is no user for "my_missing_user" listed under Frontview.
There is no home directory for "my_missing_user" showing under HOME or /.
There is no information showing in FrontView (Shares --> Share Listing) for Shares.
Frontview will not allow you to create a new share as user my_missing_user already exists.

RESOLUTION :

1. Install the SSH addon (if you dont have it already) for your ReadyNAS.

2. SSH into the ReadyNas as root "ssh root@192.168.X.X" where 192.168.X.X is your ReadyNAS IP address.

3. Change to the etc/frontview/samba directory "cd /etc/frontview/samba"

4. Backup the file "Shares.conf" by issuing the command "cp Shares.conf Shares.backup".

5. Look at the contents of "Shares.conf" by issuing the command "cat Shares.conf"

6. Look for entries that have your missing user share name as identified in the FrontView log file (i.e. my_missing_user). My Shares.conf file looked like the following :

[some_other_user]
...

[my_missing_user]
path = /c/my_missing_user
comment = "my_missing_user's Files"
oplocks = 1
admin users = "admin","Administrator"
hosts allow = "my_missing_user"
writeable = 1[/color]

[some_other_user]
...

7. Edit Shares.conf with vi "vi Shares.conf" and cursor down to the offending entry (in my case "my_missing_user").

8. Delete each line from the first bracket until the first empty line. (using the "dd" command in VI) (i.e. delete everything in purple)


[some_other_user]
...

[my_missing_user]
path = /c/my_missing_user
comment = "my_missing_user's Files"
oplocks = 1
admin users = "admin","Administrator"
hosts allow = "my_missing_user"
writeable = 1



[some_other_user]
...

9. Save the file ":wq"

10. Login to your ReadyNas view the Frontview web interface and reboot your ReadyNas.

11. Check your ReadyNas Frontview Log, problem should be gone!

12. Ensure that you have disabled SSH access via the ReadyNas Addon.

I hope this helps others that have suffered from the same problem. If you have any strange issues with Samba you can copy your backup file "cp Shares.backup Shares.conf" back to the original Shares.conf and you should be back to normal after a reboot.

Good luck!
tsubasa99tsubasa
ReadyNAS Newbie
 
Posts: 8
Joined: Mon Jun 22, 2009 12:07 pm
ReadyNAS: Pro

Re: The paths for the shares listed below could not be found.

Postby sanchrts » Wed Jun 24, 2009 4:32 am

Thanks very much for posting this solution.

I have to say however that as a user who craves reliability (and pays for it through my use of Netgear as opposed to cheaper products) and doesn't have the expertise (or time) to hack a NAS that's marketed at the SoHo market, this is a very disappointing problem to have.

I have had this issue on my Duo and also have an issue with shares that I believed I had deleted 'coming back from the grave' and also shares only being accessible via SMB/CIFS and not via AFP (see this thread).

Raf
User avatar
sanchrts
ReadyNAS User
 
Posts: 83
Joined: Wed Oct 12, 2005 6:57 am
Location: Hong Kong
ReadyNAS: NVX

Re: The paths for the shares listed below could not be found.

Postby tsubasa99tsubasa » Wed Jun 24, 2009 3:44 pm

Raf,

I agree with you comment. They may need to tighten up their code a bit to catch these phantom shares. It would be simple enough to handle via an addon to compare the user list on the NAS with the Samba.conf config file for missing entries. Perhaps tech support will see this and address the issue.

Best luck with your ReadyNas.
tsubasa99tsubasa
ReadyNAS Newbie
 
Posts: 8
Joined: Mon Jun 22, 2009 12:07 pm
ReadyNAS: Pro

Re: The paths for the shares listed below could not be found

Postby luckmca » Tue Jun 12, 2012 5:02 am

Hi peepz!

Model of ReadyNAS: RNDX4000

I've the same trouble here... but a little more complicated... i can't access all shares, include Media and Backup folders.

I've already tried to do the steps listed above, but couldn't resolve...

The NAS have many important and confidential data of company, and if the data lose, i'll lose my job too...

HELP!
luckmca
ReadyNAS Newbie
 
Posts: 2
Joined: Thu Apr 12, 2012 9:14 am
ReadyNAS: Duo

Re: The paths for the shares listed below could not be found

Postby StephenB » Tue Jun 12, 2012 6:58 am

you should start a new thread, rather than resume one that is 3 years old. Include the NAS firmware version, and also the security mode you are using.
User avatar
StephenB
Incurable ReadyNAS Junkie
 
Posts: 5093
Joined: Mon Oct 05, 2009 5:08 pm
ReadyNAS: Pro

Previous

Return to Share Access and File Permission



Who is online

Users browsing this forum: No registered users and 8 guests