Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Backup FTP Problem auf V server

    Nobody is reading this thread right now.

handyman1983

Hacker
Registriert
14. März 2010
Beiträge
444
Reaktionspunkte
30
Punkte
88
Hallo ,


hab ein Kleines Problem bei dem FTP Backup von einen VServer auf einen FTP Server.


Diese Einstellung funktoniert genau so auf ein Alix nur ebend nicht auf dem V Server:


#FTP-Backup -> benoetigt [apt-get install ncftp]
FTPSERVER='xxxxx.dyndns.org'
FTPPORT='21'
FTPDIR='/cs-server/vserver'
FTPUSER='User'
FTPPASS='pass'

die Einstellungen Läufen wie geschrieben.........

hier die Fehlermeldung auf dem V Server
root@vadmin44 ~ > ipc backup full f



IPC 11.2: Backup 20.03.2011 21:17
===============================================================================

Erstelle Fullbackup nach FTP..

FTP-Server Archivierung fehlgeschlagen, siehe LOG:
Backupscript : /var/emu/script/ipc-backup.sh
Startzeit : 2011-03-20 21:17
Parameter : 1=full, 2=f, 3=, 4=

:Backup LOKAL : Start -> 21:17:33
var/etc/
var/etc/oscam.server
var/etc/oscam.conf
var/etc/oscam.user
var/etc/CCcam.cfg
var/etc/newcs.xml
etc/crontab
etc/rc.local
root/.bashrc
var/emu/
var/emu/script/
var/emu/script/cccam-iac.sh
var/emu/script/ipc-help.txt
var/emu/script/ipc-update.sh
var/emu/script/cccam-is.sh
var/emu/script/ipc
var/emu/script/functions.sh
var/emu/script/ipc-os.sh
var/emu/script/cccam-cfgnl.sh
var/emu/script/oscam-services.sh
var/emu/script/ipc-smargo.sh
var/emu/script/oscam-version.sh
var/emu/script/oscam-watchdog.sh
var/emu/script/cccam-editor2php.sh
var/emu/script/cccam-changes.sh
var/emu/script/cccam-cfgn.sh
var/emu/script/oscam
var/emu/script/ipc-infophp.sh
var/emu/script/cccam-cfg.sh
var/emu/script/cccam-i.sh
var/emu/script/cccam-ir.sh
var/emu/script/cccam-help.txt
var/emu/script/cccam-watchdog.sh
var/emu/script/cccam-channelinfo.sh
var/emu/script/ipc-remove.sh
var/emu/script/oscam-srvid.sh
var/emu/script/cccam-tcp.sh
var/emu/script/cccam-version.sh
var/emu/script/ipc-tasks.sh
var/emu/script/ipc-set.sh
var/emu/script/ipc-usbreset.sh
var/emu/script/ipc-backup.sh
var/emu/script/oscam-help.txt
var/emu/script/cccam-crash.sh
var/emu/script/ipc-autostart.sh
var/emu/script/cccam-cfgnd.sh
var/emu/script/newcs-watchdog.sh
var/emu/script/newcs-help.txt
var/emu/script/ipc-jobs.sh
var/emu/script/cccam
var/emu/script/cccam-cfgh.sh
var/emu/script/newcs
var/emu/script/ipc-cfg.sh
var/emu/script/cccam-ic.sh
var/emu/script/cccam-providers.sh
var/emu/tools/
var/emu/tools/list_smargo
var/emu/oscam/
var/emu/oscam/oscam.x86_64
var/emu/tmp/
var/emu/tmp/infophp/
var/emu/tmp/infophp/!global/
var/emu/tmp/infophp/!global/nodeid.data
var/emu/tmp/infophp/!global/servers.data
var/emu/tmp/infophp/!global/ping.data
var/emu/tmp/infophp/localhost/
var/emu/tmp/infophp/localhost/shares.data
var/emu/tmp/infophp/localhost/download/
var/emu/tmp/infophp/localhost/download/shares.data
var/emu/tmp/infophp/localhost/download/activeclients.data
var/emu/tmp/infophp/localhost/download/servers.data
var/emu/tmp/infophp/localhost/download/entitlements.data
var/emu/tmp/infophp/localhost/download/clients.data
var/emu/tmp/infophp/localhost/download/caminfo.data
var/emu/tmp/infophp/localhost/activeclients.data
var/emu/tmp/infophp/localhost/clientusage.data
var/emu/tmp/infophp/localhost/online.data
var/emu/tmp/infophp/localhost/servers.data
var/emu/tmp/infophp/localhost/update.log
var/emu/tmp/infophp/localhost/entitlements.data
var/emu/tmp/infophp/localhost/clients.data
var/emu/tmp/infophp/localhost/notes/
var/emu/tmp/infophp/localhost/ECM.data
var/emu/tmp/infophp/localhost/pair.data
var/emu/tmp/infophp/localhost/country.data
var/emu/tmp/infophp/localhost/caminfo.data
var/emu/tmp/script/
var/emu/conf/
var/emu/conf/ipc.cfg
var/emu/conf/.webaccess
var/emu/conf/version
var/emu/help/
var/emu/help/CCcam.prio.Clientvorlage
var/emu/help/ddclient.conf.static
var/emu/help/oscam.hd+
var/emu/help/oscam.sky
var/emu/help/newcs.readme
var/emu/help/oscam.skyit
var/emu/help/CCcam.cfg
var/emu/help/newcs.xml
var/emu/cccam/
var/emu/cccam/ChangeLog
var/emu/cccam/CCcam.x86_64
var/emu/newcs/
var/emu/newcs/newcs.x86_64
var/keys/
var/keys/SoftCam.Key
var/keys/constant.cw
var/keys/AutoRoll.Key
var/keys/CCcam.channelinfo.old
var/keys/CCcam.providers.old
var/keys/CCcam.channelinfo
var/keys/SoftCam.Key.old
var/keys/CCcam.providers
var/keys/CCcam.prio
var/keys/AutoRoll.Key.old
var/www/ipc/
var/www/ipc/infophp/
var/www/ipc/infophp/readme.txt
var/www/ipc/infophp/providerstats.php
var/www/ipc/infophp/meniu.php
var/www/ipc/infophp/clientstats.php
var/www/ipc/infophp/CCcam_fake.providers
var/www/ipc/infophp/config.php
var/www/ipc/infophp/.htaccess
var/www/ipc/infophp/entitlementstats.php
var/www/ipc/infophp/node.php
var/www/ipc/infophp/getconfigserver.php
var/www/ipc/infophp/configserver.php
var/www/ipc/infophp/update.php
var/www/ipc/infophp/country.code
var/www/ipc/infophp/cron_ping.php
var/www/ipc/infophp/provider.php
var/www/ipc/infophp/nodestats.php
var/www/ipc/infophp/client.php
var/www/ipc/infophp/CCcam.channelinfo
var/www/ipc/infophp/CCcam_used.providers
var/www/ipc/infophp/pingAll.php
var/www/ipc/infophp/CCcam.providers
var/www/ipc/infophp/cccam.css
var/www/ipc/infophp/serverstats.php
var/www/ipc/infophp/profile.ini
var/www/ipc/infophp/common.php
var/www/ipc/infophp/pairstats.php
var/www/ipc/infophp/cron_update.php
var/www/ipc/infophp/server.php
var/www/ipc/infophp/index.php
var/www/ipc/infophp/cron_online.php
var/www/ipc/infophp/login.php
var/www/ipc/.htaccess
var/www/ipc/phpsysinfo/
var/www/ipc/phpsysinfo/ChangeLog
var/www/ipc/phpsysinfo/images/
var/www/ipc/phpsysinfo/images/Fedora.png
var/www/ipc/phpsysinfo/images/Arch.gif
var/www/ipc/phpsysinfo/images/FreeBSD.png
var/www/ipc/phpsysinfo/images/Rubix.png
var/www/ipc/phpsysinfo/images/Debian.png
var/www/ipc/phpsysinfo/images/Darwin.png
var/www/ipc/phpsysinfo/images/Slackware.png
var/www/ipc/phpsysinfo/images/Cobalt.png
var/www/ipc/phpsysinfo/images/lfs.png
var/www/ipc/phpsysinfo/images/Gentoo.png
var/www/ipc/phpsysinfo/images/PLD.gif
var/www/ipc/phpsysinfo/images/Trustix.gif
var/www/ipc/phpsysinfo/images/xp.gif
var/www/ipc/phpsysinfo/images/Ubuntu.gif
var/www/ipc/phpsysinfo/images/Mandrake.png
var/www/ipc/phpsysinfo/images/NetBSD.png
var/www/ipc/phpsysinfo/images/unknown.png
var/www/ipc/phpsysinfo/images/OpenBSD.png
var/www/ipc/phpsysinfo/images/CentOS.png
var/www/ipc/phpsysinfo/images/SunOS.png
var/www/ipc/phpsysinfo/images/Redhat.png
var/www/ipc/phpsysinfo/images/Suse.png
var/www/ipc/phpsysinfo/images/free-eos.png
var/www/ipc/phpsysinfo/images/index.html
var/www/ipc/phpsysinfo/COPYING
var/www/ipc/phpsysinfo/config.php
var/www/ipc/phpsysinfo/distros.ini
var/www/ipc/phpsysinfo/templates/
var/www/ipc/phpsysinfo/templates/typo3/
var/www/ipc/phpsysinfo/templates/typo3/images/
var/www/ipc/phpsysinfo/templates/typo3/images/bar_left.gif
var/www/ipc/phpsysinfo/templates/typo3/images/trans.gif
var/www/ipc/phpsysinfo/templates/typo3/images/bar_right.gif
var/www/ipc/phpsysinfo/templates/typo3/images/redbar_middle.gif
var/www/ipc/phpsysinfo/templates/typo3/images/redbar_left.gif
var/www/ipc/phpsysinfo/templates/typo3/images/redbar_right.gif
var/www/ipc/phpsysinfo/templates/typo3/images/bar_middle.gif
var/www/ipc/phpsysinfo/templates/typo3/images/index.html
var/www/ipc/phpsysinfo/templates/typo3/typo3.css
var/www/ipc/phpsysinfo/templates/typo3/box.tpl
var/www/ipc/phpsysinfo/templates/typo3/form.tpl
var/www/ipc/phpsysinfo/templates/typo3/index.html
var/www/ipc/phpsysinfo/templates/index.html
var/www/ipc/phpsysinfo/README
var/www/ipc/phpsysinfo/gfx/
var/www/ipc/phpsysinfo/index.php
var/www/ipc/phpsysinfo/phpsysinfo.dtd
var/www/ipc/phpsysinfo/includes/
var/www/ipc/phpsysinfo/includes/os/
var/www/ipc/phpsysinfo/includes/os/class.BSD.common.inc.php
var/www/ipc/phpsysinfo/includes/os/class.FreeBSD.inc.php
var/www/ipc/phpsysinfo/includes/os/class.NetBSD.inc.php
var/www/ipc/phpsysinfo/includes/os/class.Darwin.inc.php
var/www/ipc/phpsysinfo/includes/os/class.Linux.inc.php
var/www/ipc/phpsysinfo/includes/os/class.SunOS.inc.php
var/www/ipc/phpsysinfo/includes/os/class.HP-UX.inc.php
var/www/ipc/phpsysinfo/includes/os/class.OpenBSD.inc.php
var/www/ipc/phpsysinfo/includes/os/class.WINNT.inc.php
var/www/ipc/phpsysinfo/includes/os/class.parseProgs.inc.php
var/www/ipc/phpsysinfo/includes/os/index.html
var/www/ipc/phpsysinfo/includes/indicator.php
var/www/ipc/phpsysinfo/includes/system_footer.php
var/www/ipc/phpsysinfo/includes/class.error.inc.php
var/www/ipc/phpsysinfo/includes/system_header.php
var/www/ipc/phpsysinfo/includes/class.Template.inc.php
var/www/ipc/phpsysinfo/includes/lang/
var/www/ipc/phpsysinfo/includes/lang/fr.php
var/www/ipc/phpsysinfo/includes/lang/sv.php
var/www/ipc/phpsysinfo/includes/lang/no.php
var/www/ipc/phpsysinfo/includes/lang/pt-br.php
var/www/ipc/phpsysinfo/includes/lang/bg.php
var/www/ipc/phpsysinfo/includes/lang/gr.php
var/www/ipc/phpsysinfo/includes/lang/tw.php
var/www/ipc/phpsysinfo/includes/lang/it.php
var/www/ipc/phpsysinfo/includes/lang/hu.php
var/www/ipc/phpsysinfo/includes/lang/he.php
var/www/ipc/phpsysinfo/includes/lang/de.php
var/www/ipc/phpsysinfo/includes/lang/es.php
var/www/ipc/phpsysinfo/includes/lang/jp.php
var/www/ipc/phpsysinfo/includes/lang/lt.php
var/www/ipc/phpsysinfo/includes/lang/sk.php
var/www/ipc/phpsysinfo/includes/lang/ct.php
var/www/ipc/phpsysinfo/includes/lang/da.php
var/www/ipc/phpsysinfo/includes/lang/lv.php
var/www/ipc/phpsysinfo/includes/lang/ro.php
var/www/ipc/phpsysinfo/includes/lang/sr.php
var/www/ipc/phpsysinfo/includes/lang/cn.php
var/www/ipc/phpsysinfo/includes/lang/ar_utf8.php
var/www/ipc/phpsysinfo/includes/lang/id.php
var/www/ipc/phpsysinfo/includes/lang/ko.php
var/www/ipc/phpsysinfo/includes/lang/et.php
var/www/ipc/phpsysinfo/includes/lang/big5.php
var/www/ipc/phpsysinfo/includes/lang/nl.php
var/www/ipc/phpsysinfo/includes/lang/ja.php
var/www/ipc/phpsysinfo/includes/lang/cs.php
var/www/ipc/phpsysinfo/includes/lang/eu.php
var/www/ipc/phpsysinfo/includes/lang/ca.php
var/www/ipc/phpsysinfo/includes/lang/pa_utf8.php
var/www/ipc/phpsysinfo/includes/lang/pl.php
var/www/ipc/phpsysinfo/includes/lang/is.php
var/www/ipc/phpsysinfo/includes/lang/pt.php
var/www/ipc/phpsysinfo/includes/lang/en.php
var/www/ipc/phpsysinfo/includes/lang/tr.php
var/www/ipc/phpsysinfo/includes/lang/ru.php
var/www/ipc/phpsysinfo/includes/lang/fi.php
var/www/ipc/phpsysinfo/includes/lang/br.php
var/www/ipc/phpsysinfo/includes/lang/index.html
var/www/ipc/phpsysinfo/includes/xml/
var/www/ipc/phpsysinfo/includes/xml/hddtemp.php
var/www/ipc/phpsysinfo/includes/xml/memory.php
var/www/ipc/phpsysinfo/includes/xml/vitals.php
var/www/ipc/phpsysinfo/includes/xml/network.php
var/www/ipc/phpsysinfo/includes/xml/mbinfo.php
var/www/ipc/phpsysinfo/includes/xml/hardware.php
var/www/ipc/phpsysinfo/includes/xml/filesystems.php
var/www/ipc/phpsysinfo/includes/xml/index.html
var/www/ipc/phpsysinfo/includes/common_functions.php
var/www/ipc/phpsysinfo/includes/XPath.class.php
var/www/ipc/phpsysinfo/includes/mb/
var/www/ipc/phpsysinfo/includes/mb/class.hddtemp.inc.php
var/www/ipc/phpsysinfo/includes/mb/class.healthd.inc.php
var/www/ipc/phpsysinfo/includes/mb/class.mbmon.inc.php
var/www/ipc/phpsysinfo/includes/mb/class.lmsensors.inc.php
var/www/ipc/phpsysinfo/includes/mb/class.hwsensors.inc.php
var/www/ipc/phpsysinfo/includes/mb/class.mbm5.inc.php
var/www/ipc/phpsysinfo/includes/mb/index.html
var/www/ipc/phpsysinfo/includes/index.html
var/www/ipc/page/
var/www/ipc/page/images/
var/www/ipc/page/images/closelabel.gif
var/www/ipc/page/images/loading.gif
var/www/ipc/page/images/nextlabel.gif
var/www/ipc/page/images/logo.png
var/www/ipc/page/images/ssh_tunnel/
var/www/ipc/page/images/ssh_tunnel/bild003.jpg
var/www/ipc/page/images/ssh_tunnel/bild001.jpg
var/www/ipc/page/images/ssh_tunnel/bild005.jpg
var/www/ipc/page/images/ssh_tunnel/bild004.jpg
var/www/ipc/page/images/ssh_tunnel/putty1.png
var/www/ipc/page/images/ssh_tunnel/bild006.jpg
var/www/ipc/page/images/ssh_tunnel/bild002.jpg
var/www/ipc/page/images/ssh_tunnel/bild007.jpg
var/www/ipc/page/images/ssh_tunnel/putty5.png
var/www/ipc/page/images/ssh_tunnel/putty6.png
var/www/ipc/page/images/ssh_tunnel/putty4.png
var/www/ipc/page/images/ssh_tunnel/putty3.png
var/www/ipc/page/images/ssh_tunnel/putty2.png
var/www/ipc/page/images/slimbox.js
var/www/ipc/page/images/pixelspace.gif
var/www/ipc/page/images/logo.gif
var/www/ipc/page/images/back_ani2.gif
var/www/ipc/page/images/cube.gif
var/www/ipc/page/images/prevlabel.gif
var/www/ipc/page/images/debian-logo.png
var/www/ipc/page/images/arr.gif
var/www/ipc/page/images/favicon.ico
var/www/ipc/page/images/mootools.js
var/www/ipc/page/images/arr_ani.gif
var/www/ipc/page/menue.css
var/www/ipc/page/slimbox.css
var/www/ipc/page/tools.php
var/www/ipc/page/format.css
var/www/ipc/page/hilfe.php
var/www/ipc/page/cli.php
var/www/ipc/page/editor.php
var/www/ipc/page/links.php
var/www/ipc/page/consolenbefehle.csv
var/www/ipc/page/home.php
var/www/ipc/index.php
:Backup LOKAL : Ende -> 21:17:33

:Backup FTP : Start -> 21:17:33
...ps/ipc/full/IPC-Fullbackup-20110320_211733.tar.gz: 1.92 MB 646.21 kB/s
...ps/ipc/full/IPC-Fullbackup-20110320_211733.tar.gz: 1.92 MB 646.21 kB/s

-------------------------------------------------------------------------------
-------------------------------------------------------------------------------


Hat da jemand ne idee?
 
AW: Backup FTP Problem auf V server

Anhand des LOG's sieht man nicht wirklich wieso es ein Problem gibt...

Der jeweilige Befehl im Script, der nach " :Backup FTP : Start " aufgerufen wird sieht wie folgt aus:

ncftpput -m -u "$FTPUSER" -p "$FTPPASS" -P "$FTPPORT" "$FTPSERVER" "$FTPDIR" $BACKUPDIR/$BKPFILE2


Gib das vllt mal manuell ein, wobei $BACKUPDIR/$BKPFILE2 eben das File ist was übertragen werden soll, also zb:

ncftpput -m -u "ftpuser" -p "ftpuserPass" -P "21" "127.0.0.1" "/" /var/log/dmesg


...Versuchst du dich auf deinen FTP-Server zuhause zu verbinden also der hinter einem Router ist?
Welche Ports hast du dafür geöffnet? Weil für Passive-FTP musst du bei den meisten Routern mehr als nur Port 21 auf machen... Port 20 wäre zb für Aktive-FTP und für Passive brauchst du auchnoch ne gewisse Port-Range die du beim FTP-Server einstellen musst, also einen festgelegten Bereich für die Übertragung...
Es kommt auch vor das der LAN-FTP-Server für die Übertragung nicht die Internet-IP verwendet sondern die LAN-IP und das funktioniert dann ebenfals nicht...
 
AW: Backup FTP Problem auf V server

ncftpput -m -u "User" -p "pass" -P "21" "xxxx.dyndns.org" "/" /var/log/dmesg



Fehlermeldung

ncftpput /var/log/dmesg: server said: dmesg: Permission denied.



Das Komische ist das er das backup ja bei mir zu hause auf dem FTP Server ablegt !

nur die Ausgabe beim testen ergibt immer wieder diese fehlermeldung
IPC 11.2: Backup 21.03.2011 10:44
===============================================================================

Erstelle Fullbackup nach FTP..

FTP-Server Archivierung fehlgeschlagen, siehe LOG:
Backupscript : /var/emu/script/ipc-backup.sh
Startzeit : 2011-03-21 10:44
Parameter : 1=full, 2=f, 3=, 4=
 
AW: Backup FTP Problem auf V server

mmh aber die Zeile haste scho als root eingegeben?
Und das du auf dem FTP-Server auf / auch alle nötigen rechte hast, ist sicher? ;)


Wenn die rechte etc passen dann mach mal bitte folgendes (aber nur dann!)

nano /var/emu/script/ipc-backup.sh

such (strg+w) dort nach dem Eintrag: MB/s
und änder das mal in: kB/s
 
AW: Backup FTP Problem auf V server

mmh komisch - bei mir hat das auch mit MB/s funktioiert obwohl ich nur UMTS habe also 24.18 kB/s zeigte er mir an...

Damit guckt es nur ob " MB/s " im log auftaucht und wenn sie das nicht tut scheint der upkoad fehlgeschlagen zu sein..

Ich hab mir den "bug" mal notiert... in der nächsten IPC Version sollte das dann behoben sein...
 
Zuletzt bearbeitet:
Zurück
Oben