Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
PS This has also been posted as a reply to the thread "OpenOffice Data Source Informix"
I think I now know the order - although I still can't get a connection to work. I assume that I have to:
1) Use the unixODBC utilities to register the ODBC drivers set up on the system (we use GNOME so did not have the ODBCConfig utility loaded).
1) Set up the driver entries in /etc/odbcinst.ini (manually edited via vi)
2) Set up the DSN's and connection parameters in /etc/odbc.ini (manually edited via vi)
I took the Informix default odbcinst.ini and odbc.ini and pasted them into the equivalent files in /etc. The problem that I did not spot at first here, was that Informix had comment lines beginning with a semi colon. Once that was removed, the Data Sources then appeard in the OO URL link.
I have tried using the unixODBC utilities isql, DataManager and odbctest, but cannot get a connection from any of them. From OpenOffice I get (Via Calc) an error:
No connection could be established for the URL sdbcdbc:Infdrv33.
With an sql error of:
SQL Status: 00000
I did think that the problem may then have been caused by my having turned off the 'rlogin,rexec and rsh' services on my server (for security). But I turned the services back on again today and retried the test with the same results.
Am I going down the right track?
I am used to specifying the protocol and service number (ie TCP port) when making Informix connections - but couldn't see these entries anywhere in the Informix ODBC ini files....