[Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
[Expired for samba (Ubuntu) because there has been no activity for 60 days.] ** Changed in: samba (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734359 Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Your /etc/samba/smb.conf in the "guest account" line is telling samba to use someone called "smbguest" as the guest user, but you don't have such an user in your system. Either create it, or change that config to use something else. Or maybe just remove that line and let samba use its defaults I see you tried to remove samba entirely via "apt purge samba". The config file is however created by the samba-common package, not samba. So if you want to really start from scratch, you could purge the samba- common package instead. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734359 Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
vsa@vsa-EasyNote-SB65:~/VM$ sudo apt-get purge samba Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios. attr libaio1 libboost-random1.62.0 libboost-regex1.62.0 libcephfs2 libnih-dbus1 librados2 linux-image-4.10.0-37-generic linux-image-extra-4.10.0-37-generic python-dnspython samba-dsdb-modules samba-vfs-modules tdb-tools Utilice «sudo apt autoremove» para eliminarlos. Los siguientes paquetes se ELIMINARÁN: samba* 0 actualizados, 0 nuevos se instalarán, 1 para eliminar y 0 no actualizados. 1 no instalados del todo o eliminados. Se liberarán 11,2 MB después de esta operación. ¿Desea continuar? [S/n] s (Leyendo la base de datos ... 194104 ficheros o directorios instalados actualmente.) Desinstalando samba (2:4.6.7+dfsg-1ubuntu3.1) ... Procesando disparadores para libc-bin (2.26-0ubuntu2) ... Procesando disparadores para man-db (2.7.6.1-2) ... (Leyendo la base de datos ... 193910 ficheros o directorios instalados actualmente.) Purgando ficheros de configuración de samba (2:4.6.7+dfsg-1ubuntu3.1) ... Procesando disparadores para ufw (0.35-5) ... Procesando disparadores para ureadahead (0.100.0-20) ... Procesando disparadores para systemd (234-2ubuntu12.1) ... vsa@vsa-EasyNote-SB65:~/VM$ sudo apt-get install samba Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios. libnih-dbus1 linux-image-4.10.0-37-generic linux-image-extra-4.10.0-37-generic Utilice «sudo apt autoremove» para eliminarlos. Paquetes sugeridos: bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind Se instalarán los siguientes paquetes NUEVOS: samba 0 actualizados, 1 nuevos se instalarán, 0 para eliminar y 0 no actualizados. Se necesita descargar 0 B/846 kB de archivos. Se utilizarán 11,2 MB de espacio de disco adicional después de esta operación. Seleccionando el paquete samba previamente no seleccionado. (Leyendo la base de datos ... 193905 ficheros o directorios instalados actualmente.) Preparando para desempaquetar .../samba_2%3a4.6.7+dfsg-1ubuntu3.1_amd64.deb ... Desempaquetando samba (2:4.6.7+dfsg-1ubuntu3.1) ... Procesando disparadores para ufw (0.35-5) ... Procesando disparadores para ureadahead (0.100.0-20) ... Procesando disparadores para libc-bin (2.26-0ubuntu2) ... Procesando disparadores para systemd (234-2ubuntu12.1) ... Procesando disparadores para man-db (2.7.6.1-2) ... Configurando samba (2:4.6.7+dfsg-1ubuntu3.1) ... Samba is not being run as an AD Domain Controller, masking samba-ad-dc-service. Please ignore the following error about deb-systemd-helper not finding samba-ad-dc-service. Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. 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 - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2017-11-27 20:43:05 CET; 13ms ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Process: 4481 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=255) Main PID: 4481 (code=exited, status=255) Status: "Starting process..." nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: [2017/11/27 20:43:05.829288, 0] ../source3/auth/auth_util.c:762(get_guest_info3) nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: SamInfo3_for_guest: Unable to locate guest account [smbguest]! nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: [2017/11/27 20:43:05.829404, 0] ../source3/auth/auth_util.c:830(make_new_session_info_guest) nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: get_guest_info3 failed with NT_STATUS_NO_SUCH_USER nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: [2017/11/27 20:43:05.829461, 0] ../source3/smbd/server.c:1900(main) nov 27 20:43:05 vsa-EasyNote-SB65 smbd[4481]: ERROR: failed to setup guest info. nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: smbd.service: Main process exited, code=exited, status=255/n/a nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: Failed to start Samba SMB Daemon. nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: smbd.service: Unit entered failed state. nov 27 20:43:05 vsa-EasyNote-SB65 systemd[1]: smbd.service: Failed with result 'exit-code'. dpkg: error al procesar el paquete samba (--configure): el subproces
Re: [Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
vsa@vsa-EasyNote-SB65:/etc$ id smbguest id: «smbguest»: no existe ese usuario vsa@vsa-EasyNote-SB65:/etc$ sudo pdbedit smbguest [sudo] password for vsa: Unknown parameter encountered: "password level" Ignoring unknown parameter "password level" Unknown parameter encountered: "update encrypted" Ignoring unknown parameter "update encrypted" Failed to find a Unix account for smbguest smbguest:4294967295:Samba guest account ifconfig enp6s0: flags=4099 mtu 1500 ether 00:1e:68:67:2b:91 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 17 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Bucle local) RX packets 884 bytes 77728 (77.7 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 884 bytes 77728 (77.7 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlp2s0: flags=4163 mtu 1500 inet 192.168.0.41 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::77ca:6f60:2ea3:d2b5 prefixlen 64 scopeid 0x20 ether 00:1f:3c:2a:ca:3d txqueuelen 1000 (Ethernet) RX packets 6339 bytes 4371772 (4.3 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4568 bytes 734592 (734.5 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Does this clarify anything? 2017-11-27 18:18 GMT+01:00 Andreas Hasenack : > You missed log.smbd and log.nmbd. These are important, since they are > the most recent logs from each one of these services. Could you please > attach them? > > That being said, I see a couple of issues already: > > a) you configure the guest account as being "smbguest", but the logs > complain that this user does not exist. Do you have it? Try: > id smbguest > sudo pdbedit smbguest > > b) It seems that at least sometimes when samba starts up, there is no > network configured on that machine. Maybe it's a desktop and you only > have networking after you login and network-manager takes over? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1734359 > > Title: > package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el > subproceso instalado el script post-installation devolvió el código de > salida de error 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > The error has been a few seconds after the boot of the pc. > > ProblemType: Package > DistroRelease: Ubuntu 17.10 > Package: samba 2:4.6.7+dfsg-1ubuntu3.1 > ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8 > Uname: Linux 4.13.0-17-generic x86_64 > NonfreeKernelModules: nvidia_uvm nvidia > ApportVersion: 2.20.7-0ubuntu3.5 > Architecture: amd64 > CIFSMounts: > > Date: Thu Nov 23 18:57:02 2017 > ErrorMessage: el subproceso instalado el script post-installation > devolvió el código de salida de error 1 > Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, > 3.6.3-0ubuntu2 > PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, > 2.7.14-2ubuntu1 > RelatedPackageVersions: >dpkg 1.18.24ubuntu1 >apt 1.5.1 > SambaClientRegression: No > SourcePackage: samba > Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: > el subproceso instalado el script post-installation devolvió el código de > salida de error 1 > UpgradeStatus: Upgraded to artful on 2017-10-31 (23 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/samba/+bug/ > 1734359/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734359 Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
You missed log.smbd and log.nmbd. These are important, since they are the most recent logs from each one of these services. Could you please attach them? That being said, I see a couple of issues already: a) you configure the guest account as being "smbguest", but the logs complain that this user does not exist. Do you have it? Try: id smbguest sudo pdbedit smbguest b) It seems that at least sometimes when samba starts up, there is no network configured on that machine. Maybe it's a desktop and you only have networking after you login and network-manager takes over? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734359 Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
here you have the files drwx-- 4 4096 nov 8 21:16 cores/ -rw-r--r-- 1 368 nov 8 21:24 log. -rw-r--r-- 1 538 nov 14 21:04 log.127.0.0.1 -rw-r--r-- 1 0 nov 8 21:19 log.192.168.0.39 -rw-r--r-- 1 0 nov 8 21:18 log.192.168.0.41 -rw-r--r-- 1 0 nov 14 20:43 log.nmbd -rw-r--r-- 1 5581 nov 14 20:38 log.nmbd.1 -rw-r--r-- 1 0 nov 14 20:43 log.smbd -rw-r--r-- 1 924 nov 14 20:39 log.smbd.1 -rw-r--r-- 1 552 nov 8 21:24 log.vsa-easynote-sb65 -rw-r--r-- 1 368 nov 8 21:27 log.vs-hp-pavilion-dv6000-rt130ea-abe -rw-r--r-- 1 55971 nov 26 21:23 samba.log ls: no se puede abrir el directorio './cores': Permiso denegado 2017-11-24 18:22 GMT+01:00 Andreas Hasenack : > Thanks for filing this bug in Ubuntu. > > Could you please attach the following files: > - /etc/samba/smb.conf > - /var/log/samba/log* (all files in that directory that start with "log") > > 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/1734359 > > Title: > package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el > subproceso instalado el script post-installation devolvió el código de > salida de error 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > The error has been a few seconds after the boot of the pc. > > ProblemType: Package > DistroRelease: Ubuntu 17.10 > Package: samba 2:4.6.7+dfsg-1ubuntu3.1 > ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8 > Uname: Linux 4.13.0-17-generic x86_64 > NonfreeKernelModules: nvidia_uvm nvidia > ApportVersion: 2.20.7-0ubuntu3.5 > Architecture: amd64 > CIFSMounts: > > Date: Thu Nov 23 18:57:02 2017 > ErrorMessage: el subproceso instalado el script post-installation > devolvió el código de salida de error 1 > Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, > 3.6.3-0ubuntu2 > PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, > 2.7.14-2ubuntu1 > RelatedPackageVersions: >dpkg 1.18.24ubuntu1 >apt 1.5.1 > SambaClientRegression: No > SourcePackage: samba > Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: > el subproceso instalado el script post-installation devolvió el código de > salida de error 1 > UpgradeStatus: Upgraded to artful on 2017-10-31 (23 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/samba/+bug/ > 1734359/+subscriptions > ** Attachment added: "smb.conf" https://bugs.launchpad.net/bugs/1734359/+attachment/5014944/+files/smb.conf ** Attachment added: "log.vs-hp-pavilion-dv6000-rt130ea-abe" https://bugs.launchpad.net/bugs/1734359/+attachment/5014945/+files/log.vs-hp-pavilion-dv6000-rt130ea-abe ** Attachment added: "log." https://bugs.launchpad.net/bugs/1734359/+attachment/5014946/+files/log. ** Attachment added: "log.127.0.0.1" https://bugs.launchpad.net/bugs/1734359/+attachment/5014947/+files/log.127.0.0.1 ** Attachment added: "log.vsa-easynote-sb65" https://bugs.launchpad.net/bugs/1734359/+attachment/5014948/+files/log.vsa-easynote-sb65 ** Attachment added: "log.smbd.1" https://bugs.launchpad.net/bugs/1734359/+attachment/5014949/+files/log.smbd.1 ** Attachment added: "log.nmbd.1" https://bugs.launchpad.net/bugs/1734359/+attachment/5014950/+files/log.nmbd.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734359 Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1734359] Re: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Thanks for filing this bug in Ubuntu. Could you please attach the following files: - /etc/samba/smb.conf - /var/log/samba/log* (all files in that directory that start with "log") Thanks ** Changed in: samba (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734359 Title: package samba 2:4.6.7+dfsg-1ubuntu3.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1734359/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs