Ubuntu

package samba 2:3.6.3-2ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Reported by João Figueiredo on 2012-05-02
48
This bug affects 6 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Low
Unassigned

Bug Description

during upgrade

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: samba 2:3.6.3-2ubuntu2.1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Wed May 2 22:46:02 2012
DuplicateSignature:
 Setting up samba (2:3.6.3-2ubuntu2.1) ...
 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
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: samba
Title: package samba 2:3.6.3-2ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-26 (5 days ago)

tags: removed: need-duplicate-check
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. Could you grep for nmbd and smb in /var/log/message and show the results?

Changed in samba (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Download full text (6.0 KiB)

ok...

this is realy strange

just realized this system has no "/var/log/message" file....

root@ubuntu:/var/log# ls
alternatives.log apport.log.1 btmp dmesg.3.gz
dpkg.log.7.gz kern.log.1 mail.log pm-powersave.log.4.gz
 syslog ufw.log
alternatives.log.1 apt btmp.1 dmesg.4.gz faillog
        kern.log.2.gz mail.log.1 pm-suspend.log
syslog.1 unattended-upgrades
alternatives.log.2.gz auth.log ConsoleKit dpkg.log
fontconfig.log kern.log.3.gz mail.log.2.gz pm-suspend.log.1
  syslog.2.gz upstart
alternatives.log.3.gz auth.log.1 cups dpkg.log.1 fsck
       kern.log.4.gz mail.log.3.gz pm-suspend.log.2.gz
 syslog.3.gz wtmp
alternatives.log.4.gz auth.log.2.gz dist-upgrade dpkg.log.2.gz hp
       lastlog news pm-suspend.log.3.gz
 syslog.4.gz wtmp.1
alternatives.log.5.gz auth.log.3.gz dmesg dpkg.log.3.gz
 installer libvirt pm-powersave.log pm-suspend.log.4.gz
   syslog.5.gz Xorg.0.log
alternatives.log.6.gz auth.log.4.gz dmesg.0 dpkg.log.4.gz
 jockey.log lightdm pm-powersave.log.1 pycentral.log
   syslog.6.gz Xorg.0.log.old
alternatives.log.7.gz boot dmesg.1.gz dpkg.log.5.gz
 jockey.log.1 mail.err pm-powersave.log.2.gz samba
   syslog.7.gz Xorg.1.log
apport.log boot.log dmesg.2.gz dpkg.log.6.gz kern.log
       mail.err.1 pm-powersave.log.3.gz speech-dispatcher udev
      Xorg.1.log.old
root@ubuntu:/var/log# grep smbd syslog
May 2 08:07:11 ubuntu kernel: [11604.133775] init: smbd main process
(1144) killed by TERM signal
root@ubuntu:/var/log# grep nmbd syslog
May 2 08:08:14 ubuntu kernel: [11667.017664] init: nmbd pre-start process
(23279) terminated with status 1
May 2 08:08:36 ubuntu kernel: [11688.816810] init: nmbd pre-start process
(23456) terminated with status 1
May 2 22:46:02 ubuntu kernel: [12551.750385] init: nmbd pre-start process
(28419) terminated with status 1
May 2 22:46:08 ubuntu kernel: [12558.491367] init: nmbd pre-start process
(28539) terminated with status 1
root@ubuntu:/var/log# /etc/init.d/sm
smartd smartmontools smbd
root@ubuntu:/var/log# /etc/init.d/smbd stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd stop

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop smbd
smbd stop/waiting
root@ubuntu:/var/log# /etc/init.d/smbd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service smbd 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 smbd
smbd start/running, process 789
root@ubuntu:/var/log#
root@ubuntu:/var/log#
root@ubuntu:/var/log#
root@ubuntu:/var/log# ps xal | grep 789
4 0 789 1 20 0 122456 5816 poll_s Ss ? 0:00 smbd -F
1 0 791 789 20 0 122536 1512 poll_s S ? 0:00 smbd -F
0 0 793 569 20 0 9396 916 pipe_w S+ pts...

Read more...

Changed in samba (Ubuntu):
status: Incomplete → New
James Page (james-page) wrote :

This might be a duplicate of bug 791944.

Please could you try running the following commands:

  sudo testparm
  echo $?

Please attach the output to this bug report.

Marking 'Incomplete' pending your response and 'Low' for the time being. Please set the status back to 'New' once you have provided the requested information.

Thanks

Changed in samba (Ubuntu):
status: New → Incomplete
importance: Medium → Low

solved

Samba had a configuration that was accepted by the previous version and not
by the current (Netbios name and workgroup name where the same)

Samba failed to start due to that

Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers