| Author |
Message |
Capture
knows MySQLDumper

Joined: 16 May 2008
Posts: 3

|
Posted:
2008-05-16, 19:35 syntax error at crondump.pl line 232 |
  |
Ich hab soweit alles aus der Hilfe befolgt, was die .pl files im cgi-bin angeht.
Die Test Ergebnisse sehen so aus:
Wenn Du das siehst, funktioniert Perl auf Deinem System !
If you see this perl works fine on your system !
und
Testing needed Perl-Moduls in order to run the Perl script crondump.pl
Necessary Modules for crondump.pl
testing DBI ... Found modul DBI. OK.
Found modul DBI::DBM
Found modul DBI::ExampleP
Found modul DBI::File
Found modul DBI::Proxy
Found modul DBI::Sponge
Found modul DBI::mysql
Found modul DBI::mysql. OK. crondump.pl can connect to MySQL-Database.
testing File::Find ... Found modul File::Find. OK.
testing File::Basename ... Found modul File::Basename. OK.
testing Getop... Found modul Getopt. OK. crondump.pl can read configfile-parameter from shell.
Configurable functions for crondump.pl (these moduls are only needed when explained option is turned on):
testing Compress::Zlib (needed for dumping data into a crompessed *.gz-file)...
Found modul Compress::Zlib ver 1.42. OK. crondump.pl can write compressed backups.
testing Net::FTP (needed if you want to transfer backups to another server)...
Found modul Net::FTP. OK - crondump.pl can send backups via FTP.
testing MIME::Lite (needed if you want to send backups via email)...
Found modul MIME::Lite. OK. crondump.pl can send emails.
aber wenn ich das cronscript ausführen lassen will kommt folgenede Fehlermeldung:
Software error:
Unmatched right curly bracket at crondump.pl line 232, at end of line
syntax error at crondump.pl line 232, near "}"
Execution of crondump.pl aborted due to compilation errors.
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.
Backup per php klappt wunderbar...nur hier nicht..
Hoffe ihr findet eine Lösung...zumal ich dann immer noch nicht weiss wie ich es automatisch ausführen lasse das Backup.. (per cronjob.de die crondump.pl aufrufen lassen ?? )
Last edited by Capture on 2008-05-16, 19:42; edited 1 time in total
|
|
  |
 |
Anzeigen
|
Posted:
Anzeigen |
 |
|
| |
 |
Capture
knows MySQLDumper

Joined: 16 May 2008
Posts: 3

|
Posted:
2008-05-16, 19:37 (No subject) |
  |
Achso das steht bei mir in der Zeile 232
230 DeleteFiles (\@trash_files);
231 }
232 }
|
|
  |
 |
DSB
Developer


Age: 41
Joined: 30 Apr 2004
Posts: 16073
Location: Reichenberg bei Würzburg

|
Posted:
2008-05-17, 00:29 (No subject) |
  |
Also entweder ist da beim Upload etwas schief gelaufen oder Dein Entpacker hat da beim Entpacken des Zip-Archivs etwas hinzugemogelt.
In der crondump.pl ist kein Syntax-Fehler.
Lad das Paket am besten noch einmal neu herunter und entpacke es erneut.
_________________ Gruß / Greetings, DSB
Teigwaren heißen Teigwaren, weil sie Teig waren.
Diejenigen, die lautstark darüber diskutieren, warum es nicht geht, mögen bitte jene nicht stören, die es gerade tun.
|
|
    |
 |
Capture
knows MySQLDumper

Joined: 16 May 2008
Posts: 3

|
Posted:
2008-05-17, 10:07 (No subject) |
  |
D A N K E !
Du hattest vollkommen recht. Wieso bin ich da nicht selber drauf gekommen.
Ich hab es mal verglichen, Original mit der angepassten Version.
Da stand an manchen Stellen Müll drin.. ka wie das passierte.
Aufjedenfall sieht es jetzt so aus^^
MySQLDumper - Perl CronDump [Version 1.23]
MySQLDumper - Perl CronDump [Version 1.23] started successfully
Configurationfile 'mysqldumper.conf.php' was loaded successfully from standard configuration .
Compression Library loaded successfully...
FTP Library loaded successfully...
Mail Library loaded successfully...
Characterset of connection set to latin1.
Searching for tables inside database `usr_web2_1`
37 tables have been optimized
Found 37 tables with 221 records.
Starting to dump data into file `usr_web2_1_2008_05_17_10_00.sql.gz`
Dumping table `e107_banlist`
.
....
.
1 inserted records (size of backupfile now: 47.46 KB)
.. Finished backup of database `usr_web2_1`.
sending mail ...
Mail was sent to marcelb@gmx.de successfully.
sending ftp to localhost ...
FTP-Transfer transferring `usr_web2_1_2008_05_17_10_00.sql.gz` to localhost was successful.
Crondump finished.
closing script 17.05.2008 10:01
total time used: 4 sec.
#EOS (End of script)
Vielen Dank nochmals^^
Zuerst hatte ich bedenken.. aber der Dumper gefällt mir immer besser.
Jetzt muss ich nur noch per
www.cronjob.de
den link
http://www.seite.de/cgi-bin/crondump.pl
aufrufen SUPI^^
Das non+ultra währe, wenn es noch FTP Daten packen und kopieren könnte ( Gesamtbackup ) lach
|
|
  |
 |
moepschen
Moderator

Age: 33
Joined: 21 Jan 2006
Posts: 809
Location: Frankfurt (Oder)

|
Posted:
2008-05-17, 10:16 (No subject) |
  |
Wenn du dies so per Cronjob aufrufen kannst, fehlt bei dir aber der Passwortschutz. Den legen wir dir aber sehr nahe!!! Ansonsten kann jeder der das Dumper-Verzeichnis findet, mit deiner DB und den darin enthaltenen Daten alles machen, was er will
« Capture » wrote:
Das non+ultra währe, wenn es noch FTP Daten packen und kopieren könnte ( Gesamtbackup ) lach
Das wird es aber nicht geben Einen entsprechenden Thread hatten wir aber schonmal Es gibt allerdings ein Progi was das kann. Nur halte ich pers. nichts davon, da so unmengen an Traffic entsteht.
_________________ MfG moepschen
|
|
    |
 |
|
|
CrackerTracker © 2004 - 2012 CBACK.de
Powered by Orion based on phpBB
© 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
All times are GMT + 2 Hours
phpBB SEO
|