Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th May 2009, 13:57
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Problem on starting Clamav-daemon

Hi folks,


OpenVZ
guest(VE) - OS, Ubuntu 8.04
Clamav-daemon


On running;

root@vz2:/# /etc/init.d/clamav-daemon start
Code:
 * 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: cli_realloc(): Can't re-allocate memory to 19784 bytes.
realloc_problem: Cannot allocate memory
LibClamAV Error: cli_ac_addpatt: Can't realloc ac_pattable
LibClamAV Error: cli_parse_add(): Problem adding signature (1).
LibClamAV Error: Problem parsing database at line 56181
Segmentation fault			[fail]
root@vz2:/# ls /tmp/
Code:
clamav-a0d562c1d717bbd7eddc575952c444a4
root@vz2:/# ls /tmp/clamav-a0d562c1d717bbd7eddc575952c444a4/
Code:
COPYING  main.db  main.fp  main.hdb  main.info  main.mdb  main.ndb  main.zmd

root@vz2:/# cat /etc/apt/sources.list
Code:
deb http://archive.ubuntu.com/ubuntu hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted

deb http://archive.canonical.com/ubuntu hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted

deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

#deb http://archive.ubuntu.com/ubuntu/ main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ hardy universe  #
deb-src http://archive.ubuntu.com/ubuntu/ hardy universe  #
Please advice how to fix the problem? TIA


B.R.
satimis
Reply With Quote
Sponsored Links
  #2  
Old 11th May 2009, 13:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's the output of
Code:
cat /proc/user_beancounters
in the guest?
__________________
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
  #3  
Old 11th May 2009, 15:42
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
cat /proc/user_beancounters
in the guest?
satimis@vz0:~$ sudo vzctl exec 102 cat /proc/user_beancounters
Code:
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      102:  kmemsize        4183349    4677774   11055923   11377049          0
            lockedpages           0          0        256        256          0
            privvmpages       61316      61875      65536      69632       3070
            shmpages             31         31      21504      21504          0
            dummy                 0          0          0          0          0
            numproc              45         51        240        240          0
            physpages         29898      30060          0 2147483647          0
            vmguarpages           0          0      33792 2147483647          0
            oomguarpages      29898      30060      26112 2147483647          0
            numtcpsock           12         12        360        360          0
            numflock             11         12        188        206          0
            numpty                0          0         16         16          0
            numsiginfo            0          1        256        256          0
            tcpsndbuf        107520     107520    1720320    2703360          0
            tcprcvbuf        196608     196608    1720320    2703360          0
            othersockbuf     165056     167168    1126080    2097152          0
            dgramrcvbuf           0          0     262144     262144          0
            numothersock        118        121        360        360          0
            dcachesize       293116     300736    3409920    3624960          0
            numfile            1129       1209       9312       9312          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10        128        128          0

satimis
Reply With Quote
  #4  
Old 12th May 2009, 18:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
privvmpages 61316 61875 65536 69632 3070
You must raise the value for privvmpages for that container.
__________________
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 13th May 2009, 04:47
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by falko View Post
You must raise the value for privvmpages for that container.
Hi falko,


Whether to double its output value and run;
Code:
# vzctl set 102 --privvmpages 131072:139264 --save
131072=barrier
139264=limit

Then run following command to validate it
Code:
# vzcfgvalidate /etc/vz/102.conf

# locate 102.conf
Code:
/etc/vz/conf/102.conf

Thanks


B.R.
satimis
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
empty maildir /tmp after quota problem clamav Jorem General 5 20th June 2008 13:24
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Amavis + ClamAV Problem m61 Server Operation 11 18th June 2008 19:24
Postfix/SMTP Problem jojoaddison Server Operation 8 7th June 2008 11:35
debian on vmware ? Jonathan Installation/Configuration 9 5th October 2007 20:04


All times are GMT +2. The time now is 02:38.


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