I was preparing database patching some days ago. It's an Oracle DataGuard configuration on 19c. As always, I took a quick look at the free space of each partitions. An interesting thing I noticed was my "/opt" partition seemed using more storage (a few more gigabyte) than I would expect on the primary database. Then … Continue reading ‘.patch_storage’ consumes quite some space?
“clnt_create: RPC: Program not registered” — NFS share a directory on Redhat Linux 8
From time to time, you might want to stand up a NFS server on your Linux box to server some file sharing requests. It's quite simple to do that if you know what needs to be done. Make sure you have necessary packages. Enable and start NFS related services. Enable NFS related services in the … Continue reading “clnt_create: RPC: Program not registered” — NFS share a directory on Redhat Linux 8
Enable Auto-completion for kubectl for Redhat 8
kubectl is a versitle tool and has abundant commands and options. You would appreciate when it can do auto-completion. With this feature it will greatly simplify your daily kubenetes management tasks. To enable it, here are what you need to do: make sure you have bash auto completion package installed. If not, install it. configure … Continue reading Enable Auto-completion for kubectl for Redhat 8
Managing Windows servers with Rundeck?
I've been using rundeck (an automation platform) to manage Linux servers for quite a while. Recently I've expanded the practice to Windows servers and have had some difficulties with authentication because either OS packages or Python modules were missing. Rundeck supports 4 types of authentication -- basic, credssp, ntlm, kerberos for the Windows system. It … Continue reading Managing Windows servers with Rundeck?
sudo not working with wildcard matching?
When working with sudo, one subtle thing is about shell wildcard matching. I didn't notice this until recently I needed to use a script to copy files from a remote server with one user A, but eventually put the files under another user B with changing owernship and permissions. My steps were scp, mv, chown, … Continue reading sudo not working with wildcard matching?
Troubleshooting SSH slow login
In another post I wrote before, slow SSH login issue -- after you enter the username, it takes some time (a minute or a few) to show the password prompt, could be due to the wrong DNS configuration. And there is a configuration option UseDNS for sshd and by default it's enabled (value yes) which … Continue reading Troubleshooting SSH slow login
reboot, shutdown, halt & systemctl
If you have been working on Linux for some time -- longer than a few years, you probably has come from runlevel days which the services are managed by SysV init scripts. So you are familiar with the commands like shutdown, init, halt, reboot etc. which are used to start, stop or bring the system … Continue reading reboot, shutdown, halt & systemctl
Another reason for verify_queryable_inventory returned ORA-20001: Latest xml inventory is not loaded into table
In another post I wrote some time ago, I ran into the error ORA-20001 during the datapatch of a 19c upgrade. I got the same error but with a different reason this time: temp data files missing due to OS changes. So we moved a 12c datatabase from Oracle Linux 6 to Oracle Linux 8 … Continue reading Another reason for verify_queryable_inventory returned ORA-20001: Latest xml inventory is not loaded into table
BASH auto complete doesn’t work? Watch out the mount option “noexec”
BASH is one of popular shell environment on Linux OS. And when using it, everyone loves the auto complete feature, you just tab after you enter first few letters and BASH will match commands/files for you. However, a few weeks ago when I went into a newly staged Oracle Linux 8 system with some kind … Continue reading BASH auto complete doesn’t work? Watch out the mount option “noexec”
Could not open file /var/log/sssd/sssd.log –Permission denied
This was the exactly the same problem I ran into before on auditd. The log directory for sssd was recreated somehow but the context of SELinux was not restored. That caused even root could not create the sssd logs under the directory and the service could not start. sssd[sssd][17594]: Could not open file [/var/log/sssd/sssd.log]. Error: … Continue reading Could not open file /var/log/sssd/sssd.log –Permission denied