AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  tcpdump bpf_load error

    Posted Wed August 10, 2011 10:20 AM

    Originally posted by: HarishSandilya


    Hello All,

    We have an Power 6 p595 server. In on of the LPAR when we try to issue tcpdump command it is throwing the following error, the LPAR have only one IP address set on it for ent0.

    1. tcpdump -i ent0
    bpf_load: could not load driver:

    1. tcpdump
    tcpdump: no suitable device found

    Please help me in this regard.
    #AIX-Forum


  • 2.  Re: tcpdump bpf_load error

    Posted Wed August 10, 2011 11:39 AM

    Originally posted by: SystemAdmin


    Try tcpdump -i en0. Also, ensure you're running as root.
    #AIX-Forum


  • 3.  Re: tcpdump bpf_load error

    Posted Wed August 10, 2011 12:23 PM

    Originally posted by: SystemAdmin


    If you want to listen / capture the packets only from a specific device, then use "host <ip address of the destination>" parameter.

    -w for updating the information on a mentioned file.

    tcpdump -i en0 -w <filename> host <ip address of destination>

    The above command required root access.
    Kannan
    #AIX-Forum


  • 4.  Re: tcpdump bpf_load error

    Posted Wed August 10, 2011 10:48 PM

    Originally posted by: HarishSandilya


    Hi Kannan,

    I was trying as root and tried for both ento and en0 redirecting the output to a file. But the result is the same:
    1. tcpdump -i en0 -w /tmp/tcpdumpfile
    tcpdump: bpf_load: could not load driver: The file access permissions do not allow the specified action.
    1. tcpdump -i ent0 -w /tmp/tcpdumpfile
    tcpdump: bpf_load: could not load driver: The file access permissions do not allow the specified action.
    #
    #AIX-Forum


  • 5.  Re: tcpdump bpf_load error

    Posted Thu August 11, 2011 05:21 PM

    Originally posted by: Holgervk


    does iptrace run?

    lssrc -s iptrace

    tells you
    #AIX-Forum


  • 6.  Re: tcpdump bpf_load error

    Posted Fri August 12, 2011 03:48 PM

    Originally posted by: christianIBM


    Test post
    #AIX-Forum


  • 7.  Re: tcpdump bpf_load error

    Posted Fri August 12, 2011 04:13 PM

    Originally posted by: christianIBM


    test again
    #AIX-Forum


  • 8.  Re: tcpdump bpf_load error

    Posted Thu April 19, 2012 02:15 PM

    Originally posted by: JakobRiisHenriksen


    I had the same issue and errors when trying to do this on a wpar.
    The solution / work-around was to run tcpdump on the lpar hosting the wpar on the relevant interface
    #AIX-Forum