Solaris

How to Enable Remote SSH Logon for Root

Posted on
SSH is disabled for root to connect from other clients on Solaris OS by default. Therefore, we need to enable it by ourselves. Here is the procedure. Permit root remote logon root@solaris11vm:~# vi /etc/ssh/sshd_config…#PermitRootLogin noPermitRootLogin yes Change the type of root to normal root@solaris11vm:~# vi /etc/user_attr…root::::type=normal Restart ssh service root@solaris11vm:~# svcadm restart ssh It works […]
Listener

How to Resolve TNS-12546: TNS:permission denied + Solaris Error: 13: Permission denied

Posted on
TNS-12546 I got TNS-12546: TNS:permission denied when I tried to start listener as oracle. oracle@solaris11vm:~$ lsnrctl startLSNRCTL for Solaris: Version 11.2.0.4.0 – Production on 31-JAN-2018 21:01:57Copyright (c) 1991, 2013, Oracle.  All rights reserved.Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait…TNSLSNR for Solaris: Version 11.2.0.4.0 – ProductionSystem parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.oraLog messages written to /u01/app/oracle/diag/tnslsnr/solaris11vm/listener/alert/log.xmlListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))TNS-12546: […]
Linux

The Size Limit for Legacy Tar to Accomodate

Posted on
A quote from wikipedia:Numeric values are encoded in octal numbers using ASCII digits, with leading zeroes. For historical reasons, a final NUL or space character should also be used. Thus although there are 12 bytes reserved for storing the file size, only 11 octal digits can be stored. This gives a maximum file size of […]
Linux

Irix Mode vs. Solaris Mode in Top Command

Posted on
On Solaris, the top command always takes all cpu usage as a maximum 100%, no matter how many cpus are there on the board. In a case of 4 processors on a server, any single process listed on top command will not exceed 25% of overall cpu usage. This is the well-known “Solaris Mode”. The […]