Red Hat / Fedora :: Disable Clamav In SElinux?

Jul 5, 2011

I get constantly this error, how can disable clamav in SElinux, or there is maybe a rule for it?

SELinux is preventing the clamscan from using potentially mislabeled files (./clamav-366ce73c2b6ad30d9e062d

SELinux is preventing the clamscan from using potentially mislabeled files (/tmp/clamav.577/clamav-9c353ad9c85b

View 1 Replies


ADVERTISEMENT

Fedora :: How To Permanently Disable Selinux

Jul 14, 2009

I came across the following method of how to permanently disabling selinux and it's notifications. Although changing enforcement from the gui into permissive mode does most of the job, the notifications still pop-up when some applications are started.

So to disable it do the following:

open terminal as root and execute:

Quote:

And then change the SELINUX line to SELINUX=disabled

Quote:

This is it. Now reboot the system and selinux will never bother you again.

If you are not a Fedora user and you are using this forum just because we are cooler here then you will not find the /etc/selinux/config as in the fedora releases. What you need to do is to edit the kernel boot line and add selinux=0 at the end:

Quote:

Reboot the system

View 14 Replies View Related

Fedora Security :: Install Vmware - Must Disable Selinux ?

Aug 17, 2009

I plan to install vmware but I had some problems...So I looked over the internet and I found that I must disable selinux....is this true? It means that I must have to disable the selinux for ever? And then, will my System be safe?

View 6 Replies View Related

Fedora :: Disable Selinux Via Kwrite In The Command Line?

Dec 6, 2009

I was trying to disable selinux via kwrite in the command line but

Code:
su
kwrite /etc/sysconfig/selinux

does not launch kwrite for me. How could I do this?

View 3 Replies View Related

Fedora Servers :: SELinux - Find A List Of All The Booleans For SELinux (10) Using Getsebool -a

Feb 23, 2009

You can find a list of all the booleans for SELinux (Fedora 10) using getsebool -a My question is, is there a reference online that describes each one. Most of obvious but it's one of those "I have to know because it's there situation).

View 5 Replies View Related

General :: Disable Boot / Startup The Clamav On Rhel / Centos?

Feb 22, 2010

how to disable boot,startup the clamav on rhel/centos.

View 1 Replies View Related

Red Hat / Fedora :: ClamAV - Error "message Output: Script: Clamav-cron V. 0.6 - Copyright 2009, Stefano Stagnaro Scanned: /"

Mar 19, 2010

I have a server im trying to use with clamAV to scan it all and with cron job. it worked fine for few days, sending me emails with reports, i was happy. now i get ERR emails and when running manually i get the follwing message output: Script: clamav-cron v. 0.6 - Copyright 2009, Stefano Stagnaro Scanned: /

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Clamav Installion Of PHP ClamAV Lib - Depend Stopped It

May 31, 2011

I am semi new to UBUNTU worked a bit with it in the passed on vps and that. but i am currentaly tring to make a module for *Zpanel* i am making an anti virus module and am going to be using clamav. up to now everything has been going smoothly but i have hit massive problem.

I am tring to do this:

Code:

And i get this in return

Code:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

The following information may resolve the situation:

The following packages have unmet dependencies.

I dont get any install. and the information i have collect from people say that and install should not be stopped becuase of an depend

So as any one who is semi new would do i then tried installing the depend

Code:

And i get this in return

Code:

E: Package 'phpapi-20060613+lfs' has no installation candidate

So it look like problem after problem

Does any one know why i can not install php5-clamavlib

I have UBUNTU 11.04 desktop (with zpanel installed on it)

*zpanel an open source web hosting panel for windows and NOW LINUX (zpanel has just been release on UBUNTU ONLY ).

View 1 Replies View Related

Security :: Disable SELinux Security On Httpd

Jul 13, 2010

I am learning SELinux from LinuxCBT and I'm stuck at one place. Now video is on RHEL 4 (so tell me if things has changed since, cause I can't find anything related) shows how to disable SELinux security on httpd.first I don't know diff between initrc_t and uncofined_t; and second I don't know if something is wrong is everything is all right.

View 1 Replies View Related

Ubuntu :: ClamAV-clamd - Can't Connect To UNIX Socket /var/run/clamav/clamd.ctl

Apr 16, 2010

This started happening sometime yesterday afternoon on a server that's been trouble free for years.

My Ubuntu update is scheduled to run every month on the 5th, so this was roughly 10 days after that. So it seems to me it's not update related. The only thing I've done on the server lately is update a spamassassin rule which required an amavis restart. That was done earlier in the week.

I've already reviewed issues at [url] and all the conditions are correct for the more recent How to.

I can also confirm that, in fact, /var/run/clamav/clamd.ctl does not exist.

View 7 Replies View Related

Ubuntu Servers :: ClamAV Is Outdated - WARNING: Your ClamAV Installation Is OUTDATED

Sep 23, 2010

I have two servers complaining about ClamAV being outdated:

WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.96.1 Recommended version: 0.96.3

Doing an aptitude update says I don't have to upgrade anything. Why is this? Must ClamAV be updated manually?

View 7 Replies View Related

Fedora :: Cannot Update CLAMAV In 11

Aug 30, 2009

I have installed CLAMAV in Fedora 11 and when I try to update it says update failed I have tried to find a reason why but unfortunately I am lost. Sony VAIO VGN TXHP1 laptop Fedora 11 Gnome i1568 Wireless connection seems fine.

View 8 Replies View Related

Red Hat / Fedora :: Trying To Upgrade ClamAV - RPM?

May 26, 2010

I am trying to upgrade my clam AV to latest 0.9.6.1. Last times I just uploaded to the server and used RPM command and it was installing. Now I cant find RPM for this ver. So I guess I need to prepare one.

I used the guide here:
Packaging software with RPM, Part 1: Building and distributing packages
by IBM
Changing all wget -> clamav

But when run this I got:
# rpmbuild -v -bb --clean clamav.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74542
+ umask 022
+ cd /home/myclamav/BUILD
+ cd /home/myclamav/BUILD
+ rm -rf clamav-0.96.1
+ /bin/gzip -dc /home/myclamav/SOURCES/clamav-0.96.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.96.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ $'
'
: command not found542: line 35:
error: Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.74542 (%prep)

Is there a better way to create RPMs? or Where do I get RPM for this version? I couldn't find it through their site.

View 3 Replies View Related

Fedora :: Clamav Update Won T Work?

Mar 25, 2011

i was using mandriva before and fedora is new i have installed clamav antivirus but clamav won update i must change clamd.d and maybe freshlam.conf but how do i that under mandriva clamav-freshclam does the job but here it is different

View 8 Replies View Related

Fedora :: Update Gui And Virus Engine In Clamav?

Sep 4, 2009

I have been trying to update the gui version 4.10 and the antivirus engine 0.95.1 but to no avail.

View 9 Replies View Related

Fedora Servers :: ClamAV-milter Working On F11

Nov 27, 2009

I'm replacing my trusty old F5 firewall/mail server with a new(er) F11 box. Using yum, I have these packages installed:

[Code].....

View 2 Replies View Related

Fedora :: Script For Configuring ClamAV Server?

Dec 17, 2009

In short, I've written a bash script (available from github) for configuring and removing instances of clamav-server on Fedora (clamd). It lets you create and remove individual instances with a specific user and port (if you specify them) and will install the required packages if not already present on the system and remove them if you want to. In long, we use Clam AntiVirus as our antivirus protection for Digital Preservation Recorder and talk to it over the default port, 3310 (clamd). Installing the clamav-server package under Fedora however, doesn't actually set up an instance. In fact, it doesn't copy any system configuration files into place at all. This means that the system is left without any working ClamAV server out of the box.

Under Fedora, ClamAV server is configured on a per user basis. This is actually quite important (unless you run as root) because the daemon needs at minimum read access (and we've found also write) on the files/directory being passed for scanning. The instructions on how to configure it are located under /usr/share/doc/clamav-server-[version]/ but I have taken these instructions and written a bash script to configure all of this for you. The script is available from github. It can create or remove an individual instance of clamav-server using a specific username and/or port (if you want to specify them, else it defaults to clamav on port 3310). The script will also install any required packages, if you don't already have them on the system. You also have the option of removing the required packages when you remove an instance. The script now also configures freshclam for you (the definitions updater), which needs to run as your user too.

View 14 Replies View Related

Red Hat / Fedora :: How To Update Clamav Virus Definitions

Jun 14, 2009

I have installed clamav antivirus,and while scanning it shows the following warning

LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************

And so i have tried to update the virus database as root,using this command

# freshclam
bash: freshclam: command not found

but i cant,can you pls say me how to update the virus database...

View 10 Replies View Related

Red Hat / Fedora :: Mailserver Setup Clamav Won't Install

Apr 25, 2010

Still trying to get that elusive simple mail server. Have install Centos 5 (20 time!) and updated software. Have got the system to see www and now about to do the mailserver thing. One of the first steps is to install Clamav yet this does not show on the package list for the program add delete gui. Tried yum install clamav and got message back that it wasn't available.

Google advises that I must first install rpmforge but at the same time has a warning from the maker of yum that this is dangerous to do Clamav is clearly a very popular antivirus scanner yet Centos 5 does not include it or allow you to install it?

View 2 Replies View Related

Fedora Security :: How To Determine What Type Of Files Clamav Can Scan

Dec 7, 2009

How to determine what type of files clamav can scan? For example, if there is no unrar installed it can't scan files in it. So is there any way to find out all types of files that clamav can't scan?

View 2 Replies View Related

Fedora :: Clamav Sending Spam - Invoked By Uid 509 (qscand == Clamd)

Mar 4, 2011

The mail server keeps getting locked up with tens of thousands of spam emails.So, i followed some instructions similar to this : [URL]I can clear the queue spams, easy, but after an hour or so the server is dead again.. not receiving emails and not sending out emails.

Code:

Received: (qmail 356 invoked by uid 509); 4 Mar 2011 21:39:10 +0800
Received: from 125.110.124.51 by host1.wemotor.com (envelope-from <oiazfkdvd@yahoo.com.tw>, uid 508) with qmail-scanner-1.25-st-qms
Received: from unknown (HELO 202.46.116.119) (125.110.124.51)

[code]....

View 3 Replies View Related

Fedora :: SELinux Will Not Allow Tor?

Jan 17, 2011

I'm running into some problems setting up Tor on Fedora 14. I have followed the following guide to a T (although I realize it is for Fedora 10):orum.org/showthread.php?t=211516.I believe the problem is SELinux... but I'm not sure. Has anyone had any success running Tor in Fedora 14 without it bugging out? If not, is there some sort of Unix alternative?

View 12 Replies View Related

Fedora :: NTP Is Blocked By SElinux?

Jul 18, 2009

How can I solve the problem?

View 1 Replies View Related

Fedora :: SELinux Does Not Like Wine

Jan 18, 2010

There are several options available, such as "Ignore Alert" and "Turn off memory protection". What are the consequences of choosing one or the other?I'm new to Fedora and I'm not familiar with SELinux. Can someone please give me guidelines (or explanation) on how to deal with SELinux alerts?

View 7 Replies View Related

Fedora :: Selinux On Encrypted Root?

Oct 2, 2009

After my cloning problems this morning were resolved, I have been able to complete conversion of the clone to run from an encrypted root partition. However, I have been unable to enable selinux when running from the encrypted root. /etc/selinux/config contains the settings that work on my unencrypted system

SELINUX=enforcing
SELINUXTYPE=targeted

and it is not disabled from the grub bootline, but the encrypted system always comes up with selinux disabled. Attempting to enable it with the command setenforce 1 fails, and to add insult to injury, the selinux administration-gui shows that it is enabled and enforcing. The cloned, now encrypted, system was cloned via rsync -aHXv, so the selinux contexts/attributes have been maintained as near as I can tell. I did have to disable selinux while performing the rsync of the /selinux directory in order to get it to copy and I am wondering if there was still some issue with this method.

I know some of you are running from encrypted root fs's and was wondering: Do you have selinux enabled and is it functioning properly? Any suggestions as to how I might jumpstart it or force it to run? Maybe I should boot into the system and uninstalling/reinstalling selinux?

View 3 Replies View Related

Fedora :: OOo Will Not Run With SELinux - Edit Menu

Nov 18, 2009

I just upgraded to fedora 12 via clean install with old /home partition and deleting old config files, and here is my issue. I need to edit the menu, and I need to set SELinux to permissive. OOo will not run with SELinux enabled for some reason, and besides, all my systems use SELinux in permissive. These two options no longer exist in the menu

View 7 Replies View Related

Fedora :: SElinux In Permissive Mode

Dec 4, 2009

I made the Selinux inactive with easylife how can I reactivate it.

View 6 Replies View Related

Fedora Security :: SELinux Context For Cgi-bin?

Oct 20, 2010

I'm attempting to get MapServer running on my Fedora 13 computer. I was able to install with the package manager, and the executable (mapserv) was originally placed in /usr/sbin. But I need it in /var/www/cgi-bin to work on the webserver. So I copied the file to the right location. Unfortunately, it doesn't have the correct SELinux context. Here's the message from the troubleshooter:

SELinux denied access requested by /var/www/cgi-bin/mapserv. /var/www/cgi-bin/mapserv is mislabeled. /var/www/cgi-bin/mapserv default type is httpd_sys_script_exec_t, but its current type is httpd_sys_script_exec_t. Changing this file back to the default type, may fix your problem.

How's that for circular logic? Does anyone have an idea what the correct SELinux context for a cgi-bin executable might be?

View 3 Replies View Related

Fedora Security :: Selinux Not Enabled?

Nov 10, 2010

Trying to keep selinux enabled. When I start SeLinux Troubleshooter from the menu, which is inautostart as well, It tells me SELinux not enabled, sealert will not run on nonSELinus systems".How do I get SELinux permanently started then

View 10 Replies View Related

Fedora :: Get SELinux And Wine Error

Jan 2, 2011

I get the SELinux and wine error. How can this be fixed?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved