MySQLDumper-Board Forum Index Follow me on Twitter

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


 FTP-ERROR im Cronjob.

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





Joined: 10 Nov 2008
Posts: 3


germany.gif

PostPosted: 2008-11-10, 23:37    FTP-ERROR im Cronjob. Reply with quoteBack to top

Hallo zusammen,

ich habe dem MySQLdumper (v. 1.22) installiert, konfiguriert und es funktioniert alles soweit bis auf den FTP-Transfer über Perl. Über PHP funktioniert alles wunderbar, auch der FTP File-Transfer. Wenn ich aber den Cron-Job aufrufe wird nur das Backup erstellt, bei dem FTP-Transfer bekomme ich eine Fehlermeldung:

sending ftp ...
Perl Cronscript ERROR: FTP-ERROR: Can't connect: Net::FTP: Bad protocol 'tcp'

Was kann es sein?

Gruß Eduard.

_________________
www.eduard-foto.com

OfflineView user's profileSend private messageVisit poster's website    
Anzeigen











Posted:    Anzeigen Back to top


    
Dirkb
knows MySQLDumper
knows MySQLDumper





Joined: 09 Nov 2008
Posts: 8


blank.gif

PostPosted: 2008-11-11, 15:06    (No subject) Reply with quoteBack to top

Hast du mal geguckt, ob die Funktion installiert ist?
[Backup] => [Backup PERL] => [Perl-Module testen]

Vllt. liegt ja hier schon der Fehler.

OfflineView user's profileSend private message    
marewa
knows MySQLDumper
knows MySQLDumper





Joined: 10 Nov 2008
Posts: 3


germany.gif

PostPosted: 2008-11-11, 18:54    (No subject) Reply with quoteBack to top

Ja, die PERL Module funktionieren, zumindest sagt der PERL-Test es.
Das PERL-Backup funktioniert auch, es wird auch eine Backup Datei auf dem Homepage-Server angelegt nur die anschliessende FTP-Übertragung auf einen anderen WEB Server schlägt Fail.

Gruß Eduard.

_________________
www.eduard-foto.com

OfflineView user's profileSend private messageVisit poster's website    
moepschen
Moderator
Moderator




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


germany.gif

PostPosted: 2008-11-12, 13:12    (No subject) Reply with quoteBack to top

Quote:
sending ftp ...
Perl Cronscript ERROR: FTP-ERROR: Can't connect: Net::FTP: Bad protocol 'tcp'


Diese Fehlermeldung sagt eindeutig aus, das das Modul fehlt. Daher kann diese Aussage:
« marewa » wrote:
Ja, die PERL Module funktionieren, zumindest sagt der PERL-Test es.
Das PERL-Backup funktioniert auch, es wird auch eine Backup Datei auf dem Homepage-Server angelegt nur die anschliessende FTP-Übertragung auf einen anderen WEB Server schlägt Fail.


nicht stimmen. Überprüfe noch mal per "Perl Module testen" ob, auch unter der Zeile
Quote:
testing Net::FTP (needed if you want to transfer backups to another server)...
keine Fehlermeldung steht! Denn da wird bei dir eine rote Zeile(was ein Fehler bedeutet) stehen.

_________________
MfG moepschen

OfflineView user's profileSend private messageSend e-mailMSN Messenger    
marewa
knows MySQLDumper
knows MySQLDumper





Joined: 10 Nov 2008
Posts: 3


germany.gif

PostPosted: 2008-11-12, 22:44    (No subject) Reply with quoteBack to top

Hallo,

ich teste PERL:
Backup -> Backup PERL -> Perl-Module testen :
-----------------------------------
....
teste Net::FTP ...
Net::FTP ist installiert.
....
-----------------------------------

Teste die FTP Verbindung:
Konfiguration -> FTP -> Verbindung testen:
----------------------------------
.....
Login ok
Wechsle in das Verzeichnis `/wsc107947525/mysql_backup/` ...

Die Verbindung wurde erfolgreich hergestellt.
.......
----------------------------------

Führe PERL Backup aus:
Backup -> Backup PERL -> Perl-Cronscript ausführen:
---------------------------------
.....
Backup of Database `usr_web503_1` complete.
sending ftp ...
Perl Cronscript ERROR: FTP-ERROR: Can't connect: Net::FTP: Bad protocol 'tcp'
.....
----------------------------------
Hat noch jemand eine Idee?

Gruß Eduard.

_________________
www.eduard-foto.com

OfflineView user's profileSend private messageVisit poster's website    
moepschen
Moderator
Moderator




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


germany.gif

PostPosted: 2008-11-13, 10:19    (No subject) Reply with quoteBack to top

Ich glaube, nun muß DSB ran Smile denn jetzt kommt der Bereich, wo ich mich auch nicht auskenne

Oder du probierst wahlweise mal die aktuelle 1.23...vielleicht geht es ja da Smile

_________________
MfG moepschen

OfflineView user's profileSend private messageSend e-mailMSN Messenger    
js2002
uses MSD regulary
uses MSD regulary





Joined: 09 Jan 2012
Posts: 20


blank.gif

PostPosted: 2012-02-03, 18:14    (No subject) Reply with quoteBack to top

Perl Cronscript ERROR: FTP-ERROR: Can't connect: Net::FTP: Bad protocol 'tcp'

hab ich auch, obwohl das ftp modul ohne ssl geht

OfflineView user's profileSend private message    
DSB
Developer
Developer




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


germany.gif

PostPosted: 2012-02-03, 19:15    (No subject) Reply with quoteBack to top

Hast Du im Serverfeld http:// angegeben?
Gib kein Protokoll an sondern nur die Server-Adresse.

_________________
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    
js2002
uses MSD regulary
uses MSD regulary





Joined: 09 Jan 2012
Posts: 20


blank.gif

PostPosted: 2012-02-03, 19:32    (No subject) Reply with quoteBack to top

hab ich schon immer so:
chefsache.bplaced.net geht nicht beim Test
localhost, funzt beim Test


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 Net::FTPSSL (needed if you want to transfer backups to another server with ssl encryption)...
Error: modul Net::FTPSSL not found! crondump.pl can't transfer data via FTP with ssl encryption.

OfflineView user's profileSend private message    
DSB
Developer
Developer




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


germany.gif

PostPosted: 2012-02-03, 19:54    (No subject) Reply with quoteBack to top

Dann erlaubt der Hoster eventuell keine vom Web-Server ausgehenden FTP-Connection.
_________________
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    
js2002
uses MSD regulary
uses MSD regulary





Joined: 09 Jan 2012
Posts: 20


blank.gif

PostPosted: 2012-02-03, 20:08    (No subject) Reply with quoteBack to top

Das kann sein. Ich hab mal nachgefragt.

Hab nen Hinweis für Euch.
Hab MIME::lite ins cgi-bin gepackt und den pfad in der crondump angegeben. Nun funzt die email lib laut crondump
"Mail Library loaded successfully..."
Es wird trotzdem keine Mail versendet da:

Finished backup of database `usr_web178_1`.
Sending E-Mail ...
Content-type: text/html
Software error:

Can't locate Email/Date/Format.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl . /var/www/web178/html/cgi-bin) at /var/www/web178/html/cgi-bin/MIME/Lite.pm line 1100.

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.


Außerdem ist es strange, dass der Perl Module Test sagt "testing MIME::Lite (needed if you want to send backups via email)...
Error: modul MIME::Lite not found!
crondump.pl can't send emails! Option will automatically be deactivated. Install Mime::Lite in order to send emails! "

der crondump sagt aber das gegenteil.

EDIT: ok EMail pm oder wie das heisst nachinstallieren!
trotzdem sagen die 2 programme unterschiedliches...

EDIT2: Wenn ich MIME in den msd cron folder packe funzt auch der perl test und wird grün.

OfflineView user's profileSend private message    
Display posts from previous:      
Post new topicReply to topic


 Jump to:   


Show permissions
Similar topics
Topic Author Forum Replies Posted
No new posts Backup Error Vengeance66 Errors and questions 4 2012-04-02, 16:52 View latest post
No new posts MySQL-ERROR / nach phpmyadmin passwor... stone_22 MySQLDumper 1.24 4 2012-03-31, 00:40 View latest post
No new posts Error beim wiederherstellen der Daten... nefertia Errors and questions 4 2012-03-28, 18:59 View latest post
No new posts Error 500 .... femu MySQLDumper 1.24 12 2012-03-26, 11:57 View latest post
No new posts Cronjob macht Probleme infinity Fehler / Probleme 12 2012-03-22, 15:38 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