Re: [AMaViS-user] Can't start Amavis after update
fre, 22.07.2005 kl. 02.22 skrev Gary V: [...] Nice work, looks like you have something in common with SuSE 9.1: From http://www.ijs.si/software/amavisd/#faq-trouble : Michael W Cocke writes: the reason DB_PRIVATE was enabled is that SuSE 9.1 ships with BDB built wrong! Download BDB 4.2.52 from sleepycat (specifically that version because A LOT of the apps that SuSE 9.1 ships with are hardcoded to that specific version). Compile with --enable-cxx and NOT posixmutexes! Then install it as usual. You make have to rebuild BerkeleyDB as well. I have no idea if SuSE 9.2 has the same problem. Please note that Sleepycat's BDB 4.2.52 source code needs 2 mandatory patches (available from the download site) to avoid locking problems and OpenLDAP 2.2 and 2.3 users (at least) are advised to use 2 extra optional patches. All of these patches are available at a single site: http://www.stanford.edu/services/directory/openldap/configuration/bdb-build-42.html Best, --Tonni -- mail: [EMAIL PROTECTED] http://www.billy.demon.nl --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] Can't start Amavis after update
Hi, I updated some rpms and my kernel, and now Amavis won't start. I was running 2.2.0, but since it stopped working, I tried to upgrade to 2.3.2, but got exactly the same error (only different line): Jul 21 23:08:32 servername /usr/sbin/amavisd[13301]: No secondary av scanner: KasperskyLab kavscanner Jul 21 23:08:32 servername /usr/sbin/amavisd[13301]: TROUBLE in pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Invalid argument, . at (eval 36) line 244. Suicide () TROUBLE in pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Invalid argument, . at (eval 36) line 244. Got this when running in debug mode No other errors up till that. I'm currently running Whitebox Linux, kernel 2.4.21-32.0.1.ELsmp. I've looked through the list of updated packages, and I can't find anything that would cause this error. Earlier I was running kernel 2.4.21-27.0.4.ELsmp, but when I load this kernel, I get the same error. Any kind of assistance would be helpful... Regards, Cariad --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] Can't start Amavis after update
Hi, I updated some rpms and my kernel, and now Amavis won't start. I was running 2.2.0, but since it stopped working, I tried to upgrade to 2.3.2, but got exactly the same error (only different line): Jul 21 23:08:32 servername /usr/sbin/amavisd[13301]: No secondary av scanner: KasperskyLab kavscanner Jul 21 23:08:32 servername /usr/sbin/amavisd[13301]: TROUBLE in pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Invalid argument, . at (eval 36) line 244. Suicide () TROUBLE in pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Invalid argument, . at (eval 36) line 244. Got this when running in debug mode No other errors up till that. I'm currently running Whitebox Linux, kernel 2.4.21-32.0.1.ELsmp. I've looked through the list of updated packages, and I can't find anything that would cause this error. Earlier I was running kernel 2.4.21-27.0.4.ELsmp, but when I load this kernel, I get the same error. Any kind of assistance would be helpful... Regards, Cariad --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Can't start Amavis after update
Cariad wrote: Hi, I updated some rpms and my kernel, and now Amavis won't start. I was running 2.2.0, but since it stopped working, I tried to upgrade to 2.3.2, but got exactly the same error (only different line): Jul 21 23:08:32 servername /usr/sbin/amavisd[13301]: No secondary av scanner: KasperskyLab kavscanner Jul 21 23:08:32 servername /usr/sbin/amavisd[13301]: TROUBLE in pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Invalid argument, . at (eval 36) line 244. Suicide () TROUBLE in pre_loop_hook: db_init: BDB bad db env. at /var/amavis/db: Invalid argument, . at (eval 36) line 244. Got this when running in debug mode No other errors up till that. I'm currently running Whitebox Linux, kernel 2.4.21-32.0.1.ELsmp. I've looked through the list of updated packages, and I can't find anything that would cause this error. Earlier I was running kernel 2.4.21-27.0.4.ELsmp, but when I load this kernel, I get the same error. Any kind of assistance would be helpful... Regards, Cariad If you need to get your server running, you can set: $enable_db = 0; This will buy you some time until the cause of the problem can be properly determined. Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Can't start Amavis after update
Hi, I'm currently running Whitebox Linux, kernel 2.4.21-32.0.1.ELsmp. I have seen some bdb errors on Whitebox after upgrading the db4 RPMs. The problem seemed to be that the updates have been compiled with different options. Downgrading the db4 RPMs solved the problem (in this case with cyrus imapd). Good luck, Sander. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Can't start Amavis after update
If you need to get your server running, you can set: $enable_db = 0; This will buy you some time until the cause of the problem can be properly determined. Gary V Thank you Gary. However, it seems like I already have solved the problem. The problem lied in an updated db4 RPM package. It had been compiled with --enable-posixmutexes (I noticed this by the variable DB_PRIVATE): db_stat -c -h /var/amavis/db So, I downloaded the source RPM, and changed the spec-file (just commented the line with --enable-posixmutexes). Then rebuilt the package: rpmbuild --rebuild SRPMS/db4-4.1.25-8.1.WB1.src.rpm And installed the new files (must replace old): rpm --replacepkgs -ivh RPMS/i386/db4-4.1.25*.rpm Recompiled CPAN modules: perl -MCPAN -e shell force install BerkeleyDB DB_File And then started Amavis. Everything worked! May be of help for someone... --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Can't start Amavis after update
Cariad wrote: If you need to get your server running, you can set: $enable_db = 0; This will buy you some time until the cause of the problem can be properly determined. Gary V Thank you Gary. However, it seems like I already have solved the problem. The problem lied in an updated db4 RPM package. It had been compiled with --enable-posixmutexes (I noticed this by the variable DB_PRIVATE): db_stat -c -h /var/amavis/db Nice work, looks like you have something in common with SuSE 9.1: From http://www.ijs.si/software/amavisd/#faq-trouble : Michael W Cocke writes: the reason DB_PRIVATE was enabled is that SuSE 9.1 ships with BDB built wrong! Download BDB 4.2.52 from sleepycat (specifically that version because A LOT of the apps that SuSE 9.1 ships with are hardcoded to that specific version). Compile with --enable-cxx and NOT posixmutexes! Then install it as usual. You make have to rebuild BerkeleyDB as well. I have no idea if SuSE 9.2 has the same problem. Gary V --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/