[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cups and samba stop working after upgrade to etch



On 04/23/2007 03:25:22 PM, Florian Kulzer wrote:
On Sun, Apr 22, 2007 at 21:10:25 -0400, Bill Shofner wrote:
> On 04/22/2007 11:12:47 AM, Bill Shofner wrote:
>> On 04/22/2007 09:57:57 AM, Florian Kulzer wrote:

>>>>> On Fri, Apr 20, 2007 at 11:25:26 -0400, Bill Shofner wrote:

>>>>> After upgrading my sarge box to etch, I cannot print and samba
no
>>>>> longer works. When I re-boot I get the following message from
>>>>> root:
>>>>>
>>>>> The Samba 'panic action' script, /usr/share/samba/panic-action,
>>>>> was called for PID 2540 (/usr/sbin/smbd).

[ CUPS works now, samba does not. One down, one to go... ]

>> I do not immediately see anything wrong with your samba-related
>> packages. You could try to restart it and hope for a more
illuminating
>> error message:
>
>> /etc/init.d/samba restart
>
> All this did was send another message from root about the "Samba
panic
> action script. Just to be sure, I re-booted the computer and got the
same
> message from root again. So samba is still not working.
>
>> Finally, let's check if there are other broken packages on your
system:
>
>> aptitude -F '%c %p %20v' search '~b' | sed 's/ \+/ /g'
>
> L550r:/home/bill# aptitude -F '%c %p %20v' search '~b' | sed 's/ \+/
/g'

[ snip: 42 broken packages ]

I think you might have to purge and reinstall samba, but first you
should fix the broken packages. (I did not see anything that I could
immediately connect to samba, but it is probably better to get this
out
of the way first.)

The first thing to do is to tell aptitude to figure things out on its
own:

aptitude install -f

If this has nasty side effects such as scheduling the removal of half
of
your system then you should abort the command (you will get that
opportunity in any case, don't worry) and post all output here. We
will
then (hopefully) figure out how to proceed based on the symptoms.

If this command runs OK then you should verify that

aptitude search '~b'

finishes without finding any packages anymore. Once that is achieved
we
will see about samba.

--
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


L550r:/home/bill# aptitude install -f
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
  alsaplayer alsaplayer-common balsa dirmngr foomatic-db-hpijs
  foomatic-filters-ppds g-wrap gksu gnome-bin gnucash gnupg2 gpgsm
  gstreamer0.10-plugins-base gstreamer0.10-plugins-good
  gstreamer0.10-plugins-ugly guile-1.6-dev guile-1.6-slib guile-library
  hpijs-ppds kdemultimedia-kfile-plugins kfax kommander libakode2
libasound2-plugins libavcodec0d libavcodeccvs51 libegroupwise6 libft-perl libglade-gnome0 libglade0 libgnomeprint-bin libgnomeprint15 libgnomeui32
  libgnorba27 libmime-perl libofx1 libopensc1 libpt-plugins-avc
  libpt-plugins-dc libxine1 mplayer xscreensaver-gl
The following packages will be REMOVED:
  alien alsaplayer-esd alsaplayer-oss cupsomatic-ppd debconf-utils
  debhelper debian-reference-common debian-reference-en dfontmgr
  flashplayer-mozilla foomatic-db foomatic-db-engine foomatic-filters
  gcc-3.3-doc gcc-3.4-doc gconf gettext gnome-audio guile-1.6 hwdata
  intltool-debian liba52-0.7.4 libart2 libbonobo2 libcompfaceg1
  libconvert-binhex-perl libdate-manip-perl libdirectfb-0.9-20
libdivxdecore0 libdv4 libdvdread3 libefs1 libgal2.2-1 libgal2.2-common
  libgal23 libgconf11 libgdk-pixbuf-gnome2 libgdk-pixbuf2 libghttp1
  libglade-perl libgle3 libgnome-vfs-common libgnome-vfs0 libgnome2-doc
libgnorbagtk0 libguppi16 libgwrapguile1 libimlib2 libkpathsea3 libksba8
  liblame0 libltdl3 libmikmod2 liboaf0 libofx0c102 libopenct0 liborbit0
  libosp4 libpcsclite1 libsamplerate0 libshout3 libsoup2.2-7 libsqlite0
  libswt-mozilla3-java libswt-mozilla3-jni libsysfs1 libt1-5 libtheora0
  libtiff-tools libttf2 libwww0 libxml1 libxvidcore4 oaf po-debconf
  psfontmgr realplayer samba-doc sudo ttf-freefont w32codecs webmin
  webmin-inetd
0 packages upgraded, 0 newly installed, 83 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 146MB will be freed.
The following packages have unmet dependencies:
  libofx1: Depends: libosp4 (>= 1.5.1.0-1) but it is not installable
  gnucash: Depends: libltdl3 (>= 1.5.2-2) but it is not installable
           Depends: libdate-manip-perl but it is not installable
           Depends: psfontmgr but it is not installable
gstreamer0.10-plugins-ugly: Depends: liba52-0.7.4 but it is not installable Depends: libdvdread3 (>= 0.9.6) but it is not installable
  gnome-bin: Depends: libart2 (>= 1.2.13-5) but it is not installable
Depends: libgnorbagtk0 (>= 1.2.13-5) but it is not installable
             Depends: liborbit0 (>= 0.5.17) but it is not installable
  dirmngr: Depends: libksba8 (>= 1.0.0) but it is not installable
  xscreensaver-gl: Depends: libgle3 but it is not installable
libopensc1: Depends: libpcsclite1 (>= 1.2.9-beta7-5) but it is not installable libegroupwise6: Depends: libsoup2.2-7 (>= 2.2.2) but it is not installable
  mplayer: Depends: libdv4 but it is not installable
           Depends: libtheora0 but it is not installable
Depends: libxvidcore4 (>= 1:1.0.0-0.0) but it is not installable libglade-gnome0: Depends: libart2 (>= 1.2.13-5) but it is not installable Depends: libxml1 (>= 1:1.8.14-3) but it is not installable
  gstreamer0.10-plugins-good: Depends: libdv4 but it is not installable
Depends: libshout3 but it is not installable Depends: libtheora0 but it is not installable
  libft-perl: Depends: libttf2 but it is not installable
  libpt-plugins-dc: Depends: libdv4 but it is not installable
  libpt-plugins-avc: Depends: libdv4 but it is not installable
foomatic-db-hpijs: Depends: foomatic-filters but it is not installable
                     Depends: foomatic-db but it is not installable
  libakode2: Depends: libsamplerate0 but it is not installable
libgnomeui32: Depends: libart2 (>= 1.2.13-5) but it is not installable kdemultimedia-kfile-plugins: Depends: libtheora0 but it is not installable
  balsa: Depends: libcompfaceg1 but it is not installable
  guile-1.6-dev: Depends: guile-1.6 but it is not installable
  kommander: Depends: gettext but it is not installable
  guile-library: Depends: guile-1.6 but it is not installable
libmime-perl: Depends: libconvert-binhex-perl but it is not installable
  g-wrap: Depends: guile-1.6 but it is not installable
  gksu: Depends: sudo but it is not installable
  libasound2-plugins: Depends: libsamplerate0 but it is not installable
  libavcodec0d: Depends: liba52-0.7.4 but it is not installable
  alsaplayer: Depends: alsaplayer-oss but it is not installable or
                       alsaplayer-output which is a virtual package.
foomatic-filters-ppds: Depends: foomatic-filters but it is not installable
  kfax: Depends: libtiff-tools but it is not installable
  libavcodeccvs51: Depends: liba52-0.7.4 but it is not installable
Depends: liblame0 (>= 3.97) but it is not installable
                   Depends: libtheora0 but it is not installable
Depends: libxvidcore4 (>= 1:1.0.0-0.0) but it is not installable
  guile-1.6-slib: Depends: guile-1.6 but it is not installable
  libglade0: Depends: libxml1 (>= 1:1.8.14-3) but it is not installable
gstreamer0.10-plugins-base: Depends: libtheora0 but it is not installable alsaplayer-common: Depends: libmikmod2 (>= 3.1.10) but it is not installable Depends: alsaplayer-alsa but it is not installable or alsaplayer-output which is a virtual package. libgnomeprint15: Depends: libart2 (>= 1.2.13-5) but it is not installable Depends: libgdk-pixbuf2 (>= 0.22.0) but it is not installable Depends: libxml1 (>= 1:1.8.14-3) but it is not installable
  gpgsm: Depends: libksba8 (>= 1.0.0) but it is not installable
  gnupg2: Depends: libksba8 (>= 1.0.0) but it is not installable
hpijs-ppds: Depends: foomatic-filters (>= 3.0.2) but it is not installable
  libgnorba27: Depends: liborbit0 (>= 0.5.17) but it is not installable
libgnomeprint-bin: Depends: libart2 (>= 1.2.13-5) but it is not installable Depends: libgdk-pixbuf2 (>= 0.22.0) but it is not installable Depends: libxml1 (>= 1:1.8.14-3) but it is not installable
  libxine1: Depends: liba52-0.7.4 but it is not installable
            Depends: libtheora0 but it is not installable
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
alsaplayer-oss [0.99.76-9 (stable, now)]
debconf-utils [1.5.11 (stable, now)]
foomatic-db [20061031-1 (stable, now)]
foomatic-db-engine [3.0.2-20061031-1 (stable, now)]
foomatic-filters [3.0.2-20061031-1.2 (stable, now)]
gettext [0.16.1-1 (stable, now)]
guile-1.6 [1.6.8-6 (stable, now)]
liba52-0.7.4 [0.7.4-7 (stable, now)]
libart2 [1.4.2-34 (stable, now)]
libcompfaceg1 [1:1.5.2-4 (stable, now)]
libconvert-binhex-perl [1.119-2 (stable, now)]
libdate-manip-perl [5.44-5 (stable, now)]
libdv4 [1.0.0-1 (stable, now)]
libdvdread3 [0.9.7-2 (stable, now)]
libgdk-pixbuf2 [0.22.0-11 (stable, now)]
libgle3 [3.1.0-5.3 (stable, now)]
libgnorbagtk0 [1.4.2-34 (stable, now)]
libksba8 [1.0.0-1 (stable, now)]
liblame0 [3.97-0.0sarge1 (now)]
libltdl3 [1.5.22-4 (stable, now)]
libmikmod2 [3.1.11-a-6 (stable, now)]
liborbit0 [0.5.17-11.1 (stable, now)]
libosp4 [1.5.1.0-2 (now)]
libpcsclite1 [1.3.2-5 (stable, now)]
libsamplerate0 [0.1.2-2 (stable, now)]
libshout3 [2.2.2-1 (stable, now)]
libsoup2.2-7 [2.2.3-2sarge1 (now)]
libtheora0 [0.0.0.alpha7.dfsg-1.1 (stable, now)]
libtiff-tools [3.8.2-7 (stable, now)]
libttf2 [1.4pre.20050518-0.4 (stable, now)]
libxml1 [1:1.8.17-14 (stable, now)]
libxvidcore4 [2:1.1.2-0.1sarge1 (now)]
psfontmgr [0.11.10-0.1 (stable, now)]
sudo [1.6.8p12-4 (stable, now)]

Score is -1616

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  alien alsaplayer-esd cupsomatic-ppd debhelper debian-reference-common
debian-reference-en dfontmgr flashplayer-mozilla gcc-3.3-doc gcc-3.4-doc gconf gnome-audio hwdata intltool-debian libbonobo2 libdirectfb-0.9-20 libdivxdecore0 libefs1 libgal2.2-1 libgal2.2-common libgal23 libgconf11
  libgdk-pixbuf-gnome2 libghttp1 libglade-perl libgnome-vfs-common
  libgnome-vfs0 libgnome2-doc libguppi16 libgwrapguile1 libimlib2
  libkpathsea3 liboaf0 libofx0c102 libopenct0 libsqlite0
libswt-mozilla3-java libswt-mozilla3-jni libsysfs1 libt1-5 libwww0 oaf
  po-debconf realplayer samba-doc ttf-freefont w32codecs webmin
  webmin-inetd
0 packages upgraded, 0 newly installed, 49 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 116MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 125955 files and directories currently installed.)
Removing alien ...
Removing alsaplayer-esd ...
Removing cupsomatic-ppd ...
Removing debhelper ...
Removing debian-reference-en ...
Removing debian-reference-common ...
Removing dfontmgr ...
Removing flashplayer-mozilla ...
Removing gcc-3.3-doc ...
Removing gcc-3.4-doc ...
Removing libgnome-vfs0 ...
Removing libgnome-vfs-common ...
Removing gnome-audio ...
Removing hwdata ...
Removing po-debconf ...
Removing intltool-debian ...
Removing libdirectfb-0.9-20 ...
Removing libdivxdecore0 ...
Removing libefs1 ...
Removing libgal2.2-common ...
Removing libgal2.2-1 ...
Removing libgal23 ...
Removing libgdk-pixbuf-gnome2 ...
Removing libghttp1 ...
Removing libglade-perl ...
Removing libgnome2-doc ...
Removing libguppi16 ...
Removing libgwrapguile1 ...
Removing libimlib2 ...
Removing libkpathsea3 ...
Removing libofx0c102 ...
Removing libopenct0 ...
Removing libsqlite0 ...
Removing libswt-mozilla3-java ...
Removing libswt-mozilla3-jni ...
Removing libsysfs1 ...
Removing libt1-5 ...
Removing libwww0 ...
Removing realplayer ...
Removing samba-doc ...
Removing ttf-freefont ...
No CIDSupplement specified for KochiGothic-Regular, defaulting to 0.
No CIDSupplement specified for KochiGothic-Regular-JaH, defaulting to 0.
Removing w32codecs ...
Removing webmin-inetd ...
Removing webmin ...
Stopping webmin: webmin.
Removing libbonobo2 ...
Removing gconf ...
Removing libgconf11 ...
Removing oaf ...
Removing liboaf0 ...

L550r:/home/bill# aptitude search '~b'
L550r:/home/bill#

The above 2 lines seem to indicate that the broken packages have been fixed or removed, so I did:

L550r:/home/bill# aptitude purge samba
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages will be REMOVED:
  samba{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 7967kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 122341 files and directories currently installed.)
Removing samba ...
Stopping Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 3148: No such process
.
Purging configuration files for samba ...
Removing configuration file /etc/default/samba...
Removing configuration file /etc/default/samba...
L550r:/home/bill# aptitude install samba
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be installed:
  samba
The following packages are RECOMMENDED but will NOT be installed:
  smbldap-tools
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3258kB of archives. After unpacking 7967kB will be used.
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package samba.
(Reading database ... 122293 files and directories currently installed.)
Unpacking samba (from .../samba_3.0.24-6_i386.deb) ...
Setting up samba (3.0.24-6) ...
Generating /etc/default/samba...
Starting Samba daemons: nmbd smbd.

Since the smbldap-tools package was recommended I decided to install it.

L550r:/home/bill# aptitude install smbldap-tools
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  libconvert-asn1-perl libcrypt-smbhash-perl libdigest-md4-perl
  libdigest-sha1-perl libio-socket-ssl-perl libjcode-pm-perl
  libnet-ldap-perl libunicode-map-perl libunicode-map8-perl
  libunicode-maputf8-perl libunicode-string-perl
The following NEW packages will be installed:
  libconvert-asn1-perl libcrypt-smbhash-perl libdigest-md4-perl
  libdigest-sha1-perl libio-socket-ssl-perl libjcode-pm-perl
  libnet-ldap-perl libunicode-map-perl libunicode-map8-perl
  libunicode-maputf8-perl libunicode-string-perl smbldap-tools
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 1526kB of archives. After unpacking 4874kB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Get:1 http://ftp.debian.org stable/main libconvert-asn1-perl 0.20-1 [40.9kB] Get:2 http://ftp.debian.org stable/main libdigest-md4-perl 1.5-1 [19.7kB] Get:3 http://ftp.debian.org stable/main libdigest-sha1-perl 2.11-1 [24.3kB] Get:4 http://ftp.debian.org stable/main libio-socket-ssl-perl 1.01-1 [42.8kB]
Get:5 http://ftp.debian.org stable/main libjcode-pm-perl 2.06-1 [30.9kB]
Get:6 http://ftp.debian.org stable/main libnet-ldap-perl 1:0.33-2 [319kB] Get:7 http://ftp.debian.org stable/main libunicode-map-perl 0.112-10 [480kB] Get:8 http://ftp.debian.org stable/main libunicode-string-perl 2.09-1 [133kB] Get:9 http://ftp.debian.org stable/main libunicode-map8-perl 0.12-3 [78.6kB] Get:10 http://ftp.debian.org stable/main libunicode-maputf8-perl 1.11-2 [16.1kB]Get:11 http://ftp.debian.org stable/main libcrypt-smbhash-perl 0.12-1 [13.8kB]
Get:12 http://ftp.debian.org stable/main smbldap-tools 0.9.2-3 [326kB]
Fetched 1526kB in 3s (426kB/s)
Selecting previously deselected package libconvert-asn1-perl.
(Reading database ... 122341 files and directories currently installed.)
Unpacking libconvert-asn1-perl (from .../libconvert-asn1-perl_0.20-1_all.deb) ...
Selecting previously deselected package libdigest-md4-perl.
Unpacking libdigest-md4-perl (from .../libdigest-md4-perl_1.5-1_i386.deb) ...
Selecting previously deselected package libdigest-sha1-perl.
Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.11-1_i386.deb) ...Selecting previously deselected package libio-socket-ssl-perl. Unpacking libio-socket-ssl-perl (from .../libio-socket-ssl-perl_1.01-1_all.deb) ...
Selecting previously deselected package libjcode-pm-perl.
Unpacking libjcode-pm-perl (from .../libjcode-pm-perl_2.06-1_i386.deb) ...
Selecting previously deselected package libnet-ldap-perl.
Unpacking libnet-ldap-perl (from .../libnet-ldap-perl_1%3a0.33-2_all.deb) ...
Selecting previously deselected package libunicode-map-perl.
Unpacking libunicode-map-perl (from .../libunicode-map-perl_0.112-10_i386.deb) ...
Selecting previously deselected package libunicode-string-perl.
Unpacking libunicode-string-perl (from .../libunicode-string-perl_2.09-1_i386.deb) ...
Selecting previously deselected package libunicode-map8-perl.
Unpacking libunicode-map8-perl (from .../libunicode-map8-perl_0.12-3_i386.deb) ...
Selecting previously deselected package libunicode-maputf8-perl.
Unpacking libunicode-maputf8-perl (from .../libunicode-maputf8-perl_1.11-2_all.deb) ...
Selecting previously deselected package libcrypt-smbhash-perl.
Unpacking libcrypt-smbhash-perl (from .../libcrypt-smbhash-perl_0.12-1_all.deb) ...
Selecting previously deselected package smbldap-tools.
Unpacking smbldap-tools (from .../smbldap-tools_0.9.2-3_all.deb) ...
Setting up libconvert-asn1-perl (0.20-1) ...
Setting up libdigest-md4-perl (1.5-1) ...
Setting up libdigest-sha1-perl (2.11-1) ...
Setting up libio-socket-ssl-perl (1.01-1) ...
Setting up libjcode-pm-perl (2.06-1) ...
Setting up libnet-ldap-perl (0.33-2) ...
Setting up libunicode-map-perl (0.112-10) ...
Setting up libunicode-string-perl (2.09-1) ...
Setting up libunicode-map8-perl (0.12-3) ...
Setting up libunicode-maputf8-perl (1.11-2) ...
Setting up libcrypt-smbhash-perl (0.12-1) ...
Setting up smbldap-tools (0.9.2-3) ...

Since there was no error message when samba was re-installed and re-started, I hoped samba was OK, but that is not the case - got this mail message again:

Message 1:
From root@L550r Mon Apr 23 16:32:45 2007
Envelope-to: root@L550r
Delivery-date: Mon, 23 Apr 2007 16:32:45 -0400
To: root@L550r
Subject: Panic or segfault in Samba
From: root <root@L550r>
Date: Mon, 23 Apr 2007 16:32:40 -0400

The Samba 'panic action' script, /usr/share/samba/panic-action,
was called for PID 8977 (/usr/sbin/smbd).

This means there was a problem with the program, such as a segfault.
Below is a backtrace for this process generated with gdb, which shows
the state of the program at the time the error occurred.  The Samba log
files may contain additional information about the problem.

If the problem persists, you are encouraged to first install the
samba-dbg package, which contains the debugging symbols for the Samba
binaries.  Then submit the provided information as a bug report to
Debian.  For information about the procedure for submitting bug reports,
please see http://www.debian.org/Bugs/Reporting or the reportbug(1)
manual page.

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1212938560 (LWP 8977)]
0xb7f6d410 in ?? ()
#0  0xb7f6d410 in ?? ()
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()

~
~
(END

???
Bill



Reply to: