[SOLVED] changing from bourne/bash to C shell

Support for the other architectures (X86_64, IA-64, and PowerPC)
Post Reply
jane
Posts: 62
Joined: 2007/03/01 17:34:07

[SOLVED] changing from bourne/bash to C shell

Post by jane » 2010/08/10 22:29:11

Hi,

I am having issues with my centos 5.5 2.6.18-194.8.1.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux.

When I change my shell

chsh jane
/bin/csh

logout then log back in. I get this error: LANGUAGE_TERRITORY: Undefined variable.

Thanks in advance.

Jane

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] changing from bourne/bash to C shell

Post by pschaff » 2010/08/11 02:07:02

My guess is that the variable LANGUAGE_TERRITORY is referenced somewhere, perhaps in the user's .??* files, but is undefined. I am unable to reproduce the error when I change a user's shell to /bin/csh.

Try (as root) [code]
grep LANGUAGE_TERRITORY ~jane/.??*
find /etc -type f -exec grep LANGUAGE_TERRITORY {} \; -ls
[/code]

jane
Posts: 62
Joined: 2007/03/01 17:34:07

Re: changing from bourne/bash to C shell

Post by jane » 2010/08/18 00:59:44

found it! Thank you Phil. It was on my fortran.csh, I revert back to the default bash shell. I do not get the message anymore.

=)
Jane

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] changing from bourne/bash to C shell

Post by pschaff » 2010/08/18 01:57:33

You are welcome. Labeling the topic [SOLVED] for posterity.

Post Reply

Return to “CentOS 5 - X86_64,s390(x) and PowerPC Support”