The Problem Non-root user can't run prtdiag command, but it works for root user # /usr/sbin/prtdiag picl_initialize failed: Daemon not responding The Solution The issue is caused by wrong permission of file /var/run/picld_door or directory /var/run. Set the permission of file /var/run/picld_door or directory /var/run as follow: # ls -l /var/run/picld_door dr--r--r-- 1 root root 0 Nov 10 14:21 /var/run/picld_door # ls -ld /var/run drwxr-xr-x 6 root sys 1261 Nov 10 14:21 … [Read more...] about Solaris : Non-root user can’t run prtdiag command
You can utilize the $PrivDropToUser, $PrivDropToUserID, $PrivDropToGroup, and $PrivDropToGroupID configuration directives to run rsyslog as a non-root user. When these variables are used, rsyslog will start as root, but will drop to the specified user and/or group after initialization. The daemon will then run in accordance with the permissions of the specified user or group. Note: If SELinux is in 'enforcing' mode on your system, additional troubleshooting may be necessary to ensure the … [Read more...] about How to run rsyslog as a non-root user in CentOS/RHEL 7
What is peripety and how to install it? Peripety is an auditing utility which logs the changes to file-system and storage configurations on RHEL platforms, the motivation is to provide better tracing of historical changes. The package can be installed with the yum or dnf command: # yum install -y peripety Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to … [Read more...] about How to Install and Configure peripety utility in CentOS/RHEL 8
The Problem If a command is used with sudo (for e.g. sudo yum clean all) it takes time to execute. [21:29]$ sudo yum clean all [sudo] password for test@geeklab: Loaded plugins: package_upload, product-id, search-disabled-repos, subscription-manager Cleaning repos: production-rhel-x86_64-workstation-7.4 rhel-7-server-rpms Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos [21:33]$ In the above … [Read more...] about Commands used with sudo takes time to execute
Oracle Clusterware may not startup (root.sh on second node fails with "Failure at final check of Oracle CRS stack."), due to a firewall (such as iptables on Linux) configured on the cluster interconnect. Other symptoms include moderate to serious performance and stability issues, directly related to such firewalls. Examples are false evictions of nodes, 'IPC SEND/RECEIVE TIMEOUT' and slow/uneven performance. Oracle RAC uses the cluster interconnect to send buffer cache blocks between … [Read more...] about Oracle RAC instabilities due to firewall (netfilter/iptables) enabled on the cluster interconnect
RHEL 8's boot loader, Grand Unified Boot Loader (GRUB2) differs from the GRUB2 in RHEL 7. An update to Red Hat Enterprise Linux 8 Beta results in /etc/default/grub changes no longer being included when issuing "grub2-mkconfig -o /boot/grub2/grub.cfg". It seems that at least some options set there are now silently ignored. There are multiple different paths to achieve alterations to the kernel boot parameter option. grub2-editenv The grub2-editenv utility is actually the recommended path … [Read more...] about How to permanently modify the kernel command line in CentOS/RHEL 8?
RHEL 8's boot loader, Grand Unified Boot Loader (GRUB2) differs from the GRUB2 in RHEL 7. An update to Red Hat Enterprise Linux 8 Beta results in /etc/default/grub changes no longer being included when issuing "grub2-mkconfig -o /boot/grub2/grub.cfg". It seems that at least some options set there are now silently ignored. GRUB2, with RHEL 8, builds the various kernel boot entries using a new specification called BLS. The /etc/grub2.cfg file no longer has various menuentry entries, but instead … [Read more...] about Modifying /etc/default/grub – RHEL 7 V/s RHEL 8
The post provides an overview of what features the MySQL Enterprise Monitor provides and how it can be used to improve MySQL administration and performance. Provided as part of MySQL Enterprise, the MySQL Enterprise Monitor is a Virtual DBA assistant that helps MySQL DBAs manage more MySQL servers, tune MySQL servers, and find and fix problems with MySQL database applications before they can become serious problems or costly outages. Running completely within the corporate firewall, the … [Read more...] about What is the MySQL Enterprise Monitor?
This can be useful in troubleshooting if the system fails to boot with a suspected bootblk issues, or if you suspect something in the OS keeps overwriting the bootblk. For Solaris 10 Below is the output from a Solaris 10u4 with UFS, Solaris 10u6 with UFS, and a Solaris 10u6 with ZFS bootblock. The bootblk version changed from s10u6 onwards. This is why the output differs between s10u6 and earlier versions. S10U1 through U5 UFS root: # dd if=/dev/rdsk/c0t0d0s0 bs=1b count=1 iseek=1 | od … [Read more...] about Howto Verify If a Bootblk is Installed on the Boot Disk (SPARC)
Introduction The command strace is used to trace system calls and signals. It is a great tool to use when debugging an application and is often requested by the support engineers to examine certain issues which may arise within the operating system and its programs. Usage To record the system calls issued by running command and output trace information to a file called /tmp/strace.txt, run the following: RHEL 6.7+ and RHEL 7 with strace 4.7 or above: # strace -fvttTyyx -s 4096 -o … [Read more...] about How to use strace to trace system calls made by a command in Linux