You are not logged in.

Blacksilver

Intermediate

  • "Blacksilver" started this thread

Posts: 298

Location: 127.0.0.1

Occupation: FISI

wcf.user.option.userOption53: Nein

  • Send private message

1

Saturday, March 23rd 2013, 8:01pm

[HLstatsX] Scripts

Hallo :D

eine Frage bzüglich HLstatsX:CE.
Ich habe in meinen Crontab Manager versucht die Awards(Importban auch) als täglichen "Job" hinzuzufügen. Das Problem kommt dann leider beim Ausführen:

Source code

1
Can't locate .//ConfigReaderSimple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/home/<benutezrname>/scripts/hlstats-awards.pl line 61


An der Stelle (Line) 61:

Source code

1
require "$opt_libdir/ConfigReaderSimple.pm";

Das dazugehörige:

Source code

1
my $opt_libdir = "./";


Heißt für mich, dass er ins vorige Verzeichnis wehcselt und dann /ConfigReaderSimple.pm dahinter hängt richtig? Dann wäre es soweit richtig? :D
hab versucht das Flash überall wegzumachen anders zu setzten ging aber nicht :D
Irgend eine Idee?
ODer muss ich perl installieren?

______
http://sourceserver.info/wiki/statistiken/hlxce/install
Come to the dark side,
we have cookies ;)

MadMakz

Super Moderator

Posts: 1,878

Location: ~#

wcf.user.option.userOption53: Ja

  • Send private message

2

Sunday, March 24th 2013, 10:25am

entweder im cron erst cd in den hlxce deamon pfad

Source code

1
cd /pfad/zum/script/ordner && ./hlstats-awards.pl


oder $opt_libdir mit dem vollständigen pfad zum deamon verzeichnis ersetzen.

Source code

1
my $opt_libdir = "/pfad/zum/script/ordner/";


zu empfehlen ist die erste variante da diese nach einem update nicht wiederholt werden muss.

Und Perl (inklusive DBD-mysql und Geo-IP-PurePerl Module) muss auf dem system selbstverständlich auch installiert sein.

This post has been edited 2 times, last edit by "MadMakz" (Mar 24th 2013, 10:45am)


Blacksilver

Intermediate

  • "Blacksilver" started this thread

Posts: 298

Location: 127.0.0.1

Occupation: FISI

wcf.user.option.userOption53: Nein

  • Send private message

3

Sunday, March 24th 2013, 1:47pm

Danke :)

Nun klappt das auch ;D

Source code

1
2
3
4
5
6
7
8
9
10
-- Connecting to MySQL database 'DATENBANK' on 'localhost' as user 'BENUTZER' ... connected OK
++ HLstatsX:CE Awards & Maintenance script version 1.6.19 starting...
++ Cleaning up database: deleting events older than 28 days... done
++ Cleaning up database: deleting player history older than 28 days... done
++ Cleaning up database: deleting stale trend samples... done
++ Cleaning up database: deleting server load history older than one year... done
++ Updating player activity... done
++ Processing awards... (generating awards for 2013-03-23 (previous: 2008-08-30))... done
++ Processing ribbons... done
++ HLstatsX:CE Awards & Maintenance script finished


Nur noch die bans importieren xD

Source code

1
/tmp/cron_run_command_benutzername.sh: line 3: ./importbans.pl: No such file or directory
Come to the dark side,
we have cookies ;)

Similar threads