Hello, * When I am running a backup bash file under cron, I get lots of messages like the following: rsync: recv_generator: failed to stat "/mnt/tmp/backup/museum/documenten/secretariaat/vrijwilligers/medewerkersboek en poster/losse foto's medewerkers/oude foto's medewerkers die we willen bewaren/wienk, ari\#303\#253l .jpg": Invalid or incomplete multibyte or wide character (84) If I rerun the same file from my command shell, I get none of these. I suspect that one of my variables makes the difference, but has anyone an idea, where to look? There are so many of them... -- joop gerritse M?hlenstra?e 11 D-47546 Kalkar-Wissel Germany +49-2824-971487 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20120503/cec1f6d3/attachment.html>
josephj at main.nc.us
2012-May-03 18:18 UTC
Getting messages "failed to stat" only in cron execution
No, but a couple of things that I would look at (that you probably already did) : 1) Since rsync handles embedded blanks in paths, it probably also works for embedded single quotes, but I'd verify that. 2) Are \#303\#253 valid characters (especially on the host that's generating the error message - if you're running your rsync across hosts, maybe your local host understands something the remote one doesn't)? I don't remember where I saw it, but I think rsync has an option for recoding things on the fly from one character set to another if that's the problem. HTH Joe> Hello, * > > When I am running a backup bash file under cron, I get lots of messages > like > the following: > > rsync: recv_generator: failed to stat > "/mnt/tmp/backup/museum/documenten/secretariaat/vrijwilligers/medewerkersboek > en poster/losse foto's medewerkers/oude foto's medewerkers die we willen > bewaren/wienk, ari\#303\#253l .jpg": Invalid or incomplete multibyte or > wide > character (84) > > If I rerun the same file from my command shell, I get none of these. > > I suspect that one of my variables makes the difference, but has anyone an > idea, where to look? There are so many of them... > > -- > joop gerritse > M?hlenstra?e 11 > D-47546 Kalkar-Wissel > Germany > +49-2824-971487 > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Wayne Davison
2012-May-05 15:46 UTC
Getting messages "failed to stat" only in cron execution
On Thu, May 3, 2012 at 10:17 AM, joop g <jjge at xs4all.nl> wrote:> ** > > Invalid or incomplete multibyte or wide character (84) >That looks like an OS error. Are you using a file system that rejects invalid character sequences (OS X systems usually have this)? Check your environment variables for differences relating to character sets and rsync's iconv option (such as RSYNC_ICONV). ..wayne.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20120505/9715921b/attachment.html>
Possibly Parallel Threads
- Does anyone know why sometimes a PDC appears in the Network neigborhood, and sometimes it doesn't?
- I changed smb.conf, but nothing seems to happen!
- backup to NTFS USB disk
- net use h: /home syntax?
- I still don't understand it-- what is the relation between cause and effect?