LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2010, 03:13 AM   #1
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: 15
centos 5.5 dansguardian installation


hello linux gurus

I have centos 5.5 and I'm trying to install dansguardian and squid, 1st i tried the rpm -ivh dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm

but it gives me these errors:

warning: dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386


I'm trying to find libstdc++.so.5 but there is no available for centos



please help
 
Old 05-27-2010, 03:38 AM   #2
mac.tieu
Member
 
Registered: Jan 2010
Location: Vietnam
Distribution: Arch
Posts: 65

Rep: Reputation: 22
Quote:
Originally Posted by struggled_newbie View Post
hello linux gurus

I have centos 5.5 and I'm trying to install dansguardian and squid, 1st i tried the rpm -ivh dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm

but it gives me these errors:

warning: dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386


I'm trying to find libstdc++.so.5 but there is no available for centos



please help
dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm was built for RedHat 9 not CentOS 5.5. You'd better to search 'dansguardian' package for CentOS 5.5.

Regards,
MT
 
Old 05-27-2010, 04:49 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You probably missing development libraries. I have compiled dansguardian on CentOS5 without issues.
This is the version that I have installed and is working

DansGuardian 2.10.1.1
 
Old 05-27-2010, 05:20 AM   #4
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Quote:
warning: dansguardian-2.8.0.6-1.0.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
libstdc++.so.5 is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(CXXABI_1.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
libstdc++.so.5(GLIBCPP_3.2.2) is needed by dansguardian-2.8.0.6-1.0.rh9.rf.i386
Previous 2 posters are 100% - you should be using a version compiled/built for CentOS 5

Also, if you setup yum correctly; it will do the dependency checks/resolutions for you.
 
Old 05-27-2010, 11:01 AM   #5
ecorg911
LQ Newbie
 
Registered: Dec 2008
Posts: 7

Rep: Reputation: 1
Try this...

Code:
http://hasnainali.wordpress.com/2009/02/09/linux-centosrhel-squiddansguardian-antivirus-clamav/
 
Old 05-31-2010, 05:54 PM   #6
jerryhopper
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
Why not compile from source?
 
Old 05-31-2010, 05:55 PM   #7
jerryhopper
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
i personally preferr compiling from source.
i use the following script for my own machines.
Needed is: CENTOS 5.5 the bare minimum will suffice.

Code:
yum install pkgconfig gcc gcc-c++ libstdc++-devel zlib-devel squid pcre-devel wget make bzip2-devel


# installing ClamAV
wget http://downloads.sourceforge.net/project/clamav/clamav/0.96.1/clamav-0.96.1.tar.gz?use_mirror=fastbull
tar -zxvf clamav-0.96.1.tar.gz
cd clamav-0.96.1
groupadd clamav
./configure
make
make install



# Installing Dansguardian
cd ..
wget http://dansguardian.org/downloads/2/Stable/dansguardian-2.10.1.1.tar.gz
tar -zxvf dansguardian-2.10.1.1.tar.gz
cd dansguardian-2.10.1.1
./configure --enable-icap --enable-kavd --enable-email --enable-fancydm  --enable-clamd --enable-lfs --enable-trickledm --enable-ntlm 
make 
make install

# installing clamav init scripts.
cd /etc/init.d
wget http://users.skynet.be/fb564130/clamav /etc/init.d
chmod 755 /etc/init.d/clamav

This config makes it possible to use ldap with dansguardian, as wel as the ICAP and KasperskyAV scanning ( and clamav ) and the trickle download manager.
i had good results with this, since updating to the lastest version is not the usual 'waiting game' with repositories.

After this install you only need to edit the clamav , freshclam, dansguardian and squid configs and you're good to go.

start clamav via : /etc/init.d/clamav start
start squid via : /etc/init.d/squid start
start dansguardian via : dansguardian -Q


source: http://botnyx.com/tools/6-how-can-i-...amav-on-centos

Last edited by jerryhopper; 05-31-2010 at 06:06 PM.
 
Old 05-31-2010, 06:22 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Compiling on a rpm based distro should always be the line of last resort. Particularly for something like RHEL/Centos where the main point of the distro is stability. The reason that packages will always lag on RHEL/Centos is that the packages are thoroughly vetted to make sure they do not generate any issues for the OS. Compiling your own bypasses this process and pretty much defeats the purpose of using such an OS. If you prefer to compile everything you would be much better served running a distro that is setup that way. Slack comes to mind but there are others.

The rpmforge does provide a dansguardian el5 rpm, 2.8.0.6-1.2. Which is available via yum from their el5 section.
 
Old 06-01-2010, 03:24 AM   #9
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
needing your help

I have installed Redhat 9 with dansguardian 2.8.0.6 and I am troubled in dansguardianf1.conf and dansguardianf2.conf. How can I set the specific IP addresses on this filtering?

In short I want 192.168.1.3, 192.168.1.4, 192.168.1.15 for dansguardianf1.conf ------>>> for no internet access

And 192.168.1.25, 192.168.1.30, 192.168.1.54 for dansguardianf2.conf
------- >>> for full internet access


please help!!!


thanks







Quote:
Originally Posted by jerryhopper View Post
i personally preferr compiling from source.
i use the following script for my own machines.
Needed is: CENTOS 5.5 the bare minimum will suffice.

Code:
yum install pkgconfig gcc gcc-c++ libstdc++-devel zlib-devel squid pcre-devel wget make bzip2-devel


# installing ClamAV
wget http://downloads.sourceforge.net/project/clamav/clamav/0.96.1/clamav-0.96.1.tar.gz?use_mirror=fastbull
tar -zxvf clamav-0.96.1.tar.gz
cd clamav-0.96.1
groupadd clamav
./configure
make
make install



# Installing Dansguardian
cd ..
wget http://dansguardian.org/downloads/2/Stable/dansguardian-2.10.1.1.tar.gz
tar -zxvf dansguardian-2.10.1.1.tar.gz
cd dansguardian-2.10.1.1
./configure --enable-icap --enable-kavd --enable-email --enable-fancydm  --enable-clamd --enable-lfs --enable-trickledm --enable-ntlm 
make 
make install

# installing clamav init scripts.
cd /etc/init.d
wget http://users.skynet.be/fb564130/clamav /etc/init.d
chmod 755 /etc/init.d/clamav

This config makes it possible to use ldap with dansguardian, as wel as the ICAP and KasperskyAV scanning ( and clamav ) and the trickle download manager.
i had good results with this, since updating to the lastest version is not the usual 'waiting game' with repositories.

After this install you only need to edit the clamav , freshclam, dansguardian and squid configs and you're good to go.

start clamav via : /etc/init.d/clamav start
start squid via : /etc/init.d/squid start
start dansguardian via : dansguardian -Q


source: http://botnyx.com/tools/6-how-can-i-...amav-on-centos
 
Old 06-01-2010, 05:58 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
http://contentfilter.futuragts.com/w..._configuration
 
Old 06-01-2010, 06:03 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
@OP,

Are you kidding? RH9 for a server? RH9 is a grandaddy for most of the RH distributions and has long died and lies in peace. Get something new. And if you are not sure which, CentOS5.5 is out and is the latest and is based on RH as well.

Last edited by linuxlover.chaitanya; 06-01-2010 at 06:04 AM. Reason: typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 5 + X Windows Installation automaticjungle Linux - Newbie 11 10-12-2009 03:19 PM
Running squid (w/ dansguardian) on centos 5.2 blocking all google searches bsd13 Linux - Software 0 07-31-2008 12:45 PM
samba installation with centos 5 jianght Linux - Newbie 3 03-06-2008 09:52 PM
CentOS installation mike30188 Linux - Newbie 3 06-24-2005 01:32 AM
Dansguardian installation and configurations myohtutoo Linux - Software 0 03-31-2004 01:41 AM


All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration