HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Rund um die Sicherheit des Systems und die Applikationen
firefox747
Posts: 52
Joined: 2002-08-22 12:37
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by firefox747 »

Hmm, mir scheint, dass die YM_ Variable nicht oder falsch gesetzt ist.
Ich hatte ähnliche Probleme. Ich habe dann bei mir einfach mal per 'echo' Befehl vor der besagten Zeile im Script, mal den fertigen Befehl angeschaut.
Wäre interessant zu wissen, was er dann bei Dir ausgibt.

Poste doch einfach nochmal dein iam_report Script.
klaus2002
Posts: 20
Joined: 2002-08-17 22:05
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by klaus2002 »

Ich habe das hier noch gefunden
Successor wrote:Mein iam_report sieht folgender massen aus, wobei bei mir der 24te Stichtag ist:

Code: Select all

#!/bin/sh

IAM=/usr/local/iam/iam
DUMP=/usr/local/iam/dump
WWWDIR=/var/xxxxxxx/iam

YM_CURRENT=`date '+%Y-%m'`
YM_TLAST=`date --date='2 month ago' '+%Y-%m'`
YM_LAST=`date --date='1 month ago' '+%Y-%m'`
YM_NEXT=`date --date='1 month' '+%Y-%m'`
YM_DAY=`date '+%d'`

if [ $YM_DAY -lt 24 ]
then
    $IAM -f $YM_LAST-24 -t $YM_CURRENT-24 -w $WWWDIR/$YM_CURRENT.html $DUMP
    $IAM -f $YM_TLAST-24 -t $YM_LAST-24 -w $WWWDIR/$YM_LAST.html $DUMP
    ln -sf $WWWDIR/$YM_CURRENT.html $WWWDIR/current.html
    ln -sf $WWWDIR/$YM_LAST.html $WWWDIR/last.html
else
    $IAM -f $YM_CURRENT-24 -t $YM_NEXT-24 -w $WWWDIR/$YM_NEXT.html $DUMP
    $IAM -f $YM_LAST-24 -t $YM_CURRENT-24 -w $WWWDIR/$YM_CURRENT.html $DUMP
    ln -sf $WWWDIR/$YM_NEXT.html $WWWDIR/current.html
    ln -sf $WWWDIR/$YM_CURRENT.html $WWWDIR/last.html
fi

exit $?
nun gehts; Danke

Hab aber noch ne Frage
Hat jemand eine EUR-Umstellung gemacht? Welche Datei muß ich ändern?
firefox747
Posts: 52
Joined: 2002-08-22 12:37
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by firefox747 »

Die Währung steht - bei mir zumindest - in der /usr/local/iam/chains.py.
Dort unter rates.
klaus2002
Posts: 20
Joined: 2002-08-17 22:05
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by klaus2002 »

Das mit EUR hat geklappt.
Danke

Habe die hier http://www.rootforum.org/forum/viewtopi ... ght=urlaub beschriebene Serverüberwachung noch eingefügt.

Code: Select all

#!/bin/bash

ADAY='19' # Abrechungstag bei Puretec
DATEI='/tmp/panik.trf'; #zum Zwischenspeichern
PANIK_TRAFFIC=500;   #Trafficlimit für eine Stunde in MB
MAX_TRAFFIC=25600;  # Gesamtlimit in MB
EMAIL='xxx@domain.tld'; #Benachrichtigungsadresse

YM_DAY=`date '+%d'`
HOUR=`date '+%I'`
if [ $YM_DAY -lt $ADAY ]
then
YM_CURRENT=`date --date='1 month ago' '+%Y%m'`$ADAY
else
YM_CURRENT=`date '+%Y%m'`$ADAY
fi
OLD_TRAFFIC=`tail $DATEI`;
TRAFFIC=`/usr/local/iam/iam --from-date=$YM_CURRENT -r /usr/local/iam/dump | grep internet |  perl -ne '@option = split (" ","$_"); print $option[1];'`
echo $TRAFFIC > $DATEI
#Morgens und Abends eine Info über den Trafficstand 'Ich lebe noch'IL
if [ $HOUR == 03 ]
then
  status="inetd: $(ps -aux|grep -c "inetd") procs "
  status="$status - httpd: $(ps -aux|grep -c "httpd") procs"
  status="$status - ftpd: $(ps -aux|grep -c "ftpd") procs"
  status="$status - mysqld: $(ps -aux|grep -c "mysqld") procs"
  status="$status - sendmail: $(ps -aux|grep -c "sendmail") procs"
  status="$status - ntpd: $(ps -aux|grep -c "ntpd") procs"
  status="$status - named: $(ps -aux|grep -c "named") procs"
  status="$status - cron: $(ps -aux|grep -c "cron") procs"
  status="$status - syslogd: $(ps -aux|grep -c "syslogd") procs"
  status="$status - Zombies: $(ps -aux|grep -c " Z ") procs"
  status="$status - Sleeping: $(ps -aux|grep -c " S") procs"
  status="$status - Running: $(ps -aux|grep -c " R") procs"
  echo $TRAFFIC." MB" $status" - "$(uptime) | Mail -s Status $EMAIL
fi
TRAFFIC_VERBRAUCH=`bc<<Ende
$TRAFFIC-$OLD_TRAFFIC
Ende`;
TRAFFIC_VERBRAUCH=`printf "%.0f" $TRAFFIC_VERBRAUCH`
TRAFFIC=`printf "%.0f" $TRAFFIC`
# Ist innerhalb einer Stunde mehr verbraucht als im Limit melde Dich!
if [ $TRAFFIC_VERBRAUCH -gt $PANIK_TRAFFIC ]
then
echo "ACHTUNG ! "$TRAFFIC_VERBRAUCH" MB verbraucht." | mail  -s Panik $EMAIL
fi
# Ist Inclusivtraffic verbraucht, melde Dich!
if [ $TRAFFIC -gt $MAX_TRAFFIC ]
then
echo "ACHTUNG ! Maximales Trafficlimit abgelaufen." | mail  -s Panik $EMAIL
fi
sebbus
Posts: 125
Joined: 2003-07-07 09:37
Location: Chemnitz
Contact:
 

Inclusiv GB in IAM, aber wie

Post by sebbus »

Hallo,

wie kriege ich es denn hin, dass IAM meine Inclusiv-GB bei der Berechnung des Preises mit einberechnet?

MfG, Sebbus
Anonymous
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by Anonymous »

leute hallo erstmal

ich hab nen mördergroßes problem!

habe iam installiert und auch konfiguriert wie es alles im how to stand und beim starten der iptables kommt folgendes:
Starting iptables ip accounting: iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `local':/usr/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `www':/usr/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `ftp':/usr/lib/iptables/libipt_ftp.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ftp':/usr/lib/iptables/libipt_ftp.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `rsync':/usr/lib/iptables/libipt_rsync.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `rsync':/usr/lib/iptables/libipt_rsync.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `cvs':/usr/lib/iptables/libipt_cvs.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `cvs':/usr/lib/iptables/libipt_cvs.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `mail':/usr/lib/iptables/libipt_mail.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `misc':/usr/lib/iptables/libipt_misc.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `outgoing':/usr/lib/iptables/libipt_outgoing.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `ip_local_port_range':/usr/lib/iptables/libipt_ip_local_port_range.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `related':/usr/lib/iptables/libipt_related.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `related':/usr/lib/iptables/libipt_related.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `fragment':/usr/lib/iptables/libipt_fragment.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `fragment':/usr/lib/iptables/libipt_fragment.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.5: Couldn't load target `unknown':/usr/lib/iptables/libipt_unknown.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.5: Couldn't load target `unknown':/usr/lib/iptables/libipt_unknown.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables.
KANN MIR IRGENDWER HELFEN ?! I NEED HEEEEEEEEEEEEEELP ! Dabei habe ich alles gemacht, wie es in dem how to bis dahin steht!
Anonymous
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by Anonymous »

Eventuell ne blöde Frage, aber läuft das IAM bei euch mit dem SuseFirewall2?
Oder beissen sich die beiden gegenseitig?

Gruß, Rudi
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by captaincrunch »

Die beiden beißen sich tierisch, da beide ihre eigenen "Firewall"-Regeln nutzen wollen.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Anonymous
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by Anonymous »

Ok, Danke.
Dann muss ich mal sehen wie ich das am besten gebacken bekomme.

Gruß, Rudi
Anonymous
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by Anonymous »

HI!

Was muss ich denn einstellen, wenn ich das mal daheim mit dsl testen möchte?

Ist extif dann ppp0?
Und extip ändert sich ja bei jedem einwählen.

Wie mach ich das am besten?

mfg, Aleks
lordi
Posts: 15
Joined: 2003-03-14 16:58
Contact:
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by lordi »

so habs dann auch mal installiert und ausprobiert.

Und es läuft auch Tnx..

nun aber hab ich dann doch nen kleines Problem - so hoffe ich doch -

ich hab für nen BF1942 server ne überwachung gebastel die wie folgt ausschaut:

iptables

Code: Select all

new chain bf1942
        acc_port bf1942 14567
        acc_port bf1942 14567 udp
        acc_port_out bf1942 14567
        acc_port_out bf1942 14567 udp
        acc_port bf1942 23000:23009
        acc_port bf1942 23000:23009 udp
        acc_port_out bf1942 23000:23009
        acc_port_out bf1942 23000:23009 udp
        acc_port bf1942 27243:27245
        acc_port bf1942 27243:27245 udp
        acc_port_out bf1942 27243:27245
        acc_port_out bf1942 27243:27245 udp
        acc_port bf1942 27900
        acc_port bf1942 27900 udp
        acc_port_out bf1942 27900
        acc_port_out bf1942 27900 udp
        acc_port bf1942 28900
        acc_port bf1942 28900 udp
        acc_port_out bf1942 28900
        acc_port_out bf1942 28900 
chains.py

Code: Select all

"bf1942"             : (service, "bf1942 gameserver"),
wenn ich nun nach dem ich iptable durchgestartet habe, es wieder starte, dann bekomme ich folgene fehlermeldungen

Code: Select all

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.7a: Couldn't load target `bf1942':/usr/lib/iptables/libipt_bf1942.so: cannot open shared object file: No such file or directory
was da los ???
charlie
Posts: 78
Joined: 2002-09-30 23:36
Contact:
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by charlie »

Hi,

kann ich mit IAM auch den Traffic 5 IP`s messen? Also einzelnen nicht alle zusammen. Ich habe mal vor länger Zeit zwei mal in verschiedene Ordner IAM installiert nur der Dump mit den Regel wurde immer überschrieben und so konnte ich immer nur einer IP messen.
Anonymous
 

Iütables startet nicht

Post by Anonymous »

Hallo,
ne saublöde und wahrschenlich einmalige Fehlermeldung...

Servername:/etc/init.d# iptables start
Bad argument `start'
Try `iptables -h' or 'iptables --help' for more information.



wenn ich nun die HELP aufrufe dann steht da nix von start. Und was mach ich nun???
standby1
Posts: 14
Joined: 2003-06-01 18:32
Location: Köln
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by standby1 »

Hallo Leute ich bekomme ne Kriese ich habe alles wie im Tut Beschreiben gemacht mitlerweile 3 mal und ich bekomme keine *.HTMLs die ausgabe auf der Schell geht Dump ist auch da nur die htmls Fehlen und wenn ich den Crontab /usr/local/iam/iam_report Manuell Ausführen lasse nach dem ich einen neuen Dump angelegt habe bekomme ich das

/usr/local/iam/iam_report: month: command not found
/usr/local/iam/iam_report: month+%Y-%m: command not found
/usr/local/iam/iam: illegal from-date: Sat
/usr/local/iam/iam: illegal from-date: -01
ln: when making multiple links, last argument must be a directory

als Fehler zurück.
Kann mir mal einer Bitte sageb was ich Falsch mache bevor ich einen Herzinfarkt bekomme weil es mich Langam aufregt *g*

Mit Dank im Voraus
StandBy1
mrc
Posts: 22
Joined: 2003-07-04 15:08
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by mrc »

kann mir einer helfen

Code: Select all

./iam -r dump
/usr/bin/env: python: No such file or directory
was muss ich machen damit es klappt? O_o

danke für eure hilfe

gruß

mRc
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by floschi »

Python installieren?

Wie verrät dir deine Distribution, also z.B. mittels yast (SuSE) oder apt (Debian) usw.
mrc
Posts: 22
Joined: 2003-07-04 15:08
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by mrc »

hoho olfi,

hat geklappt *g*

kann ja net schmecken das er python 2.1 will und nit 2.2
mrc
Posts: 22
Joined: 2003-07-04 15:08
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by mrc »

wo find ich nen howto zur erstellung für chains? vor allem für gameserver die ja udp laufen...

gruß

mRc
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by floschi »

Nirgends ;)
Anonymous
 

iam, eigentlich gutes tool aber...

Post by Anonymous »

hi all

also iam vollständig installiert und betriebsfähig.. aber da fehlt doch noch was..

wieso kann man bei diesem tool nicht die NameBasedVirtualHosts des Webservers mit einbeziehen, was nützt mich der gesamte traffic auf einem webserver wenn man nicht feststellen kann von welchem host dieser traffic stammt. sprich von welcher domaine auf dem webserver wird traffic gebraucht?

kann mir da jemand weiterhelfen ob ich bei iam richtig liege oder ob ich ein anderes tool für eine solche traffic überwachung installieren sollte?

danke im voraus für eine antwort.

:x magicsnow
standbye
Posts: 146
Joined: 2002-10-16 18:05
Location: daheim :)
Contact:
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by standbye »

das kann iam afaik nicht

dazu müsstest du wieder auf die logfiles und die zugriffe gehen. gab glaub auch mal ideen von was anderem hier im forum müsstest du suchen ,)
loko
Posts: 28
Joined: 2003-07-15 00:44
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by loko »

Habe

Code: Select all

<Directory /XXX/linux/iam/> 
   options +FollowSymLinks
   DirectoryIndex current.html 
</Directory>
in der httpd.conf unten eingetragen, leider klappt es noch immer nicht.
Gibt es noch weitere Hilfe in dieser Richtung?

Gruß
Loko
matbehns
Posts: 95
Joined: 2004-01-28 14:00
Location: Berlin
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by matbehns »

Hallo zusammen, hab da auch ein kleines Problem, was schon mal weiter oben angesprochen wurde, aber meines erachtens nicht beantwortet wurde.
Habe einen frisch installierten VServer und wollte nun IAM installieren anhand der HowTo. Klappt auch ganz gut bis zum dem Punkt, wo ich das ganze starten möchte und dann bekomme ich immer folgendes:

Starting iptables ip accounting: /etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
/etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
/etc/init.d/iam: /home/intevation/ipacct/dump: No such file or directory
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `local':/lib/iptables/libipt_local.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables: Memory allocation problem
iptables: No chain/target/match by that name
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
iptables v1.2.6a: Couldn't load target `www':/lib/iptables/libipt_www.so: cannot open shared object file: No such file or directory


Schätze mal das meine IPChains nicht richtig installiert sind. Sind denn IPChains von Anfang an aktiviert? Für Ideen wäre ich dankbar!

MfG matbehns
matbehns
Posts: 95
Joined: 2004-01-28 14:00
Location: Berlin
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by matbehns »

so habs dann auch gleich gelöst! :) Das Problem war, dass ich einen VServer habe und der natürlich keine eth0 Netzwerkkarte besitzt.

Also, folgende Lösung:

ifconfig und dann denn Namen der Netzwerkkarte nehmen!

Tschau ...
distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW
 

Re: HOWTO: Standardinstallation von IAM zur Traffic-Kontrolle

Post by distanzcheck »

kann man dieses Howtoo auch so auf Strato Root Server einsetzen oder muß man da auf irgendwas achten bzw. anpassen ?

Dirk
Post Reply