What exactly did you try nedi.conf ? Trying involves a verb. 

I suggest, you edit the file. 

http://www.nedi.ch/install:general_procedure

line 2

More info about what to edit in that file and then run the nedi.pl with the -i 
option, which will inititate the database.

from http://nedi.darwinports.com/

4) Configure NeDi, initialize database, and Login to NeDi
-----------------------------------------------
-Set NeDi owner: sudo chown -R : ${nedidir}/${name}/
-Apache symlink: ln -s ${nedidir}/${name}/html/ ${prefix}/apache2/htdocs/nedi
-Edit nedi.conf Backend/Authen/Device Access sections: sudo pico 
${nedidir}/${name}/nedi.conf
Leave nedi.conf permissions at 600 to protect your network passwords!
backend MSQ
dbpass
authuser mysql

comm (community string of your Cisco devices)
(user/pass of your Cisco devices)

-Initialize the NeDi database:
cd ${nedidir}/${name}
sudo ./nedi.pl -i
When prompted for \"MySQL admin user:\" and enter 'root' and then MySQL root 
password.


(Google rules)


rgds,

Reinier Battenberg
Director
Mountbatten Ltd.
+256 782 801 749
www.mountbatten.net

Be a professional website builder: www.easysites.ug


On Friday 03 July 2009 10:15:39 Richard Zulu wrote:
> Jan
> Ok,i can now login to Localhost, However now, running ./nedi.pl still
> brings up the error:
>
> #NeDi 1.0.4 - 4.Apr 2009
> #DBI connect('mysql:localhost','',...) failed: Access denied for user
> 'root'@'localhost' (using password: NO) at ./inc/libdb-msq.pl line #21
>
> Does anyone know how i can get nedi to communicate with mysql, i have
> tried nedi.conf but it seems within /inc/libdb-msq.pl,nedi is to
> create it's own database and users when the command ./nedi.pl is
> executed


_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug
%LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to