Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-21-2010, 02:14 PM
Active Member
 
Posts: 42
Default [SOLVED] ClamAV not logging after upgrade; symbolic link problem?

Hi,

After following the upgrade wiki on ClamAV - Updating clamd for releases earlier than ZCS 5.0.16 - Zimbra :: Wiki

I opened/viewed /opt/zimbra/log/clamd.log after restarting ZCI and ClamAv is not logging.

I think it may be a symbolic link problem because when I run:
Code:
ls -l clamav
The output is:
Code:
 lrwxrwxrwx 1 root root 13 Apr 21 16:47 clamav -> clamav-0.95.1
and not:
Code:
 lrwxrwxrwx  1 root root 25 Apr  9 15:39 clamav -> /opt/zimbra/clamav-0.95.1
as in Wiki.

I have placed clamav-0.95.1 in /opt/zimbra dir.

Can anyone point me in the right direction or give me some suggestions?

Thanks very much,
Reply With Quote
  #2 (permalink)  
Old 04-21-2010, 02:36 PM
raj raj is offline
Moderator
 
Posts: 768
Default

log in as root
as per your post you did not explain when you did "ls -l clamav" where you already in /opt/zimbra folder ?
if not then you need to delete this "clamav" system link first correctly so ""ls -l clamav" returns nothing

then
Quote:
rm /opt/zimbra/clamav
cd /opt/zimbra
ln -s clamav-0.95.1 clamav
ls -l clamav
i have other info in my post which may be relevent

ClamAV 0.94 EOL on ZCS 5.0.16 prior (discussion)


Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #3 (permalink)  
Old 04-21-2010, 02:45 PM
Active Member
 
Posts: 42
Default

Yes I did this from within /opt/zimbra folder. I originally un zipped the 0.95.1 tar in opt/zimbra/tmp and then moved it down to /opt/zimbra

I tried a second attempt, this time I stopped ZCI again, reset the symbolic link using:
Code:
ln -s /opt/zimbra/clamav-0.95.1 clamav
, instead of my previous command:
Code:
ln -s clamav-0.95.1 clamav
,
I then restarted Zimbra, and got the correct output from
Code:
ls -l clamav
- I got:
Code:
 lrwxrwxrwx 1 root root 25 Apr 21 17:33 clamav -> /opt/zimbra/clamav-0.95.1
as per Wiki.

So I though that would fix the problem but apparently not, it's still not logging after a second restart,

I did all this while logged on as root, except ZCI stop and restart which I have to be Zimbra user to do...
Reply With Quote
  #4 (permalink)  
Old 04-21-2010, 03:12 PM
Active Member
 
Posts: 42
Default

I tried your suggestion and it's still not logging. Tried both
Code:
 ln -s clamav-0.95.1 clamav
and
Code:
 ln -s /opt/zimbra/clamav-0.95.1 clamav
- made sure the symbolic links were removed before creating new ones.

I also checked out your ClamAV 0.94 EOL on ZCS 5.0.16 prior (discussion) but I don't think that applies to my case because I have the 64 bit RH version.

What could I be missing?

Do I need to go back into ZCI admin and click the check box for AntiVirus in order for ClamAV to log? Wiki did not have that though...

Last edited by nadsab; 04-21-2010 at 03:29 PM..
Reply With Quote
  #5 (permalink)  
Old 04-21-2010, 06:25 PM
Zimbra Employee
 
Posts: 114
Default

Quote:
Originally Posted by nadsab View Post
I tried your suggestion and it's still not logging. Tried both
Code:
 ln -s clamav-0.95.1 clamav
and
Code:
 ln -s /opt/zimbra/clamav-0.95.1 clamav
- made sure the symbolic links were removed before creating new ones.

I also checked out your ClamAV 0.94 EOL on ZCS 5.0.16 prior (discussion) but I don't think that applies to my case because I have the 64 bit RH version.

What could I be missing?

Do I need to go back into ZCI admin and click the check box for AntiVirus in order for ClamAV to log? Wiki did not have that though...
The wiki didn't tell you to re-enable AV because it assumed it was never disabled. If you disabled AV, you'll obviously have to re-enable it before it will start up again (and log).
Reply With Quote
  #6 (permalink)  
Old 04-22-2010, 04:28 AM
raj raj is offline
Moderator
 
Posts: 768
Default

fixed..i had to take login from the the OP and fix his server..he was bumping abound the fourms for days to get it done..

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.