#1  
Old 2nd May 2009, 20:15
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default clamav & amavisd

Hi I have a Problem on a debian lenny vserver with 256 Mb ram.

First when I start clamav, two minute laters stop clamd and courier his service.

When I do this in master.cf

Code:
#127.0.0.1:10025 inet n - - - - smtpd
and in the main.cf

Code:
#content_filter =amavis[127.0.0.1]:10024
the mailserver work. when I want run only amavis do the same.#

some logs

Quote:
May 2 16:19:01 server1 /USR/SBIN/CRON[27738]: (root) CMD (/usr/local/ispconfig/server/server.sh > $
May 2 16:19:13 server1 clamd: clamd: client (pid 32057) exited with 1 status
May 2 16:20:01 server1 /USR/SBIN/CRON[24038]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/sh$
May 2 16:20:01 server1 /USR/SBIN/CRON[24043]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/$
May 2 16:20:01 server1 /USR/SBIN/CRON[24046]: (root) CMD (/usr/local/ispconfig/server/server.sh > $
May 2 16:20:01 server1 postfix/postqueue[24181]: warning: Mail system is down -- accessing queue d$

Quote:
May 2 16:36:07 server1 amavis[17993]: (17993-01) (!)FWD via SMTP: <alluring4@metsuites.com> -> <si$
May 2 16:36:07 server1 amavis[17993]: (17993-01) Blocked MTA-BLOCKED, [201.13.133.202] [201.13.133$
May 2 16:36:07 server1 amavis[17995]: (17995-01) (!)FWD via SMTP: <smmsp@server1.de> -> $
May 2 16:36:07 server1 postfix/smtp[22266]: 30FA14E84D6: to=<horst@server1.de>, relay=12$
May 2 16:36:07 server1 amavis[17995]: (17995-01) Blocked MTA-BLOCKED, <smmsp@server1.de>$
May 2 16:36:07 server1 postfix/smtp[22278]: DD2F64E84FE: to=<root@server1.de>, orig_to=<$

Last edited by planet_fox; 2nd May 2009 at 20:21.
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2009, 22:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Any additional errors in the syslog about missing memory? Also please check the user_beancounter .
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd May 2009, 15:30
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default

No

Code:
cat /proc/meminfo
MemTotal:       262144 kB
MemFree:        173300 kB
Buffers:             0 kB
Cached:              0 kB
SwapCached:          0 kB
Active:              0 kB
Inactive:            0 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       262144 kB
LowFree:        173300 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:           0 kB
Mapped:          88844 kB
Slab:                0 kB
PageTables:          0 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:         0 kB
Committed_AS:   353008 kB
VmallocTotal:        0 kB
VmallocUsed:         0 kB
VmallocChunk:        0 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     2048 kB
Code:
 cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      105:  kmemsize        5644899    6166793   13577273   14935000       2923
            lockedpages           0          0        662        662          0
            privvmpages       88474      97038     300000     350000          4
            shmpages            862        862      10000      10000          0
            dummy                 0          0 2147483647 2147483647          0
            numproc              69         75        330        330          0
            physpages         20927      23525          0 2147483647          0
            vmguarpages           0          0      55556 2147483647          0
            oomguarpages      20927      23525 2147483647 2147483647          0
            numtcpsock           19         26        330        330          0
            numflock             13         14        528        580          0
            numpty                1          1         33         33          0
            numsiginfo            0          1       1024       1024          0
            tcpsndbuf        230308     230308    4194304    8388608          0
            tcprcvbuf        311296     278528    4194304    8388608          0
            othersockbuf     190332     224824    1587038    2938718          0
            dgramrcvbuf           0       8380    1587038    1587038          0
            numothersock        130        143        330        330       1593
            dcachesize            0          0    2952699    3041280          0
            numfile            2283       2565     200000     200000          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            14         14         40         40         54
Reply With Quote
  #4  
Old 3rd May 2009, 16:34
planet_fox planet_fox is offline
Senior Member
 
Join Date: Jun 2006
Location: Munic
Posts: 308
Thanks: 14
Thanked 8 Times in 6 Posts
Send a message via Skype™ to planet_fox
Default

ok ia have an error in log

Code:
Sun May 3 13:25:40 2009 -> +++ Started at Sun May 3 13:25:40 2009
Sun May 3 13:25:40 2009 -> clamd daemon 0.95.1 (OS: linux-gnu, ARCH: i386, CPU: i486)
Sun May 3 13:25:40 2009 -> Running as user clamav (UID 110, GID 115)
Sun May 3 13:25:40 2009 -> Log file size limit disabled.
Sun May 3 13:25:40 2009 -> Reading databases from /var/lib/clamav
Sun May 3 13:25:40 2009 -> Not loading PUA signatures.
Sun May 3 13:25:41 2009 -> Loaded 548851 signatures.
Sun May 3 13:25:41 2009 -> ERROR: LOCAL: Socket file /var/run/clamav/clamd.ctl is in use by another process.
Reply With Quote
  #5  
Old 3rd May 2009, 23:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

Looks as if there is already a clamd process running. find the process with ps and kill it. Then try to start clamd again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Weird issue with clamav and ISPConfig 2.2.23 Norman General 1 25th April 2008 11:12
ClamAV Milter Issues - Virtual Hosting Howto With Virtualmin On CentOS 5.1 pheniks HOWTO-Related Questions 14 26th March 2008 12:04
debian etch courier pop3 issue docean Installation/Configuration 6 20th March 2008 16:38
Clamav starting error scherpenzeel Installation/Configuration 3 19th May 2006 15:01
ClamAV for postfix-courier-mysql (Debian - Sarge) toastmaster HOWTO-Related Questions 2 24th February 2006 20:00


All times are GMT +2. The time now is 20:25.


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