I've been struggling to get cacti to work in an apache 1.3 chroot, and I'm wondering if anyone has any advice or guideline on how to do it properly?
I've tried to ldd all of the needed libraries needed by php, mysql, ping, etc and then just running cacti and checking all of the log files to copy over the files that it complains about and etc...
However its still not working properly

I can now login to cacti via my web browser, and config various stuff but it seems like its failing somewhere on the data collecting step, It will graph stuff and the graphs would be empty, its almost like the data is not getting to cacti some how....
So... does anyone got any advice or tip on how to debug this particular issue, and by the way it works perfectly if its non-chrooted, but I want to have it chrooted for the additional security.