"Failed to connect to ASM instance. ORA-12541: TNS:no listener"
Check:
1. Log on to the ASM Server and set up the environment for the grid user using setenv
2. The command crs_stat -t will show the listener resource is online or offline
Possible Solutions:
Start the listener using the command - srvctl start listener
https://msdn.microsoft.com/library/mt238290.aspx (This version of SSMS is free and does not require a SQL Server license to install and use) Connection Issue and the solutions: ---------------------------------------------- https://sqlbits.com/Sessions/Event11/Windows_Azure_SQL_Database_Troubleshooting
Windows Azure SQL Database (formerly known as SQL Azure) works exclusively and only on TCP port 1433. It only support SQL Server Authentication, TCP connection and TDS protocol as of today.
In order to successfully establish connection to SQL Azure one must fulfil the following requirements:
Create SQL Azure server & Database
Setup SQL Azure Server's firewall rules to accept connections from the IP address of application that will connect to that server
Make sure the box (be it Virtual, or home, or whatever) has no blocking outbound TCP port 1433
Explicitly force encryption in connection string
Explicitly chose to not trust server certificate in connection string
Please note that many (if not all) ISPs (Internet Service Providers) and Hosters, as well as IT staff within companies DO block outgoing TCP Port 1433 due to the SQL Slammer worm. This outgoing port blocking appears to be one of the most faced issues of newcommers to SQL Azure.
UPDATE Nov. 2015
As of August 2015, there is preview feature that enables you to use Azure AD to authenticate to Azure SQL Database. You can read more on this new preview feature here:
Step by Step PostgreSQL 9.4 on CentOS 7 Installation and Creation of Database
-------------------------------------------------------------------------------------------------------------
(Includes setting up of two node Linux servers using VirtualBox, Installing Grid and Database)
------------------------------------------------------------------------------------------------------------------
Install Oracle 11g 11.2.0.3 Grid Infrastructure and Database Installation ---------------------------------------------------------------------------
Step by Step installation practical approach is in the above video. However, I kept the below screenshot for the Grid and Database Installation
1. Go to the installer mount directory. Then execute
#./runInstaller (Note: Please note that there will be an issue while starting. I kept the information to fix, in case if you face it)
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<< Solution: [root@rac1 ~]# DISPLAY=:0.0 [root@rac1 ~]# export DISPLAY [root@rac1 ~]# xhost + access control disabled, clients can connect from any host [root@rac1 ~]# su - oracle [oracle@rac1 ~]$ DISPLAY=:0.0 [oracle@rac1 ~]$ export DISPLAY The above solution is more than enough to sort it out.
Optional: Install the below packages if not there: yum install xorg-x11-apps yum install xorg-x11-xauth ssh -X oracle@rac1.localdomain
Click Skip software updates and press Next
Choose "Install and Configure Oracle Grid Infrastructure for a Cluster" and Press Next..
Click the below screenshot option Advanced Installation and press Next
Choose the language as English and press Next
Name like below screenshot and deselect the Confgure GNS and press Next
Add rac2 and setup SSH connectivity and press Next
Press OK as per below screenshot and press Next
Leave the default like below and press Next
Select Oracle ASM and Press Next
Choose Change Discover Path and keep this screen like below two screenshots and press Next
Choose "Use same password for the accounts" and enter oracle as a password and press Next
Click Yes for this and continue by pressing Next..
Select "Do not use Intelligent Platform Management Interface (PMI) " and Press Next...
Keep the below screenshot default and press Next
Click Yes to this and Press Next..
Keep the below default Oracle Base and Software Location and Press Next...
Keep the inventory directory as below and press Next..
Select Ignore All option for this and press Next..
Select Yes to this and continue by pressing Next..
Press Install button and proceed further.
Execute the below two scripts in rac1 and then followed by rac2