Proxy's

Pagina: 1
Acties:
  • 111 views sinds 30-01-2008
  • Reageer

  • Templar
  • Registratie: September 2000
  • Laatst online: 21-05 19:12
Ik heb 2 problemen,

Probleem 1.

Ik heb een proxy draaien onder win2k met activeperl maar als ik het perl script run met de -debug optie dan stopt ie halverwege het proces, en wordt het geheugen gebruikt steeds hoger. tijdens het debuggen worden er ook foutmeldingen gegeven: iets van /k blablabla op regel xxxxx

Probleem 2.

Ik heb ook een proxy draaien onder SuSE Linux 6.1 Die runt helemaal goed maar het verwerkt geen stats, de perproxy heeft uiteraard wel een logfile aangemaakt (daily-modus)

Verwijderd

weet nog niemand het?????

ik zit nu naast degene van hierboven en we komen er nog niet uit.


iemand??????
Crisp??
Onno??
DSmarty???

jullie weten het toch wel????

iemand???????

oh ja, Crisp, ik had laatst gereageerd op een topic waar jij weer op terug schreef over die power functies in XL.
Ik heb het geprobeert en deed misschien iets fout of er stond een 'typo' in maar ik kwam er niet uit. zouden we hier nog ff verder over kunnen babbelen.
Emeel = j.s.de.boer@student.hro.nl
ICQ= 78850616

Bedankt iedereen!!!

  • Oezie Woezie
  • Registratie: December 1999
  • Niet online

Oezie Woezie

Pim. is de beste

die error is zeker regel 20.

dan moet je ff je ppstats-ogr-7.1.pl editten met word, en voor regel 20 een # zetten

een mooi Tshirt met Pim. is de beste enzo


Verwijderd

<BLOCKQUOTE><font size=1 face=Verdana, Arial, Helvetica>quote:</font><HR>Op 13 november 2000 20:02 schreef Oezie Woezie het volgende:
die error is zeker regel 20.

dan moet je ff je ppstats-ogr-7.1.pl editten met word, en voor regel 20 een # zetten[/quote]Sorry Oezie Woezie je staat niet in zijn lijstje... je mag niet reageren >:)

  • Templar
  • Registratie: September 2000
  • Laatst online: 21-05 19:12
Nope, die regel heb ik al aangepast, die meldingen verschijnen op regel 1000 en nog wat en naarna grofweg om de 1000 regeltjes.
Ik zal wel effe wat online zetten. Maar als iemand het weet mag ie wel replyen.

PS. Ik doe rc5, geen ogr.

  • Dutchman!
  • Registratie: Januari 2000
  • Laatst online: 16:42
kan je je statsrun scriptje niet even posten ? Dan hebben we iets meer om mee te werken :)

We spend our years as a tale that is told


  • crisp
  • Registratie: Februari 2000
  • Laatst online: 15:13

crisp

Devver

Pixelated

Ik ben er weer!
Sorry, was laat geworden gisteren (concert van AC/DC :P)
Post idd ff wat er precies fout gaat; het zit waarschijnlijk ik je ppstats.ini.
Foutmeldingen krijg ik ook in debug mode, maar hij genereerd wel alles netjes.

En jaap de boer: ik heb Engelse versie office; waarschijnlijk hebben ze in de nederlandse versie ook de functie machtsverheffen(=POWER) vernederlandsd.

Intentionally left blank


  • Templar
  • Registratie: September 2000
  • Laatst online: 21-05 19:12
Zo, nu hier effe 2 dumps.
de eerste is uiteraard van ppstats-rc5.ini, ik heb de theme selectie even achterwege gelaten ivm nutteloze ruimte.
<BLOCKQUOTE><font size=1 face=Verdana, Arial, Helvetica>quote:</font><HR>#--- Team Information --------------------------------------------------------
Team = "[DPC] AUGUSTIJN"
TeamHome = "http://apers/"
TeamID = 300163

