• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for April 2017

UNIX / Linux : What is the correct permission of /tmp and /var/tmp directories

By admin

What are the correct permissions required for the /tmp and /var/tmp directories? Answer The /tmp and /var/tmp directories requires special permissions. This directory has Sticky Bit permissions. Many applications will show errors or fail if they are not able to write to /tmp with the appropriate permissions. # ls -ld /tmp drwxrwxrwt 21 root root 12288 Apr 28 16:18 /tmp The 't' at the end symbolizes that the sticky bit is set. A file created in the /tmp directory can only be removed by … [Read more...] about UNIX / Linux : What is the correct permission of /tmp and /var/tmp directories

Filed Under: Linux

CentOS / RHEL 7 : How to Change Timezone

By admin

timedatectl is a new feature on RHEL7. It may be used to query and change the system clock and its settings. Follow the below steps to change the timezone to IST (India). (Execute the below commands as root user). 1. List all the available timezones using the below command. You will get a long list of timezones using this command. # timedatectl list-timezones Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers .... 2. Locate the correct timezone you need that is in the … [Read more...] about CentOS / RHEL 7 : How to Change Timezone

Filed Under: CentOS/RHEL 7

Why CentOS / RHEL 7 have many tmpfs (6 tmpfs filesystem), and what is their purpose

By admin

Question: Why CentOS 7 / RHEL 7 have many tmpfs (6 tmpfs filesystem), are these tmpfs mandatory for OS? What are the mount /run/user/1000, /run/user/0, /run/user/45, /sys/fs/cgroup for? Answer: If you run df -hP in RHEL 7 system you would find many tmpfs file systems mounted. # df -hP Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_os-lv_root 296G 33G 248G 12% / devtmpfs 126G 0 126G 0% /dev tmpfs … [Read more...] about Why CentOS / RHEL 7 have many tmpfs (6 tmpfs filesystem), and what is their purpose

Filed Under: CentOS/RHEL 7

How to trace asmcmd command on UNIX/Linux

By admin

Question : The asmcmd command execution is slow. How to trace the asmcmd command? Answer: You are seeing some errors or slow performance issue with command execution on asmcmd. And you wish to get more information on the command execution. The exception raised from asmcmd is not very descriptive and more of generic errors are reported for different issues. Below are some of the ways in which you can trace the asmcmd command to troubleshoot the performance issues with the execution of the … [Read more...] about How to trace asmcmd command on UNIX/Linux

Filed Under: ASM, oracle

Primary Sidebar

Recent Posts

  • Basics of client connectivity in Oracle Data Guard configuration
  • ORA-354 ORA-353 and ORA-312: Possible corruption in Online Redo Log File Members in a Redo Log Group
  • How to relocate the redo log files to a different location on disk
  • Oracle Database: Redo log operations (Add/Drop/Change Location)
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary