You are not logged in.
Pages: 1
whenever I restart a daemon (squeezebox-server) I receive the same error
Your locale was detected as C, you may have problems with non-Latin filenames. Consider changing your LANG variable to the correct locale, i.e. en_US.utf8my locale is set as en_US.utf8 in rc.conf. Why do I still get this message?
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Do you have your DAEMON_LOCALE set? To what?
If set to 'no', the C locale is used
If that didn't solve it, please post output of both 'locale -a' and 'locale'.
Last edited by karol (2011-07-17 18:08:21)
Offline
thanks karol. I didn't had DAEMON_LOCALE set to anything. but after doing so I received the same message
[j@janus ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
[j@janus ~]$ locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIXThe problem is reported in a Perl written server (Squeezebox-Server) .
Last edited by theking2 (2011-07-17 18:49:13)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
What did you set DAEMON_LOCALE to? Did you reboot your computer?
Offline
I did not reboot, I did restart the service. But with DAEMON_LOCALE=en_US.utf8 I still have the same errors.
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
I did not reboot, I did restart the service. But with DAEMON_LOCALE=en_US.utf8 I still have the same errors.
I think rc.conf is read at boot, so was it read again after you did your changes?
Edit: Ah, it does say "and during daemon startup". But I think you need to set it to 'yes'.
Edit 2: bernarcher agrees ;P
Last edited by karol (2011-07-17 19:25:51)
Offline
Set DAEMON_LOCALE to "yes" or "no" only as documented in rc.conf:
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.And then reboot.
But as this has effects in the boot process only it could as well fail to solve your problem. This probably also depends on how the Perl based application has been compiled and started. Hence you may need to look for more documentation.
To know or not to know ...
... the questions remain forever.
Offline
Thanks bernacher.
Interestingly that commented line did not exist in my rc.conf.
However, after adding
DAEMON_LOCALE="yes" to /etc/rc.conf the error message went away.
Thanks for your help!
Last edited by theking2 (2011-07-17 19:40:36)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Thanks bernacher.
Interestingly that commented line did not exist in my rc.conf.
Please check if you have any .pacnew files in your system.
Offline
Pages: 1