[Bug 833542] Re: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed post-installation script returned error exit status 1
Ok. Note that I have since fixed the smb.conf file by removing wins support as I mentioned previously. If you want the tests above with wins support enabled let me know. == testparm -s --parameter-name='disable netbios' Load smb config files from /etc/samba/smb.conf Processing section [printers] Processing section [print$] Processing section [Public] Loaded services file OK. No === testparm Load smb config files from /etc/samba/smb.conf Processing section [printers] Processing section [print$] Processing section [Public] Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = xx server string = %h server (Samba, Ubuntu) map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No wins server = xxx.xxx.xxx.xxx usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d [printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers [Public] path = /home/xxx/x guest ok = Yes ls -l /var/run total 52 -rw-r--r-- 1 root root 5 2011-09-01 07:59 acpid.pid srw-rw-rw- 1 root root 0 2011-09-01 07:59 acpid.socket -rw-r--r-- 1 root root 5 2011-09-01 07:59 atd.pid drwxr-xr-x 2 avahi avahi80 2011-09-05 13:29 avahi-daemon drwxr-xr-x 2 root root 60 2011-09-05 13:28 console drwxr-xr-x 2 root root 60 2011-09-05 13:28 ConsoleKit -rw-r--r-- 1 root root 4 2011-09-01 07:59 console-kit-daemon.pid -rw-r--r-- 1 root root 5 2011-09-01 07:59 crond.pid -- 1 root root 0 2011-09-01 07:59 crond.reboot drwxr-xr-x 3 root lp 120 2011-09-01 07:59 cups drwxr-xr-x 2 messagebus messagebus 80 2011-09-01 07:59 dbus drwx--x--x 4 root gdm 100 2011-09-01 08:00 gdm -rw-r--r-- 1 root root 4 2011-09-01 07:59 gdm.pid -rw-r--r-- 1 root root109 2011-09-01 07:59 motd drwxr-xr-x 2 mysql root 60 2011-09-01 07:59 mysqld drwxr-xr-x 2 root root 60 2011-09-05 13:28 network -rw-r--r-- 1 root root 0 2011-09-01 07:59 network-interface-security -rw-r--r-- 1 root root 4 2011-09-01 07:59 NetworkManager.pid drwxr-xr-x 5 root root100 2011-09-01 16:11 pm-utils drwxrwsr-x 2 postgres postgres100 2011-09-01 08:00 postgresql drwxr-xr-x 2 root root 40 2011-09-01 08:00 pppconfig -rw-r--r-- 1 root root 4 2011-09-01 07:59 rsyslogd.pid drwxr-xr-x 2 root root260 2011-09-02 07:27 samba drwxrwxr-x 2 root utmp 40 2011-09-01 07:59 screen drwxr-xr-x 2 root root 40 2011-09-01 07:59 sendsigs.omit.d drwxr-xr-x 2 root root 40 2011-09-01 07:59 sshd -rw-r--r-- 1 root root 4 2011-09-01 07:59 sshd.pid drwxr-xr-x 2 root root 60 2011-09-01 07:59 udev-configure-printer -rw-r--r-- 1 root root 4 2011-09-01 07:59 upstart-socket-bridge.pid -rw-r--r-- 1 root root 4 2011-09-01 07:59 upstart-udev-bridge.pid -rw-rw-r-- 1 root utmp 4608 2011-09-05 16:06 utmp drwxr-xr-x 2 xrdp xrdp 80 2011-09-01 08:00 xrdp -- 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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 833542] Re: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed post-installation script returned error exit status 1
However please note that I did not change the smb.conf file myself. So probably, one of the samba updates changed the file, then the next update could not work. -- 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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 833542] Re: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed post-installation script returned error exit status 1
rac@garfield:~$ which testparm /usr/bin/testparm rac@garfield:~$ ls -l /usr/bin/testparm* lrwxrwxrwx 1 root root 26 2011-05-03 09:15 /usr/bin/testparm - /etc/alternatives/testparm -rwxr-xr-x 1 root root 1354284 2011-07-28 18:04 /usr/bin/testparm.samba3 rac@garfield:~$ dpkg -S /usr/bin/testparm.samba3 samba-common-bin: /usr/bin/testparm.samba3 -- 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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 833542] Re: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed post-installation script returned error exit status 1
I cleared away all old samba logs, then ran the command apt-get install samba. This gave the following messages: root@garfield:/var/log/samba# apt-get install samba Reading package lists... Done Building dependency tree Reading state information... Done samba is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Setting up samba (2:3.5.8~dfsg-1ubuntu2.3) ... 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 Errors were encountered while processing: samba E: Sub-process /usr/bin/dpkg returned an error code (1) The directory /var/log/samba remained empty I tried the command start -v nmbd but this only gave start: Job failed to start /var/log/syslog showed: Sep 1 07:53:18 garfield init: nmbd pre-start process (28123) 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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 833542] Re: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed post-installation script returned error exit status 1
I tried to go through the commands in /etc/init/nmbd.conf, and when I tried the following lines it failed: root@garfield:~# testparm -s --parameter-name='disable netbios' 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 [Public] Loaded services file OK. ERROR: both 'wins support = true' and 'wins server = server list' cannot be set in the smb.conf file. nmbd will abort with this setting. No I did not modify anything in smb.conf, however one of the upgrades must have done so - I have a file /etc/samba/smb.conf.ucf-dist which seems to contain the settings as they were before. I edited /etc/samba/smb.conf and set wins support = no and then re-ran apt-get install samba and it worked. -- 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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 833542] [NEW] samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed post-installation script returned error exit status 1
Public bug reported: Samba failed to upgrade ProblemType: Package DistroRelease: Ubuntu 11.04 Package: samba 2:3.5.8~dfsg-1ubuntu2.3 ProcVersionSignature: Ubuntu 2.6.38-11.48-generic-pae 2.6.38.8 Uname: Linux 2.6.38-11-generic-pae i686 Architecture: i386 Date: Thu Aug 25 08:23:07 2011 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429) 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.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to natty on 2011-05-03 (113 days ago) ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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 833542] Re: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542 Title: samba 2:3.5.8~dfsg-1ubuntu2.3 failed to 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/833542/+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