Solved

Access DB2 from Domino server 6.5.2 in Linux

Posted on 2004-10-22
346 Views
Last Modified: 2013-12-18
Greetings!

I've DECS running, I already have an ODBC conn with Easysoft's software with a SQL Server 2000 server, but I need to access also a DB2 under AS/400.

I have the DB2 driver (thank to IBM's iSeries Client Access for Linux) installed, and have the Agent executed "on server". It seems that the Domino can't see the DSN set in the Linux (configured with unixODBC's ODBCConfig).

Do I need to set something in the notes data directory or set an environment variable or something? :(

ayuda!! :P

thanks! :D
0
Question by:mmartha
    6 Comments
     
    LVL 31

    Assisted Solution

    by:qwaletee
    Hi intouchsystems,

    Domino executes under its own account, make sure that ODBC is configured properly for that account.  Don't know if it has teh concept of user v. system DSN's, but if so, make sure it is a system DSN.

    Best regards,
    qwaletee
    0
     
    LVL 19

    Expert Comment

    by:RanjeetRain
    I will suspect many things. The installation of ODBC could be a problem. I hope your DB2 is installed properly. Have you made sure it is? It requires korn shell for a proper installation (not a part of standard Linux in most distributions).

    My advice for you also would be to switch to WebSphere if you indeed want Linux. That's where the future is.
    0
     
    LVL 19

    Expert Comment

    by:RanjeetRain
    intouchsystems? mmartha? QuickPost?
    0
     
    LVL 19

    Accepted Solution

    by:
    These pages may help you troubleshoot the problem and understand the things overall:

    http://www.unixodbc.org/config.html - How to configure ODBC on Linux using unixODBC ODBCConfig
    unixODBC without the GUI      http://www.unixodbc.org/odbcinst.html http://www.unixodbc.org/config.html
    Linux Web Hosting with WebSphere, DB2, and Domino      http://www.redbooks.ibm.com/redbooks/pdfs/sg246007.pdf http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246007.html?Open

    0
     
    LVL 2

    Author Comment

    by:mmartha
    Hi all!

    I have no access to modify the DB2, it is already running. It is a system DSN, and was configured by the DB2 administrator (so all the connection data must be OK).

    While installing the conn DSN for the SQL Server, I had to add a link in the /opt/lotus/notes/latest/linux directory "to the real unixODBC's libodbc.so which is in /usr/local/easysoft/unixODBC/lib" according to the driver's manufacturer(http://www.easysoft.com/products/2002/lotus.phtml).

    That's why I was thinking that maybe, after the installation of the DB2 driver, and the proper configuration of the system DSN for the DB2 server, I needed to add some kind of link too, so the Domino Server could "see" the driver, or the DSN.

    It is my believe that after de configuration of the DSN, all programs should be able to use it trough simply call it with its name. (my DSN's name is DB2).

    I found out in http://www.unixodbc.org/doc/db2.html some commands like "isql -v login password". When I do that, or when I use the "example" command of Data Direct's driver (www.datadirect.com) I get a succesfull connection. So I don't think the connection is the issue.

    I don't know if all this info helps at all.

    I'm not sure what's the deal about my nickname. :S


    MMarts
    0
     
    LVL 31

    Expert Comment

    by:qwaletee
    As Ranjeet surmised, my QuickPost somehow confused your handle with someone else's.  (QuickPost is a quick access utility for experts to find and respond to questions.)

    EasySoft is an ODBC bridge provider.  I don't know much about those.  I would suggest first getting a simple text ODBC driver working, amke sure it works under multiple logon accounts.   You can then progress to the more sophisticatd stuff.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
    You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now