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 Display Modes
  #1 (permalink)  
Old 02-19-2007, 07:04 PM
Intermediate Member
 
Posts: 16
Default zimbra antivirus update clamav 0.90 failed

I was trying to upgrade my clamav0.88.7 to clam-0.90 but it gave error during configure. My zimbra uid is 1165 & gid 1041. So I ran following command :-

./configure --prefix=/opt/zimbra/clamav-0.90/ --with-user=1165 --with-group=1041

I am giving here last few lines :-


checking for zlib installation... /usr
checking for inflateEnd in -lz... yes
checking for bzReadOpen in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for sn_sigscan_initdb in -lsn_sigscan... no
checking for __dn_expand in -lresolv... yes
checking for resolv.h... yes
checking whether setpgrp takes no argument... yes
checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... FAILED
configure: WARNING: curl-config was not found
checking for recvmsg... yes
checking for sendmsg... yes
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking for gethostbyname_r... yes, and it takes 6 arguments
checking for readdir_r... support disabled
checking for ctime_r... yes, and it takes 2 arguments
checking for socklen_t... yes
checking for 1165 in /etc/passwd... no
configure: error: User 1165 (and/or group 1041) doesn't exist. Please read the documentation !


User 1165 & group 1041 exists for zimbra, and months back, I had updated clamav.88.4 to clamav.88.7 using this method. Following command reflects this :
[root@mailserver1 /]# id zimbra
uid=1165(zimbra) gid=1041(zimbra) groups=1041(zimbra),5(tty),1042(postfix)

I wonder why it is unable to find user in /etc/passwd. Can anyone help me ?
Reply With Quote
  #2 (permalink)  
Old 02-19-2007, 11:34 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Just for kicks, have you tried:
./configure --prefix=/opt/zimbra/clamav-0.90/ --with-user=zimbra --with-group=postfix

?

-john
Reply With Quote
  #3 (permalink)  
Old 02-20-2007, 08:13 AM
Special Member
 
Posts: 123
Default

username and group of: zimbra
is what I have been using on FC4 .

My passwd file lists: zimbra:x:501:501::/opt/zimbra:/bin/bash
and
more /etc/group has: zimbra:x:501:

Anyone see this ( CLAMAV Upgrade howto) in the WIKI?

If not, I can always add later today.
Probably better to have in WIKI, as the upgrade forum doc is getting a little stale.

Scotty
Reply With Quote
  #4 (permalink)  
Old 02-21-2007, 02:48 AM
Intermediate Member
 
Posts: 16
Default It worked

Thanks for help. Following command is working fine.

./configure --prefix=/opt/zimbra/clamav-0.90/ --with-user=zimbra --with-group=zimbra

I don't know why simply uid & gid was not working while giving username & group name is working.
Reply With Quote
Reply


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

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0