Error while connecting to Oracle Endpoint in Qlik replicate "cannot load libclntsh.so.11.1" - replication

The replicate server is installed on Linux and i am trying to connect to a oracle database as source which is on a different server. While testing the connection i am getting the attached error message. The libclntsh.so is already defined in the oracle server machine. Kindly let me know the root cause of this.

You need to install the oracle client (you can download the rpm from technet) on the attunity replicate server and set the environment variable LD_LIBRARY_PATH.

Related

SQL Server service can not execute in centos

I want to install SQL Server on centOs.
I initial this service by command
sudo /opt/mssql/bin/mssql-conf setup
When I get status of service, I get this error:
Failed to start Microsoft SQL Server Database Engine
/var/opt/mssql/log/
I checked this location to see errors from SQL Server, but this location is empty.
Can you help me?
Larnu, Thank you For Answer
Answer:
SQL Server isn't supported on CentOS; I recommend using a supported
operating system.
I tried hard to solve this problem but I did not find a way and I decided to change my os

ORA-12543: TNS:destination host unreachable

I'm trying to study query optimization using SQL command line. When I'm about to connect to the database, I got this error. It's my first time to use the SQL command line. Ive installed Oracle database 11g express edition. The database I'm trying to access is also installed on my computer. I have a proxy network settings in my computer, which I already removed and the same error occurred. I'm using a desktop PC with W7 - 64bit OS. I'm using a wireless USB adapter to connect to the internet. I tried tnsping on my machine and returned the following lines:
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
COL=TCP)(HOST=192.168.0.20)(PORT=1521)))
OK (70 msec)
Also can you have a check to see if you have set up a loopback adapter if your os is windows. Check and follow this link
http://www.oracledistilled.com/windows/configuring-the-loopback-adapter-on-microsoft-windows/

Connecting sql developer to oracle 11g from lubuntu to centos

I have Installed sql-developer on Lubuntu and I want to connect sql-developer to oracle 11g, oracle 11g installed in another system(Centos)and sql-developer installed(Lubuntu) while testing the connectivity from sql-developer via tns service name its showing error as "Status -Test Failed: IO Error The Network Adapter Couldn't establish the connection". TNSPING is working for service names and ping ip-address is also working in destination sever where we have installed oracle 11g database.
Please let me know to resolve this issue.
Thanks,
Ranjithkumar
Could you please provide your TNS-Names File or the configuration of your SQL-Developer? The Error seems to occur because of a false Host-Definition. Be sure that you put in the right SID or Service name.
If you assume that your configuration must be right, please Check your DNS- and firewall-Settings. Further you can change into the Oracle-Bin Folder and execute the "tnsping" binary with the Host as Parameter.

Oracle - Apache PL/SQL Gateway Module - mod_owa - access remote server

I have an Ubuntu 13.10 VM that I've created using Vagrant. This is meant to be a local development environment for a remote application using Oracle 11g and Oracle Fusion Middleware 11g.
What I want to do is, clone the application's code repository into the local VM and "route" the requests that are made on the local VM through the server where the application is hosted (DEV), so I won't need to install the database on the local VM together with all it's packages and procedures and also Oracle Middleware.
I came across Apache PL/SQL Gateway Module (https://oss.oracle.com/projects/mod_owa/dist/documentation/modowa.htm) which it's a substitute for Oracle Middleware.
I've installed and configured mod_owa on the VM, but when I restarted Apache I got the following error:
apache2: Syntax error on line 234 of /etc/apache2/apache2.conf:
Syntax error on line 1 of /etc/apache2/conf.d/mod_owa.conf:
Cannot load /usr/lib/apache2/modules/mod_owa.so into server: libclntsh.so.11.1:
cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
The above error makes me think that I still need to install Oracle 11g on the VM. Is there a way to bypass that error and make use of the remote server (DEV)?
I'm late to the party, but yes you need Oracle client installed on your apache server.
You need instant client with OCI (Basic): http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Then to simplify your running environment:
As root:
Create a file oracle.conf under /etc/ld.so.conf.d
Single line in that file with a reference you oracle lib directory (oracle client home/lib)
run ldconfig
And you should be good to go.

How to configure access from clients to Firebird 2.5 in Windows 2008 Server?

I'd like to access a Firebird DB 2.5 from clients. Firebird is installed in Windows 2008 Server, running and operational. There's no connection problems when trying to do it in the server itself. But I'm not reaching do the same when in clients. I've opened 3050 port in Win 2008 Firewall, but nothing happens. When I test the conection using IBExpert, for example, the following erro message appears:
Attempting to connect to:
XX.XXX.XXX.XX:SuperFireBD\SuperFireDB.FDB
Connecting... Failed!
------------------------------------
Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements.
I/O error during "CreateFile (open)" operation for file "SuperFireBD\SuperFireDB.FDB".
Error while trying to open file.
The system cannot find the path specified. .
Attempting to connect to services manager... Passed!
Disconnecting from database... Passed!
I'm operating over a domain, and I'm not sure wether I have all the grants of the domain's network firewall. Thus, how can I test the 3050 port without telnet? What would I doing wrong? Thanks!
It looks to me it is connecting, but Firebird cannot open your database file.
Try an absolute path like x.x.x.x:c:\SuperFireDB\SuperFireDB.FDB
If that works, I highly suggest making use of aliases.conf located in the Firebird install directory. Then, clients only have to connect to x.x.x.x:SuperFireDB or whatever you decide to name it. If you need to move the database file later, you only have to update aliases.conf and not every client.
Hope this helps! Also if you install firebird server on your machine (no need to run it), you can try to connect through Firebird's own command line client (ISQL).
Some help here: http://www.firebirdsql.org/manual/qsg10-connecting.html.
I met the same problem.
Answer is very simple: fbserver.exe process has no permissions to read/write file *.fdb.
I added read/write permissions for the user SYSTEM on file *.fdb (fbserver.exe runs as windows service as user SYSTEM) and problems disappear.