Talkitup has been closed since August 2009. I leave this archived version up for some of the juicy goodness contained herein. Computers suck - go outside and play. Full Version link keeps you in the archive. Contact

TalkitUp - A Debian Support Forum Debian General
Pages: 1
Upgrade Debian Etch to Lenny By: skysober Date: March 31, 2009, 02:16:32 PM
I followed this exact... http://www.debiantutorials.org/talkitup/index.php/topic,2441.0.html

now it has done most everything, but I am not stuck at... (and afraid to even stop or start anything as I am on remote ssh only on a dedicated server....)

HELP PLEASE!  My subsites are active and in use... I can't just ask the server idiots to re-install as I have the sites already running Sad


Restarting services possibly affected by the upgrade:
  saslauthd: stopping...starting...done.
  proftpd: stopping...starting...done.
  postgresql-7.4: stopping...starting...done.
  dovecot: stopping...starting...done.
  cron: stopping...starting...done.
  courier-authdaemon: stopping...starting...done.

Services restarted successfully.

(Reading database ... 65369 files and directories currently installed.)
Preparing to replace libpam-modules 0.79-5 (using .../libpam-modules_1.0.1-5_i386.deb) ...
Unpacking replacement libpam-modules ...
Setting up libpam-modules (1.0.1-5) ...
Installing new version of config file /etc/security/group.conf ...
Installing new version of config file /etc/security/time.conf ...
Installing new version of config file /etc/security/access.conf ...
Installing new version of config file /etc/security/limits.conf ...
Installing new version of config file /etc/security/pam_env.conf ...
(Reading database ... 65431 files and directories currently installed.)
Preparing to replace debianutils 2.17 (using .../debianutils_2.30_i386.deb) ...
Unpacking replacement debianutils ...
Setting up debianutils (2.30) ...
(Reading database ... 65431 files and directories currently installed.)
Preparing to replace passwd 1:4.0.18.1-7+etch1 (using .../passwd_1%3a4.1.1-6_i386.deb) ...
Unpacking replacement passwd ...
Setting up passwd (1:4.1.1-6) ...
Installing new version of config file /etc/default/useradd ...
(Reading database ... 65431 files and directories currently installed.)
Preparing to replace libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2etch1 (using .../libuuid1_1.41.3-1_i386.deb) ...
Unpacking replacement libuuid1 ...
Setting up libuuid1 (1.41.3-1) ...

Could not connect to database

Could not connect to database

Could not connect to database



Re: upgrade to lenny from etch By: skysober Date: March 31, 2009, 04:48:21 PM
fixed... a member on Debian IRC helped me... my postfix was all screwed up


Re: upgrade to lenny from etch By: machiner Date: March 31, 2009, 11:01:55 PM
Oh hey -- well, sorry we missed you.  Glad you're fixed up.
Re: upgrade to lenny from etch By: narcilian Date: April 13, 2009, 06:32:36 PM
I'm having the same issue.

I use exim4 instead of postfix.

Is there somewhere I can look for logs that will tell me more than "could not connect to database"?

apt-get install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 266 not upgraded.
11 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libuuid1 (1.41.3-1) ...

Could not connect to database

Could not connect to database

Re: upgrade to lenny from etch By: skysober Date: April 14, 2009, 01:04:08 AM
well the "REAL" root of the problem with mine, while it was caused by the postfix install, it was actually in the pam.d, whatever that is, that was causing everything to say could not connect to database... even a simple "su" failed.

I went to the Debian IRC group and a kid from Germany was kind enough to immediately assist me.
Re: upgrade to lenny from etch By: machiner Date: April 14, 2009, 05:37:17 AM
How'd you find us?

You might want to read this first.

Although some say it, it's not as simple as changing your repos to reflect lenny instead of etch.  But, it basically is...kind of.

Almost everything has been upgraded, including aptitude, pam - which will give you problems if you don't upgrade them first.

I have upgraded 4 servers and a bunch of desktops to Lenny - in the overall it's pretty simple.  But - do aptitude first -- then upgrade everything else.

Consider your kernel modules - you get a new kernel with Lenny -- you are going to have to upgrade your modules:  nvidia, etc.  Don't worry about sound, web cam, that stuff.

I'd imagine some problems are being caused by pam, and others are the result of one app hanging because something else wasn't upgraded first.

Upgrade like this:

boot into single user mode
upgrade the following first:

aptitude
pam (libpam)
kernel

reboot, upgrade the rest.

Don't forget your kernel modules.  Don't worry if things are held back.  Get to them later.

Specific programs causing issues are config file related or the result of something else not being in place first, like pam.

If you're stuck in the middle -- try a few things:

dpkg --configure -a

remove a thing causing you issue and install it later.  If you're seeing problems with a program that's preventing other things from upgrading - remove it.  Reinstall it later.  Your config files will remain.

Please be very specific.   What you did, what you're experiencing, what you're trying to do.  Also, this forum is populated by people that work all day and are in different time zones.  Your problems can be solved here, but it may take a little while.  IRC groups are faster.

Try to introduce yourself first, too.  We wanna help, but we like when people say Hi first.  Wink
Re: upgrade to lenny from etch By: machiner Date: April 14, 2009, 06:07:46 AM
Quote from: narcilian on April 13, 2009, 06:32:36 PM

Is there somewhere I can look for logs that will tell me more than "could not connect to database"?

/var/log/aptitude
/var/log/dpkg.log

SMF Archive Funded by SMF For Free Free Forum Hosting (smfforfree.com)
SMF Hacks(smfhacks.com)