Zum Inhalt springen

Squid Proxy + Clam-av


Empfohlene Beiträge

Geschrieben

Hallo

ich bin gerade dabei einen Squid Cached Proxy mit Virenscanner aufzusetzen.

Als Virenscanner hab ich mir den Clam-av ausgeguckt.

Hab ma im Internet nach Infos zu dem Thema gesucht und das hier gefunden.

http://linux.swobspace.net/books/fw/proxyscan/proxyscan.pdf

Nu hab ich also den Squid installiert und der läuft auch soweit (war auch kein Problem). Apache 2 iss auch drauf.

Nur möchte ich jetzt eben zu dem Squid noch den Virenscanner installieren.

Nun soll ich nach Kapitel 3 -> Apache2 Modul: mod clamav

das modul "mod clamav" installieren.

Alles klar soweit....

./configure --with-apxs=/usr/sbin/httpd2

läuft auch durch wie ne eins.

Nur wenn ich dann den "make" durchführe kommt folgendes -->

iss-secure:/home/hatzc/Documents/clam-av/mod_clamav-0.21 # make

if /bin/sh ./libtool --mode=compile `/usr/sbin/httpd2 -q CC` -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_clamav\" -DVERSION=\"0.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MKSTEMP=1 -I. -I. -I`/usr/sbin/httpd2 -q INCLUDEDIR` `/usr/sbin/httpd2 -q CFLAGS_SHLIB` -g -O2 -MT mod_clamav_la-mod_clamav.lo -MD -MP -MF ".deps/mod_clamav_la-mod_clamav.Tpo" \

-c -o mod_clamav_la-mod_clamav.lo `test -f 'mod_clamav.c' || echo './'`mod_clamav.c; \

then mv -f ".deps/mod_clamav_la-mod_clamav.Tpo" ".deps/mod_clamav_la-mod_clamav.Plo"; \

else rm -f ".deps/mod_clamav_la-mod_clamav.Tpo"; exit 1; \

fi

httpd2: illegal option -- q

Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file]

[-C "directive"] [-c "directive"]

[-k start|restart|graceful|stop]

[-v] [-V] [-h] [-l] [-L] [-t] [-S]

Options:

-D name : define a name for use in <IfDefine name> directives

-d directory : specify an alternate initial ServerRoot

-f file : specify an alternate ServerConfigFile

-C "directive" : process directive before reading config files

-c "directive" : process directive after reading config files

-e level : show startup errors of level (see LogLevel)

-E file : log startup errors to file

-v : show version number

-V : show compile settings

-h : list available command line options (this page)

-l : list compiled in modules

-L : list available configuration directives

-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)

-S : a synonym for -t -D DUMP_VHOSTS

-t : run syntax check for config files

httpd2: illegal option -- q

Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file]

[-C "directive"] [-c "directive"]

[-k start|restart|graceful|stop]

[-v] [-V] [-h] [-l] [-L] [-t] [-S]

Options:

-D name : define a name for use in <IfDefine name> directives

-d directory : specify an alternate initial ServerRoot

-f file : specify an alternate ServerConfigFile

-C "directive" : process directive before reading config files

-c "directive" : process directive after reading config files

-e level : show startup errors of level (see LogLevel)

-E file : log startup errors to file

-v : show version number

-V : show compile settings

-h : list available command line options (this page)

-l : list compiled in modules

-L : list available configuration directives

-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)

-S : a synonym for -t -D DUMP_VHOSTS

-t : run syntax check for config files

httpd2: illegal option -- q

Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file]

[-C "directive"] [-c "directive"]

[-k start|restart|graceful|stop]

[-v] [-V] [-h] [-l] [-L] [-t] [-S]

Options:

-D name : define a name for use in <IfDefine name> directives

-d directory : specify an alternate initial ServerRoot

-f file : specify an alternate ServerConfigFile

-C "directive" : process directive before reading config files

-c "directive" : process directive after reading config files

-e level : show startup errors of level (see LogLevel)

-E file : log startup errors to file

-v : show version number

-V : show compile settings

-h : list available command line options (this page)

-l : list compiled in modules

-L : list available configuration directives

-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)

-S : a synonym for -t -D DUMP_VHOSTS

-t : run syntax check for config files

libtool: unrecognized option `-DPACKAGE_NAME=""'

Try `libtool --help' for more information.

make: *** [mod_clamav_la-mod_clamav.lo] Fehler 1

:rolleyes:

Kann mir jemand sagen wie ich diesen Fehler beheben kann?

Bin leider noch ein ziemlicher linux noob... deshalb.

Help me Plz...

:uli :uli :uli :uli :uli grEEtz

christianhttp://linux.swobspace.net/books/fw/proxyscan/proxyscan.pdf

Geschrieben

das modul "mod clamav" installieren.

Alles klar soweit....

./configure --with-apxs=/usr/sbin/httpd2

läuft auch durch wie ne eins.

Wie wärs wenn du bei --with-apxs auch das apxs-binary angibst? Also z.b.

--with-apxs=/opt/apache2/sbin/apxs

Musst schauen wo du es hingelegt hast.

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...