# Use team logo? Specify full URL to *.gif or *.jpg image.
LogoURL="http://usmcug.usm.maine.edu/rc5/usmcug-rc5.jpg"
UseLogo = 0 # Do not use team logo.
#UseLogo = 1 # Use team logo. Must specify full URL in LogoURL.


#--- Input Options -----------------------------------------------------------
# Logfile name format information. This script does not correctly support
# formats other than YYYYMMDD. The logs in this example are kept in a
# subdirector called "logrc5", which can be configured in the proxy's ini.
# This script does require that daily logfile rotation is enabled. Other
# rotation time periods are not yet supported. LogDir should end in a "/".
LogDir = "c:/Program Files/proxyper/"
LogPre = "pproxyrc5" # For rc5pkeyYYYYMMDD
LogSuf = "log" # For rc5pkeyYYYYMMDD.log

# The personal proxy can read compressed log files after they have been
# rotated. If you have this proxy option enabled and want to use ppstats,
# configure the following settings. The defaults are for UNIX gzip. Command
# that unzips the logfile to stdout without deleting the file is required.
ProcessZipLogs = 0 # Ignore zipped log files.
#ProcessZipLogs = 1 # Unzip and process all log files.
LogZipSuf = "log.gz" # For rc5pkeyYYYYMMDD.log.gz
LogTmpSuf = "log.tmp" # For rc5pkeyYYYYMMDD.log.tmp
LogDecompressor = "gzip -d -c" # Command line zip decompressor.

# Maximum number of days to read log files. A value of zero means
# read all available log files without limit. A value of 365 would mean
# only read back blocks done in the last year and ignore anything older.
MaxDays = 100


#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "c:/Program Files/Apache Group/Apache/htdocs/rc5/"

# Full URL of output web file location. This should end in a "/".
HtmlRoot = "http://apers/rc5/"

# Realitive path to icon folder from htmldir and htmlroot. Default should work
# fine for most cases. This should end in a "/". If you haven't copied
# this folder from the zip distribution to your htmldir now is a good time.
IconDir = "icons/"

# HTML output filenames. You should configure IIS to use index.html as a
# default document, or rename the index.html's to default.htm
htmlteam = "index.html"
htmlexec = "exec.html"
htmlmail = "byemail.html"
htmlhost = "byhost.html"
htmlos = "byos.html"
htmlcpu = "bycpu.html"
htmlver = "byver.html"
htmlfull = "byfull.html"
htmldomain = "bydomain.html"
htmlhour = "byhour.html"
htmldate = "bydate.html"
htmlweek = "byweek.html"
htmlmonth = "bymonth.html"
htmlyear = "byyear.html"
htmldayofweek = "bydaywk.html"
htmlindvemail = "index.html"
htmlemailhist = "emailhist.html"
htmlhostsbyemail = "emailhosts.html"
htmlindvhost = "index.html"
htmlhosthist = "hosthist.html"
htmlemailsbyhost = "hostemails.html"

# Cascading style sheet filename. Will be created by ppstats for you.
css = "ppstats.css"

# All ip addresses from the proxy log files are converted to DNS names and
# then cached for a user defined amount of time. A value of zero means refresh
# on every run. This cache file is saved in your workingdir. If you run
# ppstats on a server with a slow internet connection, use a large cachedays.
CacheFile = "rc5-dns.cache" # DNS cache filename to be created.
CacheDays = 30 # Days to store cache before refreshing.

# GIF based chart options. Be sure to specify the full or relative path to the
# specially compiled GNUplot program with GIF support. Config and data files
# are create by ppstats for you.
GNUPlot = "c:/Program Files/gnuplot/wgnuplot.exe" # Path to GNUplot executable.
GNUPlotconfig = "gnuplot.ini" # GNUplot config file.
GNUPlotdata = "plot.data" # GNUplot data file.
GNUPlotoutput = "plot.gif" # Output GIF filename.

# The page counter component. See the documentation section above for details
# on how to obtain and use the Count.cgi program. To change the color of the
# displayed count number, change the prgb parameter. Note that you may have to
# do a 'echo "1" > rc5.dat' in your Counter/data folder for this to work. You
# can specify a different hit counter program by changing the counter variable.
UseCounter = 0 # Do not use the hit counter.
#UseCounter = 1 # Use the hit counter.
Counter = "/cgi-bin/Count.cgi?ft=0|tr=1|trgb=000000|srgb=00FF00|prgb=993333|md=8|dd=D|comma=T|df=rc5.dat"

# The By Host information page is sometimes not particularly practical for
# very large teams. You can display this section and ppstats will not record
# blocks submitted by host in any manner. The combined output file size and
# execution time will decrease substantially.
#ShowByHost = 0 # Do not show the By Host section.
ShowByHost = 1 # Show the By Host section.


#--- Format Options ----------------------------------------------------------
# GIF based chart line style option. The default width is 520 and the
# default height is 400. 800 by 600 is nice for people with large monitors.
# Any value of 1 or less will disable the nth-day average feature.
#ChartLineStyle = 1 # Impulses style. Not useful with nth day average.
ChartLineStyle = 2 # Lines style.
#ChartLineStyle = 3 # Linespoints style.
ChartWidth = 520 # GIF image width.
ChartHeight = 400 # GIF image height.
DayAverage = 21 # Days of nth-day average.

# Days to track up/down movement.
MovementDays = 1

# Maximum number of rows to show per category page.
MaxRows = 100

# Number of days to display on the history pages.
DaysHist = 6

# Number of days to display for individual block history.
BlockHistory = 21

# Use header and/or footer banners?
UseHeaderBanner = 0 # Do not use header banner.
#UseHeaderBanner = 1 # Use header banner.
UseFooterBanner = 0 # Do not use footer banner.
#UseFooterBanner = 1 # Use footer banner.

# Consolidate numbers in hosts? ie, host12.myisp.com -> host?.isp.com
# See rc5-domain.cons for a list of domains you wish to manual consolidate.
# See rc5-ip.cons for a list of ip addresses you wish to manual consolidate.
# For instance, an entry in rc5-domain.cons like slashdot.org will consolidate
# the hosts www.slashdot.org, ftp.slashdot.org, and slashdot.org into
# ?.slashdot.org Some more examples are provided. Entries in rc5-domain.cons
# and rc5-ip.cons are processed regardless whether or not ConsHosts is
# enabled. Note that rc5-domain.cons works from the right, rc5-ip.cons the
# left. Note that the last entry in each array does not have a comma after it.
#ConsHosts = 0 # Do not consolidate hosts.
ConsHosts = 1 # Consolidate hosts.

# Last Seen column on the By Hosts page options. Times are defined in
# seconds. Colors are in RGB format, do not append a pound sign "#" to
# the front of the color string. Warning times should be less than
# Critical times. See default settings for examples on how to set these.
#ColorLastSeen = 0 # Do not color last seen.
ColorLastSeen = 1 # Color last seen column.
LastSeenWarningTime = 86400 # 24*60*60 default 24 hours warning time.
LastSeenCriticalTime = 604800 # 7*24*60*60 default 7 days critical time.
LastSeenWarningColor = "888800" # Dark yellow.
LastSeenCriticalColor = "BB0000" # Bright red.

# Category displacement colors for moving up or down in rank since
# yesterday. Defaults are green for up, red for down.
MoveUpColor = "009900" # Green
MoveDownColor = "990000" # Red

