Unable to connect oracle database (12c) while installing informatica power center 9.5.1 - informatica

Oracle environment:
Guest OS: centos7 (Installed in a VMWARE)
version: Release 12.2.0.1.0 Production
Informatica Power Center:
Downloaded site: https://edelivery.oracle.com/osdc/faces/SoftwareDelivery
Software: Oracle Business Intelligence Data Warehouse Administration Console and Informatica PowerCenter
version: 9.5.1
Host OS: windows 10
While installing, informatica is asking to connect to the oracle user. So I created a user and granted dba to it. Even though I provided correct database address, Informatica test connection is failing.
But, with the same config details I can able to connect DB through SQL developer(Version: 19.2.0.206.2117) which was installed on windows (host OS).

So many possibilities, sql developer is running on your local windows client picking up your local tnsnames.ora to resolve the db connection against and with firewalls opened between your local windows client and the database. On your centos server, the Informatica install will resolve against the tnsnames.ora there which may not have an entry for the sid you're trying to hit and even then it will also only find its local tnsnames.ora file if the user doing the install has ORACLE_HOME correctly set in their profile. Not to mention firewalls and networking between the centos machine and the db may not be open.

Related

can I put a customized windows server core in azure instance?

I am a dot net developer.I am using azure students subscription. I am running a windows service app which compile cpp file, run and collect output and store in database. It uses mingw for compiling. the software hosted in a windows vm. But windows vm cost for student but container instance does'nt.Now I want to run windows server core on azure container and host the service app with remote desktop in windows server core . Is it possible? if possible what is the procedure?
Yes, now you can install Windows Server 2016 Datacenter - Server Core:
https://portal.azure.com/#create/Microsoft.WindowsServer2016DatacenterServerCore-ARM

Facing issue in informatica admin console

I have installed informatica 10.1 in my windows 10 machine, and the installation completed successfully. During installation i was able to connect to Admin web-page.
But, once i restarted my pc, I was not able to login Adminpage.
I am new to informatica
Please help.

How to access SQL server from linux c++ application?

We have a Microsoft Sql 2014 database on a remote windows server. I am trying to develop a QT GUI app which connects to this database. The app is in Linux/c++ environment. I tried using QtSql APIs to connect to that database.
bool MainWindow::connect()
{
QSqlDatabase db=QSqlDatabase::addDatabase( "QODBC" );//I am not sure if I am calling this correctly
db.setHostName("III");
db.setDatabaseName("YYY");
db.setUserName("YYY");
db.setPassword("XX");
bool ok = db.open();
if(ok==true)
{
QSqlQuery query;
query.exec("SELECT * FROM Subjects");
while (query.next())
{
int phy = query.value(0).toInt();
int chem = query.value(1).toInt();
ui->lineEdit_2->setText(QString::number(phy));
ui->lineEdit_3->setText(QString::number(chem));
}
}
else
{
qDebug()<<db.lastError();
}
return ok;
}
Its giving me error as :
QSqlDatabase: QODBC driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QPSQL QPSQL7
QSqlError("", "Driver not loaded", "Driver not loaded")
I tried exporting the path of sql drivers to my Qt project.Still it didn't work.Then I read some articles and found that I need mssql-tools as well as ODBC Driver on my Linux box. I tried installing this based on this website:
https://blogs.msdn.microsoft.com/sqlnativeclient/2016/10/20/odbc-driver-13-0-for-linux-released/
and found that this won't work on my linux box (14.04 ubuntu) but only on 15.10 & 16.04.
The following packages have unmet dependencies:
mssql-tools :
Depends: libc6 (>= 2.21) but 2.19-0ubuntu6.9 is to be installed
Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed
Depends: msodbcsql (>= 13.1.0.0) but it is not going to be installed
Depends: msodbcsql (< 13.2.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Then I used docker from here:
https://hub.docker.com/r/taylorbarrick/mssql-server-linux-tools/
I could install it successfully but when I am running
$docker run -t taylorbarrick/mssql-server-linux-tools sqlcmd -d <dbname> -H <host> -U <username> -P <password>
I am getting errors again.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
However,when using visual interface I can connect to sql database.Please help.
Doing what you want is definitely possible but slightly tricky. Here is my short guide for that (personally, I solved this quest with help of unixodbc and freetds. They works fine, although, msodbc could be used too, the general idea will be same).
Firstly, the errors you got (QSqlDatabase: QODBC driver not loaded) means that you don't have Qt's ODBC driver. So you have to build it from Qt sources. Run MaintenanceTool to make sure that sources for your version of Qt are installed within Qt's directory. Then read carefully documentation about building SQL drivers and details of usage ODBC. The batch you need is following:
cd $QTDIR/qtbase/src/plugins/sqldrivers/odbc
qmake "INCLUDEPATH+=/usr/local/unixODBC/include" "LIBS+=-L/usr/local/unixODBC/lib -lodbc"
make
Secondly, in GNU/Linux environment you need unixodbc, tdsodbc, freetds-bin packages (the names for Debian Jessie, they may be different in your particular distribution). I also recommend you to read MANs from these packages. Freetds driver must be "installed" into unixodbc. Following command will do the job (again, in Debian Jessie):
odbcinst -i -d -f /usr/share/tdsodbc/odbcinst.ini
Next, you should supply correct connection string to QSqlDatabase instance (via the QSqlDatabase::setDatabaseName call). Also, make sure that the type of database is QODBC (you code is correct at this point). You can't pass usernames, password and etc via regular calls of QSqlDatabase (i.e. QSqlDatabase::setDatabaseName, QSqlDatabase::setPassword and etc won't work). They must be included into connection string which should looks something like that:
DRIVER={freetds};SERVER=192.168.55.55;PORT=1433;DATABASE=YYY;UID=YYY;PWD=XX
Obviously, you should put correct IP or host name and other parameters. Also, freetds must replaced with correct driver name (it stored within the unixodbc configuration file). There is a handy site which generates connection string. Also there is a reference for connection string format at MSDN.
Finally, MS SQL Server and instance of you DB must be properly configured. Make sure that MS SQL Server accepts TCP connections and bound to correct ports (and addresses!). Also, you should set correct "Authentication Mode" for both SQL Server and instance of DB: it is "Windows Authentication only" by default but to connect via freetds it must allow "SQL Server Authentication".
Probably something else need to be tweaked. Read docs and logs carefully.
Added: I've just read about driver supplied by MS. The overall process is same, but instead freetds you should use this MS driver (i.e. "install" it into unxiodbc via odbcinst or manually into config and put correct driver name and other parameters into connection string). Anyway, Qt driver for ODBC wraps around unixodbc, so, it cannot be avoided.
To use MSSql server, you may have to install Microsoft's version of ODBC (msodbc) rather than unixodbc because... Microsoft. You can download it at https://www.microsoft.com/en-us/sql-server/sql-server-vnext-including-Linux.
Once you have that, you can access MSSql databases via ODBC. It is buggy and Whenever it updates, it may fail so you have to remove and reinstall both the library and the dev package.

Connect to teradata dabase from host running on virtual machine

I have installed teradata express VMware (Linux). Able to connect to database using bteq and sql assistant located inside VM.
But i need to install the Informatica in my host Windows and access the teradata database in Linux VM.
Is that possible? Please help me on how to do that?
I am running the same in VMWare and this is what I have done. Install SQLA on your host and configure your VM Guest to use Bridged networking. Then in your Host machine open SQLA and try to connect to hyperjcop1. It should work and should connect to your Guest TD express instance. You can then install Informatica and configure that connection as you would in any other Informatica instance.
That is all I needed to do, hope it helps you out. If it doesn't work as I described you could try adding an entry to your hosts file on the Host machine as Rob Paller mentions.
If that fails come back and post your errors or more detail about what you have tried.

Can you install vmware server 2 on the Windows 8 preview?

Apologies if this has been asked already, searching the web reveals lots and lots of threads about installing the Win8 beta on VMware but not the other way around.
I am trying to install VMware Server 2.0.2 on a Windows 8 Preview machine. It appears to install correctly but I cannot then reach the web based homepage to configure virtual machines, i.e.
https://localhost:8333/ui/
gives the error that the "connection attempt to localhost was rejected. The website may be down or your network may not be properly configured".
Has anyone had any success running VMware Server 2.0.2 on Windows 8 Preview? If so were there any gotchas you needed to avoid?
I don't think it will ever be resolved. VMware Server was declared End Of Availability in January 2010; There will be no support for Windows 8.
Your best try would be trying launching the services in compatibility mode, but why would you do that? Why not use the much more advanced VMware Player or VMware Workstation products?
I've found a way to run it on Windows 8.
On my PC with a x64 version of Windows 8, when I installed VMware Server 2, I found there was a service called VMware Host Agent that cannot be run. When I opened the system Service Manager and clicked to launch this service, it gave me the error.
My solution is to create a service with the same command string and set it to start automatically by using the "sc create" command in cmd.exe. And it worked for me!