Matthias, Short tags are on by default in /etc/php.ini and I could not find any short tags in the nfsen.php file.
Thanks Steve -----Original Message----- From: Matthias Cramer [mailto:[EMAIL PROTECTED] Sent: Friday, April 27, 2007 3:07 PM To: [email protected] Cc: Stephen W. Bradley Subject: Re: [Nfsen-discuss] Nfsen not working Hi Stephen I had the same problem, and searched for hours. I then found out, that in some of the code there are short php open tags (<? instead of <?php). After I changed all of those (5 to 10 apearences) it worked flawlessly. Another solution would be to enable open_short_tags in php.ini. Hope that helps. Best regards Matthias Stephen W. Bradley wrote: > Chris managed to get me through the snapshot problem so that is my focus > now. Thank you Chris > > In order to get around the problem of not finding the libraries for rrd I > had to put them in /usr/lib64. That fixes the configure problem for the > snapshots requiring --enable-nfprofile. > > I have started it up using /nfsen/bin/nfsen.rc start but the web page fails > to load with the following: > > > ERROR: nfsend connect() error: Permission denied! > ERROR: nfsend - connection failed!! > ERROR: Can not initialize globals! > > > Which leads to this in the /var/tmp/nfsen-log file. > > > > ========================= > Run at 2007-04-27-14:52:11 > > nfsend No socket - open connection first > > > > It appears to have a problem binding to a socket but I do not know why. > > > Any ideas appreciated. > > Thanks > Steve > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Chris > Waters > Sent: Friday, April 27, 2007 12:04 PM > To: [email protected] > Subject: Re: [Nfsen-discuss] Nfsen not working > > I have a similar configuration and while not working 100% (profiles > still don't work for me) the live profile is working just fine. I am > running the snapshots for nfdump and nfsen. > > Centos 4.4 X86_64 > nfsen: snapshot-20070312 $Id: nfsen 76 2007-03-13 12:20:11Z peter $ > nfdump: Version: snapshot-20070312 $LastChangedDate: 2007-03-13 08:36:17 > +0100 (Tue, 13 Mar 2007) $ > $Id: nfdump.c 88 2007-03-06 08:49:26Z peter $ > RRDtool 1.2.19 > perl v5.8.8 > > I do remember having a problem getting the right path for the > rrdlibraries. I am trying to figure out what I did to get it to work. > I'll post again when I find the answer for you. > > > Chris Waters > Technology Services - Network Group > JELD-WEN, Inc. > Information Systems > [EMAIL PROTECTED] > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stephen W. Bradley > Sent: Friday, April 27, 2007 8:43 AM > To: [email protected] > Subject: [Nfsen-discuss] Nfsen not working > > This may seem like an odd question but does anyone have Nfsen working > 100%? > > 1. > > I have tried for days now and I still cannot get the details web page to > work. > > Centos 4.4 > rrdtool-1.2.18 > nfdump-1.5.2 > nfsen-1.2.4 > MailTools-1.76 > Perl 5.8.5 > > It will not show the graphs on the page. Everything else seems to be > working but the graphs will not display. I can do searches but when I > click on the tab at the top or click through to that page I do not get > any pictures at all. > > Everything installs and compiles cleanly and I have gone through the > permissions and users with no luck. > > > 2. > > I have also tried installing the latest snapshots but Nfdump will NOT > configure because it cannot find the librrd.so.2 no matter where I put > it. > I would prefer to run the latest but if it won't work I can run older > code. > > configure:5871: test -s conftest.o > configure:5874: $? = 0 > configure:5885: result: yes > configure:5888: checking size of void * > configure:6207: gcc -o conftest -g -O2 -Wall -Wstrict-prototypes > -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn > -I/usr/local/soft/rrdtool-1. > 2.18/include -L/usr/local/soft/rrdtool-1.2.18/lib conftest.c -lrrd >&5 > conftest.c:70: warning: function declaration isn't a prototype > conftest.c:71: warning: function declaration isn't a prototype > conftest.c:76: warning: function declaration isn't a prototype > configure:6210: $? = 0 > configure:6212: ./conftest > ./conftest: error while loading shared libraries: librrd.so.2: cannot > open shared object file: No such file or directory > configure:6215: $? = 127 > configure: program exited with status 127 > > > I have tried putting the libs almost everywhere on the system and tried > different --with-rrdpath= path with no success. > > > Any guidance would be appreciated. > > Thank you > Steve > > > > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express Download DB2 Express C - > the FREE version of DB2 express and take control of your XML. No limits. > Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nfsen-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nfsen-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Nfsen-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss -- Matthias Cramer System & Network Manager Interway Communication GmbH Phone +41 43 500 1111 Josefstrasse 225 Fax +41 44 271 3535 CH-8005 Zuerich http://www.interway.ch/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nfsen-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
