Results 1 to 6 of 6

Thread: [SOLVED] ClamAV not logging after upgrade; symbolic link problem?

  1. #1
    nadsab is offline Active Member
    Join Date
    Mar 2009
    Posts
    47
    Rep Power
    6

    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,

  2. #2
    raj's Avatar
    raj
    raj is offline Moderator
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    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
    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

  3. #3
    nadsab is offline Active Member
    Join Date
    Mar 2009
    Posts
    47
    Rep Power
    6

    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...

  4. #4
    nadsab is offline Active Member
    Join Date
    Mar 2009
    Posts
    47
    Rep Power
    6

    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.

  5. #5
    tonster is online now Zimbra Employee
    Join Date
    Dec 2007
    Location
    Ypsilanti, MI
    Posts
    142
    Rep Power
    7

    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).

  6. #6
    raj's Avatar
    raj
    raj is offline Moderator
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 04-21-2010, 12:53 PM
  2. [SOLVED] Upgrade Problem
    By iiibill in forum Installation
    Replies: 8
    Last Post: 07-13-2009, 10:01 PM
  3. 3.0.1 GA upgrade problem
    By kollross in forum Administrators
    Replies: 5
    Last Post: 04-04-2006, 10:42 AM
  4. Another odd GA upgrade problem (FYI)
    By meikka in forum Installation
    Replies: 0
    Last Post: 02-08-2006, 01:38 PM
  5. Odd GA upgrade problem
    By drewage in forum Installation
    Replies: 2
    Last Post: 02-08-2006, 10:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •