Just found out this morning that if SELinux is in enforcing mode, it may block the timedatectl command to run in RHEL7. Once changing SELinux to permissive, the problem is gone. Here is the error that I got when executing 'timedatectl set-timezone Australia/Sydney' in a bash script: Failed to issue method call: Did not receive … Continue reading SELinux block timedatectl changes
Tag: RHEL
SSSD can not find some users in AD
We use SSSD to integrate RHEL7 into our Active Directory infrastructure for authentication. All users in the sys admins group can login with their AD credentials except one. It took me a few weeks to troubleshoot. On hand, I checked the sssd log and I can see the Linux server can find the user in … Continue reading SSSD can not find some users in AD
Use Puppet to manage yum version lock
I periodically update the my lab servers by running yum update all. But for some packages that I want them to stay at specific versions. For example, I don't want the httpd and bind get updated when I run yum update. According to the results of 'yum update httpd bind', I can see there are … Continue reading Use Puppet to manage yum version lock
Check osad service status in Satellite
RedHat Satellite server allows user to push the updates or run the command remotely in a 'real time' manner. The backend services for this feature are osa-dispatcher, jabberd and osad. osa-dispatcher periodically check the database to see if any clients have actions they need to perform. If there are, it sends the messages through jabberd … Continue reading Check osad service status in Satellite
Clear Linux memory cache
There was a alert showing that the swap free space is low in a RHEL 5.6 box. I logged in and checked, the box has 13G RAM, but only 1G swap. First, this is not a good practice, as RedHat recommends 4G swap for RHEL5 with 4-16G RAM. free -m total used free shared buffers … Continue reading Clear Linux memory cache