Hi Aubin,

Check the PHP version on both servers.

Does everything else work fine on your new server?

Try removing the @ from mysql_connect to see the errros.

Enable debugging/loggging in setup.php and you will see the logs in jffnms/logs/

Check that your MySQL jffnms user has enogh permissions to run "REPAIR TABLE".

Javier

Aubin Galinotti wrote:
>   Hello,
> 
> I seems that I have the same problem allready posted by
> julien.dastugue at the end of April. I have a box with jffnms freshly
> installed on it and network discovery don't work at all. But I have
> another box with jffnms where it's working.
> 
> As far as I can tell, the only difference between the two instalations
> is that one which don't work is using a private IP address while the
> other one is using a public IP address.
> 
> It's the same OS   (Debian testing, upgraded at the same time to make
> sure I have the same version of libs ...)
> Database is mysql
> Jffnms version is 0.8.1
> 
> I ran a "diff -r" on copies of the directories /usr/share/jffnms, they
> are exactly the same
> I ran a diff on database dump of the 2 boxes, the only differences are
> the nad_* tables which are populated on the working box
> tcpdump show absolutly no attemps of ping, snmp walk etc ...
> 
> I tried to add some tracing in the scripts to see wath is going on ...
> and I see that nad_core is never called, and nad_init die silently when
> calling db_repair.
> 
> in fact I have this :
>    nad_init -> db_repair -> db_get_handle -> db_open -> @mysql_connect
> 
> looks like it can't connect to mysql DB, but the "system setup" tells
> that database connexion is OK, and anyway the interface works, I can add
> zones, so it can connect obviously.
> 
>  If you have any idea ?
> 
>    Regards,
> 
>       Aubin Galinotti
> 
> 
> 
> 
> -------------------------------------------------------
> 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
> _______________________________________________
> jffnms-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jffnms-users

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
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
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to