CentOS 7 - last - /var/log/wtmp - No such file or directory: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Admin iph (обсуждение | вклад) (Новая страница: «=== CentOS 7 - last - /var/log/wtmp - No such file or directory === Ошибка вида: # last last: /var/log/wtmp: No such file or directory Perhaps this...») |
Admin iph (обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
+ | [[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]] | ||
+ | |||
=== CentOS 7 - last - /var/log/wtmp - No such file or directory === | === CentOS 7 - last - /var/log/wtmp - No such file or directory === | ||
Текущая версия на 10:08, 17 ноября 2022
CentOS 7 - last - /var/log/wtmp - No such file or directory
Ошибка вида:
# last last: /var/log/wtmp: No such file or directory Perhaps this file was removed by the operator to prevent logging last info.
Решение проблемы - создать файл /var/log/wtmp с нужными правами:
# touch /var/log/wtmp # chmod 0664 /var/log/wtmp # chown root:utmp /var/log/wtmp