Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Severe problems with last samba update

  1. #1
    Join Date
    Nov 2010
    Beans
    19

    Severe problems with last samba update

    Anybody else out there having problems with samba after the last update? Ever since it installed (version 2.3.5.8 which was on 10/4, I believe) I've been having nothing but problems with my mounted file systems.

    Moving files between the local and remote file systems has become basically impossible, as the mounted file systems and files periodically disappear, taking even the mount points with them at times.

    The situation is so bad that I'm looking into rolling back the changes (any help in this regard would be appreciated) at least until the next update comes out.

    I'm running kubuntu 11.04 64bit, all current updates ... easily the weakest version of the OS I've ever seen.

    MikeD

  2. #2
    Join Date
    Oct 2009
    Location
    California
    Beans
    Hidden!
    Distro
    Ubuntu Studio 12.10 Quantal Quetzal

    Re: Severe problems with last samba update

    Synaptic -> File -> History

    Should show you what recent changes that have happened

    Or if you don't see them there (Which for some reason I can't :/
    )
    Open up Ubuntu Software Center -> History

    and then I guess you will just need to remove and reinstall the packages.
    [I'm not a big user of Kubuntu so I'm guessing it is pretty much the same]
    Last edited by duke.tim; October 7th, 2011 at 10:02 PM.
    User:To friend or not to friend--that is the question:
    Whether 'tis nobler to take an arrow to the knee or to suffer
    the slights and add's of outrageous fortune
    Or to take arms against a sea of trolls And by opposing feed them. www.evicsis.com

  3. #3
    Join Date
    Nov 2010
    Beans
    19

    Re: Severe problems with last samba update

    Well yeah, I know what I installed, thank you.

    The question is: How do I find out what the previous versions were, so I can go back to there?

    Anyone?

  4. #4
    Join Date
    Oct 2009
    Location
    California
    Beans
    Hidden!
    Distro
    Ubuntu Studio 12.10 Quantal Quetzal

    Cool Re: Severe problems with last samba update

    I'm sorry if I misunderstood your question.
    (and I hope that wasn't a sarcastic 'thank you[very much]')

    Synaptic Package Manager
    Find what you installed
    -> Package -> Download Changelog

    It will show you all of the previous versions

    ---------------------

    If you want to 'Force' use of a previous version
    you can

    Package -> Force Version
    or Ctrl -E
    ---------------------

    If you want to find what the previous version was, you will
    need to look through your logs

    It will show this in:
    Ubuntu Software Center -> History
    Code:
    /var/log/dpkg.log
    Code:
    /var/log/apt/history.log
    Or you might be able to see what previous versions were avalible through

    Synaptic Package Manager
    Find what you installed
    Right Click Properties -> Versions

    I hope this helps you with your question
    User:To friend or not to friend--that is the question:
    Whether 'tis nobler to take an arrow to the knee or to suffer
    the slights and add's of outrageous fortune
    Or to take arms against a sea of trolls And by opposing feed them. www.evicsis.com

  5. #5
    Join Date
    Nov 2010
    Beans
    19

    Re: Severe problems with last samba update

    Sorry if I sounded a little snotty, I'm just annoyed with this distribution. It's been giving me problems since day 1.

    Sincere thanks for the help. I'll give it a shot tomorrow. Please stay tuned...

    Go Philllies,
    MikeD

  6. #6
    Join Date
    Nov 2010
    Beans
    19

    Re: Severe problems with last samba update

    Well, that was hard to watch... Phillies, I mean.

    Anyway, I figure that outside of waiting for the next version of samba to come out, the best way to go would be to regress from the new version 'amd64 (3.5.8~dfsg-1ubuntu2.2, 3.5.8~dfsg-1ubuntu2.3)' to the last version which showed up in the apt history logs 'amd64 (3.5.4~dfsg-1ubuntu8 )' but I can't figure out how.

    Using Synaptic -> Package -> Force Version, the only other choice is '2:3.5.8~dfsg~ubuntu2(natty)' , which aside of not being the version I want, would cause kde-desktop to be removed.

    I then thought that removing all the samba packages and rebuilding, but that would remove damn near everything.

    Anybody done anything like this?
    MikeD

  7. #7
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Severe problems with last samba update

    Quote Originally Posted by mikeydeeeee View Post
    Well, that was hard to watch... Phillies, I mean.

    Anyway, I figure that outside of waiting for the next version of samba to come out, the best way to go would be to regress from the new version 'amd64 (3.5.8~dfsg-1ubuntu2.2, 3.5.8~dfsg-1ubuntu2.3)' to the last version which showed up in the apt history logs 'amd64 (3.5.4~dfsg-1ubuntu8 )' but I can't figure out how.

    Using Synaptic -> Package -> Force Version, the only other choice is '2:3.5.8~dfsg~ubuntu2(natty)' , which aside of not being the version I want, would cause kde-desktop to be removed.

    I then thought that removing all the samba packages and rebuilding, but that would remove damn near everything.

    Anybody done anything like this?
    MikeD
    I believe it's possible to fix your problems. I've had no problems with Samba 3.5.8. Can you be more specific? Are you having problems with NetBIOS names? How are you mounting your shares? What do you have to do to restore the mount?
    Last edited by capscrew; October 9th, 2011 at 06:07 PM.

  8. #8
    Join Date
    Nov 2010
    Beans
    19

    Re: Severe problems with last samba update

    I believe it's possible to fix your problems.

    Well, Ryan Howard's got to remember to bring his bat to the playoffs ... Oh, you mean with samba

    I've had no problems with Samba 3.5.8. Can you be more specific? Are you having problems with NetBIOS names? How are you mounting your shares? What do you have to do to restore the mount?

    The mounted file systems live on a windows 2000 server named 'ren' on the local network. I do a standard filesystem mount through fstab, the relevant entries being:

    //ren/music /music cifs nocase,mapchars,noperm 1 2
    //ren/video /video cifs nocase,mapchars,noperm 1 2
    //ren/hold /hold cifs nocase,mapchars,noperm 1 2
    //ren/data /data cifs nocase,mapchars,noperm 1 2


    One of the nice things about this release is that it fixed a problem where some of the file systems (usually video and music, the bigger ones) would fail to mount. Only other oddity previous to this release is that for some reason, a dummy entry
    shows up in kdiskfree for each mount point.

    Now they mount, but after some I/O activity, like playing music or video file, there are gaps in the playback. When attempting to move a large file like a video to the remote system, the target file seems to simply disappear. When the root directory is listed, not only has the entire /video or /music structure disappeared, but the mount point as well. The filesystems still show as mounted in df of kdiskfree, but issuing another mount command usually fixes the problem, but it comes back after more I/O.

    Now mind you, I'm not doing anything any differently now than I have been for some years now. The only thing that changed is the version of samba.

    I can't be the only person out there having this problem.

  9. #9
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Severe problems with last samba update

    Quote Originally Posted by mikeydeeeee View Post
    I believe it's possible to fix your problems.

    Well, Ryan Howard's got to remember to bring his bat to the playoffs ... Oh, you mean with samba

    I've had no problems with Samba 3.5.8. Can you be more specific? Are you having problems with NetBIOS names? How are you mounting your shares? What do you have to do to restore the mount?

    The mounted file systems live on a windows 2000 server named 'ren' on the local network. I do a standard filesystem mount through fstab, the relevant entries being:
    Code:
    //ren/music             /music                  cifs   nocase,mapchars,noperm 1 2
    //ren/video             /video                  cifs   nocase,mapchars,noperm 1 2
    //ren/hold              /hold                   cifs   nocase,mapchars,noperm 1 2
    //ren/data              /data                   cifs   nocase,mapchars,noperm 1 2
    One of the nice things about this release is that it fixed a problem where some of the file systems (usually video and music, the bigger ones) would fail to mount. Only other oddity previous to this release is that for some reason, a dummy entry [/FONT]shows up in kdiskfree for each mount point.

    Now they mount, but after some I/O activity, like playing music or video file, there are gaps in the playback. When attempting to move a large file like a video to the remote system, the target file seems to simply disappear. When the root directory is listed, not only has the entire /video or /music structure disappeared, but the mount point as well. The filesystems still show as mounted in df of kdiskfree, but issuing another mount command usually fixes the problem, but it comes back after more I/O.

    Now mind you, I'm not doing anything any differently now than I have been for some years now. The only thing that changed is the version of samba.

    I can't be the only person out there having this problem.
    Texas takes it all! Also; watch for the Rugby World Cup Finals on 10/23. Football with no helmets.

    Back to the business at hand: I really don't know what to say. I never mount SMB shares using fstab. I let Nautilus do that.

    I regularly move (and create) 20+ GB files (meaning a single file being greater than 20GB) to a SMB Share. I have only once had problems. This turned out to be resource exhaustion. That particular Samba server is a P3 with 512 MB of RAM.

    I believe it must have been a race condition. When I looked at top (actually htop) I could see the load averages touching 1.0. I suppose that the connection was dropped and could not establish itself again. The error logs pointed to that. After I rebooted the Samba server I monitored the system load and have not not seen those kind of loads again. Check the logs to see what actually happens when you have a failure.

    In the past I have bypassed all of the GUI interface and moved files using the command line. You can try that method (smbclient) and see what happens. It works more like FTP and I have never had problems that way.

    I do see that these are multimedia files and I wonder if the applications (video and music) might be the culprit. There are plenty of stories about how Open Office is not Samba aware.

  10. #10
    Join Date
    Nov 2010
    Beans
    19

    Re: Severe problems with last samba update

    Well yes, I'm aware there are other ways of making remote file systems available to a *nix system, but this is the way I'm used to doing it, and like I said, it's worked fine up till now.

    I'm getting used to the idea that I'm going to have to back out this update, going from the 2:3.5.8 samba utils back to 2:3.5.4 and losing KDE in the process. Obviously, I'll have to do this at the command line level, which will be a pain. On the good side, looks like a new version of KDE is out there anyway, so the net pain should be mitigated.

    Be back in a few days ... hopefully.
    MikeD

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •