Re: кодировка системных собщений

2014-02-16 Пенетрантность Yuri Kozlov
В Sun, 9 Feb 2014 12:13:26 +0400
Dmitry volkov dmitry...@gmail.com пишет:

 А также вот попытка запустить postgres с ошибкой в конфиге.
  sudo /etc/init.d/postgresql start
 [] Starting PostgreSQL 9.1 database server: main[] The PostgreSQL
 server failed to start. Please check the log output: 2014-02-09 15:38:17
 UTC ???: ? ??? Mail repo sent opa;localhost, ??
 5432 ! 1 2 F12 ?? ???: ??? ??? ?? ?? grub.cfg 2014-02-09
 15:38:17 UTC ??: ?? ??? ??? ??? F12 ???
 opa;localhost 2014-02-09 15[FAIL7 UTC ?: ?? ??? ??? ??
 TCP/IP ... failed! failed!

В /etc/postgresql/9.1/main/environment 
добавить LANG = 'ru_RU.UTF-8'

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671915

-- 
Best Regards,
Yuri Kozlov


-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140216115738.377a5...@keeper.home.local



bash и область видимости переменной в while

2014-02-16 Пенетрантность Vladimir Skubriev
  dmidecode_t6_out="$( dmidecode -t 6)"          echo "$dmidecode_t6_out" | while read line        do                if echo "$line" | grep -q 'Installed Size'                then                module="$( echo "$line" | sed -r 's/(^.*: )(.*)(\(.*$)/\2/' )"                printf "Founded MODULE: $module\n"                ram_mods="$ram_mods $module"                fi        done printf "Modules: $ram_mods\n" Почему последний printf печатает только Modules без содержания переменной $ram_mods ? Спасибо!  --Faithfully yours, Vladimir Skubriev 


-- 
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/251081392623...@web27j.yandex.ru