Skip to Content.
Sympa Menu

en - RE: [sympa-users] upgrade and move to a new server, cookie troubles.

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: Marco Gaiarin <address@concealed>, "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] upgrade and move to a new server, cookie troubles.
  • Date: Wed, 3 Dec 2014 23:48:35 +0000

It looks as if you have local passwords in your database, encrypted with the
'cookie' parameter in your sympa.conf.

However, when you copied the database over from your old server to the new
one, you did not ensure that the 'cookie' parameter in sympa.conf was the
same on the new server as it was on the old server.

I'm not familiar with Sympa 6.0.x so it is possible that branch did not have
a cookie parameter... if that is the case, then all of your user's passwords
will no longer be valid. You could probably delete your sympa user database
(not the subscribers of lists!) so that people need to re-create their users
and passwords on the new system?

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
address@concealed
Ph: +64 9 373 7599 ext 86487


________________________________________
From: address@concealed
[address@concealed] on behalf of Marco Gaiarin
[address@concealed]
Sent: Wednesday, 3 December 2014 9:42 p.m.
To: address@concealed
Subject: [sympa-users] upgrade and move to a new server, cookie troubles.

I've moved my sympa installation fron debian squeeze (6.0.1+dfsg-4+squeeze2)
to debian wheezy (6.1.11~dfsg-5+deb7u1), moving also to a new server.

I've first installed sympa on the new server, then stopped it, restore db,
files and configuration and then i've run the upgrade process.
All went well.

But i receive ever day a warning like:

Dec 3 06:53:15 armitage sympa[17171]: err tools::cookie_changed()
Unable to create /etc/sympa/cookies.history

there's no /etc/sympa/cookies.history file, so i've simply tried to create
it empty:

touch /etc/sympa/cookies.history
chown sympa.sympa /etc/sympa/cookies.history
chmod 640 /etc/sympa/cookies.history

but now, sympa refuse to start:

Dec 2 06:39:45 armitage sympa[10992]: sympa.conf/cookie parameter
has changed. You may have severe inconsitencies into password storage.
Restore previous cookie or write some tool to re-encrypt password in database
and check spools contents (look at /etc/sympa/cookies.history file)


How can i fix this? Thanks.





Archive powered by MHonArc 2.6.19+.

Top of Page