unRAID Server Release 5.0-rc8a Available


limetech

Recommended Posts

  • Replies 418
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Okay, so first of all, I included a typo in my original post about this.  Here is my actual go script.  I have now added the # to the beginnings of the last 3 lines in an effort to just get back to stock...

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
echo nameserver 192.168.1.254 >/etc/resolv.conf
echo 192.168.1.150 media >>/etc/hosts
# custom install of updated samba package
#/etc/rc.d/rc.samba stop
#installpkg /boot/packages/samba-3.6.9-i486-1.txz
#/etc/rc.d/rc.samba start

 

I do have this file (samba-3.6.9-i486-1.txz) in my /boot/packages/ folder, which I downloaded from peter_sm's post, here

http://lime-technology.com/forum/index.php?topic=22604.msg206759#msg206759

 

When I had the go script without the # in front of the last 3 lines, and rebooted, I checked the logs in simple features, and clicking on "samba" shows this...

 

3:  Copyright Andrew Tridgell and the Samba Team 1992-2011

2:  smbd version 3.6.7 started.

1: [2012/11/03 13:27:40,  0] smbd/server.c:1053(main)

 

Which made me think that it was still using the 'stock' version from rc8a.  I just checked with Putty, and get this...

root@media:~# smbstatus

Samba version 3.6.9
PID     Username      Group         Machine
-------------------------------------------------------------------
4064      theater       users         htpc         (192.168.1.64)
13965     chris         users         desktop      (192.168.1.68)

Service      pid     machine       Connected at
-------------------------------------------------------
photos       6283   aspire5732z   Sat Nov  3 14:48:10 2012
backup       13965   desktop       Sat Nov  3 13:34:58 2012
video        6283   aspire5732z   Sat Nov  3 14:48:10 2012
video        13965   desktop       Sat Nov  3 13:39:13 2012
documents    13965   desktop       Sat Nov  3 13:34:58 2012
music        6283   aspire5732z   Sat Nov  3 14:48:10 2012
backup       4064   htpc          Sat Nov  3 17:14:54 2012
music        4064   htpc          Sat Nov  3 14:08:44 2012
photos       4064   htpc          Sat Nov  3 14:08:44 2012
music        13965   desktop       Sat Nov  3 13:34:59 2012
video        4064   htpc          Sat Nov  3 14:08:35 2012
adult        13965   desktop       Sat Nov  3 13:39:13 2012
photos       13965   desktop       Sat Nov  3 13:39:12 2012
backup       6283   aspire5732z   Sat Nov  3 14:48:10 2012

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           Share                                                                              Path   Name   Time
--------------------------------------------------------------------------------                                                                              ------------------
6283         99         DENY_ALL   0x100080    RDONLY     NONE             /mnt/                                                                              user/backup   .   Sat Nov  3 14:48:10 2012
13965        1001       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/backup   .   Sat Nov  3 13:35:28 2012
4064         1009       DENY_NONE  0x80        RDONLY     NONE             /mnt/                                                                              user/backup   .   Sat Nov  3 17:15:04 2012
4064         1009       DENY_NONE  0x100080    RDONLY     NONE             /mnt/                                                                              user/video   Movie/Harry_Potter_and_the_Deathly_Hallows_Part_1   Sat Nov  3 17:1                                                                              5:38 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/video   Movie/Harry Potter   Sat Nov  3 17:22:55 2012
4064         1009       DENY_NONE  0x100080    RDONLY     NONE             /mnt/                                                                              user/video   Movie/Harry Potter   Sat Nov  3 17:15:04 2012
4064         1009       DENY_NONE  0x100080    RDONLY     NONE             /mnt/                                                                              user/video   Movie/Harry Potter   Sat Nov  3 17:15:04 2012
4064         1009       DENY_NONE  0x100080    RDONLY     NONE             /mnt/                                                                              user/video   Movie/Harry Potter   Sat Nov  3 17:16:29 2012
13965        1001       DENY_NONE  0x80        RDONLY     NONE             /mnt/                                                                              user/documents   .   Sat Nov  3 13:35:27 2012
4064         1009       DENY_NONE  0x100080    RDONLY     NONE             /mnt/                                                                              user/video   Movie/Harry Potter/Harry Potter and the Deathly Hallows_ Part 1.mkv                                                                                 Sat Nov  3 17:16:29 2012
13965        1001       DENY_NONE  0x80        RDONLY     NONE             /mnt/                                                                              user/photos   .   Sat Nov  3 13:39:14 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/photos   .   Sat Nov  3 17:23:44 2012
6283         99         DENY_ALL   0x100080    RDONLY     NONE             /mnt/                                                                              user/photos   .   Sat Nov  3 14:48:10 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/photos   .   Sat Nov  3 14:12:56 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/video   .   Sat Nov  3 17:23:44 2012
13965        1001       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/video   .   Sat Nov  3 13:51:43 2012
6283         99         DENY_ALL   0x100080    RDONLY     NONE             /mnt/                                                                              user/video   .   Sat Nov  3 14:48:10 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/video   .   Sat Nov  3 14:13:40 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/video   .   Sat Nov  3 17:09:12 2012
13965        1001       DENY_NONE  0x80        RDONLY     NONE             /mnt/                                                                              user/music   .   Sat Nov  3 13:35:28 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/music   .   Sat Nov  3 17:23:44 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/music   .   Sat Nov  3 14:08:47 2012
6283         99         DENY_ALL   0x100080    RDONLY     NONE             /mnt/                                                                              user/music   .   Sat Nov  3 14:48:10 2012
13965        1001       DENY_NONE  0x80        RDONLY     NONE             /mnt/                                                                              user/adult   .   Sat Nov  3 13:39:14 2012
4064         1009       DENY_NONE  0x100081    RDONLY     NONE             /mnt/                                                                              user/video   Movie   Sat Nov  3 17:21:57 2012

 

