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 <andr...@canonical.com> 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 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 > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/samba/+bug/ > 1741113/+subscriptions > ** Attachment added: "samba.tar.gz" https://bugs.launchpad.net/bugs/1741113/+attachment/5034608/+files/samba.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1741113/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs