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 […]

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 – 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 – 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: […]
Enterprise Manager

How to Resolve OC4J_DBConsole_localhost_ORCL not found

Posted on
An error occurred when I tried to start up dbconsole of Oracle database$ emctl start dbconsoleOC4J Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_localhost_ORCL not found.Looked into the filename format:OC4J_DBConsole_<Hostname>_<SID>It seemed that the server name was resolved as localhost, not the hostname (i.e. solaris11vm in this case). We should check the existence of the specified$ cd $ORACLE_HOME/oc4j/j2ee/oracle@solaris11vm:/u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee$ ll…drwxr-x—  […]