# Insert META REFRESH tag in html files? Refresh period in seconds.
#UseMetaRefresh = 0 # Do not use META REFRESH tag.
UseMetaRefresh = 1 # Use META REFRESH tag.
MetaRefreshPeriod = 900 # Refresh after this number of seconds.[/quote]Het tweede is van mijn ms-dos schermoutput.<BLOCKQUOTE><font size=1 face=Verdana, Arial, Helvetica>quote:</font><HR>C:\Program Files\ppstats-rc5-7.1>c:\perl\bin\perl -w ppstats-rc5-7.1.pl -debug
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1294.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1306.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1328.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1344.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1637.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1679.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 1754.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2610.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2674.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2749.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2777.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2858.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2888.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2967.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 2997.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3084.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3293.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3344.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3457.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3522.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3534.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3538.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3556.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3662.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 3992.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4043.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4154.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4219.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4231.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4235.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4253.
Unrecognized escape \k passed through at ppstats-rc5-7.1.pl line 4357.

Personal Proxy Statistics v7.1
Debug is enabled. Runtime information will be sent to STDERR.

debug: Entering init() ...
debug: Reading initialization file ppstats-rc5.ini ...
debug: team=[DPC] AUGUSTIJN
debug: teamhome=http://apers/
debug: teamid=263
debug: uselogo=0
debug: logdir=c:/Program Files/proxyper/
debug: logpre=pproxyrc5
debug: logsuf=log
debug: processziplogs=0
debug: logzipsuf=log.gz
debug: logtmpsuf=log.tmp
debug: logdecompressor=gzip -d -c
debug: maxdays=100
debug: htmldir=c:/Program Files/Apache Group/Apache/htdocs/rc5/
debug: icondir=icons/
debug: htmlteam=index.html
debug: htmlexec=exec.html
debug: htmlmail=byemail.html
debug: htmlhost=byhost.html
debug: htmlos=byos.html
debug: htmlcpu=bycpu.html
debug: htmlver=byver.html
debug: htmlfull=byfull.html
debug: htmldomain=bydomain.html
debug: htmlhour=byhour.html
debug: htmldate=bydate.html
debug: htmlweek=byweek.html
debug: htmlmonth=bymonth.html
debug: htmlyear=byyear.html
debug: htmldayofweek=bydaywk.html
debug: htmlindvemail=index.html
debug: htmlemailhist=emailhist.html
debug: htmlhostsbyemail=emailhosts.html
debug: htmlindvhost=index.html
debug: htmlhosthist=hosthist.html
debug: htmlemailsbyhost=hostemails.html
debug: css=ppstats.css
debug: cachefile=rc5-dns.cache
debug: cachedays=30
debug: gnuplot=c:/Program Files/gnuplot/wgnuplot.exe
debug: gnuplotconfig=gnuplot.ini
debug: gnuplotdata=plot.data
debug: gnuplotoutput=plot.gif
debug: usecounter=0
debug: counter=/cgi-bin/Count.cgi?ft=0|tr=1|trgb=000000|srgb=00FF00|prgb=993333|
md=8|dd=D|comma=T|df=rc5.dat
debug: showbyhost=1
debug: chartlinestyle=2
debug: chartwidth=520
debug: chartheight=400
debug: dayaverage=21
debug: movementdays=1
debug: maxrows=100
debug: dayshist=6
debug: blockhistory=21
debug: useheaderbanner=0
debug: usefooterbanner=0
debug: conshosts=1
debug: colorlastseen=1
debug: lastseenwarningtime=86400
debug: lastseencriticaltime=604800
debug: lastseenwarningcolor=888800
debug: lastseencriticalcolor=BB0000
debug: moveupcolor=009900
debug: movedowncolor=990000
debug: usemetarefresh=1
debug: metarefreshperiod=900
debug: backgroundcolor=FFFFFF
debug: linkbarcolor=EEEEEE
debug: linkbartitlefontcolor=000000
debug: sectiontitlebarcolor=770000
debug: sectiontitlefontcolor=FFFFFF
debug: sectionlowlightcolor=EEEEEE
debug: sectionhighlightcolor=FFFFEE
debug: sectionnotefontcolor=000000
debug: historycolor=770000
debug: avehistorycolor=333399
debug: ndayhistorycolor=3333FF
debug: textcolor=000000
debug: linkcolor=993333
debug: visitedlinkcolor=333399
debug: activelinkcolor=999999
debug: fontstyle=Arial, Verdana, Helvetica
debug: Exiting init() ...
debug: Entering collect_data() ...
Argument "am" isn't numeric in numeric eq (==) at ppstats-rc5-7.1.pl line 534.
debug: Entering resolve_hosts() ...
debug: Entering read_host_cache() ...
debug: Reading DNS cache file rc5-dns.cache ...
debug: Read 0 host cache entries ...
debug: Writing DNS cache file rc5-dns.cache ...
debug: Wrote 0 host cache entries ...
debug: Exiting read_host_cache() ...
debug: Reading domain consolidation file rc5-domain.cons ...
debug: Read 13 domain consolidation entries ...
debug: Reading IP consolidation file rc5-ip.cons ...
debug: Read 3 IP consolidation entries ...
debug: Resolving Email to Host and Host to Email participation ...
debug: Exiting resolve_hosts() ...
debug: Entering lookup_rank() ...
debug: Exiting lookup_rank() ...
debug: Exiting collect_data() ...
debug: Entering write_css() ...
debug: Exiting write_css() ...
debug: Entering write_index() ...
debug: Exiting write_index() ...
debug: Entering write_exec() ...
debug: Exiting write_exec() ...
debug: Entering write_byemail() ...
debug: Exiting write_byemail() ...
debug: Entering write_byhost() ...
debug: Exiting write_byhost() ...
debug: Entering write_byos() ...
debug: Exiting write_byos() ...
debug: Entering write_bycpu() ...
debug: Exiting write_bycpu() ...
debug: Entering write_byver() ...
debug: Exiting write_byver() ...
debug: Entering write_byfull() ...
debug: Exiting write_byfull() ...
debug: Entering write_bydomain() ...
debug: Exiting write_bydomain() ...
debug: Entering write_byhour() ...
debug: Exiting write_byhour() ...
debug: Entering write_bydate() ...
debug: Exiting write_bydate() ...
debug: Entering write_byweek() ...
debug: Exiting write_byweek() ...
debug: Entering write_bymonth() ...
debug: Exiting write_bymonth() ...
debug: Entering write_byyear() ...
debug: Exiting write_byyear() ...
debug: Entering write_bydayofweek() ...
debug: Exiting write_bydayofweek() ...

C:\Program Files\ppstats-rc5-7.1>[/quote]

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 15:13

crisp

Devver

Pixelated

Oke,

het lijkt mij vrij ok; mijn ppstats run geeft ongeveer dezelfde meldingen (ook die met die unrecognized escape), maar genereerd de stats wel goed.
Van veel geheugen gebruik heb ik ook geen last; mijn bak draait 24/7 en runt het script elk uur. 2 weken uptime is geen probleem met 128 MB geheugen.

1 dingetje heb ik anders, en dat is de verwijzing naar gnuplot:

# are create by ppstats for you.
GNUPlot = "c:\Progra~1\gnuplot\gnuplot" # Path to GNUplot executable.

ik gebruik een gnuplot.exe die eigenlijk voor DOS bedoeld is, en ik heb de verwijzing met backslashes ipv forward slashes gedaan om het draaiende te krijgen. Ook zonder de .exe

Intentionally left blank


  • Templar
  • Registratie: September 2000
  • Laatst online: 21-05 19:12
Hartelijk dank Crisp.
Dat geheugengebruik had ik al niet meer, het script stopte dan ook bij
debug: Entering collect_data() ...
Dit is dus al verholpen. De html-pagina's werden ondertussen ook al gegenereerd, alleen de gif plotjes niet. Jij hebt waarschijnlijk de oplossing (ben nu gnuplot.exe aan het downloaden). Ik probeer het morgen. Ik laat het weten of het gelukt is.


:):):):)
Pagina: 1