[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Testbed-admins] pcapper not listening...
In fact, we did recently see this. You can download:
http://www.emulab.net/downloads/pcapper.diff
The relevant part of the patch is this:
/*
* Create a socket to listen on, so that we can tell remote
* applications about the counts we're getting.
*/
- proto = getprotobyname("TCP");
- sock = socket(AF_INET,SOCK_STREAM,proto->p_proto);
+ sock = socket(AF_INET, SOCK_STREAM, 0);
which gets rid of the call to getprotobyname (yes, it is hanging in there).
Let me know if the patch works for you.
On Mon, Nov 23, 2009 at 04:31:08PM -0600, Eric Hall wrote:
> When using link tracing in a very simple exp, pcapper doesn't appear to
> be listening on the specified port on the tbsdelay node.
>
> Tracing appears to be working as there are capture logs in /local/logs,
> and control (pause/restart) of the tracing appears to work as state is
> updated in appropriate /var/emulab/logs/trace_link0-*.debug files
>
> But examining the log files via the web interface results in "Error
> opening pc3/4443 - " messages and netstat -an on the tbsdelay node
> doesn't show anything listening on port 4443.
>
> Has anyone seen this before? Any thoughts on what to check?
>
> Any info appreciated,
> --
> Eric
> _______________________________________________
> Testbed-admins mailing list
> Testbed-admins@flux.utah.edu
> http://www.flux.utah.edu/mailman/listinfo/testbed-admins