Hi Eric, I've just sent you a reply, but the nfsen-discuss mailing list rejected my message because it doesn't accept attached e-mails.
The error messages seem similar to those in a recent message of the nfdump mailing list. Could it be that you are running Solaris? You can find the relevant e-mails here: http://sourceforge.net/mailarchive/forum.php?thread_name=1186584714.5459.41.camel%40synera&forum_name=nfdump-discuss This might solve the socket errors. If your problem with the double collectors persist after that, could you try running 'bash -x nfsen.rc 2> /tmp/output.txt' and attaching /tmp/output? Werner Eric Cables wrote: > Anyone? > > On 8/1/07, *Eric Cables* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Oh, the above was run using /bin/bash as the shell interpreter, as > /bin/sh is erroring out with the original "./nfsen.rc: syntax > error at line 103: `x=$' unexpected" error message. > > > On 8/1/07, *Eric Cables* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Here's an update: > - nfcapd is running 2 processes for each source, not sure why > - nfsen is not starting > > Starting nfcpad: router1 router2 done. > Starting nfsen-run: unix dgram connect: Socket operation on > non-socket at /usr/local/nfsen/bin/nfsen-run line 585 > unix dgram connect: Socket operation on non-socket at > /usr/local/nfsen/bin/nfsen-run line 79 > no connection to syslog available at > /usr/local/nfsen/bin/nfsen-run line 79 > done. > > netflow 975 1 0 15:54:20 ? 0:00 > /usr/local/bin/nfcapd -w -D -I router1 -p 9995 -u netflow -g > nobody -B 20000 > netflow 1000 1 0 15:54:20 pts/19 0:00 > /usr/local/bin/nfcapd -w -D -I router2 -p 9996 -u netflow -g > nobody -B 20000 > netflow 974 1 0 15:54:19 pts/19 0:00 > /usr/local/bin/nfcapd -w -D -I router1 -p 9995 -u netflow -g > nobody -B 20000 > netflow 1001 1 0 15:54:20 ? 0:00 > /usr/local/bin/nfcapd -w -D -I router2 -p 9996 -u netflow -g > nobody -B 20000 > > > On 8/1/07, *Eric Cables* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > dfI am attempting to run nfsen.rc start for the first > time, but I am encountering this error: > > Running nfsen-1.2.4 > > # ./nfsen.rc start > ./nfsen.rc: syntax error at line 103: `x=$' unexpected > > ! > while [ -f $pidfile -a "$x" -le 120 ]; do > # increment the value of x: > x=$(expr $x + 1) > sleep 1 > echo -n "." > ! > > I have attempted to use /bin/bash as the shell > interpreter, which seems to work, but instead of one > instance of nfcapd for each source, I get 2 instances for > each source... > > # ./nfsen.rc start > Starting nfcpad: sdhqir0201 sdhqir0202 done. > Starting nfsen-run: unix dgram connect: Socket operation > on non-socket at /usr/local/nfsen/bin/nfsen-run line 585 > unix dgram connect: Socket operation on non-socket at > /usr/local/nfsen/bin/nfsen-run line 79 > no connection to syslog available at > /usr/local/nfsen/bin/nfsen-run line 79 > done. > > Thanks, > > -- > Eric Cables > > > > > -- > Eric Cables > > > > > -- > 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 > ------------------------------------------------------------------------- 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
