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

Re: cups and samba stop working after upgrade to etch



On 04/22/2007 11:12:47 AM, Bill Shofner wrote:
On 04/22/2007 09:57:57 AM, Florian Kulzer wrote:
On Sat, Apr 21, 2007 at 18:46:26 -0400, Bill Shofner wrote:
>> On 04/21/2007 03:50:43 PM, 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).

[...]

>> >> I cannot print from the printer attached to this system either
>> >> and when I try to go to http://localhost:631 I get:
>> >>
>> >> An error occurred while loading http://localhost:631: Could
not
>> >> connect to host localhost (port 631).

[...]

OK, let's take a look at your system. Please post the output of this
command:

dpkg -l \*samba\* \*smb\* \*cups\* udev hotplug | awk '/^[^|D+]/
{print
$1,$2,$3}'

and just to be sure also include the result of:

uname -a

[...]

L550r:/home/bill# dpkg -l \*samba\* \*smb\* \*cups\* udev hotplug |
awk
'/^[^|D+]/{print $1,$2,$3}'
rc cups-pdf 2.4.2-3
ii cupsomatic-ppd 20050430-1
rc cupsys 1.1.23-10sarge1
ii cupsys-bsd 1.2.7-4
ii cupsys-client 1.2.7-4
ii cupsys-common 1.2.7-4
ii cupsys-dbg 1.2.7-4
un cupsys-driver-gimpprint <none>
un cupsys-pstoraster <none>
ii cupsys-pt 1.2.4-3+b1
un eggcups <none>
ii gnome-cups-manager 0.31-3
pn hotplug <none>
un kdelibs3-cups <none>
ii libcupsimage2 1.2.7-4
ii libcupsys2 1.2.7-4
rc libcupsys2-gnutls10 1.2.7-4
ii libgnomecups1.0-1 0.2.2-5
rc libgnomecupsui1.0-1 0.25-2.1
ii libgnomecupsui1.0-1c2a 0.31-3
ii libsmbclient 3.0.24-6
un libwcsmbs <none>
ii samba 3.0.24-6
un samba-client <none>
ii samba-common 3.0.24-6
ii samba-doc 3.0.24-6
un samba-doc-pdf <none>
ii smbclient 3.0.24-6
un smbfs <none>
un smbget <none>
un smbldap-tools <none>
ii udev 0.105-4
ii webmin-samba 1.180-3
L550r:/home/bill# uname -a
Linux L550r 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
GNU/Linux

The status of kernel, udev and hotplug seems to be OK.

As far as CUPS is concerned: I am surprised that the "cupsys" package
has been removed instead of upgraded to version 1.2.7-4. What is the
output of

apt-cache policy cupsys

cupsys:
  <Not -Installed>
  Candidate: 1.2.7-4
  Version table:
 *** 1.2.7-4 0
        500 http://ftp.debian.org stable/main Packages
        100 /var/lib/dpkg/status

After seeing this I did an aptitude install cupsys and went to http://localhost:631 and congigured my printer. I can now print from this machine! Thank you very much!


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'
i alsaplayer 0.99.76-0.3sarge1
i alsaplayer-common 0.99.76-9
i balsa 2.3.13-2
i dirmngr 0.9.6-1+b1
i foomatic-db-hpijs 20061031-1
i foomatic-filters-ppds 20061104-1
i g-wrap 1.9.6-3.1
i gksu 2.0.0-1
i gnome-bin 1.4.2-34
i gnucash 2.0.5-1
i gnupg2 2.0.0-5.2
i gpgsm 2.0.0-5.2
i gstreamer0.10-plugins-base 0.10.10-4
i gstreamer0.10-plugins-good 0.10.4-4
i gstreamer0.10-plugins-ugly 0.10.4-5
i guile-1.6-dev 1.6.8-6
i guile-1.6-slib 1.6.8-6
i guile-library 0.1.2-1
i hpijs-ppds 2.6.10+1.6.10-3
i kdemultimedia-kfile-plugins 4:3.5.5-2
i kfax 4:3.5.5-3
i kommander 4:3.5.5-1
i libakode2 2.0.1-2
i libasound2-plugins 1.0.13-3
i libavcodec0d 0.cvs20060823-8
i libavcodeccvs51 3:20070329-0.0
i libegroupwise6 1.0.4-1
i libft-perl 1.2-16
i libglade-gnome0 1:0.17-8
i libglade0 1:0.17-8
i libgnomeprint-bin 0.37-12
i libgnomeprint15 0.37-12
i libgnomeui32 1.4.2-34
i libgnorba27 1.4.2-34
i libmime-perl 5.420-0.1
i libofx1 1:0.7.0-7
i libopensc1 0.9.6-1
i libpt-plugins-avc 1.10.2-2
i libpt-plugins-dc 1.10.2-2
i libxine1 1.1.2+dfsg-4
i mplayer 1:1.0-rc1svn20070225
i xscreensaver-gl 4.24-5


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

Thanks for your help so far.

Bill



Reply to: