problem running np-distd

Le Dang Khoa <kenji_le-/[email protected]> Wed, 11 May 2005 13:34:29 -0700 (PDT)
Newsgroups gmane.network.net-policy.user
Message-ID <[email protected]>
--0-922777809-1115843669=:30474
Content-Type: text/plain; charset=us-ascii


Hello, I can run net-policy web interface now but np-distd still not work. When I start net-policy service, it's all OK. But when I stop, np-distd is failed.

[root@localhost net-policy-2.1]# service net-policy start

Starting np-distd: [ OK ]

Starting np-datad: [ OK ]

Starting np-collectd-perl: [ OK ]

[root@localhost net-policy-2.1]# service net-policy stop

Shutting down np-distd: [FAILED]

Shutting down np-datad: [ OK ]

Shutting down np-collectd-perl: [ OK ]

After creating some clients and realms, I run np-datad and np-distd to send out policies and receive an error message: 

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

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

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

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

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

Please give me some help!

Best regards,

Kenji Le

		
---------------------------------
Yahoo! Mail
 Stay connected, organized, and protected. Take the tour
--0-922777809-1115843669=:30474
Content-Type: text/html; charset=us-ascii

<FONT size=2>
<P>Hello, I&nbsp;can run net-policy web interface now but np-distd still not work. When I start net-policy service, it's all OK. But when I stop, np-distd is&nbsp;failed.</P>
<P>[root@localhost net-policy-2.1]# service net-policy start</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>Starting np-distd: [ OK ]</P>
<P>Starting np-datad: [ OK ]</P>
<P>Starting np-collectd-perl: [ OK ]</P></BLOCKQUOTE>
<P>[root@localhost net-policy-2.1]# service net-policy stop</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>Shutting down np-distd: [FAILED]</P>
<P>Shutting down np-datad: [ OK ]</P>
<P>Shutting down np-collectd-perl: [ OK ]</P></BLOCKQUOTE>
<P dir=ltr>After creating some clients and realms, I run np-datad and np-distd to send out policies and receive an error message:&nbsp;</P>
<P>[root@localhost root]# np-distd -u postgres -p pass</P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>np-odbc: Error: createTheDataSource: Unable to find odbc driver, ''.</P>
<P>np-odbc: : It should be configured according to install instructions.</P>
<P>np-distd: Error: init_dbs: Unable to find/create DSN for ODBC Database access</P>
<P>np-distd: ERROR: unable to initilize DB's</P></BLOCKQUOTE>
<P>Please give me some help!</P>
<P>Best regards,</P>
<P>Kenji Le</P></FONT><p>
		<hr size=1>Yahoo! Mail<br> 
Stay connected, organized, and protected. <a href="http://tour.mail.yahoo.com/mailtour.html">Take the tour</a>
--0-922777809-1115843669=:30474--


-------------------------------------------------------
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