Results 1 to 5 of 5

Thread: Why am asked to re-install Samba?

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Beans
    38

    Why am asked to re-install Samba?

    I installed samba with:

    Code:
    # aptitude install samba
    I get the following:

    Code:
    The following NEW packages will be installed:
      samba 
    0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 8,084 kB of archives. After unpacking 23.5 MB will be used.
    Get: 1 http://archive.ubuntu.com/ubuntu/ oneiric-updates/main samba amd64 2:3.5.11~dfsg-1ubuntu2.1 [8,084 kB]
    Fetched 8,084 kB in 19s (424 kB/s)                                              
    Preconfiguring packages ...
    Selecting previously deselected package samba.
    (Reading database ... 181525 files and directories currently installed.)
    Unpacking samba (from .../samba_2%3a3.5.11~dfsg-1ubuntu2.1_amd64.deb) ...
    Processing triggers for ureadahead ...
    ureadahead will be reprofiled on next reboot
    Processing triggers for ufw ...
    Processing triggers for man-db ...
    Setting up samba (2:3.5.11~dfsg-1ubuntu2.1) ...
    Generating /etc/default/samba...
    Importing account for nobody...ok
    Importing account for walter...ok
    update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstatus (smbstatus) in auto mode.
    smbd start/running, process 7013
    nmbd start/running, process 7040

    I made some changes to /etc/samba/smb.conf

    I went to restart samba

    Code:
    # samba restart
    and I get the message:

    Code:
    # The program 'samba' is currently not installed.  You can install it by typing:
    # apt-get install samba4
    WTF?

  2. #2
    Join Date
    Oct 2008
    Location
    Down Under
    Beans
    1,568
    Distro
    Ubuntu Budgie 18.04 Bionic Beaver

    Re: Why am asked to re-install Samba?

    I'm not sure about
    aptitude install samba
    apt-get install samba4
    is the correct way or use Synaptic.


    For How-To's, Information and Screen-Casts on Lubuntu go to the
    Lubuntu One Stop Thread -

    Lubuntu One Stop Thread

    Rodney

  3. #3
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Why am asked to re-install Samba?

    These days the daemons (background processes) for samba are named smbd and nmbd: it is these processes you will need to (re)start.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  4. #4
    Join Date
    Jun 2006
    Beans
    38

    Re: Why am asked to re-install Samba?

    Okay, so restart with the following?

    Code:
    # smbd restart
    Code:
    # nmbd restart

  5. #5
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Why am asked to re-install Samba?

    Quote Originally Posted by walterbyrd View Post
    Okay, so restart with the following?

    Code:
    # smbd restart
    Code:
    # nmbd restart
    The incantation for root is
    Code:
    service smbd restart 
    service nmbd restart
    Or from a non-root (sudoer) prompt
    Code:
    sudo service smbd restart
    sudo service nmbd restart

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
  •