Samba service does not stop

Bug #1322101 reported by Mikael Willberg
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Trying to stop samba service does nothing, other services seem to work. This is clean installation from "ubuntu-14.04-server-amd64.iso" with just openssh, lamp, samba selected in the installation menu.

Someone might have interest looking into empty response when apache2 was stopped
"leaking memory" is also related to samba = bug 1257186

================================
root@sis064pc208:~# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
root@sis064pc208:~# apt-cache policy samba
samba:
  Installed: 2:4.1.6+dfsg-1ubuntu2
  Candidate: 2:4.1.6+dfsg-1ubuntu2.14.04.1
  Version table:
     2:4.1.6+dfsg-1ubuntu2.14.04.1 0
        500 http://fi.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
 *** 2:4.1.6+dfsg-1ubuntu2 0
        500 http://fi.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
root@sis064pc208:~#
================================
a@sis064pc208:~$ sudo su -
[sudo] password for a:
no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory
root@sis064pc208:~# service samba status
 * nmbd is running
 * smbd is running
root@sis064pc208:~# service samba stop
root@sis064pc208:~# service samba status
 * nmbd is running
 * smbd is running
root@sis064pc208:~# service apache2 status
 * apache2 is running
root@sis064pc208:~# service apache2 stop
 * Stopping web server apache2
 *
root@sis064pc208:~# service apache2 status
 * apache2 is not running
root@sis064pc208:~#
================================

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

You need to stop smbd and nmbd individually. The "samba" alias to two services and confusing interaction with the init.d script has the same underlying cause as bug 1321369, so I'll mark this as a duplicate.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in samba (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.