Re: problem running np-distd

Wes Hardaker <[email protected]> Wed, 11 May 2005 15:24:03 -0700
Newsgroups gmane.network.net-policy.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 11 May 2005 13:34:29 -0700 (PDT), Le Dang Khoa <kenji_le-/[email protected]> said:

Le> [root@localhost root]# np-distd -u postgres -p pass

Le> np-odbc: Error: createTheDataSource: Unable to find odbc driver, ''.

Le> np-odbc: : It should be configured according to install instructions.

Le> np-distd: Error: init_dbs: Unable to find/create DSN for ODBC Database access

Le> np-distd: ERROR: unable to initilize DB's

Does your /etc/odbcinst.ini file have something like this in it?

  # BEGIN Net-Policy
  [NetPolicyPg]
  Description     = Net-Policy ODBC connection to postgresql
  Driver  = /usr/lib/libodbcpsql.so
  Setup           = /usr/lib/libodbcpsqlS.so
  FileUsage       = 1
  ReadOnly        = No
  # END Net-Policy


-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click