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-20-2010, 05:08 AM
Active Member
 
Posts: 42
Default [SOLVED] zmshostname question for Clam upgrade...

For the upgrade of ClamAV, just a quick question - on the command "zmprov ms `zmhostname` -zimbraServiceEnabled Antivirus"

I am assuming that I substitute zmhostname with the address of my zci server, i.e. the web address that I point browser to, when logging in via admin panel.

Is this correct?

In other words, if I log into Zimbra admin at address https://webmail.myhostname.net, I just substitute "webmail.myhostname.net" in to the above and run command from within /opt/zimbra dir? Or should it be just hostname.net? Or as written above?

Because I ran the command above with my hostname substituted in and also as written above, and I keep getting a command not found error...

Also ran it from within /opt/zimbra/clamav-0.92 and /opt/zimbra/clamav

Last edited by nadsab; 04-20-2010 at 05:41 AM..
Reply With Quote
  #2 (permalink)  
Old 04-20-2010, 07:45 AM
Moderator
 
Posts: 927
Default

Run the command exactly as shown, the backticks instruct bash to process the variable and substitute the result into the command. You also should be running zmprov as the zimbra user.
Reply With Quote
  #3 (permalink)  
Old 04-20-2010, 08:13 AM
Active Member
 
Posts: 42
Default

Thanks very much Dirk I think that was the problem I was not running this as the Zimbra user, I was executing it as root.

I just ran it did a su - zimbra ran the command and I think it worked, did not get an error this time.

By the way, I ran zmamavisdctl reload as instructed in wiki and got back:
Quote:
Usage: /opt/zimbra/bin/zmamavisdctl start|stop|kill|restart|status'
So I then ran:
Quote:
zmamavisdctl restart
and then:
Quote:
zmamavisdctl status
and got: back:
Quote:
amavisd running pid: 16897
This all OK?

Last edited by nadsab; 04-20-2010 at 08:27 AM..
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.