which is particularly confusing because I have the lines trying to add 3.6.9 commented out, so I'm not really sure how it's got 3.6.9 running apparently.

 

the only thing i can think of is

1) I haven't rebooted since commenting out the last 3 lines, but I'm 95% sure that i have

2) I started trying to follow the commands in putty from here...

http://lime-technology.com/forum/index.php?topic=22604.msg207339#msg207339

mkdir /tmp/samba
cd /tmp/samba
wget http://us3.samba.org/samba/ftp/stable/samba-3.6.2.tar.gz (which I changed to 3.6.9.tar.gz)
wget -r -nH ftp://slackware.osuosl.org/pub/slackware/slackware-current/source/n/samba

cp /tmp/samba/samba-3.6.2.tar.gz .  (which I changed to 3.6.9.tar.gz) - and it said that the source and destination were the same
cd pub/slackware/slackware-current/source/n/samba/
Delete old version of samba - (here is where I stopped)
####edit samba.SlackBuild, and change on 2 places so it's match the extension of the new file
  >>>> samba-*.tar.xz >>>>  samba-*.tar.gz
  >>>> samba-$VERSION.tar.xz >>>>  samba-$VERSION.tar.gz
$ chmod +x samba.SlackBuild
$ ./samba.SlackBuild

Slackware package /tmp/samba-3.6.2-i486-1.txz created.

but stopped at the "Delete old version of samba" part, since the rest wasn't working when typing it into putty.  Probably was stupid to even start doing that, but sometimes I do dumb things.

 

so, I'm not sure where I am really, other than seemingly running 3.6.9 for the last couple of hours.

 

I tried deleting a movie (the harry potter movie shown above) from Windows Explorer, and got a permissions error.  This is the problem I'm trying to cure.  I keep getting permission errors when trying to move, copy or rename various files.  It seems to have something to do with which machine last 'touched' the file, and then a different machine getting permission errors when trying to do something with that file later.

 

I tried to watch a TV show I downloaded with SickBeard, and my media player choked saying I didn't have permission to do so.

 

When I run the 'newperms' script on the video folder, these problems all go away.  However, new files then have these issues later.

 

I really just want all the permissions errors to stop once and for all, and thought that the newer samba might help with that based on the comments I've seen here.

 

So, with all that said, what's my best next course of action?  If just going to samba 3.6.8 is the best choice, I'm fine with that.  i just figured that since 3.6.9 followed so quickly after 3.6.8 that it likely fixed another error in 2.6.8, so going to the newest was better.

 

thanks again for any and all help everyone!

Link to comment

Yeah so don't worry about 3.6.9 for now.  To build it yourself from pete's instructions you're going to need gcc compiler installed (that was why it didn't work for me earlier) and the file pete offered doesn't seem to be working.  I have no doubt he "did it right" but the build script he's pulling from slackware might not work for 3.6.9  since it seems we're getting library errors.  I don't know enough to be anything but dangerous, so I stopped there :)  Oh yeah and I too saw 3.6.9 when running smbstatus but lost actual connectivity from all my clients hitting the server.  "Proof" that the library error is Bad

 

Your best bet is to get 3.6.8 running, validate that it is running, then run the new permissions script and reboot.  From there then you can determine if you still have the same problem.  3.6.8 does seem to be working for most everyone else and it doesn't look like you've quite got all the steps done to prove that it isn't going to help you.

Link to comment

Thanks everyone.  I downloaded the 3.6.8 version for Slackware, put it in my packages folder, and updated my go script to point to this file.  I rebooted and verified I'm now running version 3.6.8.

 

I ran the newperms script overnight, but still had a problem with one video file this morning.  I manually ran newperms /mnt/user/video/TV/ and the file is now working fine.

 

Hopefully there won't be any more permissions issues from now on.

Link to comment

limetech can we please at least get RC9 with latest libs/samba? Im tired of restarting samba every time my Windows 8 clients need to access a share, it is just broken...

 

To have the updated version of Samba always installed whenever you want to use it, see this post:

 

http://lime-technology.com/forum/index.php?topic=22604.msg206583#msg206583

 

I understand, but this should be part of the o/s package. I have 3 Windows 8 machines and 1 Windows 7 in the house, every time i want to access a share i have to telnet, restart samba, wait 5 seconds, then i can access any share.

 

On another note, I can no longer access my server by using the server name either, just IP.

Link to comment

limetech can we please at least get RC9 with latest libs/samba? Im tired of restarting samba every time my Windows 8 clients need to access a share, it is just broken...

 

To have the updated version of Samba always installed whenever you want to use it, see this post:

 

http://lime-technology.com/forum/index.php?topic=22604.msg206583#msg206583

 

I understand, but this should be part of the o/s package. I have 3 Windows 8 machines and 1 Windows 7 in the house, every time i want to access a share i have to telnet, restart samba, wait 5 seconds, then i can access any share.

 

On another note, I can no longer access my server by using the server name either, just IP.

 

Your constant starting and stopping Samba is a good portion of your problem with your Windows' (and Samba) networking.  (You are removing your server name from the list of Windows computers every time you do it.  It then can take several minutes for it to get re-register with the system.)  With the script (it goes in your go file) that I have shown in the link will permanently install 3.6.8 on your computer.  The Samba 'stop' and 'start' occur only when your computer is booting up.

 

It would be nice if Tom would release an updated rc candidate but I really doubt if he is going to do it just to update the Samba version.  I am certainly not going to get bend out of shape if he doesn't--- especially since the user can easily update the version himself. 

 

Link to comment

Thanks everyone.  I downloaded the 3.6.8 version for Slackware, put it in my packages folder, and updated my go script to point to this file.  I rebooted and verified I'm now running version 3.6.8.

 

I ran the newperms script overnight, but still had a problem with one video file this morning.  I manually ran newperms /mnt/user/video/TV/ and the file is now working fine.

 

Hopefully there won't be any more permissions issues from now on.

 

Sadly, some new videos are still giving me permissions errors.  This one in particular was found by SickBeard, downloaded by SABnzbd, then processed by the AutoProcessTV script.  My media player complained that I didn't have permission to play the file.  i have since ran the newperms script on the folder, since I wanted to watch the show, so I can't give any specifics of that file any longer.

 

If/when it happens again, what can I do to figure out why it's screwed up, so that I can eliminate the cause of this annoying problem once and for all?

Link to comment

Thanks everyone.  I downloaded the 3.6.8 version for Slackware, put it in my packages folder, and updated my go script to point to this file.  I rebooted and verified I'm now running version 3.6.8.

 

I ran the newperms script overnight, but still had a problem with one video file this morning.  I manually ran newperms /mnt/user/video/TV/ and the file is now working fine.

 

Hopefully there won't be any more permissions issues from now on.

If/when it happens again, what can I do to figure out why it's screwed up, so that I can eliminate the cause of this annoying problem once and for all?

 

What are your permissions in SAB set to? Go to "Config --> Folders --> Permissions for Completed Downloads" and try it at 777

Link to comment

If/when it happens again, what can I do to figure out why it's screwed up, so that I can eliminate the cause of this annoying problem once and for all?

 

It is related to the plugins you are running and not unRAID. You need to configure the plugins (SAB et al) to use the proper permissions. In SAB try using 777 or something more applicable.

Link to comment

95% of the downloads work fine.  I have SAB set to 777 already.  It's only the occasional file that has this problem.

 

Any other ideas?

 

Are the files that are giving you problems in folders that don't have full read/write permission or are "owned" by a different user? Even when downloading with 777, my understanding (that could be wrong) is that files inherit their parent directory's permissions.

Link to comment

I don't know if this is related, but i just discovered that a user is not able to see a subfolder of a user share.  She can see and use the files in the share, and can see the folder called "business", but when she double-clicks, it gives here a permission error, and will not open the folder to display the files and folders within.

 

I have the same permissions on my machine, and I can navigate this folder without issue.

 

It feels like something is very wrong on this setup, but I'm not sure where to look for a fix.

 

I've ran the "new permissions" script more than once on this box, and it helps for a while, then I get issues again after some time

Link to comment

95% of the downloads work fine.  I have SAB set to 777 already.  It's only the occasional file that has this problem.

 

Any other ideas?

 

Are the files that are giving you problems in folders that don't have full read/write permission or are "owned" by a different user? Even when downloading with 777, my understanding (that could be wrong) is that files inherit their parent directory's permissions.

 

They shouldn't be, since my 'fix' is to run newperms /mnt/user/video/{folder with issues}

 

this should fix the ownership and access permissions on the whole folder and all subfolders.  I've also run it on just /mnt/user/video a few times, but since it takes much longer, I'm just running it on the specific sub-folder whenever I have a problem.

 

I'm running Windows 7 Home Premium x64 with no homegroup (only a workgroup), in case that matters.

Link to comment

I'm having similar issues both with SAB and with deleting folders/browse in general. Reading is no issue but deleting sure can be, especially if trying to remove folders. I'll try swapping SAMBA versions to see if that helps. SAB runs on another machine so I'd expect it's not the cause but I'll check just in case to make sure it's setting files properly...

Link to comment

I'm having similar issues both with SAB and with deleting folders/browse in general. Reading is no issue but deleting sure can be, especially if trying to remove folders. I'll try swapping SAMBA versions to see if that helps. SAB runs on another machine so I'd expect it's not the cause but I'll check just in case to make sure it's setting files properly...

 

There have been reported issues with the Samba version 3.6.7 which was the samba version bundled with rc8.  The problem reported was with deleting files.  The issue was corrected by replacing 3.6.7 with ver 3.6.8.  The details for both the problem and the replacement of version 3.6.7 are in this thread. 

Link to comment

 

 

There have been reported issues with the Samba version 3.6.7 which was the samba version bundled with rc8.  The problem reported was with deleting files.  The issue was corrected by replacing 3.6.7 with ver 3.6.8.  The details for both the problem and the replacement of version 3.6.7 are in this thread.

 

Tried to find how to replace the version of samba with a newer version and found some scripts to type in putty but it all does not seem to work for me.

Can anyone point me in the right direction?

Link to comment

 

 

There have been reported issues with the Samba version 3.6.7 which was the samba version bundled with rc8.  The problem reported was with deleting files.  The issue was corrected by replacing 3.6.7 with ver 3.6.8.  The details for both the problem and the replacement of version 3.6.7 are in this thread.

 

 

Tried to find how to replace the version of samba with a newer version and found some scripts to type in putty but it all does not seem to work for me.

Can anyone point me in the right direction?

 

Did you try this script in your go file?

 

http://lime-technology.com/forum/index.php?topic=22604.msg206583#msg206583

 

If this was what you did, what was the problem?  Or did you use some other set of steps?  What 'newer version' of Samba were you trying to load?  You will have to post up exactly what you tried and what responses to got back in Putty for someone to be able to help you.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.