ppstats...het wil maar niet lukken :-((

Pagina: 1
Acties:

  • stok
  • Registratie: Oktober 2000
  • Niet online
Ik probeer stats te laten maken van mijn proxy :), maar dat wil maar niet lukken:(
Wanneer ik het perl script uitvoer, start ie en sluit ie meteen weer. Zonder een foutmelding wat dan ook:?
Ik denk dat ie op de een of andere manier de log files niet kan vinden ofsow...

Iemand een id hoe dit kan??

  • Dutchman!
  • Registratie: Januari 2000
  • Laatst online: 22-05 17:04
start hem ten eerste eens op in debugging modus en post hier de errors, en post je ge-edite versie van ppstats eens :)

We spend our years as a tale that is told


  • Haranaka
  • Registratie: September 2000
  • Laatst online: 10-05 19:25
Moet je even een dos box open, en daar ppstats.pl proberen te draaien.

Dan blijft de foutmelding in je beeld staan en misschien dat jij er dan zelf wat wijzer uit wordt, zo niet dan zijn hier wel mensen te vinden dat het wel weten :)

[edit en of topic]
Dutchman: Gaaf man dat keyserver.org nu werkt. Ik zag die link in je sig en dacht kom even kijken... En ja, toen snel mijn koetje config -> erikb.keyserver.org, en Ja ook dat werkte :)
Thnks!!
PS, Wrom is daar niet bekend gemaakt?
[/edit en of topic]

...


  • Dutchman!
  • Registratie: Januari 2000
  • Laatst online: 22-05 17:04
[edit en of topic]
PS, Wrom is daar niet bekend gemaakt?
[/edit en of topic]
wil eigenlijk de pagina even afbouwen voordat ik een officiele heropening doe :)
Alle nieuwe en oude subdomeinen die nu hier vermeld staan werken nu iig of (bij die paar die ik vandaag en gisteren heb toegevoegd) zullen dat binnen enkele dagen doen :):):).

We spend our years as a tale that is told


Verwijderd

je hebt hem vast op een windows machine draaien. dan moet je een # voor de regel met setpriority(0,0,20); zetten.

  • wildhagen
  • Registratie: Juni 1999
  • Niet online

wildhagen

Blablabla

Op dinsdag 23 januari 2001 18:16 schreef stappel het volgende:
je hebt hem vast op een windows machine draaien. dan moet je een # voor de regel met setpriority(0,0,20); zetten.
Inderdaad. Dat is regel 21, voor de duidelijkheid.

Virussen? Scan ze hier!


  • stok
  • Registratie: Oktober 2000
  • Niet online
Ik zal hier mijn ini wel ff planten :)

#--- Team Information --------------------------------------------------------
Team = "Opperkoe"
TeamHome = "http://members.home.nl/markstockmann/"
TeamID =

# 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 = 0 # 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:/pproxy/"
LogPre = "rc5stats" # 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 = 365


#--- Output Options ----------------------------------------------------------
# Full path to output file location. This should end in a "/".
HtmlDir = "http://members.home.nl/"

# Full URL of output web file location. This should end in a "/".
HtmlRoot = "/markstockmann/"

# 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 = "/bin/proxy/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 = 7

# 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.
--------------------------------------------
Ik heb de color configuration ff wegeglaten

Verder ter info:
Mijn pproxy in geinstalleerd in
c:\pproxy
Mijn pstats zijn geinstalleerd in
C:\pproxy\ppstats-rc5-7.1
Perl is geinstallleerd in
c:\
En GNU-plot
C:\Program Files\gnuplot-3.7.1
De log files heten
rc5statsYYYYMMDD.log

aub niet lachen om de enorme bende fauten in mijn .ini :D

  • wildhagen
  • Registratie: Juni 1999
  • Niet online

wildhagen

Blablabla

zo 1-2-3 zie ik 2 fouten :
LogDir = "c:/pproxy/"
Daar mag geen drive letter instaan, het moet dus zo: Logdir = "/pproxy/"
TeamID =
Maak hiervan : TeamID = 10313 (DPC)

Virussen? Scan ze hier!


  • stok
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 23 januari 2001 19:02 schreef wildhagen het volgende:
zo 1-2-3 zie ik 2 fouten :
[..]
Daar mag geen drive letter instaan, het moet dus zo: Logdir = "/pproxy/"
[..]
Maak hiervan : TeamID = 10313 (DPC)
...aangepast...nog steeds niks..:'(

  • Haranaka
  • Registratie: September 2000
  • Laatst online: 10-05 19:25
JE moet ook even aanpassen waar Stappel je op gewezen heeft. ppstats.pl editen met notepad ofzo en dan die regel 21 aanpassen. (daar een # voorzetten geloof ik)

...


  • stok
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 23 januari 2001 19:21 schreef Haranaka het volgende:
JE moet ook even aanpassen waar Stappel je op gewezen heeft. ppstats.pl editen met notepad ofzo en dan die regel 21 aanpassen. (daar een # voorzetten geloof ik)
hehe..ik zat in de ini te zoeken naar deze regel...maar volgens mij doet ie ut nu...

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:46

crisp

Devver

Pixelated

Ik had ook ooit een werkende proxy draaien onder windhoos '98. Daarin had ik oa het volgende:

LogDir = "D:/logs/"
HtmlDir = "D:/wwwroot/rc5/"
HtmlRoot = "http://www.crisp.demon.nl/graasland/rc5/"
GNUPlot = "D:\ppstats\gnuplot"

en dit WERKTE! (dus ook met driveletter!!!).
De verwijzing naar gnuplot werkte NIET met forward slashes om een of andere vage reden...

Intentionally left blank


  • 0rbit
  • Registratie: Maart 2000
  • Laatst online: 20-05 13:55
Ik heb een tijdje de proxy op een andere schijf gehad dan de stats; dit werkte dus wel gewoon, ook met driveletter-aanduiding in de ini. :)

Ik ben geheel voldaan, dank u wel!


Verwijderd

GNUPlot = "/bin/proxy/wgnuplot.exe" # Path to GNUplot executable

Verder ter info:
En GNU-plot
C:\Program Files\gnuplot-3.7.1

Excutable moet je in de ini dus aanpassen. Een tip: zet gnuplot in een directory zonder spaties erin. Bij mij werkte het daarom eerst ook niet. Dus plaats het ff ergens anders en pas in de ini file de locatie aan.

succes

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:46

crisp

Devver

Pixelated

Dan zou het dus:

GNUPlot = "C:\progra~1\gnuplo~1\wgnuplot.exe" # Path to GNUplot executable

moeten worden...

Intentionally left blank


  • stok
  • Registratie: Oktober 2000
  • Niet online
Okay...# voor regel21
Alleen nu wordt als enigste html de index gemaakt...
Die andere (by*.html) worden niet gemaakt.

Iemand hier een id over?

  • Haranaka
  • Registratie: September 2000
  • Laatst online: 10-05 19:25
als je hem in een dos box (command promt) ppstats.pl probeert te draaien geeft hij dan een foutmelding? zoja welke?

...


  • stok
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 23 januari 2001 20:54 schreef Haranaka het volgende:
als je hem in een dos box (command promt) ppstats.pl probeert te draaien geeft hij dan een foutmelding? zoja welke?
Hij zegt:
The system cannot find the path specified.
Personal Proxy statistics: cannot execute /bin/proxy/wgnuplot.exe /stats/gnuplot.ini <256>
Hij kan gnuplot.exe dus niet vinden, maar ik kan em zelf ook niet vinden. Zelfs nadat ik hem van hier heb gedownload.

  • Haranaka
  • Registratie: September 2000
  • Laatst online: 10-05 19:25
quote:
The system cannot find the path specified.
Personal Proxy statistics: cannot execute /bin/proxy/wgnuplot.exe /stats/gnuplot.ini <256>

Hij zoekt dus nu naar dat progje wgnuplot.exe in de /bin/proxy/ dir.
Ik denk niet dat je hem daar hebt heen geinstaleerd. Even aanpassen in je ini.

...


  • stok
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 23 januari 2001 21:16 schreef Haranaka het volgende:
quote:
The system cannot find the path specified.
Personal Proxy statistics: cannot execute /bin/proxy/wgnuplot.exe /stats/gnuplot.ini <256>

Hij zoekt dus nu naar dat progje wgnuplot.exe in de /bin/proxy/ dir.
Ik denk niet dat je hem daar hebt heen geinstaleerd. Even aanpassen in je ini.
Ja, maar als ik een HD scan doe naar dat bestand..vind ie èm ook niet..
terwijl ik wel van die FTP een hele zooi GNU gedowned heb

  • Haranaka
  • Registratie: September 2000
  • Laatst online: 10-05 19:25
dan is daar toch iets bij fout gegaan. PRobeer het nog eens zou ik zeggen. Downen en onthouden waar heen je het heen uitpakt.

...


  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:46

crisp

Devver

Pixelated

Een linkje geven is vast niet legaal... <a href="http://www.crisp.demon.nl/bin/gnuplot.exe">;)</a>

Intentionally left blank


  • stok
  • Registratie: Oktober 2000
  • Niet online
Op dinsdag 23 januari 2001 21:28 schreef crisp het volgende:
Een linkje geven is vast niet legaal..............
tnx ;)

  • Krypt
  • Registratie: April 2000
  • Laatst online: 23-05 09:52
Zo.. heb mun ppstats ook eindelijk draaien...
thnx for the info mannen!!!

Pvouput live


  • Elteor
  • Registratie: April 2000
  • Laatst online: 18-12-2021

Elteor

doet wat met computers ....

Ook namens mij bedankt ..... :)

Distributed Computing - TEB - Elteor-statspage


  • stok
  • Registratie: Oktober 2000
  • Niet online
Op woensdag 24 januari 2001 09:21 schreef Krypt het volgende:
Zo.. heb mun ppstats ook eindelijk draaien...
thnx for the info mannen!!!
Ikke nog niet :D
c:\stats\debug -w ppstats-rc5-7.1.pl
dit geeft: File Not Found.

Hij maakt alleen de index.hmtl aan en de exec.html....de rest niet...iemand een id??
edit:

ze doen ut...

Verwijderd

Op woensdag 24 januari 2001 16:38 schreef stokkie het volgende:

[..]
Ikke nog niet :D
c:\stats\debug -w ppstats-rc5-7.1.pl
dit geeft: File Not Found.

Hij maakt alleen de index.hmtl aan en de exec.html....de rest niet...iemand een id??
edit:

ze doen ut...
tja dat stond er ook niet. je moet doen:
code:
1
perl ppstats-rc5-7.1.pl -debug
Pagina: 1