[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 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/1684146 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 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/1684146/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Ok, let's continue on bug #1585111 and leave this one as "incomplete" as there is no further information about the original problem which was smbd failing to start on package upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1684146 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 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/1684146/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
PDC and BDC are NT4.0 Service Pack 6 Yes hh is domain administrator The PDC and BDC IP addresses are in smb.conf. net rpc join -S PDC_IP_address or PDC_name fail also. First I tried without crypto settings and with all possible crypto settings combination. Nothing works. There is a Bug # 1585111 : net rpc join fail on Ubuntu 16.04 on launchpad. It may be better not to add another one. While waiting for the bug to be solved, we have no choice but to use Windows in VirtualBox. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1684146 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 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/1684146/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Thanks for getting back to us. Since this is a different issue, could you please file a new samba bug with the contents of your comment #3 above? That being said: Failed to join domain: failed to lookup DC info for domain 'ENDUICOLOR' over rpc: Access denied I don't have access to a NT4 domain, but let me suggest a few things: - make sure the "hh" user has admin privileges on that domain, or privileges to add machines to the domain - make sure the domain server can be found via nmblookup. Or set "password server = " in smb.conf so there is no need for discovery - you have some crypto settings in smb.conf that I'm not familiar with, but maybe they are required for the old NT style domain. I would suggest to temporarily remove them and see if it makes a difference. What is the domain controller? It can't be NT, can it? :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1684146 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 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/1684146/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Hello The samba package install problem do not occur anymore. But since upgrade to 16.04 each access to a samba share need a authentication and scheduled tasks fails. (After upgrade from 12.04 to 14.04 the same problem occurred for several month before been solved by a update.) I removed the machine from the domain an tried to join again. The join fail. Below copy of some commands and the terminal outputs : hh@F2u:~$ sudo apt -f install [sudo] Mot de passe de hh : Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait 0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour. hh@F2u:~$ hh@F2u:~$ service smbd status ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd) Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled) Active: active (running) since mar. 2017-05-30 10:16:14 CEST; 21min ago Docs: man:systemd-sysv-generator(8) Process: 1511 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS) CGroup: /system.slice/smbd.service ├─1530 /usr/sbin/smbd -D ├─1532 /usr/sbin/smbd -D └─1556 /usr/sbin/smbd -D mai 30 10:16:14 F2u systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)... mai 30 10:16:14 F2u smbd[1511]: * Starting SMB/CIFS daemon smbd mai 30 10:16:14 F2u smbd[1511]:...done. mai 30 10:16:14 F2u systemd[1]: Started LSB: start Samba SMB/CIFS daemon (smbd). mai 30 10:17:52 F2u smbd[1530]: [2017/05/30 10:17:52.567623, 0] ../lib/util/become_daemon.c:124(daemon_ready) mai 30 10:17:52 F2u smbd[1530]: STATUS=daemon 'smbd' finished starting up and ready to serve connections hh@F2u:~$ hh@F2u:~$ service nmbd status ● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd) Loaded: loaded (/etc/init.d/nmbd; bad; vendor preset: enabled) Active: active (running) since mar. 2017-05-30 10:16:14 CEST; 24min ago Docs: man:systemd-sysv-generator(8) Process: 1408 ExecStart=/etc/init.d/nmbd start (code=exited, status=0/SUCCESS) CGroup: /system.slice/nmbd.service └─1508 /usr/sbin/nmbd -D mai 30 10:16:12 F2u systemd[1]: Starting LSB: start Samba NetBIOS nameserver (nmbd)... mai 30 10:16:14 F2u nmbd[1408]: * Starting NetBIOS name server nmbd mai 30 10:16:14 F2u nmbd[1408]:...done. mai 30 10:16:14 F2u systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd). mai 30 10:16:14 F2u nmbd[1508]: [2017/05/30 10:16:14.232451, 0] ../lib/util/become_daemon.c:124(daemon_ready) mai 30 10:16:14 F2u nmbd[1508]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections hh@F2u:~$ hh@F2u:~$ service winbind status ● winbind.service - LSB: start Winbind daemon Loaded: loaded (/etc/init.d/winbind; bad; vendor preset: enabled) Active: active (running) since mar. 2017-05-30 10:16:14 CEST; 27min ago Docs: man:systemd-sysv-generator(8) Process: 1404 ExecStart=/etc/init.d/winbind start (code=exited, status=0/SUCCESS) CGroup: /system.slice/winbind.service ├─1509 /usr/sbin/winbindd ├─1526 /usr/sbin/winbindd ├─1545 /usr/sbin/winbindd └─1546 /usr/sbin/winbindd mai 30 10:16:12 F2u systemd[1]: Starting LSB: start Winbind daemon... mai 30 10:16:14 F2u winbind[1404]: * Starting the Winbind daemon winbind mai 30 10:16:14 F2u winbind[1404]:...done. mai 30 10:16:14 F2u systemd[1]: Started LSB: start Winbind daemon. mai 30 10:16:14 F2u winbindd[1509]: [2017/05/30 10:16:14.238215, 0] ../source3/winbindd/winbindd_cache.c:3245(initialize_winbindd_cache) mai 30 10:16:14 F2u winbindd[1509]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 mai 30 10:16:14 F2u winbindd[1509]: [2017/05/30 10:16:14.309466, 0] ../lib/util/become_daemon.c:124(daemon_ready) mai 30 10:16:14 F2u winbindd[1509]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections hh@F2u:~$ hh@F2u:~$ sudo net rpc join -D ENDUICOLOR -U hh No realm has been specified! Do you really want to join an Active Directory server? Enter hh's password: smb_signing_good: BAD SIG: seq 1 Failed to join domain: failed to lookup DC info for domain 'ENDUICOLOR' over rpc: Access denied hh@F2u:~$ hh@F2u:~$ testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[printers]" Processing section "[print$]" Processing section "[cdrom]" Processing section "[ptgEAdm]" Processing section "[ptgEndui]" Processing section "[ptgGrpF]" Processing section "[S1SqlServerBak]" Loaded services file OK. WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions # Global parameters [global] workgroup = ENDUICOLOR server string = %h s
[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Thank you for reporting this bug to Ubuntu. It looks like smbd is failing to start, but the reason isn't clear. If this is still happening after the latest updates, could you please try a few things: - sudo apt -f install - sudo systemctl restart smbd.service nmbd.service And lets go from there. ** 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/1684146 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 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/1684146/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1684146] Re: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1684146 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 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/1684146/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs