TSM with UTF-8 characters

I’ve had some trouble getting Tivoli Storage Manager to work on my Ubuntu Hardy installation. The problem seems to have been with non-ascii characters (in my case Swedish characters)

The typical error messages I see are:

ANS1228E Sending of object '/foo/räksmörgås' failed
ANS4042E Object name '/foo/räksmörgås' contains one or more unrecognised characters and is not valid.

Many people have suggested different things to set the various locale-related environment variables (LANG, LC_ALL, LC_CTYPE et. al.) to, but none helped in my case.

Finally I found the page at http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/ibm-tsm-13/tsm-server-and-ba-client-support-for-ubuntu-88803/ which suggested I run the command

sudo locale-gen en_US

This is because Ubuntu doesn’t install none-utf8 locales by default. This turned out to be a winner, since I could now set LANG=en_US and run my dsmc inc.

Mission accomplished, backup running, time to go to bed.

This entry was posted in Computers. Bookmark the permalink.

Comments are closed.