So, attempting to upgrade to nfsen1.3b aftering upgrading to the latest
nfdump snapshot has introduced some problems..
It appears that conf.php is not in the html directory on the
1.3b-20070720snapshot. Is this intentional?
nfsen.php is calling for it, and introducing errors in my error.log, and
making nfsen.php un-browsable.
[Fri Aug 10 10:53:22 2007] [error] [client 10.80.110.168] PHP Warning:
include(conf.php) [<a href='function.include'>function.include</a>]: failed
to open stream: No such file or directory in /www/html/nfsen/nfsen.php on
line 51
line 51 of nfsen.php = "include ("conf.php");"
[Fri Aug 10 10:53:22 2007] [error] [client 10.80.110.168] PHP Fatal error:
Call to undefined function socket_create() in
/www/light.sege.local/html/nfsen/nfsenutil.php on line 14
Also another error originating in nfsenutil.php:
line 14 of nfsenutil.php = "$nfsend = socket_create(AF_UNIX, SOCK_STREAM,
0);"
Any advice?
On 8/10/07, Eric Cables <[EMAIL PROTECTED]> wrote:
>
> Thanks, the new snapshot compiled without the previous error(s).
>
> On 8/10/07, Peter Haag <[EMAIL PROTECTED] > wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Eric,
> > The new snapshot 20070808 on sourceforge compiles on Solaris. Please use
> > that one.
> >
> > - Peter
> >
> > - --On August 9, 2007 11:39:29 -0700 Eric Cables <[EMAIL PROTECTED]>
> > wrote:
> >
> > | I'm doing the same, but ran into compilation problems w/ the latest
> > | snapshot:
> > |
> > | Configure options:
> > | ./configure --enable-nfprofile --with-rrdpath=/usr/local
> > |
> > | Error:
> > | gcc -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes
> > | -Wmissing-declarations -Wmissing-noreturn -o nfcapd nfcapd.o
> > | nffile.onf_common.o
> > | util.o flist.o panonymizer.o rijndael.o fts_compat.o nfnet.onetflow_v9.o
> > | netflow_v5_v7.o launch.o bookkeeper.o expire.o
> > nfstatfile.o-L/usr/local/lib
> > | Undefined first referenced
> > | symbol in file
> > | bind nfnet.o
> > | listen nfnet.o
> > | sendto nfcapd.o
> > | socket nfnet.o
> > | setsockopt nfnet.o
> > | getsockopt nfnet.o
> > | connect nfnet.o
> > | getaddrinfo nfnet.o
> > | recvfrom nfcapd.o
> > | freeaddrinfo nfnet.o
> > | inet_ntop nf_common.o
> > | gai_strerror nfnet.o
> > | ld: fatal: Symbol referencing errors. No output written to nfcapd
> > | collect2: ld returned 1 exit status
> > | *** Error code 1
> > | make: Fatal error: Command failed for target `nfcapd'
> > |
> > | On 8/9/07, Peter Haag <[EMAIL PROTECTED] > wrote:
> > | >
> > | > -----BEGIN PGP SIGNED MESSAGE-----
> > | > Hash: SHA1
> > | >
> > | > Use latest nfdump snapshot.
> > | >
> > | > - Peter
> > | >
> > | >
> > | > - --On August 9, 2007 7:55:28 -0700 Kevin Cruse < [EMAIL PROTECTED]>
> > wrote:
> > | >
> > | > | Hello all,
> > | > |
> > | > | quick question. I currently have nfdum 1.5.2 and nfsen 1.2.4installed.
> > | > I would
> > | > | like to upgrade nfsen to
> > | > | nfsen-1.3b-20070720.tar.gz(obtained from sourceforge),
> > documentation on
> > | > | sourceforge says i need to update nfdump
> > | > to 'stable'
> > | > | 1.6. The problem is....i can't find 1.6 anywhere. Does anyone know
> > if
> > | > this is
> > | > | really required and or know where i can download a copy. Thanks.
> > | > |
> > | > | Kevin
> > | > |
> > | > | ----- Original Message ----
> > | > | From: Peter Haag < [EMAIL PROTECTED]>
> > | > | To: Jon Spinney <[EMAIL PROTECTED]>
> > | > | Cc: [email protected]
> > | > | Sent: Thursday, August 9, 2007 4:47:23 AM
> > | > | Subject: Re: [Nfsen-discuss] Issues with website
> > | > |
> > | > | -----BEGIN PGP SIGNED MESSAGE-----
> > | > | Hash: SHA1
> > | > |
> > | > |
> > | > |
> > | > | - --On August 8, 2007 20:59:46 -0400 Jon Spinney <
> > | > [EMAIL PROTECTED]> wrote:
> > | > |
> > | > | | I am running nfdump version 1.5.2 and nfsen version 1.2.4. I
> > tried
> > | > more
> > | > | | recent versions, but ran into website problems as well. As far
> > as the
> > | > | | syslog file goes, I'm not sure what file you are referring
> > to. There
> > | > didn't
> > | > | | seem to be any log files under data/nfsen and I could not find
> > any
> > | > relevant
> > | > | | syslog files any where else.
> > | > |
> > | > | In nfsen.conf, there is a syslog config option:
> > | > |
> > | > | $syslog_facility = 'local3';
> > | > |
> > | > | You need to configure syslogd, to log all those messages in a
> > file.
> > | > Check this file.
> > | > |
> > | > | Anyway - for 1.2.4 I assume your web server uid is not allowed to
> > run
> > | > the nfsen
> > | > | command, which results in a failure like this. Make sure the uid
> > of the
> > | > web server
> > | > | can run 'nfsen'.
> > | > |
> > | > | - Peter
> > | > |
> > | > | |
> > | > | | Jon
> > | > | |
> > | > | | On 8/8/07, Peter Haag <[EMAIL PROTECTED]> wrote:
> > | > | | >
> > | > | | > -----BEGIN PGP SIGNED MESSAGE-----
> > | > | | > Hash: SHA1
> > | > | | >
> > | > | | > Jon,
> > | > | | > Which version are you using? What does your syslog log file
> > say?
> > | > | | >
> > | > | | > - Peter
> > | > | | >
> > | > | | > - --On August 7, 2007 16:21:49 -0400 Jon Spinney <
> > | > | | > [EMAIL PROTECTED]> wrote:
> > | > | | >
> > | > | | > | Hi all
> > | > | | > |
> > | > | | > | I am having some issues with the nfsen web. I'm not sure
> > if
> > | > I'm
> > | > | | > missing
> > | > | | > | something or what. When I load the website, it shows me all
> > the
> > | > graphs
> > | > | | > and
> > | > | | > | the systems that I want monitored with their associated
> > colors,
> > | > and the
> > | > | | > | graphs update. For some reason the profiles drop down box
> > is not
> > | > | | > working.
> > | > | | > | Next to 'Selected profile:', it says <No Profiles
> > Available>. If
> > | > I drop
> > | > | | > it
> > | > | | > | down, there is not option to add one. I thought it was a
> > Firefox
> > | > issue,
> > | > | | > but
> > | > | | > | when I tried it on IE, I got the same thing. On my box, I
> > browsed
> > | > to
> > | > | | > | data/nfsen/profiles and there is a live directory with all
> > of my
> > | > | | > systems.
> > | > | | > | Any ideas would be appreciated.
> > | > | | > |
> > | > | | > | Jon
> > | > | | >
> > | > | | >
> > | > | | >
> > | > | | > - --
> > | > | | > _______ SWITCH - The Swiss Education and Research Network
> > ______
> > | > | | > Peter Haag, Security Engineer, Member of SWITCH CERT
> > | > | | > PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D
> > D7
> > | > | | > SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich,
> > Switzerland
> > | > | | > E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
> > | > | | > -----BEGIN PGP SIGNATURE-----
> > | > | | > Version: GnuPG v1.4.3 (Darwin)
> > | > | | >
> > | > | | >
> > iQCVAwUBRrlnc/5AbZRALNr/AQJpsQP+PsdwEciOhcNcoDE4BEC6R/19TRNjIh20
> > | > | | >
> > Xx6vfDVKSGyXqbPKax76DpAtXS/U/PX3rFI6rn8jPpY6S5j4LQCyESrsTQgsHFLl
> > | > | | >
> > 8S+qm/PHny9NwKCCsMBWmEa+9xTcCTGhi3nTCZbugaSqhxjvJ48ISupTZCaMhoWv
> > | > | | > ucaCHx12yaI=
> > | > | | > =ATeg
> > | > | | > -----END PGP SIGNATURE-----
> > | > | | >
> > | > | | >
> > | > |
> > | > |
> > | > |
> > | > | - --
> > | > | _______ SWITCH - The Swiss Education and Research Network ______
> > | > | Peter Haag, Security Engineer, Member of SWITCH CERT
> > | > | PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
> > | > | SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
> > | > | E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
> > | > | -----BEGIN PGP SIGNATURE-----
> > | > | Version: GnuPG v1.4.3 (Darwin)
> > | > |
> > | > | iQCVAwUBRrrUoP5AbZRALNr/AQLlaQP+JwfyhIK97LkEckDJaOq9R6duRfE8REqg
> > | > | UVrKULD8K+1+DbR4jUJ2AKrXrgdPHbfiiCMH/DDjiTqe8vaQ/sw1uAtc+eOzSCtm
> > | > | hJZFhTcz9Fzq7DgNlJpom9fjuaaucfxp0r+PbNkD8/YnBB4HTc9peZfkXYEefCZ2
> > | > | c4D9Xm8s1eQ=
> > | > | =yN2S
> > | > | -----END PGP SIGNATURE-----
> > | > |
> > | > |
> > | > |
> > | >
> > -------------------------------------------------------------------------
> > | > | This SF.net email is sponsored by: Splunk Inc.
> > | > | Still grepping through log files to find problems? Stop.
> > | > | Now Search log events and configuration files using AJAX and a
> > browser.
> > | > | Download your FREE copy of Splunk now >> http://get.splunk.com/
> > | > | _______________________________________________
> > | > | Nfsen-discuss mailing list
> > | > | [email protected]
> > | > | https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
> > | > |
> > | > |
> > | > |
> > | > |
> > | > |
> > | > |
> > | > |
> > | >
> > _________________________________________________________________________________
> > | > ___
> > | > | Pinpoint customers who are looking for what you sell.
> > | > | http://searchmarketing.yahoo.com/
> > | > |
> > | > |
> > | >
> > -------------------------------------------------------------------------
> > | > | This SF.net email is sponsored by: Splunk Inc.
> > | > | Still grepping through log files to find problems? Stop.
> > | > | Now Search log events and configuration files using AJAX and a
> > browser.
> > | > | Download your FREE copy of Splunk now >> http://get.splunk.com/
> > | > | _______________________________________________
> > | > | Nfsen-discuss mailing list
> > | > | [email protected]
> > | > | https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
> > | >
> > | >
> > | >
> > | > - --
> > | > _______ SWITCH - The Swiss Education and Research Network ______
> > | > Peter Haag, Security Engineer, Member of SWITCH CERT
> > | > PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
> > | > SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
> > | > E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
> > | > -----BEGIN PGP SIGNATURE-----
> > | > Version: GnuPG v1.4.3 (Darwin)
> > | >
> > | > iQCVAwUBRrssQP5AbZRALNr/AQLFCAP+OvX65z8wnHZZHJ3NkUHr1wniekOPtGsj
> > | > 3fSIQ+ifyi0f2WFiLrizaUcLeVV2cGmTvryAdJbeJxWAWXi1zfVH9jSuGX1sXlXu
> > | > WhgZHdol+Bm2LiE/yqqpvlGzawp2M5E6wknkGBUrVAgCXhqr9HzZo3kV34y4MSkE
> > | > cQtlElPfFVE=
> > | > =jcGC
> > | > -----END PGP SIGNATURE-----
> > | >
> > | >
> > | >
> > -------------------------------------------------------------------------
> > | > This SF.net email is sponsored by: Splunk Inc.
> > | > Still grepping through log files to find problems? Stop.
> > | > Now Search log events and configuration files using AJAX and a
> > browser.
> > | > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > | > _______________________________________________
> > | > Nfsen-discuss mailing list
> > | > [email protected]
> > | > https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
> > | >
> > |
> > |
> > |
> > | --
> > | Eric Cables
> >
> >
> >
> > - --
> > _______ SWITCH - The Swiss Education and Research Network ______
> > Peter Haag, Security Engineer, Member of SWITCH CERT
> > PGP fingerprint: D9 31 D5 83 03 95 68 BA FB 84 CA 94 AB FC 5D D7
> > SWITCH, Werdstrasse 2, P.O. Box, CH-8021 Zurich, Switzerland
> > E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (Darwin)
> >
> > iQCVAwUBRrwn+P5AbZRALNr/AQKFXQP/cMffGlx1zBSuAivi2xIzs7e05v9We9OH
> > W9bJWgLW3SkyIH//4JWbfwrB3fwX9+G1fX9xqkV5Y8GXcILVW0N7QXFHvZUpM7lk
> > /irpqN4xa/xfxChk81KtUTA1Bpztepglum/VKkXvZSoq97HiOC680VjBnCAj+98N
> > 6MtYDaL/KE8=
> > =Lxhw
> > -----END PGP SIGNATURE-----
> >
> >
>
>
> --
> Eric Cables
--
Eric Cables
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss