From: Carlos Bergero on
Hi there list, got some trouble running a cyrus server, actually I have
an old setup running in Etch i386 without any trouble, virtual mail
server and all pgsql setup for backend and postfix for MTA, all sweat. I
installed a new server, better hardware, using AMD64 dist, as Etch is
going to be out of security, I copy everithing but the cyrus is not
properly working. I cant conect to the imap port or use imtest, to check
users, when i start server first cyr_expire and then tls_prune consume
lots of time doing not shure what, and i get the following syslog and
kern.log error:

Apr 22 18:48:08 darwin kernel: [6121490.275489] ctl_cyrusdb[18309]
general protection ip:7fecdaef0f30 sp:7fffc46d9380 error:0 in
libdb-4.2.so[7fecdae4e000+ea000]
Apr 22 19:12:49 darwin kernel: [6122984.242061] ctl_cyrusdb[18505]:
segfault at 7f584401cefc ip 7f0a429acf30 sp 7fffb28b3cf0 error 4 in
libdb-4.2.so[7f0a4290a000+ea000]
Apr 22 19:13:48 darwin kernel: [6123046.804454] ctl_cyrusdb[18594]:
segfault at 7f7805960efc ip 7f2a042f0f30 sp 7fff32ae8440 error 4 in
libdb-4.2.so[7f2a0424e000+ea000]
Apr 22 19:28:52 darwin kernel: [6124020.255192] ctl_cyrusdb[18881]:
segfault at 7f8302309efc ip 7f3500c99f30 sp 7fff8d1ed6e0 error 4 in
libdb-4.2.so[7f3500bf7000+ea000]
Apr 22 19:57:43 darwin kernel: [6125775.477974] ctl_cyrusdb[19100]
general protection ip:7fdb78441f30 sp:7ffff5879430 error:0 in
libdb-4.2.so[7fdb7839f000+ea000]
Apr 22 20:17:05 darwin kernel: [6127022.816744] ctl_cyrusdb[19571]
general protection ip:7fe3cd7aaf30 sp:7fff03057fe0 error:0 in
libdb-4.2.so[7fe3cd708000+ea000]

which is wierd!

After a while or if I kill this process cyrmaster starts but the re is
no way to conect to the imap server. Configuration files are the same in
both servers, etch and lenny its just not working in lenny though
packages looks to be the same.
This is the cyrus.conf file:



Any clues about what could be wrong?

Cheers,
Carlos


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BD0E0D1.1080109(a)fcien.edu.uy
From: Camaleón on
On Thu, 22 Apr 2010 20:50:41 -0300, Carlos Bergero wrote:

> Hi there list, got some trouble running a cyrus server, actually I have
> an old setup running in Etch i386 without any trouble, virtual mail
> server and all pgsql setup for backend and postfix for MTA, all sweat. I
> installed a new server, better hardware, using AMD64 dist, as Etch is
> going to be out of security, I copy everithing but the cyrus is not
> properly working. I cant conect to the imap port or use imtest, to check
> users, when i start server first cyr_expire and then tls_prune consume
> lots of time doing not shure what, and i get the following syslog and
> kern.log error:
>
> Apr 22 18:48:08 darwin kernel: [6121490.275489] ctl_cyrusdb[18309]
> general protection ip:7fecdaef0f30 sp:7fffc46d9380 error:0 in
> libdb-4.2.so[7fecdae4e000+ea000]

"ctl_cyrusdb" is the program in charge of Cyrus databases (man
ctl_cyrusdb) so I first would check that. Maybe something got wrong when
you "migrated" the data from the old server to the new one.

P.S. I cannot see your "cyrus.conf" :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.04.23.07.10.47(a)gmail.com
From: Carlos Bergero on
Wojciech Ziniewicz escribió:
> 2010/4/23 Carlos Bergero <rak(a)fcien.edu.uy>:
>
>> I copied the old files, but also try to run with the original files of the
>> install, in both cases i have the same problema and files dont differ much.
>>
>>
>
> did You copy cyrus database between servers too ?
>
> regards
>
>
>
Yup I copied the mail directories and other cyrus directories
/var/lib/cyrus and /var/run/cyrus , plus config files /etc/cyrus.conf
/etc/imapd.conf

think thats all?

Cheers,
Carlos


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BD21384.20607(a)fcien.edu.uy
From: Carlos Bergero on
After checking the DB files I found out the version im using in the etch
server uses Berkeley DB (Btree, version 8 native byte-order) while the
new lenny server is using Berkeley DB (Btree, version 9, native
byte-order) for at least the deliver.db and th tls_sessions.db, do you
agree this could be the problem and if so, any clue how to convert one
into the other?

Sincerely
Carlos

Carlos Bergero escribi�:
> Hi there list, got some trouble running a cyrus server, actually I
> have an old setup running in Etch i386 without any trouble, virtual
> mail server and all pgsql setup for backend and postfix for MTA, all
> sweat. I installed a new server, better hardware, using AMD64 dist, as
> Etch is going to be out of security, I copy everithing but the cyrus
> is not properly working. I cant conect to the imap port or use imtest,
> to check users, when i start server first cyr_expire and then
> tls_prune consume lots of time doing not shure what, and i get the
> following syslog and kern.log error:
>
> Apr 22 18:48:08 darwin kernel: [6121490.275489] ctl_cyrusdb[18309]
> general protection ip:7fecdaef0f30 sp:7fffc46d9380 error:0 in
> libdb-4.2.so[7fecdae4e000+ea000]
> Apr 22 19:12:49 darwin kernel: [6122984.242061] ctl_cyrusdb[18505]:
> segfault at 7f584401cefc ip 7f0a429acf30 sp 7fffb28b3cf0 error 4 in
> libdb-4.2.so[7f0a4290a000+ea000]
> Apr 22 19:13:48 darwin kernel: [6123046.804454] ctl_cyrusdb[18594]:
> segfault at 7f7805960efc ip 7f2a042f0f30 sp 7fff32ae8440 error 4 in
> libdb-4.2.so[7f2a0424e000+ea000]
> Apr 22 19:28:52 darwin kernel: [6124020.255192] ctl_cyrusdb[18881]:
> segfault at 7f8302309efc ip 7f3500c99f30 sp 7fff8d1ed6e0 error 4 in
> libdb-4.2.so[7f3500bf7000+ea000]
> Apr 22 19:57:43 darwin kernel: [6125775.477974] ctl_cyrusdb[19100]
> general protection ip:7fdb78441f30 sp:7ffff5879430 error:0 in
> libdb-4.2.so[7fdb7839f000+ea000]
> Apr 22 20:17:05 darwin kernel: [6127022.816744] ctl_cyrusdb[19571]
> general protection ip:7fe3cd7aaf30 sp:7fff03057fe0 error:0 in
> libdb-4.2.so[7fe3cd708000+ea000]
>
> which is wierd!
>
> After a while or if I kill this process cyrmaster starts but the re is
> no way to conect to the imap server. Configuration files are the same
> in both servers, etch and lenny its just not working in lenny though
> packages looks to be the same.
> This is the cyrus.conf file:
>
>
>
> Any clues about what could be wrong?
>
> Cheers,
> Carlos
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BD22B01.3050907(a)fcien.edu.uy
From: Camaleón on
On Fri, 23 Apr 2010 16:18:31 -0300, Carlos Bergero wrote:

> Sorry forget to copy it
> tlsprune is disable now so it doesnt lock the start up of the cyrus

Next time use an online service (such Pastebin) to put the data and send
a link ;-)

(...)

> Both are mostly standar files.

Yep, I see nothing strange in there.

I would start Cyrus setup and user migration from scratch to avoid any
incompatibility between the old installation and the new.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.04.24.08.58.14(a)gmail.com