Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Samba is not working on 10.04

  1. #1
    Join Date
    Mar 2010
    Beans
    18

    Samba is not working on 10.04

    I dont know what happened but samba stopped working and now I cant get it up again.

    I dont know what to do, when I try to start it says:
    Code:
    $ sudo /etc/init.d/samba restart
    sudo: /etc/init.d/samba: command not found

  2. #2
    Join Date
    Nov 2007
    Location
    Hagwilget, B.C.
    Beans
    150
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Samba is not working on 10.04

    Quote Originally Posted by franciskus View Post
    I dont know what happened but samba stopped working and now I cant get it up again.

    I dont know what to do, when I try to start it says:
    Code:
    $ sudo /etc/init.d/samba restart
    sudo: /etc/init.d/samba: command not found
    I had that for awhile too. I installed latest updates which included samba and haven't had the problem again.

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba is not working on 10.04

    samba is still in the /etc/init.d/ directory, but it's listed as smbd and nmbd.

    To restart samba, you would use this:

    Code:
    sudo service smbd restart; sudo service nmbd restart
    To check the status you can use this:

    Code:
    sudo service smbd status
    To see if it's running.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #4
    Join Date
    Mar 2010
    Beans
    18

    Re: Samba is not working on 10.04

    Thanks a lot, now I can 'see' it from machines with windows.

    Question: how/were do I set it to do this on boot?

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba is not working on 10.04

    It should start automatically after bootup.

    Reboot and run that status command to see if it's running.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Mar 2010
    Beans
    18

    Re: Samba is not working on 10.04

    Ok, thanks, but what status command would be that? (I am kind a newbie on this)

  7. #7
    Join Date
    Sep 2007
    Location
    Netherlands
    Beans
    453
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba is not working on 10.04

    Quote Originally Posted by CharlesA View Post
    To check the status you can use this:

    Code:
    sudo service smbd status
    To see if it's running.
    ^^
    Never upgrade your working system to the newest release without thorough testing on the actual hardware you will be running it on.
    Never perform a system update in a live session
    Installed Ubuntu Touch 1.0 on my Nexus 7. And loving it!

  8. #8
    Join Date
    Nov 2009
    Location
    Chicago
    Beans
    124
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Samba is not working on 10.04

    deleted
    Last edited by Thomas Garman; August 21st, 2010 at 04:14 AM.

  9. #9
    Join Date
    Dec 2009
    Beans
    5,368

    Re: Samba is not working on 10.04

    Quote Originally Posted by Thomas Garman View Post
    you have to be sure to install libapache2.2 and libapache2.2-dns-mod or something like that to get it to work too. Google it. Without those installed you will "see" the other computers but you will never get them to mount.
    Look, I don't know how many people have to tell you this but what you are talking about is "Personal File Sharing."

    Personal File Sharing has nothing to do with Samba.

    And BTW those two packages are incorrect for Personal File Sharing. So if you going to give bad information at least get the required dependencies correct. Go into synaptic , search for gnome-user-share, and read the description, and dependencies - no mention of Samba.
    Last edited by Morbius1; August 20th, 2010 at 05:30 PM.

  10. #10
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Samba is not working on 10.04

    Quote Originally Posted by Thomas Garman View Post
    you have to be sure to install libapache2.2 and libapache2.2-dns-mod or something like that to get it to work too. Google it. Without those installed you will "see" the other computers but you will never get them to mount.
    Huh? All the dependencies for Samba are installed when you install it.

    EDIT: Thanks Morbius1.
    Last edited by CharlesA; August 20th, 2010 at 05:37 PM.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Page 1 of 3 123 LastLast

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
  •