[Bug 789548] [NEW] package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Public bug reported: Binary package hint: samba Package just failed to install after a periodic apt-get update/upgrade ProblemType: Package DistroRelease: Ubuntu 11.04 Package: samba 2:3.5.8~dfsg-1ubuntu2.2 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 NonfreeKernelModules: nvidia AptOrdering: samba: Configure Architecture: amd64 Date: Sat May 28 15:24:12 2011 DpkgTerminalLog: Setting up samba (2:3.5.8~dfsg-1ubuntu2.2) ... start: Job failed to start invoke-rc.d: initscript nmbd, action "start" failed. dpkg: error processing samba (--configure): subprocess installed post-installation script returned error exit status 1 ErrorMessage: subprocess installed post-installation script returned error exit status 1 RelatedPackageVersions: nautilus 1:2.32.2.1-0ubuntu13 gvfs 1.8.0-0ubuntu2 SambaClientRegression: Yes SourcePackage: samba Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to natty on 2011-05-04 (24 days ago) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package natty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/789548 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 789548] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/789548 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I have exactly the same problem. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I tried to manually start nmbd and I got the following: carlos@kropotkin:samba$ sudo /etc/init.d/nmbd start [sudo] password for carlos: Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service nmbd start Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g. start nmbd start: Job failed to start carlos@kropotkin:samba$ service nmbd start start: Rejected send message, 1 matched rules; type="method_call", sender=":1.53" (uid=1000 pid=5836 comm="start nmbd ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")) carlos@kropotkin:samba$ start nmbd start: Rejected send message, 1 matched rules; type="method_call", sender=":1.54" (uid=1000 pid=5849 comm="start nmbd ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")) Does it help? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
My huge mistake, sorry for making you loose your time. I use to do administrative tasks as root... Here it goes: root@kropotkin:~# /etc/init.d/nmbd start Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service nmbd start Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g. start nmbd start: Job failed to start root@kropotkin:~# service nmbd start start: Job failed to start root@kropotkin:~# cat /var/log/samba/log.nmbd cat: /var/log/samba/log.nmbd: No such file or directory -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Here it goes: root@kropotkin:~# dpkg -l samba Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersion Description +++-===-===-== iF samba 2:3.5.8~dfsg-1ubuntu2.2 SMB/CIFS file, print, and login server for Unix root@kropotkin:~# ls -l /usr/sbin/nmbd -rwxr-xr-x 1 root root 3632680 2011-05-09 22:25 /usr/sbin/nmbd root@kropotkin:~# grep nmbd /var/log/syslog Jun 16 09:32:28 kropotkin init: nmbd pre-start process (12590) terminated with status 1 Jun 16 23:02:53 kropotkin init: nmbd pre-start process (1309) terminated with status 1 Jun 16 23:02:53 kropotkin init: nmbd pre-start process (1319) terminated with status 1 Jun 16 23:11:38 kropotkin init: nmbd pre-start process (3280) terminated with status 1 Jun 16 23:11:44 kropotkin init: nmbd pre-start process (3288) terminated with status 1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Nothing happens: carlos@kropotkin:~$ sudo /usr/sbin/nmbd -d 3 carlos@kropotkin:~$ man nmbd There is no output at all. No problem helping uncover a possible bug (if it is). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
I got this: carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S [sudo] password for carlos: nmbd version 3.5.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" services not loaded standard input is not a socket, assuming -D option Becoming a daemon. Then nothing else (the process does not return control to the console). However, carlos@kropotkin:datos_econta$ ps -ef | egrep nmbd root 6609 5986 0 17:48 pts/100:00:00 sudo /usr/sbin/nmbd -d 3 -F -S root 6612 6609 0 17:48 ?00:00:00 /usr/sbin/nmbd -d 3 -F -S carlos6722 6660 0 17:52 pts/300:00:00 egrep nmbd Helpful? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
carlos@kropotkin:~$ cat /etc/init/nmbd.conf /etc/init/nmbd.override description "NetBIOS name server" author "Steve Langasek " start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345] expect fork respawn pre-start script [ -f /etc/samba/smb.conf ] || { stop; exit 0; } install -o root -g root -m 755 -d /var/run/samba NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null` [ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; } exit 0 end script exec nmbd -D cat: /etc/init/nmbd.override: No such file or directory The file samba.postinst is attached to this message (was perhaps too long). ** Attachment added: "samba.postinst" https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+attachment/2174352/+files/samba.postinst -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Hello, Did you manage to find out something more about this bug? Best regards, Carlos J. Gil Bellosta http://www.datanalytics.com 2011/6/18 Clint Byrum : > Excerpts from datanalytics.com's message of Sat Jun 18 15:55:02 UTC 2011: >> I got this: >> >> >> carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S >> [sudo] password for carlos: >> nmbd version 3.5.8 started. >> Copyright Andrew Tridgell and the Samba Team 1992-2010 >> lp_load_ex: refreshing parameters >> Initialising global parameters >> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) >> params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" >> Processing section "[global]" >> Registered MSG_REQ_POOL_USAGE >> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED >> lp_load_ex: refreshing parameters >> Initialising global parameters >> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) >> params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" >> Processing section "[global]" >> services not loaded >> standard input is not a socket, assuming -D option >> Becoming a daemon. >> >> >> Then nothing else (the process does not return control to the console). >> However, >> >> >> carlos@kropotkin:datos_econta$ ps -ef | egrep nmbd >> root 6609 5986 0 17:48 pts/1 00:00:00 sudo /usr/sbin/nmbd -d 3 -F >> -S >> root 6612 6609 0 17:48 ? 00:00:00 /usr/sbin/nmbd -d 3 -F -S >> carlos 6722 6660 0 17:52 pts/3 00:00:00 egrep nmbd >> >> >> Helpful? > > Yes very! This leads me to believe the upstart job is broken: > > Can you paste > > cat /etc/init/nmbd.conf /etc/init/nmbd.override ? > > and > > cat /var/lib/dpkg/info/samba.postinst > > Thanks once again. > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (789548). > https://bugs.launchpad.net/bugs/791944 > > Title: > package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in “samba” package in Ubuntu: > Incomplete > > Bug description: > Binary package hint: samba > > Happens any time I install or uninstall a program. But does not seem > to effect the operation of the programs. > > ProblemType: Package > DistroRelease: Ubuntu 11.04 > Package: samba 2:3.5.8~dfsg-1ubuntu2.2 > ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 > Uname: Linux 2.6.38-8-generic i686 > NonfreeKernelModules: nvidia > AptOrdering: > gdm: Install > samba: Configure > gadmin-samba: Configure > system-config-samba: Configure > gdm: Configure > Architecture: i386 > BothFailedConnect: Yes > Date: Thu Jun 2 11:53:20 2011 > ErrorMessage: subprocess installed post-installation script returned error > exit status 1 > InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) > NmbdLog: > > SambaServerRegression: Yes > SmbConfIncluded: Yes > SmbLog: > > SourcePackage: samba > Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: > subprocess installed post-installation script returned error exit status 1 > UpgradeStatus: Upgraded to natty on 2011-05-01 (31 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 791944] Re: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Hello, I changed permissions of dirs /var/lib/samba and /var/cache/samba to 0755 as indicated and the problem went away! Thanks! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 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/791944/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs