Re: Using DB_CONFIG (how?)
On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: given above. After restarting cyrusd I checked the config with db_stat /drbd/system/var/lib/imap/deliver.db -l ... but neither of the two parameters have been adjusted. You have to stop everything using that DB, then run a db_recover to rebuild the environment. Only then the new parameters will be activated. DB_HOME is .. is there a way to find out? I've also read about some db_recover and that it should be run before starting cyrus again. But Exactly that. Do it. -- One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie. -- The Silicon Valley Tarot Henrique Holschuh --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Using DB_CONFIG (how?)
Hi, --On 24. Februar 2005 14:53:04 Uhr +0100 Stephan A. Rickauer [EMAIL PROTECTED] wrote: My DB_HOME is nowhere set as an environment variable, but given that my db's are stored in /drbd/system/var/lib/imap/ I assume that this is it. no, it's not. It's db/ subdirectory, i.e. /drbd/system/var/lib/imap/db/ in your case. Cheers, Sebastian Hagedorn -- Sebastian Hagedorn M.A. - RZKR-R1 (Gebude 52), Zimmer 18 Zentrum fr angewandte Informatik - Universittsweiter Service RRZK Universitt zu Kln / Cologne University - Tel. +49-221-478-5587 pgp41eRBCrSS3.pgp Description: PGP signature
Re: Using DB_CONFIG (how?)
Sebastian Hagedorn wrote: --On 24. Februar 2005 15:37:31 Uhr +0100 Sebastian Hagedorn no, it's not. It's db/ subdirectory, i.e. /drbd/system/var/lib/imap/db/ in your case. sorry, I just noticed I'm wrong ... I should have re-checked that first. /var/lib/imap *is* the DB_HOME. Sorry again. doch :) (No it isn't) ... at least I falsified this by moving DB_CONFIG up again and then the old default settings were restored. After putting it back into db/ my new settings have been applied again. Well, maybe there is another reason for that, but at this point I don't care ... -- Stephan A. Rickauer --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Using DB_CONFIG (how?)
Hi, --On 24. Februar 2005 15:37:31 Uhr +0100 Sebastian Hagedorn [EMAIL PROTECTED] wrote: --On 24. Februar 2005 14:53:04 Uhr +0100 Stephan A. Rickauer [EMAIL PROTECTED] wrote: My DB_HOME is nowhere set as an environment variable, but given that my db's are stored in /drbd/system/var/lib/imap/ I assume that this is it. no, it's not. It's db/ subdirectory, i.e. /drbd/system/var/lib/imap/db/ in your case. sorry, I just noticed I'm wrong ... I should have re-checked that first. /var/lib/imap *is* the DB_HOME. Sorry again. -- Sebastian Hagedorn M.A. - RZKR-R1 (Gebude 52), Zimmer 18 Zentrum fr angewandte Informatik - Universittsweiter Service RRZK Universitt zu Kln / Cologne University - Tel. +49-221-478-5587 pgplz2STlzg0j.pgp Description: PGP signature
Re: Using DB_CONFIG (how?)
Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart cyrus _without_ doing db_recover first. Guess what, the new parameters have been set properly. How come? Thanks again. Stephan Sebastian Hagedorn wrote: Hi, --On 24. Februar 2005 14:53:04 Uhr +0100 Stephan A. Rickauer [EMAIL PROTECTED] wrote: My DB_HOME is nowhere set as an environment variable, but given that my db's are stored in /drbd/system/var/lib/imap/ I assume that this is it. no, it's not. It's db/ subdirectory, i.e. /drbd/system/var/lib/imap/db/ in your case. Cheers, Sebastian Hagedorn -- Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18 Zentrum für angewandte Informatik - Universitätsweiter Service RRZK Universität zu Köln / Cologne University - Tel. +49-221-478-55 87 --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Using DB_CONFIG (how?)
Hallo Stephan A. Rickauer, --On 24. Februar 2005 16:00:14 Uhr +0100 Stephan A. Rickauer [EMAIL PROTECTED] wrote: Sebastian Hagedorn wrote: --On 24. Februar 2005 15:37:31 Uhr +0100 Sebastian Hagedorn no, it's not. It's db/ subdirectory, i.e. /drbd/system/var/lib/imap/db/ in your case. sorry, I just noticed I'm wrong ... I should have re-checked that first. /var/lib/imap *is* the DB_HOME. Sorry again. doch :) (No it isn't) ... at least I falsified this by moving DB_CONFIG up again and then the old default settings were restored. After putting it back into db/ my new settings have been applied again. Well, maybe there is another reason for that, but at this point I don't care ... I must be very confused today :-) I was thrown off track by a test that was conceptually flawed ... as you have noticed I was right the first time around. Cheers, Sebastian Hagedorn -- Sebastian Hagedorn M.A. - RZKR-R1 (Gebude 52), Zimmer 18 Zentrum fr angewandte Informatik - Universittsweiter Service RRZK Universitt zu Kln / Cologne University - Tel. +49-221-478-5587 pgpthkK0qVfal.pgp Description: PGP signature
Re: Using DB_CONFIG (how?)
On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart cyrus _without_ doing db_recover first. Guess what, the new parameters have been set properly. How come? What version of Berkeley DB? They might have fixed this design thinko by now... :) -- One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie. -- The Silicon Valley Tarot Henrique Holschuh --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Using DB_CONFIG (how?)
Henrique de Moraes Holschuh -- info-cyrus (2005-02-24 12:25:48 -0300): On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart cyrus _without_ doing db_recover first. Guess what, the new parameters have been set properly. How come? What version of Berkeley DB? They might have fixed this design thinko by now... :) Isn't 'ctl_cyrusdb -r' run by default on startup? At least that's what I have in my cyrus.conf. That would explain why a manual db_recover was not needed... Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Using DB_CONFIG (how?)
Jukka Salmi wrote: Henrique de Moraes Holschuh -- info-cyrus (2005-02-24 12:25:48 -0300): On Thu, 24 Feb 2005, Stephan A. Rickauer wrote: Great help, thanks! I moved my DB_CONFIG into db/ and tried to restart cyrus _without_ doing db_recover first. Guess what, the new parameters have been set properly. How come? What version of Berkeley DB? They might have fixed this design thinko by now... :) Isn't 'ctl_cyrusdb -r' run by default on startup? At least that's what I have in my cyrus.conf. That would explain why a manual db_recover was not needed... Jukka This is it! -- Stephan --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html