You are not logged in.
Pages: 1
I am trying to regenerate locales on a remote server running Archlinux. However, running `locale-gen` disconnects me, and I do not believe the job completes. I had the same problem on both Putty and the terminal (ssh from local box).
The locales that are uncommented are `en_US.UTF-8` and `en_US`. However, this problem only occurs if en_US.UTF-8 is uncommented. There is no problem when I am only generating the `en_US` locale.
This happens whether or not I have root privileges.
Does anyone have an idea as to why this happens? Thanks for any help!
Offline
The remote system could be using the locale you are trying to regenerate. I don't know exactly why it kicks you, my best guess is that you're session is running that locale and regenerating kind of restarts the whole session thing. MY BEST GUESS.
You could setup a bash script, with some delay.
sleep 40
locale-gen >> check.txt
and login after 1 min and check the check.txt file for the locale-gen output command to see if everything went fine.
Last edited by Ekimino (2010-05-21 04:30:39)
Offline
Hm nope, doesn't seem to help.
I also ran my script
#!/bin/sh
sleep 3
sudo locale-gen > lg.txt
in screen then de-attached it, which also resulted in a closed session.
I tried running just `locale-gen` in screen, but that also resulted in a closed session.
Offline
/usr/sbin/locale-gen is owned by glibc 2.11.1-3
/usr/share/i18n/locales/en_US is owned by glibc 2.11.1-3
Try reinstalling/upgrading glibc.
Last edited by demian (2010-05-21 10:07:42)
no place like /home
github
Offline
Hm, still no success..
I believe I remember having this problem through multiple versions.
Edit:
Woah, found an error message!
# sudo locale-gen
Generating locales...
en_US.UTF-8.../usr/sbin/locale-gen: line 41: 929 Killed localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale
Last edited by sehwoo (2010-05-21 20:05:54)
Offline
Solved. Ran out of ram, made a swapfile.
Offline
Pages: 1