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

João Figueiredo 993581 at bugs.launchpad.net
Wed May 2 23:06:41 UTC 2012


ok...

this is realy  strange

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

root at 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 at 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 at 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 at ubuntu:/var/log# /etc/init.d/sm
smartd         smartmontools  smbd
root at 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 at 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 at ubuntu:/var/log#
root at ubuntu:/var/log#
root at ubuntu:/var/log#
root at 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/0      0:00 grep
--color=auto 789
root at 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 at 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 at ubuntu:/var/log# grep smbd syslog
May  2 08:07:11 ubuntu kernel: [11604.133775] init: smbd main process
(1144) killed by TERM signal
May  3 00:05:13 ubuntu kernel: [17302.953513] init: smbd main process
(23253) killed by TERM signal
root at ubuntu:/var/log#


On Wed, May 2, 2012 at 11:14 PM, Serge Hallyn <993581 at bugs.launchpad.net>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
>
> ** 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/993581
>
> Title:
>  package samba 2:3.6.3-2ubuntu2.1 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/993581/+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/993581

Title:
  package samba 2:3.6.3-2ubuntu2.1 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/993581/+subscriptions



More information about the Ubuntu-server-bugs mailing list