Koozali.org formerly Contribs.org

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #15 on: April 23, 2007, 02:22:56 AM »
Jesper,

I can report you that I had the rights-trouble on 3 different servers. Maybe it's a good thing to add this to the RPM or better, put this in a newer version so the servers that can't be approached anymore (for whatever reason, I have 1 now out of reach) will automatically get back in shape because the reboot doesn't seem to be needed to make the panels come back again alltho I would advise still to do it.

Harro

Offline allun

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #16 on: April 23, 2007, 02:31:26 AM »
Quote from: "Confucius"
Jesper,

I can report you that I had the rights-trouble on 3 different servers. Maybe it's a good thing to add this to the RPM or better, put this in a newer version so the servers that can't be approached anymore (for whatever reason, I have 1 now out of reach) will automatically get back in shape because the reboot doesn't seem to be needed to make the panels come back again alltho I would advise still to do it.

Harro


Ah yes - if it helps anyone, we simply did
Code: [Select]

service httpd restart
service httpd-admin restart


and our server manager panels worked again.....it seems httpd didn't like not having a tmp dir to write to![/quote]
...

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #17 on: April 23, 2007, 03:11:23 AM »
Quote from: Knuddi

BTW: I had a strange problem today that I have not been able to figure out where originated from.
/quote]

Try "rpm -qf /tmp". You might have installed a badly built rpm which claimed ownership of /tmp with the wrong permissions set.

Are you taking over the maintenance of SME6? If not, then I'd recommend you encourage all your users to upgrade to SME7.

Offline sages

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #18 on: April 23, 2007, 03:46:06 AM »
had the same permission errors on /tmp on a couple of legacy servers i have running sme 6 on.
yet another hint to upgrade to sme7 :)
just have to divert the time to upgrade instead of fixing things.
...

xyannix

Blank Emails
« Reply #19 on: April 23, 2007, 05:01:13 AM »
I did a restore with backup2ws because my server was totally locked up.

I then installed the antivirus-1.4.9-2.

I had to CHOWN all my users because backup2ws didnt bring over the permissions correctly.

Now I am receiving emails but they are totally blank. Any idea how to fix this?

This is the only info in the source of the email.

Received: (qmail 2369 invoked by alias); 23 Apr 2007 02:53:12 -0000
Delivered-To: alias-localdelivery-myusername@mydomain.com
Received: (qmail 2362 invoked from network); 23 Apr 2007 02:53:12 -0000

xyannix

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #20 on: April 23, 2007, 05:22:40 AM »
Also, Any email is send are blank.

xyannix

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #21 on: April 23, 2007, 05:50:23 AM »
I ended up doing a

rpm -e sme-antivirus-1.4.9-2

And then running the install script again and also reinstalled spam assasin and things seem to be working.

By the way. Thank you Jesper for all your work. It is really appreciated !!!

amavis-ng scanning
« Reply #22 on: April 23, 2007, 06:43:37 AM »
Per Jesper's advice, I fixed the /tmp permissions and all new mails are going through successfully.  
.
I now have the various emails that were unpacked by amavis-ng in /var/spool/amavis-ng directory.  How do I resend them?

Thanks,
Oliver

Offline Knuddi

  • *
  • 525
    • http://www.smeoptimizer.com
[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #23 on: April 23, 2007, 10:22:34 AM »
The problem is exactly as CharlieBrady indicated. I had placed the needed patch in the /tmp directory and when the RPM got installed it claimed ownership of /tmp. I have released a new RPM that #1 will not use /tmp #2 and will fix the rights again (chmod uga=+wrxt /tmp).

This can be forced installed via (and will auto update soon when mirrors are synced):

rpm -Uvh http://sme.swerts-knudsen.dk/downloads/AntiVirus/sme-antivirus-1.4.9-3.noarch.rpm

Sure I would recommend all that can to update to SME7 - SME6 is dead from contribs.org point of view but I know that there are at least 2500 servers out there still running happily as any new SpamAssassin or Clam release I do get that amount of updates.

With the activity I see in the forum on SME6 I guess it will slowly go away and we will all move on to SME7 when we find it needed. I have already moved 2 of 4 servers from SME6 to SME7 in my company and will migrate all over the summer (and my SME6 support will slowly go away as well).

Sorry for this major hick-up....

/Jesper

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #24 on: April 23, 2007, 11:28:15 AM »
Jesper,

Thanx for the hard work but mostly for the quick resolving :)

Already in a upgrade process but as you know these things take time when we're talking production use.
I'm happy you gave a timeline for us so we know what to expect.

Harro

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #25 on: April 24, 2007, 08:31:18 AM »
hi,
 i have trouble sending after i intalled the new sme-antivirus rpm. Recieving no problem only sending. It seems the it will not go out of the server. Where do i check for logs? thanks

Rocel

lord.quicksilver

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #26 on: April 24, 2007, 01:42:21 PM »
I had the same problem as kryptos': no way to send an email if clamav was scanning outgoing emails. On SME 6.0-04

First, I solved the problem by telling clamav NOT to scan outgoing email, which is BAD :-(
Also, email sending was really slow at that point.
Then, I followed knuddi's instruction (thank you!) in this forum, and all worked again:
1) # wget -N http://sme.swerts-knudsen.dk/downloads/AntiVirus/antivirus_install.sh
# sh antivirus_install.sh

,
2) # chmod uga=+rxwt /tmp

(reboot)

and

3) # rpm -Uvh http://sme.swerts-knudsen.dk/downloads/AntiVirus/sme-antivirus-1.4.9-3.noarch.rpm

The only problem which remains is that email sending is "a bit" slower than before, but I can stand it, since I'm going to upgrade to 7.0 a.s.a.p.

L.Q.

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #27 on: April 25, 2007, 04:12:39 AM »
hi all
 I have sort out the problem it seems my ISP smtp server which im using is the problem. It was at that same time i installed the new sme-antivirus rpm so i thought because of the installation.I only discover after I reinstall the script again...huh.. but it seems ok right now. I'll just post here again if i have a problem. Thanks knudi for this script we waited for this.

P.S We are still planning on moving to SME7

failed install
« Reply #28 on: August 08, 2007, 01:21:30 AM »
I tried to upgrade using the script today and it uninstalled the old version I had and the script gives me this series of errors:

Checking for existing installations.... Please wait!
Installing ClamAntivirus on SME 6.0.....
Downloading RPMs from
/clamav-es-libs-0.91.1-es01.i386.rpm: Unsupported scheme.
/clamav-es-0.91.1-es01.i386.rpm: Unsupported scheme.
/sme-antivirus-1.4.9-3.noarch.rpm: Unsupported scheme.
Amavis-ng Already patched
Amavis-ng Already patched for Clam 0.90+
Default mirror not set - setting to default (USA)
mkdir: cannot create directory `/var/log/clamav': File exists
ERROR: No templates were found for /etc/freshclam.conf.
 at /sbin/e-smith/expand-template line 49
ERROR: No templates were found for /etc/clamd.conf.
 at /sbin/e-smith/expand-template line 49
antivirus_install.sh: /etc/init.d/clamd: No such file or directory
Updating the Clam Virus database - Please wait....
antivirus_install.sh: /usr/bin/freshclam: No such file or directory
Updating the automatic update site to new defaults...
Installation failed, exiting
all downloaded file are located in /root/antivirus_install


HELP!  please

[Announce]: ClamAV updated to 0.90.2 - IMPORTANT UPDATE
« Reply #29 on: August 08, 2007, 09:46:09 AM »
Suffered the same

To get my system back into action (for the time I'm still doing no upgrade yet) I did :

Code: [Select]

wget http://sme.swerts-knudsen.dk/downloads/AntiVirus/clamav-es-0.91.1-es01.i386.rpm
wget http://sme.swerts-knudsen.dk/downloads/AntiVirus/clamav-es-libs-0.91.1-es01.i386.rpm
wget http://sme.swerts-knudsen.dk/downloads/AntiVirus/sme-antivirus-1.4.9-3.noarch.rpm

rpm -Uvh clamav-es*
rpm -Uvh sme-antivirus*

And got mail functionality back... at least it looks that way..