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

Thread: samba not working on ubuntu 15.04

  1. #1
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Question samba not working on ubuntu 15.04

    i have ubuntu 15.04 install

    i install samba from ubuntu software center

    and when i type samba in terminal
    i get some kind of error
    and not the gui

    Code:
    [2015/08/08 18:36:16.250371,  0] ../lib/util/debug.c:597(reopen_logs_internal)
      Unable to open new log file '/var/log/samba/log.%m': Permission denied
    [2015/08/08 18:36:16.251118,  0] ../source4/smbd/server.c:370(binary_smbd_main)
      samba version 4.1.13-Ubuntu started.
      Copyright Andrew Tridgell and the Samba Team 1992-2013
    i try
    Code:
    sudo samba
    and type my password
    then Nothing happend

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    16,309
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: samba not working on ubuntu 15.04

    Huh? Samba is a service. There isn't any GUI that I'm aware. Your expectations are wrong.

    Perhaps reviewing the file sharing chapter in the Ubuntu Server Guide would help?
    https://help.ubuntu.com/lts/servergu...ileserver.html

  3. #3
    Join Date
    Apr 2015
    Beans
    119

    Re: samba not working on ubuntu 15.04

    Quote Originally Posted by offir View Post
    i have ubuntu 15.04 install


    and when i type samba in terminal
    i get some kind of error
    and not the gui
    Have you tried gadmin-samba?

  4. #4
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: samba not working on ubuntu 15.04

    Huh? Samba is a service. There isn't any GUI that I'm aware. Your expectations are wrong.
    Already used it several times in previous installations
    Supposed to be graphical interface



    Have you tried gadmin-samba?
    no
    samba Always worked Up to now

    I want to know first why Samba graphical interface does not work
    Attached Images Attached Images

  5. #5
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: samba not working on ubuntu 15.04

    Quote Originally Posted by offir View Post
    Already used it several times in previous installations
    Supposed to be graphical interface
    ...
    I want to know first why Samba graphical interface does not work
    What your attachment shows is system-config-samba. Which is a python application that uses a GUI for creating,
    modifying, and deleting samba shares and users. It is NOT Samba itself.

    My guess is that you are not calling the application correctly The command samba is for this
    Code:
     /usr/sbin/samba
    ...that is the binary for the Samba Server to provide AD and SMB/CIFS services to clients, not system-config-samba.

    It's always helpful to correctly identify what it is you are having problems with. This application is not really needed for the Samba to function. For a simple Samba File Server installation you just need to define the shares at the bottom of the default /etc/samba/smb.conf file.



    If you really feel you need system-config-samba, I would remove what you have installed with this command
    Code:
    sudo apt-get purge system-config-samba
    ...and follow up with
    Code:
    sudo apt-get autoremove
    Trey and take note of what text goes by on the screen as it relates to both python and system-config-samba.

    Then I would install system-config-samba in the same manner using this command
    Code:
    sudo apt-get install system-config-samba
    -BAB1

  6. #6
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: samba not working on ubuntu 15.04

    As I wrote in a previous post
    I installed samba a few times before

    Each time the installation was exactly the same thing
    Go to ubuntu software center Choose samba and install
    And nothing more

    Later
    I ran the software's graphical interface through
    applications menu -----> system tools ----> administration ----> samba

    Always the same

    The only reason now
    I wrote samba in terminal is To see what error message appears



    What your attachment shows is system-config-samba. Which is a python application that uses a GUI for creating,
    modifying, and deleting samba shares and users. It is NOT Samba itself.

    My guess is that you are not calling the application correctly The command samba is for this


    Code:
     /usr/sbin/samba
    ...that is the binary for the Samba Server to provide AD and SMB/CIFS services to clients, not system-config-samba.

    It's always helpful to correctly identify what it is you are having problems with. This application is not really needed for the Samba to function. For a simple Samba File Server installation you just need to define the shares at the bottom of the default /etc/samba/smb.conf file.

    So what is the command to run the graphical interface of Samba
    From the terminal ?
    Attached Images Attached Images
    Last edited by offir; August 9th, 2015 at 01:24 PM.

  7. #7
    Join Date
    Dec 2009
    Beans
    6,191

    Re: samba not working on ubuntu 15.04

    So what is the command to run the graphical interface of Samba
    The command to run system-config-samba is:
    Code:
    gksu system-config-samba
    And that is what the system-config-samba.desktop file is set to. Unfortunately that will produce an error message since someone fell asleep at the wheel somewhere.

    A workaround until someone volunteers to fix this ( Samba is the red-haired stepchild of Linux ) is to issue the following command:
    Code:
    sudo touch /etc/libuser.conf
    Then run:
    Code:
    gksu system-config-samba

  8. #8
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: samba not working on ubuntu 15.04

    Thank you
    Now it works

    It never happened in previous installations
    What is different now ?

  9. #9
    Join Date
    Oct 2006
    Beans
    10

    Re: samba not working on ubuntu 15.04

    Thanks Moribus1 what you said Aug 2015 still applies as of Apr 2016 and Xubuntu 16.04

  10. #10
    Join Date
    Nov 2006
    Location
    Lincoln, Nebr.
    Beans
    163
    Distro
    Ubuntu Gnome Development Release

    Re: samba not working on ubuntu 15.04

    Workaround needed, and works. on Ubuntu Gnome 16.04. Thanks!
    Here's a koan for you: "I feel more like I did when I first got here than I do now."

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
  •