Amanda-Users

Re: Cyrillic support for index files

2006-06-09 11:35:48
Subject: Re: Cyrillic support for index files
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 9 Jun 2006 10:28:46 -0400
On Fri, Jun 09, 2006 at 02:22:38PM +0700, å×ÇÅÎÉÊ à óÏÓÕÎÏ× wrote:
> Good day!
> 
> Sorry for my English.
> 
> I have installed and configured amanda.
> 
...
> 
> After that I modify ENVIRONMENT Variable "LANG" in crontab of amanda user.
> But amdump which create index files still not working correctly. And create
> index file like /\356\317\327\301\321 \320\301\320\313\301/
> /\356\317\327\301\321 \320\301\320\313\301 (2)/
> ... and e.t.c.
> 
> Have you any suggestions how to decide this problem? May be I can set
> Variable "LANG" in amdump? How to do this?

The whole world should convert to american english,
then we wouldn't have these problems :))

I suspect that changes in the crontab are ineffective because
of the server/client nature of amanda.  It is not amdump on
the server that starts the tar commands, but the children of
amandad started from the {x}inetd daemon.

Most systems have a way to set the default "LC" environment
variables (of which LANG is one) during boot, certainly before
the network and inet is started.  Perhaps this needs to be
set on your hosts.

Alternatively, and I don't know that this is allowed, in your
{x}inetd config where it specifies the amandad command, you
might be able to specify it like:

   LANG=XXX /pathto/amandad

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>