• 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

Solaris

Solaris : Non-root user can’t run prtdiag command

By admin

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

Filed Under: Solaris, Solaris 11

Howto Verify If a Bootblk is Installed on the Boot Disk (SPARC)

By admin

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)

Filed Under: Solaris, Solaris 11, ZFS

How To Change Timezone for Oracle Grid Infrastructure

By admin

This post illustrates how to change timezone setting for Grid Infrastructure after installation. Note: To check the current time zone on Linux, use the command: "timedatectl | grep 'Time zone'" To check the current time zone on Windows, use the command: "systeminfo | findstr /C:"Time Zone"" Grid Time Zone Setting Once OS default timezone is changed, make sure: For 11.2.0.1, shell environment variable TZ is set correctly for grid user and root. For 11.2.0.2 and above, TZ entry in … [Read more...] about How To Change Timezone for Oracle Grid Infrastructure

Filed Under: Linux, oracle, RAC, Solaris

How to Set the TimeZone in Solaris 10,11

By admin

The Ask In Solaris Operating System (OS), where is the default timezone set, and how can it be changed? Solaris 11 OS and above 1. The default timezone is defined as a property of the "svc:/system/timezone:default" SMF service: # svcs timezone STATE STIME FMRI online Aug_22 svc:/system/timezone:default # svcprop timezone:default |grep localtime timezone/localtime astring US/Eastern 2. To change the default timezone, use the svccfg and then refresh the service … [Read more...] about How to Set the TimeZone in Solaris 10,11

Filed Under: Solaris, Solaris 11, Zones

How to Check Solaris Release and Default Kernel Version

By admin

How to Determine the Installed Solaris OS Release The most reliable method for determining the release of the Solaris OS installed is through the contents of the /etc/release file. This file was first introduced in Solaris 2.5.1 HW 4/97 and is included in all subsequent versions. The various tables shown below can be used to map the contents of this file to the release of the Solaris OS installed. If the /etc/release file has been deleted from a system it is also possible up to Solaris 10 to … [Read more...] about How to Check Solaris Release and Default Kernel Version

Filed Under: Solaris, Solaris 11

How to Configure TCP Keepalive option in Solaris

By admin

Typically, idle TCP connections are maintained indefinitely once established, even if no communication occurs between host systems. This is quite normal in TCP. In some cases, keeping the connection open may inappropriately consume host and/or application resources (normally TCP port ranges), if for example: the remote host crashes or otherwise undergoes some type of non-orderly shutdown and/or reboots without notifying it's TCP peer. the remote host is unreachable; the network path between … [Read more...] about How to Configure TCP Keepalive option in Solaris

Filed Under: Solaris, Solaris 11

How to Configure iSCSI targets on Solaris 10

By admin

iSCSI target feature has been available since s10u7. Here is some information for setting up a basic iSCSI target configuration. High level steps to follow are as shown below : create a base directory configure the backing store Creating a target Add ACL to target 1. create a base directory The base directory is used to store the iSCSI target configuration data, and needs to be defined prior to using the iSCSI target for the first time. You can create a base directory with the … [Read more...] about How to Configure iSCSI targets on Solaris 10

Filed Under: Solaris, ZFS

Solaris Zone Install Fails With Cpio Error

By admin

The Problem Error when trying to install full root zone ERROR: cannot install zone: cannot access [/usr/bin/cpio] (exec failure) NOTE: Sparse root install was successful. The Solution 1. Check the permissions of the cpio executable on the problematic system first. # ls -al /usr/bin/cpio -rwxrwxrwx 1 root bin 85924 Sept 9 2018 /usr/bin/cpio Correct permissions should be: # ls -al /usr/bin/cpio -r-xr-xr-x 1 root bin 85856 Sept 9 2018 /usr/bin/cpio 2. Also many errors during … [Read more...] about Solaris Zone Install Fails With Cpio Error

Filed Under: Solaris, Zones

How to measure NIC Performance/Throughput in Solaris 11 using iftop

By admin

Monitoring network connections certainly can be frustrating, mainly because they can be established and then disappear within a matter of seconds. In this post, we will show you how to achieve a Zen-like approach to monitoring network connections on your servers using a command line–based tool called iftop. iftop is to networks what top is to CPUs. And, in the same way, ifconfig refers to configuring an interface, the friendly iftop stands for “interface top”. Iftop on Solaris 11, an open … [Read more...] about How to measure NIC Performance/Throughput in Solaris 11 using iftop

Filed Under: Solaris, Solaris 11

How to Use the ‘truss’ Command for Program and Error Analysis in Solaris

By admin

Truss is a debugging tool which provides insight into how a program operates by printing out system service calls along with their arguments and return statuses, faults, and signals. As such it is extremely useful for debugging errors and for figuring out how programs work. Truss is easy to use: just prepend the word "truss" to any command (including arguments) in its simplest form, and output abounds. By default, truss output goes to stderr (error output), not to stdout (normal output). This … [Read more...] about How to Use the ‘truss’ Command for Program and Error Analysis in Solaris

Filed Under: Solaris

« Previous Page
Next Page »

Primary Sidebar

Recent Posts

  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • 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
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary