For security purpose, you may want telnet bind to a different port instead of the well-known port 23. It should be noted that changing port numbers of well-known services is also usually a bad idea. In general, services should either be left with their default ports or completely disabled. Changing the default port should only […]
Solaris
How to Enable ssh/sshd Debugging for Solaris
This post will show how to put ssh (the client command) and sshd (the server daemon) into debug mode in order to troubleshoot authorization and connection problems. This debug output will be requested by Oracle/Sun technical support agents for ssh/sshd authorization and connection issues when opening service requests. Steps to Follow Configure the sshd daemon […]
Solaris : Non-root user can’t run prtdiag command
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 […]
Howto Verify If a Bootblk is Installed on the Boot Disk (SPARC)
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 […]
How To Change Timezone for Oracle Grid Infrastructure
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 […]
How to Set the TimeZone in Solaris 10,11
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 […]
How to Check Solaris Release and Default Kernel Version
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 […]
How to Configure TCP Keepalive option in Solaris
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 […]
How to Configure iSCSI targets on Solaris 10
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 […]
Solaris Zone Install Fails With Cpio Error
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 […]