Heh, :) thanks I wish it was an option. Sadly I have to support an Ntop install on a Sun Netra 105 running Solaris 8.
Just to follow-up this thread the hack I made successfully on my Solaris 9 (Ultra 5) box did not work on the Solaris 8 install...Ntop fails to start with the same error. So its back to hacking at it. I will say the 2.2.2 Install is running like a champ on Solaris 9. No more GDChart errors. Mike Tremaine [EMAIL PROTECTED] http://www.stellarcore.net ----- Original Message ----- From: "Igal Baevsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2003 4:38 AM Subject: [Ntop] Re: Ntop 2.2.2 Solaris 8 problems > Mike , I'm almost crying when reading your posts regarding Solaris. > I had the same Solaris problems before, not just with NTOP but with > other free software(NAGIOS,etc). What I did, was installing Debian linux > on my Ultra 10 Sparc station. Believe me - life is much easier now for > me. Everything is working with almost no special configs and hacking - > leave it for programmers ;-) > I hope that it helps. > Igal. > > > Mike Tremaine wrote: > > [Disclaimer] > > I have no idea what I'm doing. Ntop is forcing me to learn C (The O'Reilly > > people just made another 39bucks from me...) > > [/Disclaimer] > > > > After hacking around for days at pbuf.c I found a way to get it to run on my > > test box (Solaris 9) > > > > Here it is..... > > > > [EMAIL PROTECTED] ~/ntop_cvs/ntop [123] cvs diff pbuf.c > > Index: pbuf.c > > =================================================================== > > RCS file: /export/home/ntop/ntop/pbuf.c,v > > retrieving revision 2.122 > > diff -r2.122 pbuf.c > > 902c902 > > < u_char *tcp_data = (u_char *)((int)tcp + tcp->th_off * 4); > > --- > > > >> u_char *tcp_data = (u_char *)((int)tcp + tp.th_off * 4); > > > > > > > > That little change made the start up problems go away. So I have no idea if > > that was a missed change since I see no other tcp->th_off calls but several > > tp.th_off 's.... > > > > Now that it is running it has a a problem showing the STATS->TRAFFIC page > > which was the same problem I had back in 2.2 and I hacked around... So I'm > > going back to gdb and my notes to see If I can bring this page up as well. > > > > > > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
