[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-jail
Subject:    9 netstat in a jail, 12 vs 13
From:       Sami Halabi <sodynet1 () gmail ! com>
Date:       2019-01-31 21:37:11
Message-ID: CAEW+ogZknQUTGRc8QJCtRiDNGe_3LT6hG-wdeyH0s1=VEzDYCA () mail ! gmail ! com
[Download RAW message or body]

Compile static binary of netstat and copy it to the jail may solve your
problem.
Sami

בתאריך יום ה׳, 31 בי ו׳ 2019, 20:09, מאת Christer Edwards <
christer.edwards@gmail.com>:

> On Thu, Jan 31, 2019 at 9:29 AM Michael W. Lucas <
> mwlucas@michaelwlucas.com>
> wrote:
>
> >
> > 12.0 jail on -current host:
> >
> > root@loghost:~ # sockstat -4
> > sockstat: struct xinpgen size mismatch
> > root@loghost:~ # netstat -na -f inet
> > netstat: kvm not available: /dev/mem: No such file or directory
> > Some tcp sockets may have been deleted.
> > Some udp sockets may have been deleted.
>
>
> I have seen this happen anytime I have run a jail where the version does
> not exactly match the host. sockstat always fails with 'sockstat: struct
> xinpgen size mismatch'
>
> Very interested in a solution / patch / workaround myself.
>
> Christer
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic