Hi Harley,

Thanks for the response. As I mentioned in my post, I used lsof to
check that no other process has the device open. In addition, using an
earlier version of libpcap (modified in-house but based on 0.5 or
thereabouts) works fine on the same box. Is there any reason why
earlier versions of libpcap would allow devices to be opened more than
once, but the newest version wouldn't? I'm pretty sure there isn't (as
it seems to just be a limitation of dlpi), which makes me pretty sure
that there's no other processes interfering.

Thanks again,
Justin


On 6/8/06, Harley Stenzel <[EMAIL PROTECTED]> wrote:
On 6/8/06, Justin E <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've been trying to get libpcap 0.9.4 to work on several HP-UX boxes,
> and am unfortunately having some trouble when I try to open an
> interface using pcap_open_live. The error I receive is:
>
> recv_ack: promisc_phys: UNIX error - Device busy
>

It sounds like some other process has the device open.  On HP-UX,
unlike Linux and (iirc) Solaris, only one process may have an
interface open at a time.

I double checked this on my ia64 HP-UX 11.23 box, and this is the
behavior I observed.

Is it possible another libpcap / streams / dlpi process is running?

> Thanks,
> Justin

  --Harley
-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.

Reply via email to