package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1741113 reported by Prasanna Ashok V
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

ats@ats-pc:~$ sudo apt-get install dotnet-sdk-2.0.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0 dotnet-runtime-2.0.0
  liblttng-ust-ctl2 liblttng-ust0 liburcu4
The following NEW packages will be installed:
  aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0 dotnet-runtime-2.0.0
  dotnet-sdk-2.0.2 liblttng-ust-ctl2 liblttng-ust0 liburcu4
0 upgraded, 8 newly installed, 0 to remove and 18 not upgraded.
5 not fully installed or removed.
Need to get 108 MB of archives.
After this operation, 311 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 liburcu4 amd64 0.9.1-3 [47.3 kB]
Get:2 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 aspnetcore-store-2.0.0 amd64 2.0.0-1 [18.1 MB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 liblttng-ust-ctl2 amd64 2.7.1-1ubuntu0.1 [72.2 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 liblttng-ust0 amd64 2.7.1-1ubuntu0.1 [128 kB]
Get:5 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-host amd64 2.0.4-1 [33.8 kB]
Get:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-hostfxr-2.0.0 amd64 2.0.0-1 [135 kB]
Get:7 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-runtime-2.0.0 amd64 2.0.0-1 [18.6 MB]
Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 dotnet-sdk-2.0.2 amd64 2.0.2-1 [70.5 MB]
Fetched 108 MB in 4min 25s (405 kB/s)
Selecting previously unselected package aspnetcore-store-2.0.0.
(Reading database ... 311645 files and directories currently installed.)
Preparing to unpack .../aspnetcore-store-2.0.0_2.0.0-1_amd64.deb ...
Unpacking aspnetcore-store-2.0.0 (2.0.0-1) ...
Selecting previously unselected package dotnet-host.
Preparing to unpack .../dotnet-host_2.0.4-1_amd64.deb ...
Unpacking dotnet-host (2.0.4-1) ...
Selecting previously unselected package dotnet-hostfxr-2.0.0.
Preparing to unpack .../dotnet-hostfxr-2.0.0_2.0.0-1_amd64.deb ...
Unpacking dotnet-hostfxr-2.0.0 (2.0.0-1) ...
Selecting previously unselected package liburcu4:amd64.
Preparing to unpack .../liburcu4_0.9.1-3_amd64.deb ...
Unpacking liburcu4:amd64 (0.9.1-3) ...
Selecting previously unselected package liblttng-ust-ctl2:amd64.
Preparing to unpack .../liblttng-ust-ctl2_2.7.1-1ubuntu0.1_amd64.deb ...
Unpacking liblttng-ust-ctl2:amd64 (2.7.1-1ubuntu0.1) ...
Selecting previously unselected package liblttng-ust0:amd64.
Preparing to unpack .../liblttng-ust0_2.7.1-1ubuntu0.1_amd64.deb ...
Unpacking liblttng-ust0:amd64 (2.7.1-1ubuntu0.1) ...
Selecting previously unselected package dotnet-runtime-2.0.0.
Preparing to unpack .../dotnet-runtime-2.0.0_2.0.0-1_amd64.deb ...
Unpacking dotnet-runtime-2.0.0 (2.0.0-1) ...
Selecting previously unselected package dotnet-sdk-2.0.2.
Preparing to unpack .../dotnet-sdk-2.0.2_2.0.2-1_amd64.deb ...
Unpacking dotnet-sdk-2.0.2 (2.0.2-1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.12) ...
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
   Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-01-04 01:38:01 IST; 4ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 10256 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)

Jan 04 01:38:01 ats-pc systemd[1]: Starting LSB: start Samba SMB/CIFS daemo.....
Jan 04 01:38:01 ats-pc smbd[10256]: * Starting SMB/CIFS daemon smbd
Jan 04 01:38:01 ats-pc smbd[10256]: ...fail!
Jan 04 01:38:01 ats-pc systemd[1]: smbd.service: Control process exited, co...=1
Jan 04 01:38:01 ats-pc systemd[1]: Failed to start LSB: start Samba SMB/CIF...).
Jan 04 01:38:01 ats-pc systemd[1]: smbd.service: Unit entered failed state.
Jan 04 01:38:01 ats-pc systemd[1]: smbd.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of winbind:
 winbind depends on samba (= 2:4.3.11+dfsg-0ubuntu0.16.04.12); however:
  Package samba is not configured yet.

dpkg: error processing package winbind (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-winbind:amd64:
 libnss-winbind:amd64 depends on winbind (= 2:4.3.11+dfsg-0ubuntu0.16.04.12); however:
  Package winbind is not configured yet.

dpkg: error processing package libnss-winbind:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:amd64:
 libpam-winbind:amd64 depends on winbind (= 2:4.3.11+dfsg-0ubuntu0.16.04.12); however:
  Package winbind is not configured yet.

dpkg: error processing package libpam-winbind:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-dbg:
 samba-dbg depends on samba (= 2:4.3.11+dfsg-0uNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                         No apport report written because the error message indicates its a followup error from a previous failure.
                   No apport report written because MaxReports is reached already
 No apport report written because MaxReports is reached already
                                                               buntu0.16.04.12); however:
  Package samba is not configured yet.

dpkg: error processing package samba-dbg (--configure):
 dependency problems - leaving unconfigured
Setting up aspnetcore-store-2.0.0 (2.0.0-1) ...
Setting up dotnet-host (2.0.4-1) ...
Setting up dotnet-hostfxr-2.0.0 (2.0.0-1) ...
Setting up liburcu4:amd64 (0.9.1-3) ...
Setting up liblttng-ust-ctl2:amd64 (2.7.1-1ubuntu0.1) ...
Setting up liblttng-ust0:amd64 (2.7.1-1ubuntu0.1) ...
Setting up dotnet-runtime-2.0.0 (2.0.0-1) ...
Setting up dotnet-sdk-2.0.2 (2.0.2-1) ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.

.NET Core Tools Telemetry
--------------
The .NET Core Tools include a telemetry feature that collects usage information. It is important that the .NET Team understands how the tools are being used so that we can improve them.

The data collected is anonymous and will be published in an aggregated form for use by both Microsoft and community engineers under the Creative Commons Attribution License.

The .NET Core Tools telemetry feature is enabled by default. You can opt-out of the telemetry feature by setting an environment variable DOTNET_CLI_TELEMETRY_OPTOUT (for example, 'export' on macOS/Linux, 'set' on Windows) to true (for example, 'true', 1). You can read more about .NET Core tools telemetry at https://aka.ms/dotnet-cli-telemetry.

Installation Note
--------------
A command will be run during the install process that will improve project restore speed and enable offline access. It will take up to a minute to complete.
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 samba
 winbind
 libnss-winbind:amd64
 libpam-winbind:amd64
 samba-dbg
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: samba 2:4.3.11+dfsg-0ubuntu0.16.04.12
ProcVersionSignature: Ubuntu 4.4.0-105.128-generic 4.4.98
Uname: Linux 4.4.0-105-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.14
Architecture: amd64
Date: Thu Jan 4 01:38:01 2018
DpkgHistoryLog:
 Start-Date: 2018-01-04 01:37:43
 Commandline: apt-get install dotnet-sdk-2.0.2
 Requested-By: ats (1000)
 Install: liblttng-ust0:amd64 (2.7.1-1ubuntu0.1, automatic), aspnetcore-store-2.0.0:amd64 (2.0.0-1, automatic), dotnet-hostfxr-2.0.0:amd64 (2.0.0-1, automatic), dotnet-host:amd64 (2.0.4-1, automatic), liburcu4:amd64 (0.9.1-3, automatic), dotnet-runtime-2.0.0:amd64 (2.0.0-1, automatic), liblttng-ust-ctl2:amd64 (2.7.1-1ubuntu0.1, automatic), dotnet-sdk-2.0.2:amd64 (2.0.2-1)
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-05-16 (231 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
NmbdLog:

RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.25
SambaServerRegression: No
SmbConfIncluded: Yes
SmbLog:

SourcePackage: samba
Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
WindowsFailedConnect: Yes

Revision history for this message
Prasanna Ashok V (achoothesmart) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

The logs you attached confirm that the smbd service failed to start, but do not state the reason. This would be in the more detailed logs in /var/log/samba/log*.

Could you please attach the log files from /var/log/samba?

Thanks!

Changed in samba (Ubuntu):
status: New → Incomplete
Revision history for this message
Prasanna Ashok V (achoothesmart) wrote : Re: [Bug 1741113] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Download full text (10.9 KiB)

Hi..

Attached the logs from /var/log/samba/

Regards,

Prasanna Ashok V
*+91 9788066150*

On Thu, Jan 4, 2018 at 5:31 PM, Andreas Hasenack <email address hidden>
wrote:

> Thanks for filing this bug in Ubuntu.
>
> The logs you attached confirm that the smbd service failed to start, but
> do not state the reason. This would be in the more detailed logs in
> /var/log/samba/log*.
>
> Could you please attach the log files from /var/log/samba?
>
> Thanks!
>
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1741113
>
> Title:
> package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to
> install/upgrade: subprocess installed post-installation script
> returned error exit status 1
>
> Status in samba package in Ubuntu:
> Incomplete
>
> Bug description:
> ats@ats-pc:~$ sudo apt-get install dotnet-sdk-2.0.2
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
> aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0
> dotnet-runtime-2.0.0
> liblttng-ust-ctl2 liblttng-ust0 liburcu4
> The following NEW packages will be installed:
> aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0
> dotnet-runtime-2.0.0
> dotnet-sdk-2.0.2 liblttng-ust-ctl2 liblttng-ust0 liburcu4
> 0 upgraded, 8 newly installed, 0 to remove and 18 not upgraded.
> 5 not fully installed or removed.
> Need to get 108 MB of archives.
> After this operation, 311 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64
> liburcu4 amd64 0.9.1-3 [47.3 kB]
> Get:2 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 aspnetcore-store-2.0.0 amd64 2.0.0-1 [18.1 MB]
> Get:3 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe
> amd64 liblttng-ust-ctl2 amd64 2.7.1-1ubuntu0.1 [72.2 kB]
> Get:4 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe
> amd64 liblttng-ust0 amd64 2.7.1-1ubuntu0.1 [128 kB]
> Get:5 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-host amd64 2.0.4-1 [33.8 kB]
> Get:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-hostfxr-2.0.0 amd64 2.0.0-1 [135 kB]
> Get:7 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-runtime-2.0.0 amd64 2.0.0-1 [18.6 MB]
> Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-sdk-2.0.2 amd64 2.0.2-1 [70.5 MB]
> Fetched 108 MB in 4min 25s (405 kB/s)
> Selecting previously unselected package aspnetcore-store-2.0.0.
> (Reading database ... 311645 files and directories currently installed.)
> Preparing to unpack .../aspnetcore-store-2.0.0_2.0.0-1_amd64.deb ...
> Unpacking aspnetcore-store-2.0.0 (2.0.0-1) ...
> Selecting previously unselected package dotnet-host.
> Preparing to unpack .../dotnet-host_2.0.4-1_amd64.deb ...
> Unpacking ...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Fhis contains:
[2017/11/04 23:20:49.158024, 0] ../source4/smbd/server.c:477(binary_smbd_main)
  At this time the 'samba' binary should only be used for either:
  'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerp
  You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
[2017/11/04 23:20:49.158067, 0] ../lib/util/become_daemon.c:111(exit_daemon)
  STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22

I'm no smb.conf expert, I only see:
 server role = standalone server
there.

You might try backing up your config for samba like in [1] and then reinstalling the defautls.
From there get your changes abck in one by one and see which one breaks the start of the server?

[1]: https://askubuntu.com/questions/66533/how-can-i-restore-configuration-files

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

None of the log files correspond to the failure you had yesterday (Jan 4th, 2018).

Please show the output of these commands:

sudo systemctl status smbd nmbd winbind samba-ad-service

sudo systemctl restart smbd nmbd

Also please attach /var/log/syslog, and if something new was logged to /var/log/samba/* after the above commands, then please attach it as well.

Thanks

Revision history for this message
Prasanna Ashok V (achoothesmart) wrote :
Download full text (11.2 KiB)

Yes.. here it is

Attached the output for those commands and syslog file.

Meanwhile I tried to run this command "sudo apt install ruby-bundler" and I
got the same error.
Also attached the console output.

Please let me know what's the issue with my system.
Thanks :)

Regards,

Prasanna Ashok V
*+91 9788066150*

On Fri, Jan 5, 2018 at 4:46 PM, Andreas Hasenack <email address hidden>
wrote:

> None of the log files correspond to the failure you had yesterday (Jan
> 4th, 2018).
>
> Please show the output of these commands:
>
> sudo systemctl status smbd nmbd winbind samba-ad-service
>
> sudo systemctl restart smbd nmbd
>
> Also please attach /var/log/syslog, and if something new was logged to
> /var/log/samba/* after the above commands, then please attach it as
> well.
>
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1741113
>
> Title:
> package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to
> install/upgrade: subprocess installed post-installation script
> returned error exit status 1
>
> Status in samba package in Ubuntu:
> Incomplete
>
> Bug description:
> ats@ats-pc:~$ sudo apt-get install dotnet-sdk-2.0.2
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
> aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0
> dotnet-runtime-2.0.0
> liblttng-ust-ctl2 liblttng-ust0 liburcu4
> The following NEW packages will be installed:
> aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0
> dotnet-runtime-2.0.0
> dotnet-sdk-2.0.2 liblttng-ust-ctl2 liblttng-ust0 liburcu4
> 0 upgraded, 8 newly installed, 0 to remove and 18 not upgraded.
> 5 not fully installed or removed.
> Need to get 108 MB of archives.
> After this operation, 311 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64
> liburcu4 amd64 0.9.1-3 [47.3 kB]
> Get:2 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 aspnetcore-store-2.0.0 amd64 2.0.0-1 [18.1 MB]
> Get:3 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe
> amd64 liblttng-ust-ctl2 amd64 2.7.1-1ubuntu0.1 [72.2 kB]
> Get:4 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe
> amd64 liblttng-ust0 amd64 2.7.1-1ubuntu0.1 [128 kB]
> Get:5 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-host amd64 2.0.4-1 [33.8 kB]
> Get:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-hostfxr-2.0.0 amd64 2.0.0-1 [135 kB]
> Get:7 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-runtime-2.0.0 amd64 2.0.0-1 [18.6 MB]
> Get:8 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-sdk-2.0.2 amd64 2.0.2-1 [70.5 MB]
> Fetched 108 MB in 4min 25s (405 kB/s)
> Selecting previously unselected package aspnetcore-store-2.0.0.
> (Reading database ... 311645 files and directories currently insta...

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks, but you didn't attach the log files from /var/log/samba/ for this last attempt at starting the services. Or was there nothing new in there?

That being said, I saw this snippet from nmbd:
Jan 10 06:08:16 ats-pc nmbd[1085]: Failed to create /var/log/samba/cores for user 0 with mode 0700

Do you have a /var/log/samba/cores directory? Could you show me its contents? Something like:

ls -la /var/log/samba/cores

If it doesn't exist, can you create it? You should have it like this:
# ls -lah /var/log/samba/cores/
total 2.0K
drwx------ 4 root root 4 Jan 10 13:58 .
drwxr-x--- 3 root adm 6 Jan 10 13:57 ..
drwx------ 2 root root 2 Jan 10 13:57 nmbd
drwx------ 2 root root 2 Jan 10 13:58 smbd

Revision history for this message
Prasanna Ashok V (achoothesmart) wrote :
Download full text (11.6 KiB)

Hi, Attached the recent samba folder zipped. 'cores' folder was already
there. So, I didn't create it.

I ran the command:
 ls -la /var/log/samba/cores

Here's what I get:

ats@ats-pc:~$ ls -la /var/log/samba/cores
total 16
drwx------ 4 ats root 4096 May 21 2017 .
drwxr-xr-x 3 root root 4096 Nov 5 00:36 ..
drwx------ 2 ats root 4096 May 21 2017 nmbd
drwx------ 2 ats root 4096 May 21 2017 smbd

Regards,

Prasanna Ashok V
*+91 9788066150*

On Wed, Jan 10, 2018 at 7:28 PM, Andreas Hasenack <email address hidden>
wrote:

> Thanks, but you didn't attach the log files from /var/log/samba/ for
> this last attempt at starting the services. Or was there nothing new in
> there?
>
> That being said, I saw this snippet from nmbd:
> Jan 10 06:08:16 ats-pc nmbd[1085]: Failed to create /var/log/samba/cores
> for user 0 with mode 0700
>
>
> Do you have a /var/log/samba/cores directory? Could you show me its
> contents? Something like:
>
> ls -la /var/log/samba/cores
>
> If it doesn't exist, can you create it? You should have it like this:
> # ls -lah /var/log/samba/cores/
> total 2.0K
> drwx------ 4 root root 4 Jan 10 13:58 .
> drwxr-x--- 3 root adm 6 Jan 10 13:57 ..
> drwx------ 2 root root 2 Jan 10 13:57 nmbd
> drwx------ 2 root root 2 Jan 10 13:58 smbd
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1741113
>
> Title:
> package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to
> install/upgrade: subprocess installed post-installation script
> returned error exit status 1
>
> Status in samba package in Ubuntu:
> Incomplete
>
> Bug description:
> ats@ats-pc:~$ sudo apt-get install dotnet-sdk-2.0.2
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following additional packages will be installed:
> aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0
> dotnet-runtime-2.0.0
> liblttng-ust-ctl2 liblttng-ust0 liburcu4
> The following NEW packages will be installed:
> aspnetcore-store-2.0.0 dotnet-host dotnet-hostfxr-2.0.0
> dotnet-runtime-2.0.0
> dotnet-sdk-2.0.2 liblttng-ust-ctl2 liblttng-ust0 liburcu4
> 0 upgraded, 8 newly installed, 0 to remove and 18 not upgraded.
> 5 not fully installed or removed.
> Need to get 108 MB of archives.
> After this operation, 311 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64
> liburcu4 amd64 0.9.1-3 [47.3 kB]
> Get:2 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 aspnetcore-store-2.0.0 amd64 2.0.0-1 [18.1 MB]
> Get:3 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe
> amd64 liblttng-ust-ctl2 amd64 2.7.1-1ubuntu0.1 [72.2 kB]
> Get:4 http://in.archive.ubuntu.com/ubuntu xenial-proposed/universe
> amd64 liblttng-ust0 amd64 2.7.1-1ubuntu0.1 [128 kB]
> Get:5 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-host amd64 2.0.4-1 [33.8 kB]
> Get:6 https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod
> xenial/main amd64 dotnet-hostfxr-2.0.0 am...

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Your /var/log/samba/cores directory is owned by user "ats", not root. The same goes for the inner nmbd and smbd directories.

Please change that by running this command:

sudo chown root /var/log/samba/cores /var/log/samba/cores/*

And then try the systemctl restart command from earlier again.

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

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
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.