Check OS version
[root@asik ~]# cat /etc/*ease CentOS Linux release 7.9.2009 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" CentOS Linux release 7.9.2009 (Core) CentOS Linux release 7.9.2009 (Core)
Pesan error muncul
[root@asik ~]# systemctl restart httpd Authorization not available. Check if polkit service is running or see debug message for more information.
Backup Config
[root@asik ~]# mv /var/run{,-back} [root@asik ~]# mv /var/lock{,-back} [root@asik ~]#
Membuet symlink
[root@asik ~]# ln -s /run /var/ [root@asik ~]# ln -s /run/lock /var/ [root@asik ~]# [root@asik ~]# ll /var/run lrwxrwxrwx 1 root root 4 Oct 3 11:00 /var/run -> /run You have mail in /var/spool/mail/root [root@asik ~]# ll /var/lock lrwxrwxrwx 1 root root 9 Oct 3 11:00 /var/lock -> /run/lock [root@asik ~]#
Sync
[root@asik ~]# sync [root@asik ~]#
Reboot
[root@asik ~]# reboot Authorization not available. Check if polkit service is running or see debug message for more information.
Referensi :
https://access.redhat.com/solutions/6961386