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

Re: cups and samba stop working after upgrade to etch



On 04/24/2007 12:43:57 PM, Florian Kulzer wrote:
On Mon, Apr 23, 2007 at 19:48:49 -0400, Bill Shofner wrote:
> On 04/23/2007 05:58:06 PM, Florian Kulzer wrote:

[...]

>> One more thing to try is to get rid of samba completely:
>>
>> aptitude --purge-unused purge samba samba-common smbclient
>> webmin-samba smbldap-tools
>
> L550r:/home/bill# aptitude --purge-unused purge samba samba-common

[...]

>> and then to reinstall only these packages:
>>
>> aptitude install samba samba-common smbclient
>
> Re-installing samba ...
>
> L550r:/etc# aptitude install samba samba-common smbclient

[...]

> Setting up samba (3.0.24-6) ...
> Generating /etc/default/samba...
> tdbsam_open: Converting version 0 database to version 3.
> account_policy_get: tdb_fetch_uint32 failed for field 1 (min
password
> length), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 2 (password
history),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 3 (user must
logon to
> change password), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum
password
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum
password
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout
duration),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count

> minutes), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout

> attempt), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect
time),
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse
machine
> password change), returning 0

I am not sure what to make of these messages, but I have very little
experience in running a samba server. It seems like the daemons start
up
OK now.

[...]

> Starting Samba daemons: nmbd smbd.
>
> Setting up smbclient (3.0.24-6) ...
>
>
> No error message e-mail this time.  Let me see what I can see from
the
> wife's Windows computer....
>
> When trying to add a printer on my wife's Windows XP machine I am
asked for
> a user name and password to connect to this computer. I supply the
username
> and password but am unable to connect to the printer. Is samba
finally
> running?

You have to set up the exported folders, printers, authorized users,
etc. again. Purging the samba packages removed all your configuration
files, but since we could not isolate the cause of your problem we did
not have much choice. See Greg's recent mail for tips about samba
administration.

I now have samba set up to share the printer with the Windows machines on my network, which is all I need. Thanks very much for your help Florian. Thanks also to Greg.

I think you can now also restore the rest of your system (your libc6
version was OK, by the way.) I would do it like this:

1) Comment out all unofficial repositories (including
debian-multimedia)
   in your /etc/apt/sources.list.

2) Run "aptitude update" and then

   aptitude search '~i!~Odebian'

   to get a list of all unofficial/obsolete packages. Save this list
of
   packages. Verify that nothing important is on the list and run

   aptitude remove '~i!~Odebian'

   (Ask here if you are unsure about what is important.)

I have done the above search and saved the list to a file. I do not think there is anything important that could not be re-installed on the list, but I would appreciate it if you would let me know if you agree.

L550r:/etc/apt# aptitude search '~i!~Odebian'
i acroread - Adobe Acrobat Reader: Portable Document Format file viewi acroread-escript - Adobe EScript Plug-In i acroread-plugins - Plugins for Adobe Acrobat(R) Reader i alsaplayer - PCM player designed for ALSA i A gnome-gv - GNOME PostScript viewer i gtkhtml3.2 - HTML rendering/editing library - bonobo component binaryi ipchains - Network firewalling for Linux 2.2.x i ipmasqadm - Utility for configuring extra masquerading functionalityi kernel-image-2.6.8-1-386 - Linux kernel image for version 2.6.8 on 386. i A libavcodeccvs51 - library to encode decode multimedia streams - runtime fii A libavformatcvs51 - ffmpeg file format library i A libavutilcvs49 - avutil shared libraries i libbio2jack0 - oss/alsa to jack porting lib - runtime files i libdb2 - The Berkeley database routines (run-time files) i libdb4.0 - Berkeley v4.0 Database Libraries [runtime] i libdb4.1 - Berkeley v4.1 Database Libraries [runtime] i libdns11 - DNS Shared Library used by BIND i libdns16 - DNS Shared Library used by BIND i libebook8 - Client library for evolution address books i libecal6 - Client library for evolution calendars i libedata-book1 - Backend library for evolution address books i libedata-cal5 - Backend library for evolution calendars i libedataserver3 - Utily library for evolution data servers i libegroupwise6 - Client library for accessing groupwise POA through SOAP i libfaac0 - an AAC audio encoder - library files i A libfaad0 - freeware Advanced Audio Decoder - runtime files i libflac6 - Free Lossless Audio Codec - runtime C library i libgcrypt1 - LGPL Crypto library - runtime library i libgcrypt7 - LGPL Crypto library - runtime library i libgnutls10 - GNU TLS library - runtime library i libgnutls11 - GNU TLS library - runtime library i libgnutls7 - GNU TLS library - runtime library i A libgpod1 - a library to read and write songs and artwork to an iPodi libgtkhtml3.2-11 - HTML rendering/editing library - runtime files i libhowl0 - Library for Zeroconf service discovery i libisc7 - ISC Shared Library used by BIND i A libjack0.80.0-0 - JACK Audio Connection Kit (libraries) i liblame0 - LAME Ain't an MP3 Encoder i liblwres1 - Lightweight Resolver Library used by BIND i libmp4-0 - Freeware Advanced Audio Decoder - runtime files i libofx1 - library to support Open Financial Exchange i liboil0.2 - Library of Optimized Inner Loops i libopencdk4 - Open Crypto Development Kit (OpenCDK) (runtime) i libopenh323-1.15.2 - H.323 aka VoIP library i libopensc1 - SmartCard library with support for PKCS#15 compatible smi libosp4 - Runtime library for OpenJade group's SP suite i A libpostproccvs51 - postproc shared libraries i libpt-1.8.3 - Portable Windows Library i libreadline4 - GNU readline and history libraries, run-time libraries i libsigc++-1.2-5c102 - type-safe Signal Framework for C++ - runtime i libsoup2.2-7 - an HTTP library implementation in C -- Shared library i libtasn1-0 - Manage ASN.1 structures (runtime) i A libtasn1-2 - Manage ASN.1 structures (runtime) i A libx264-54 - x264 video coding library i libxvidcore4 - High quality ISO MPEG4 codec library i mozilla-acroread - Adobe Acrobat(R) Reader plugin for mozilla / konqueror i mplayerplug-in - MPlayer Plugin for Netscape/Mozilla i slang1 - The S-Lang programming library - runtime version i slang1a-utf8 - The S-Lang programming library with utf8 support i A sodipodi - Vector based drawing program
i   w32codecs                                      - win32 binary codecs
i xprt-xprintorg - Xprint - the X11 print system (dummy)



3) Now your system should be clean and it should be possible to
   reinstall the Debian packages that were removed because they were
   broken earlier.

4) After that has been done you can include debian-multimedia and
other
   unofficial repositories again in your sources.list. Make sure to
   change "sarge" to "etch" where necessary. Then run "aptitude
update"
   and it should be possible to install all the extra packages you
want
   (e.g. w32codecs).

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



My sources.list points to 'stable'.
Thanks again.
Bill



Reply to: