This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
linux:system_config [2016/10/07 17:27] tkilla [APT / dpkg] |
linux:system_config [2018/10/08 17:05] tkilla [Date, Time and Timezones] |
||
---|---|---|---|
Line 25: | Line 25: | ||
===== Date, Time and Timezones ===== | ===== Date, Time and Timezones ===== | ||
- | == get date & time == | + | ==== get date & time ==== |
date | date | ||
| | ||
- | == set date & time == | + | ==== set date & time ==== |
date --set 1998-11-02 | date --set 1998-11-02 | ||
Line 35: | Line 35: | ||
| | ||
| | ||
- | == set timezone == | + | ==== set timezone |
dpkg-reconfigure tzdata | dpkg-reconfigure tzdata | ||
- | == fix locale | + | |
+ | ==== fix locales ==== | ||
apt-get install locales | apt-get install locales | ||
Line 46: | Line 47: | ||
locale | locale | ||
+ | If you still get " | ||
- | ===== fail2ban ===== | + | export LANGUAGE=en_US.UTF-8 |
- | + | export LANG=en_US.UTF-8 | |
- | debugging: | + | export LC_ALL=en_US.UTF-8 |
- | + | | |
- | if the service doesn' | + | |
- | + | ||
- | for some useful error messages: | + | |
- | | + | |
- | + | ||
- | too much cpu / ram usage maybe a problem with / | + | |
- | + | ||
- | trace which files are opened / closed all the time by one of the server threads: | + | |
- | strace -f -p <various pids of fail2ban processes | ||
- | try to delete the database in / |