#1  
Old 5th December 2010, 19:25
jaripetteri jaripetteri is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ClamAV and out of memory

I have VPS with 384MB of RAM and running Debian Lenny on it. I followed perfect server howto for ISPConfig 3.0.3 and ended up on following error. Everything else looks like working just fine but I can't sent or receive any email. I did find this error on ClamAV start:

Code:
mail:/home/jari# /etc/init.d/clamav-daemon restart
Stopping ClamAV daemon: clamd.
Starting ClamAV daemon: clamd LibClamAV Warning: ***********************************************************
LibClamAV Warning: ***  This version of the ClamAV engine is outdated.     ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************
LibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).
LibClamAV Error: cli_ac_addpatt: Can't allocate memory for next->trans
LibClamAV Error: cli_parse_add(): Problem adding signature (1).
LibClamAV Error: Problem parsing database at line 58173
LibClamAV Error: Can't load main.ndb: Malformed database
LibClamAV Error: cli_tgzload: Can't load main.ndb
LibClamAV Error: Can't load /var/lib/clamav/main.cld: Malformed database
ERROR: Malformed database
 failed!
Do I need to get more RAM on my VPS or is there something else I can do?
Reply With Quote
Sponsored Links
  #2  
Old 5th December 2010, 20:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,248 Times in 4,113 Posts
Default

You need either more ram or you disable the complete spam and antivirus scan part of the setup:

http://www.faqforge.com/linux/contro...n-ispconfig-3/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th December 2010, 20:45
jaripetteri jaripetteri is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the link. So my VPS provider has next RAM option 512MB so what you think should that be enough to run also clamav? This server will have less that ten email accounts and only few domains and websites with quite low traffic. Maybe about 10-20GB/year.
Reply With Quote
  #4  
Old 6th December 2010, 13:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,732 Times in 2,569 Posts
Default

It could work for ten email accounts, but you have to try.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 7th December 2010, 19:28
jaripetteri jaripetteri is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I upgraded to 512MB and so far everything is up and running. Thanks again.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.