Error FTP Upload
Posted: Sat Jul 09, 2016 8:01 pm
Hi all,
the FTP section is filled in correctly and the test in the webinterface works: A file was created.
But the automated transfer of files via FTP does not work. There is an error in the eventlog:
Jul 9 19:05:22 meteohub-rpi logger: ncftpput: Could not change to directory /var/run/meteohub/uploads/clientraw.txt: server said: Failed to change directory.
The files are correctly in /var/run/meteohub/uploads/clientraw.txt
---
root@meteohub-rpi:/var/run/meteohub/uploads# ls -l
total 20
-rw-r--r-- 1 root root 410 Jul 9 19:57 clientraw.txt
-rw-r--r-- 1 root root 913 Jul 9 19:30 clientrawdaily.txt
-rw-r--r-- 1 root root 1618 Jul 9 19:45 clientrawextra.txt
-rw-r--r-- 1 root root 1350 Jul 9 19:57 clientrawhour.txt
-rw-r--r-- 1 root root 2753 Jul 9 19:57 mwlive.xml
---
My page of System Information:
---
Software
Linux Kernel: 3.18.8 2000 BogoMIPS, 949 MB RAM, Raspberry PI Model 2
MeteoHub: 5.0q (Build 177) ©2015 by smartbedded UG (haftungsbeschränkt)
System-ID: Cs5@ac03 aktiviert
Speicherplatz
Medium: 00000 01/2016 0xf4f85d8c (0.12 rounds)
Swap: 0MB von 127MB belegt (0%)
System: 1337MB von 1641MB belegt (81%)
Daten: 50MB von 28071MB belegt (0%)
Datum und Zeit
Weltzeit: 09.07.2016 17:55:20
Zeitzone: Europe/Berlin
Ortszeit: 09.07.2016 19:55:20
Laufzeit: 2 hours, 28 minutes
Systemlast: 0.11, 0.08, 0.05
Prozesse
Wetterdatenneuberechnung: abgeschlossen
Wetterdatenerfassung: läuft (letzter Datensatz: 1 sec)
SSH Login: läuft
SMB Netzwerkfreigabe: läuft
Zeitsynchronisation: läuft
---
This is the full log:
---
Jul 9 19:05:22 meteohub-rpi logger: ncftpput: Could not change to directory /var/run/meteohub/uploads/clientraw.txt: server said: Failed to change directory.
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11154]: (root) CMD (/bin/pidof histeval0 || /usr/bin/nice /home/meteohub/histeval0)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11155]: (root) CMD (sleep 20; [ -z "`ls /var/run/meteohub/uploads/`" ] || [ -n "`/bin/pidof /usr/bin/ncftpput`" ] || /usr/bin/ncftpput -S .tmp -R -V -DD -u "myusername" -p 'mypassword -P 21 my.server /var/run/meteohub/uploads/* 2>&1 | /usr/bin/logger)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11157]: (root) CMD (sleep 8; /srv/www/meteohtml.cgi /home/meteohub/clientrawhour.conf >/var/run/meteohub/clientrawhour.out; cp /var/run/meteohub/clientrawhour.out /var/run/meteohub/perm/clientrawhour.txt; mv /var/run/meteohub/clientrawhour.out "/var/run/meteohub/uploads/clientrawhour.txt")
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11158]: (root) CMD (sleep 0; /srv/www/meteohtml.cgi /home/meteohub/mwlive.conf >/var/run/meteohub/mwlive.out; cp /var/run/meteohub/mwlive.out /data/myweb/uploads/mwlive.xml; mv /var/run/meteohub/mwlive.out "/var/run/meteohub/uploads/mwlive.xml")
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11156]: (root) CMD (([ -n "`/bin/pidof thttpd`" ] && [ -n "`/bin/pidof thttpdbackup`" ]) || rcthttpd restart)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11160]: (root) CMD (sleep 0; /srv/www/meteohtml.cgi /home/meteohub/clientraw.conf >/var/run/meteohub/clientraw.out; cp /var/run/meteohub/clientraw.out /var/run/meteohub/perm/clientraw.txt; mv /var/run/meteohub/clientraw.out "/var/run/meteohub/uploads/clientraw.txt")
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11166]: (root) CMD (/bin/pidof wswinimport || /usr/bin/nice /home/meteohub/wswinimport 2>>/data/log/messages)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11167]: (root) CMD (/bin/cat /proc/uptime >/home/meteohub/alive)
Jul 9 19:06:22 meteohub-rpi logger: ncftpput: Could not change to directory /var/run/meteohub/uploads/clientraw.txt: server said: Failed to change directory.
Jul 9 19:06:38 meteohub-rpi thttpd[5335]: spawned CGI process 11194 for file 'cgi-bin/meteohub.cgi'
Jul 9 19:06:40 meteohub-rpi thttpd[5335]: spawned CGI process 11227 for file 'cgi-bin/meteohub.cgi'
Jul 9 19:06:43 meteohub-rpi thttpd[5335]: spawned CGI process 11260 for file 'cgi-bin/meteohub.cgi'
Jul 9 19:06:47 meteohub-rpi thttpd[5335]: spawned CGI process 11293 for file 'cgi-bin/meteohub.cgi'
---
Could someone give me a hint, please?
Thanks!
//edit: I have just install all available linux-update (apt-get upgrade). But this does not help, too.
the FTP section is filled in correctly and the test in the webinterface works: A file was created.
But the automated transfer of files via FTP does not work. There is an error in the eventlog:
Jul 9 19:05:22 meteohub-rpi logger: ncftpput: Could not change to directory /var/run/meteohub/uploads/clientraw.txt: server said: Failed to change directory.
The files are correctly in /var/run/meteohub/uploads/clientraw.txt
---
root@meteohub-rpi:/var/run/meteohub/uploads# ls -l
total 20
-rw-r--r-- 1 root root 410 Jul 9 19:57 clientraw.txt
-rw-r--r-- 1 root root 913 Jul 9 19:30 clientrawdaily.txt
-rw-r--r-- 1 root root 1618 Jul 9 19:45 clientrawextra.txt
-rw-r--r-- 1 root root 1350 Jul 9 19:57 clientrawhour.txt
-rw-r--r-- 1 root root 2753 Jul 9 19:57 mwlive.xml
---
My page of System Information:
---
Software
Linux Kernel: 3.18.8 2000 BogoMIPS, 949 MB RAM, Raspberry PI Model 2
MeteoHub: 5.0q (Build 177) ©2015 by smartbedded UG (haftungsbeschränkt)
System-ID: Cs5@ac03 aktiviert
Speicherplatz
Medium: 00000 01/2016 0xf4f85d8c (0.12 rounds)
Swap: 0MB von 127MB belegt (0%)
System: 1337MB von 1641MB belegt (81%)
Daten: 50MB von 28071MB belegt (0%)
Datum und Zeit
Weltzeit: 09.07.2016 17:55:20
Zeitzone: Europe/Berlin
Ortszeit: 09.07.2016 19:55:20
Laufzeit: 2 hours, 28 minutes
Systemlast: 0.11, 0.08, 0.05
Prozesse
Wetterdatenneuberechnung: abgeschlossen
Wetterdatenerfassung: läuft (letzter Datensatz: 1 sec)
SSH Login: läuft
SMB Netzwerkfreigabe: läuft
Zeitsynchronisation: läuft
---
This is the full log:
---
Jul 9 19:05:22 meteohub-rpi logger: ncftpput: Could not change to directory /var/run/meteohub/uploads/clientraw.txt: server said: Failed to change directory.
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11154]: (root) CMD (/bin/pidof histeval0 || /usr/bin/nice /home/meteohub/histeval0)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11155]: (root) CMD (sleep 20; [ -z "`ls /var/run/meteohub/uploads/`" ] || [ -n "`/bin/pidof /usr/bin/ncftpput`" ] || /usr/bin/ncftpput -S .tmp -R -V -DD -u "myusername" -p 'mypassword -P 21 my.server /var/run/meteohub/uploads/* 2>&1 | /usr/bin/logger)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11157]: (root) CMD (sleep 8; /srv/www/meteohtml.cgi /home/meteohub/clientrawhour.conf >/var/run/meteohub/clientrawhour.out; cp /var/run/meteohub/clientrawhour.out /var/run/meteohub/perm/clientrawhour.txt; mv /var/run/meteohub/clientrawhour.out "/var/run/meteohub/uploads/clientrawhour.txt")
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11158]: (root) CMD (sleep 0; /srv/www/meteohtml.cgi /home/meteohub/mwlive.conf >/var/run/meteohub/mwlive.out; cp /var/run/meteohub/mwlive.out /data/myweb/uploads/mwlive.xml; mv /var/run/meteohub/mwlive.out "/var/run/meteohub/uploads/mwlive.xml")
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11156]: (root) CMD (([ -n "`/bin/pidof thttpd`" ] && [ -n "`/bin/pidof thttpdbackup`" ]) || rcthttpd restart)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11160]: (root) CMD (sleep 0; /srv/www/meteohtml.cgi /home/meteohub/clientraw.conf >/var/run/meteohub/clientraw.out; cp /var/run/meteohub/clientraw.out /var/run/meteohub/perm/clientraw.txt; mv /var/run/meteohub/clientraw.out "/var/run/meteohub/uploads/clientraw.txt")
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11166]: (root) CMD (/bin/pidof wswinimport || /usr/bin/nice /home/meteohub/wswinimport 2>>/data/log/messages)
Jul 9 19:06:01 meteohub-rpi /USR/SBIN/CRON[11167]: (root) CMD (/bin/cat /proc/uptime >/home/meteohub/alive)
Jul 9 19:06:22 meteohub-rpi logger: ncftpput: Could not change to directory /var/run/meteohub/uploads/clientraw.txt: server said: Failed to change directory.
Jul 9 19:06:38 meteohub-rpi thttpd[5335]: spawned CGI process 11194 for file 'cgi-bin/meteohub.cgi'
Jul 9 19:06:40 meteohub-rpi thttpd[5335]: spawned CGI process 11227 for file 'cgi-bin/meteohub.cgi'
Jul 9 19:06:43 meteohub-rpi thttpd[5335]: spawned CGI process 11260 for file 'cgi-bin/meteohub.cgi'
Jul 9 19:06:47 meteohub-rpi thttpd[5335]: spawned CGI process 11293 for file 'cgi-bin/meteohub.cgi'
---
Could someone give me a hint, please?
Thanks!
//edit: I have just install all available linux-update (apt-get upgrade). But this does not help, too.