MySQLDumper-Board Forum Index Follow me on Twitter

Portal  •   Forum  •  Downloads  •  Profile  •  Search   •  Register  •  Log in to check your private messages  •  Log in  •  


 Perl-Cronskipt manuell funktionsfähig - automatisch NICHT

Post new topicReply to topic
Author Message
Swissgen
knows MySQLDumper
knows MySQLDumper





Joined: 22 Sep 2011
Posts: 2


germany.gif

PostPosted: 2011-09-22, 04:18    Perl-Cronskipt manuell funktionsfähig - automatisch NICHT Reply with quoteBack to top

Hallo Zusammen,

Tut mir Leid, aber ich komme mit Goggle und Forumsuche nicht zum Ziel.

Ich habe MSD und das Perl-Script nach den Vorgaben aus Installationsanleitung und Forenbeiträgen (cgi-bin/, MIME::Lite, Format.pm = alles erschlagen) installiert.

Wenn ich jetzt im Menu "Backup Perl" "Perl-Cronskipt ausführen" aufrufe erhalte ich das gewünschte Ergebnis. Daten gesichert und gepackt an die korrekte Email-Adresse geschickt.

Wenn ich das ganze als Cronjob einrichte erhalte ich ne Email meines Anbieters ohne Anhang:
Quote:

MySQLDumper - Perl CronDump [Version 1.24.4] started successfully (using perl v5.10.0)
Configuration 'mysqldumper.conf.php' loaded successfully from standard configuration.
Compression Library loaded successfully...
FTP Library loaded successfully...
FTP-SSL Library loading failed - FTP-SSL deactivated ...
Mail Library loading failed - Mail deactivated ...
Starting backup using Perlscript version 1.24.4 (using perl v5.10.0)
...


Weil ich kaum Ahnung von Programmierung habe und nicht dahinter komme woran es liegen könnte wäre ich für jegliche Hilfe extrem dankbar.

LG aus der Schweiz
Ingo

OfflineView user's profileSend private message    
Anzeigen











Posted:    Anzeigen Back to top


    
Jens_K
Moderator
Moderator




Age: 37
Joined: 04 Sep 2007
Posts: 1710
Location: Nähe Bielefeld


germany.gif

PostPosted: 2011-09-22, 09:03    (No subject) Reply with quoteBack to top

Steht denn nach dem ausgeführten Cronjob etwas im Perl Complete Log des Dumpers?
_________________
It's like math-camp all over again ... not ... that i've ever been to math-camp!
mein Blog

OfflineView user's profileSend private messageVisit poster's website    
DSB
Developer
Developer




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


germany.gif

PostPosted: 2011-09-22, 15:31    (No subject) Reply with quoteBack to top

Wenn es nach den 3 Punkten aufhört, dann hat ein Perl-Timeout das Script abgebrochen.
_________________
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.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Jens_K
Moderator
Moderator




Age: 37
Joined: 04 Sep 2007
Posts: 1710
Location: Nähe Bielefeld


germany.gif

PostPosted: 2011-09-22, 19:32    (No subject) Reply with quoteBack to top

Läuft der Cronjob evtl. über einen kostenlosen Anbieter wie cronjob.de?
Evtl. sind dort je nach Tarif die Timeout-Zeiten etwas restriktiv eingestellt ...

_________________
It's like math-camp all over again ... not ... that i've ever been to math-camp!
mein Blog

OfflineView user's profileSend private messageVisit poster's website    
Swissgen
knows MySQLDumper
knows MySQLDumper





Joined: 22 Sep 2011
Posts: 2


germany.gif

PostPosted: 2011-09-22, 23:40    (No subject) Reply with quoteBack to top

Hallo Zusammen,
der vollständigkeit halber das komplette Perl Complete Log:

1. automatisch per Cronjob
Quote:

20.09.2011 23:01:27 Configuration 'mysqldumper.conf.php' loaded successfully from Querystring.
20.09.2011 23:01:27 Compression Library loaded successfully...
20.09.2011 23:01:27 FTP Library loaded successfully...
20.09.2011 23:01:27 FTP-SSL Library loading failed - FTP-SSL deactivated ...
20.09.2011 23:01:27 Mail Library loading failed - Mail deactivated ...
20.09.2011 23:01:27 Starting backup using Perlscript version 1.24.4 (using perl v5.10.0)
20.09.2011 23:01:27 Starting to backup database `usr_web...` (1/1).
20.09.2011 23:01:27 Characterset of connection and backup file set to utf8.
20.09.2011 23:01:27 Searching for tables inside database `usr_web...`.
20.09.2011 23:01:27 Optimizing tables:
20.09.2011 23:01:27 Table 1 `jos_aps_options` optimized successfully.
.... usw.
20.09.2011 23:01:28 69 tables have been optimized
20.09.2011 23:01:28 Found 69 tables with 20873 records.
20.09.2011 23:01:28 Starting to dump data into file `usr_web..._1_2011_09_20_23_01.sql.gz`
20.09.2011 23:01:28 Dumping table `jos_aps_options` (Type MyISAM):
20.09.2011 23:01:28 1 inserted records (size of backupfile: 1.57 KB)
.... usw.
Finished backup of database `usr_web...`.
20.09.2011 23:01:29 Starting autodelete function: Keep the latest 3 backup files for each database and delete older ones.
20.09.2011 23:01:29 No file to delete.
20.09.2011 23:01:29 Everythings is done: closing script 20.09.2011 23:01:29
20.09.2011 23:01:29 total time used: 2 sec.
20.09.2011 23:01:29 #EOS (End of script)


2. manuell ausgelöst über "Perl-Cronskipt ausführen"
Quote:

22.09.2011 23:31:05 Configuration 'mysqldumper.conf.php' loaded successfully from Querystring.
22.09.2011 23:31:05 Compression Library loaded successfully...
22.09.2011 23:31:05 FTP Library loaded successfully...
22.09.2011 23:31:05 FTP-SSL Library loading failed - FTP-SSL deactivated ...
22.09.2011 23:31:05 Mail Library loaded successfully...
22.09.2011 23:31:05 Starting backup using Perlscript version 1.24.4 (using perl v5.10.0)
22.09.2011 23:31:05 Starting to backup database `usr_web...` (1/1).
22.09.2011 23:31:05 Characterset of connection and backup file set to utf8.
22.09.2011 23:31:05 Searching for tables inside database `usr_web...`.
22.09.2011 23:31:05 Optimizing tables:
22.09.2011 23:31:05 Table 1 `jos_aps_options` optimized successfully.
.... usw.
22.09.2011 23:31:05 69 tables have been optimized
22.09.2011 23:31:05 Found 69 tables with 20775 records.
22.09.2011 23:31:05 Starting to dump data into file `usr_web..._2011_09_22_23_31.sql.gz`
22.09.2011 23:31:05 Dumping table `jos_aps_options` (Type MyISAM):
22.09.2011 23:31:05 1 inserted records (size of backupfile: 1.56 KB)
.... usw.
Finished backup of database `usr_web...`.
22.09.2011 23:31:07 Sending E-Mail ...
22.09.2011 23:31:07 E-Mail with backup usr_..._1_2011_09_22_23_31.sql.gz sent successfully.
22.09.2011 23:31:07 Recipient/s: swiss.genealogy@....ch
22.09.2011 23:31:07 Starting autodelete function: Keep the latest 3 backup files for each database and delete older ones.
22.09.2011 23:31:08 Autodelete: old backup file usr_web..._1_2011_09_22_03_50.sql.gz deleted.
22.09.2011 23:31:08 Everythings is done: closing script 22.09.2011 23:31:08
22.09.2011 23:31:08 total time used: 4 sec.
22.09.2011 23:31:08 #EOS (End of script)


Der Cronjob läuft über meinen Anbieter spacequadrat.de - nicht extern.

Wenn das Skript in 2 bis 4 Sekunden abgeschlossen ist, kann es dann an einem Perl-Timeout liegen?

LG
Ingo

OfflineView user's profileSend private message    
DSB
Developer
Developer




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


germany.gif

PostPosted: 2011-09-23, 00:31    (No subject) Reply with quoteBack to top

Also läuft alles einwandfrei und Dein einziges Problem ist, dass der E-Mail-Versand nicht funktioniert wenn das Skript per Cronjob aufgerufen wird.
Bitte Deinen Hoster Mime::lite richtig zu installieren.

_________________
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.

OfflineView user's profileSend private messageSend e-mailVisit poster's website    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts Perl Backup immer Error 404 luckyheiko Fehler / Probleme 6 2012-05-23, 10:06 View latest post
No new posts Installation klappt nicht zanu Fehler / Probleme 11 2012-05-17, 10:19 View latest post
No new posts Cronjobs funktionieren plötzlich nich... Anselm Gelöst/Erledigt 12 2012-05-16, 09:01 View latest post
No new posts Auswahl "Alle Datenbanken" ... Massa MySQLDumper 1.24 8 2012-05-02, 09:52 View latest post
No new posts Einträge/Dateigröße verändert sich ni... ck1 Fehler / Probleme 1 2012-04-13, 17:24 View latest post

 
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