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

The Geek Diary

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

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 /var/run

For Solaris 11

On Solaris 11 /var/run is a link to /system/volatile

# ls -ld /var/run
lrwxrwxrwx 1 root root 18 Feb 26 2013 /var/run -> ../system/volatile

Set the permission of directory /var/run as follow:

# ls -lLd /var/run
drwxr-xr-x 16 root sys 4366 Jan 10 08:30 /var/run

Filed Under: Solaris, Solaris 11

Some more articles you might also be interested in …

  1. How to configure an IP address in Solaris 11
  2. Solaris 11 : Increasing the size of a vdisk in LDom ( with backend device as ZFS volume )
  3. How to Use the ‘truss’ Command for Program and Error Analysis in Solaris
  4. How to update Solaris 11 system Using IPS
  5. SVM : How to Use Metadevadm to Maintain Device Relocation Information After Disk Replacement
  6. Solaris Snoop : 15 Awesome practical examples for packet sniffing
  7. How to force a crash dump on T1000/T2000 servers from ALOM
  8. Solaris 10 boot process : x86/x64
  9. Solaris – Changing from iSCSI Static Discovery to SendTargets Discovery
  10. Solaris : How to scan new storage LUNs (scsi/iscsi/fc/sas)

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright