macOS/iTerm2: Locale Einstellung LC_CTYPE „kaputt“

Ich nutze iTerm2 als Terminal Programm auf macOS. Wenn ich mich von dort dann auf Linux Systemen per SSH einlogge, habe ich oft eine solche Fehlermeldung:

$ ssh front1
Linux front1 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64

The programs included with the Debian GNU/Linux system are free software;
…
alex@front1 ~> perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US").

Grund ist, das LC_CTYPE auf einen illegalen Wert „UTF-8“ gesetzt ist. Ein sudo fgrep -ri LC_CTYPE /etc $HOME zeigte aber, das es weder in $HOME noch in /etc gesetzt wird.

Lösung: Weiterlesen

Werbeanzeigen

Can’t access USB devices in VirtualBox Guests on OSX Host

For some reason or the other, my USB Mass Storage Device (ie. USB Stick) is greyed out in VirtualBox 3.1.2 on a OS X 10.6.2 host.

According to „USB Devices unavailable/grayed-out due to permission problem“ on the VirtualBox Forums, this seems to be a known defect.

—————————————————————————————————————————

Update:

It turns out, that it’s possible to access the USB Mass Storage Device after unmounting it in the OS X host. Kinda logical, if you think about it 😉

Linux „at“ ignores timezone

While trying to solve some Nagios issue, I remembered that there’s the „at“ command scheduler. It allows to execute a given command at a specified time. So, for example, it’s possible to say „run the SMS sending command at 7 o’clock“:

echo sms-sending-command | at 07:00

If invoked like that, 07:00 is interpreted to mean „07:00 in the current timezone„. It’s also possible to say that 07:00 is supposed to be in the UTC timezone, like so:

echo sms-sending-command | at 07:00 UTC

On my Solaris 10 machines (and also on my Mac OS X notebook), this really works like it should — but on Linux (I tested ArchLinux, Debian & Mandriva), it doesn’t 😦 Check this out: Weiterlesen