Re: trouble building lsof?

2013-09-01 Thread Gary Aitken
On 09/01/13 20:34, ill...@gmail.com wrote: > On 1 September 2013 22:32, ill...@gmail.com wrote: >> On 1 September 2013 20:36, Gary Aitken wrote: >>> portsnap and update just done, >>> UPDATING shows nothing, >>> /etc/make.conf contains >>> WITH_PKGNG=yes >> >> I don't know, but I have it set to

Re: trouble building lsof?

2013-09-01 Thread ill...@gmail.com
On 1 September 2013 22:32, ill...@gmail.com wrote: > On 1 September 2013 20:36, Gary Aitken wrote: >> portsnap and update just done, >> UPDATING shows nothing, >> /etc/make.conf contains >> WITH_PKGNG=yes > > I don't know, but I have it set to use gcc46 & it builds fine. > > Do you perhaps have

Re: trouble building lsof?

2013-09-01 Thread ill...@gmail.com
On 1 September 2013 20:36, Gary Aitken wrote: > portsnap and update just done, > UPDATING shows nothing, > /etc/make.conf contains > WITH_PKGNG=yes I don't know, but I have it set to use gcc46 & it builds fine. Do you perhaps have WITH_CLANG_IS_CC= set? -- --

trouble building lsof?

2013-09-01 Thread Gary Aitken
portsnap and update just done, UPDATING shows nothing, /etc/make.conf contains WITH_PKGNG=yes #cd /usr/ports #portmaster sysutils/lsof ... ===>>> All dependencies are up to date ===> Cleaning for lsof-4.88.d,8 ===> lsof-4.88.d,8 depends on file: /usr/local/sbin/pkg - foun

Re: Problem compiling lsof

2010-05-26 Thread The-IRC FreeBSD
I personally just synced my servers Kernel and Userland to current via cvsup on a live system and still get same issue as discussed here for unknown reasons. FreeBSD Alpha.The-IRC.Com 8.0-STABLE FreeBSD 8.0-STABLE ===> Vulnerability check disabled, database not found ===> Extracting fo

Re: Problem compiling lsof

2010-05-25 Thread Charlie Kester
On Tue 25 May 2010 at 11:17:36 PDT Arthur Barlow wrote: I did this and sure enough "vm_memattr_t" is defined as a parameter in a typedef as follows: typedef int d_mmap2_t (struc cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr); So the question is, why didn

Re: Problem compiling lsof

2010-05-25 Thread Arthur Barlow
Message: 29 Date: Mon, 24 May 2010 22:14:52 -0700 From: Charlie Kester Subject: Re: Problem compiling lsof To: freebsd-questions@freebsd.org Message-ID: <20100525051452.gi...@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed On Mon 24 May 2010 at 21:55:01 PDT Charlie

Re: Problem compiling lsof

2010-05-25 Thread Larry Rosenman
Can you also make sure that the installed world and kernel matches the source tree? Thanks, Larry Rosenman lsof maintainer "Charlie Kester" wrote: >On Mon 24 May 2010 at 18:54:11 PDT Lowell Gilbert wrote: >>Arthur Barlow writes: >> >>> Sorry about the false

Re: Problem compiling lsof

2010-05-24 Thread Charlie Kester
On Mon 24 May 2010 at 21:55:01 PDT Charlie Kester wrote: The Configure script grep's for vm_memattr_t in ${LSOF_INCLUDE}/sys/conf.h and sets HAS_VM_MEMATTR_T if the grep succeeds. The build failure tells us that your /usr/src/sys/conf.h uses vm_memattr_t, so it seems the Configure is testing so

Re: Problem compiling lsof

2010-05-24 Thread Charlie Kester
On Mon 24 May 2010 at 20:24:49 PDT Arthur Barlow wrote: [r...@uranus /usr/ports/sysutils/lsof]# HASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"8.0-STABLE\"") cc -pipe -march=athlon -fno-strict-aliasing -march=athlon -DHASEFFNLINK=i_effnlink -DHASF_VNO

Re: Problem compiling lsof

2010-05-24 Thread Arthur Barlow
useful feedback, then you ought to provide a little more in the > way of details-- what error? > > -- > -Chuck > Chuck, Fair point. Here's the error messages: Stop in /usr/ports/sysutils/lsof. [r...@uranus /usr/ports/sysutils/lsof]# HASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME

Re: Problem compiling lsof

2010-05-24 Thread Arthur Barlow
rlow wrote: > >> > Sorry about the false start. Fat fingers. I'm trying to compile the > lsof > >> > program in FreeBSD 8.0 on an i686 machine. There is a error > referencing > >> > "dlsof.h" and it looks like there is an ugly "h

Re: Problem compiling lsof

2010-05-24 Thread Glen Barber
Hi Arthur, On Mon, May 24, 2010 at 8:57 PM, Arthur Barlow wrote: > On Mon, May 24, 2010 at 5:43 PM, Chuck Swiger wrote: > >> Hi-- >> >> On May 24, 2010, at 5:41 PM, Arthur Barlow wrote: >> > Sorry about the false start. Fat fingers.  I'm trying to compile t

Re: Problem compiling lsof

2010-05-24 Thread Charlie Kester
On Mon 24 May 2010 at 18:54:11 PDT Lowell Gilbert wrote: Arthur Barlow writes: Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing "dlsof.h" and it looks like there is an ugly "

Re: Problem compiling lsof

2010-05-24 Thread Lowell Gilbert
Arthur Barlow writes: > Sorry about the false start. Fat fingers. I'm trying to compile the lsof > program in FreeBSD 8.0 on an i686 machine. There is a error referencing > "dlsof.h" and it looks like there is an ugly "hack" in the header file. Any > sugge

Re: Problem compiling lsof

2010-05-24 Thread Chuck Swiger
On May 24, 2010, at 5:57 PM, Arthur Barlow wrote: > That doesn't work, which was my point to begin with. The compile process > throws an error. You're abbreviating too much. :-) If you want useful feedback, then you ought to provide a little more in the way of details-- what error? -- -Chuc

Re: Problem compiling lsof

2010-05-24 Thread Arthur Barlow
On Mon, May 24, 2010 at 5:43 PM, Chuck Swiger wrote: > Hi-- > > On May 24, 2010, at 5:41 PM, Arthur Barlow wrote: > > Sorry about the false start. Fat fingers. I'm trying to compile the lsof > > program in FreeBSD 8.0 on an i686 machine. There is a error referencing

Re: Problem compiling lsof

2010-05-24 Thread Chuck Swiger
Hi-- On May 24, 2010, at 5:41 PM, Arthur Barlow wrote: > Sorry about the false start. Fat fingers. I'm trying to compile the lsof > program in FreeBSD 8.0 on an i686 machine. There is a error referencing > "dlsof.h" and it looks like there is an ugly "h

Problem compiling lsof

2010-05-24 Thread Arthur Barlow
Sorry about the false start. Fat fingers. I'm trying to compile the lsof program in FreeBSD 8.0 on an i686 machine. There is a error referencing "dlsof.h" and it looks like there is an ugly "hack" in the header file. Any suggestions, besi

Problem compiling lsof

2010-05-24 Thread Arthur Barlow
I've tried to compile lsof in FreeBSD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Why lsof shows the file as open and fstat doesn't ?

2010-02-15 Thread Yuri
Dan Nelson wrote: It looks like fstat doesn't work on unix sockets at all; I tried on /tmp/mysql.sock and some X11 sockets. I filed a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=143962 Yuri ___ freebsd-questions@freebsd.org mailing list http://l

Re: Why lsof shows the file as open and fstat doesn't ?

2010-02-15 Thread Anthony M. Rasat
Yuri wrote: >But when I run "fstat /tmp/dbus-iQmkLjgxD6" >it doesn't return anything, like this file isn't >open at all. I'm not sure that this will answer your question but bear with me. Usually I use lsof to list any listening TCP or UDP ports, with follo

Re: Why lsof shows the file as open and fstat doesn't ?

2010-02-15 Thread Dan Nelson
In the last episode (Feb 15), Yuri said: > I am looking at one file which is actually a unix socket: > /tmp/dbus-iQmkLjgxD6. > "lsof | grep dbus-iQmkLjgxD6" shows that it's open by a particular > process many times: > ibus-daem 48407 yuri4uunix 0xc9660

Why lsof shows the file as open and fstat doesn't ?

2010-02-15 Thread Yuri
I am looking at one file which is actually a unix socket: /tmp/dbus-iQmkLjgxD6. "lsof | grep dbus-iQmkLjgxD6" shows that it's open by a particular process many times: ibus-daem 48407 yuri4uunix 0xc966019c0t0 /tmp/dbus-iQmkLjgxD6 ibus-daem 48407

Re: Can't upgrade lsof

2008-04-27 Thread Beat Siegenthaler
Larry Smith wrote: I'm a newbie trying to upgrade 'lsof'. 'Portupgrade -a' goes well except for lsof and a couple of files that depend on it (gnome-system-monitor, gnome-applets, etc.) I have cvs'ed my ports tree, did portsdb, pkgdb and portsclean over the las

Re: Can't upgrade lsof

2008-04-23 Thread Pollywog
On Wednesday 23 April 2008 18:25:51 Sam Fourman Jr. wrote: > I also have the same trouble, FreeBSD 7.0 using portupgrade -ar > > Sam Fourman Jr. I had the same problem and had to remove lsof and one other package so that I could upgrade other packa

Re: Can't upgrade lsof

2008-04-23 Thread Sam Fourman Jr.
I also have the same trouble, FreeBSD 7.0 using portupgrade -ar Sam Fourman Jr. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Can't upgrade lsof

2008-04-22 Thread Larry Smith
Hi, I'm a newbie trying to upgrade 'lsof'. 'Portupgrade -a' goes well except for lsof and a couple of files that depend on it (gnome-system-monitor, gnome-applets, etc.) I am running FreeBSD 7-RELEASE on an AMD Sempron with 1Gb of RAM. I have cvs'ed my port

Re: lsof: can't determine device random seed

2008-01-08 Thread Jeffrey Lehman
On Tue, Jan 08, 2008 at 11:25:44PM -0600, Dan Nelson wrote: > In the last episode (Jan 08), Jeffrey Lehman said: > > I'm running 7.0-RC1 amd64 and having an issue with lsof. > > > > # lsof > > lsof: can't determine user device random seed. > > > >

Re: lsof: can't determine device random seed

2008-01-08 Thread Dan Nelson
In the last episode (Jan 08), Jeffrey Lehman said: > I'm running 7.0-RC1 amd64 and having an issue with lsof. > > # lsof > lsof: can't determine user device random seed. > > Anyone seen this problem and have a fix? Do you also have a zfs root? That's wha

lsof: can't determine device random seed

2008-01-08 Thread Jeffrey Lehman
I'm running 7.0-RC1 amd64 and having an issue with lsof. # lsof lsof: can't determine user device random seed. Anyone seen this problem and have a fix? -- Jeffrey Lehman http://digitalguy.net GPG Key fingerprint = 3087 CED0 57F7 3BD3 14E7 969B EE14 BADA D619 8CF5 pgps3qb

Re: Changing shells (was: pkg_add not installing lsof (and other programs)?)

2005-12-15 Thread Vasilkov Vasily
On Thu, 15 Dec 2005 23:58:44 +0300, TuxGirl <[EMAIL PROTECTED]> wrote: If you install bash, be aware that you have that you have to add it (with it's full path, /usr/local/bin/bash) to /etc/shells befor trying to change your shell (with 'pw usermod yourname -s bash'). amon-re# pw usermod erins

Re: Changing shells (was: pkg_add not installing lsof (and other programs)?)

2005-12-15 Thread Lee Capps
At 13:58 Thu 15 Dec 2005, TuxGirl wrote: > > If you install bash, be aware that you have that you have to add it > > (with it's full path, /usr/local/bin/bash) to /etc/shells befor trying > > to change your shell (with 'pw usermod yourname -s bash'). > > amon-re# pw usermod erins -s zsh > pw: no d

Changing shells (was: pkg_add not installing lsof (and other programs)?)

2005-12-15 Thread TuxGirl
> If you install bash, be aware that you have that you have to add it > (with it's full path, /usr/local/bin/bash) to /etc/shells befor trying > to change your shell (with 'pw usermod yourname -s bash'). amon-re# pw usermod erins -s zsh pw: no default shell available or defined I've added it to /

Re: pkg_add not installing lsof (and other programs)? (newbie problem)

2005-12-14 Thread TuxGirl
> You can confirm that the package was installed by running the pkg_info > command, which returns a list of all installed packages and ports. > You can also look in /var/db/pkg, which is where the package database > is kept. Assuming you've got it installed (which you should, pkg_add > returns err

Re: pkg_add not installing lsof (and other programs)? (newbie problem)

2005-12-14 Thread David Scheidt
On Wed, Dec 14, 2005 at 10:39:10PM -0700, TuxGirl wrote: > Hello, > > I installed FreeBSD for the first time tonight (I've been running > Linux for a while), and I seem to be misunderstanding pkg_add. I'm > following the instructions in the FreeBSD manual, and I ra

Re: pkg_add not installing lsof (and other programs)? (newbie problem)

2005-12-14 Thread Matthew Seaman
TuxGirl wrote: then: # lsof lsof: Command not found. Type: rehash then try your lsof command again. You've just run into a "feature" of tcsh(1) -- it doesn't pick up changes to the executable files on $PATH automatically. Cheers, Matthew -- Dr

pkg_add not installing lsof (and other programs)? (newbie problem)

2005-12-14 Thread TuxGirl
Hello, I installed FreeBSD for the first time tonight (I've been running Linux for a while), and I seem to be misunderstanding pkg_add. I'm following the instructions in the FreeBSD manual, and I ran: # pkg_add -r lsof It claimed to succeed: Fetching ftp://ftp.freebsd.org/pub/Fre

Re: problem compiling lsof

2005-10-02 Thread Matt Emmerton
> I'm trying to (re)install lsof (under -CURRENT, details below), > and am running into: > > (cd lib; make DEBUG="-O" CFGF="-pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -D > HASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO _SI_ &g

problem compiling lsof

2005-10-02 Thread Robert Huff
I'm trying to (re)install lsof (under -CURRENT, details below), and am running into: (cd lib; make DEBUG="-O" CFGF="-pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -D HASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_ UDEV -DFREEBSDV

Re: rkhunter gives warning for lsof

2005-08-21 Thread [EMAIL PROTECTED]
On Sun, 21 Aug 2005 07:32:59 + Pat Maddox <[EMAIL PROTECTED]> wrote: > I ran rkhunter and got this warning: > lsof: WARNING: compiled for FreeBSD release 5.4-RELEASE; this is > 5.4-RELEASE-p6. > > I'm guessing what it means is that when I upgraded the base system

Re: rkhunter gives warning for lsof

2005-08-21 Thread Pat Maddox
It never fails that when I work on something for an hour, and can't figure it out so I post to the list..I figure it out two minutes later. I thought lsof was part of the base system, turns out it's a port. (brain dead) On 8/21/05, Pat Maddox <[EMAIL PROTECTED]> wrote: > I r

rkhunter gives warning for lsof

2005-08-21 Thread Pat Maddox
I ran rkhunter and got this warning: lsof: WARNING: compiled for FreeBSD release 5.4-RELEASE; this is 5.4-RELEASE-p6. I'm guessing what it means is that when I upgraded the base system that lsof wasn't rebuilt along with it? Is that going to cause a problem at all? How do I rebuild it

Lsof && Netstat

2002-12-01 Thread Jonathan James
I am attempting to use netstat to gain the current amount of bandwidth used by a user. I have devised a way to use lsof to find the IP addresses assigned per each user process and add the bandwidth up in netstat, but if more than 1 user is using that IP address they will all be noted for

Re: lsof: help understanding output

2002-11-24 Thread Matthew Seaman
On Sun, Nov 24, 2002 at 04:01:13PM +0100, Per olof Ljungmark wrote: > I installed the BIND daemon as chroot to /chroot/mamed, > does the following lsof output show that named is not chroot'ed? > > FreeBSD 4.6.2, BIND 9.2.1 > > syslogd80root4u unix 0xca5d0e0

lsof: help understanding output

2002-11-24 Thread Per olof Ljungmark
I installed the BIND daemon as chroot to /chroot/mamed, does the following lsof output show that named is not chroot'ed? FreeBSD 4.6.2, BIND 9.2.1 syslogd80root4u unix 0xca5d0e000t0 /chroot/named/dev/log named 470 named cwd VDIR 13,131072512

Re: lsof port refers to file that does not exist in the _world_

2002-10-08 Thread Edwin Groothuis
On Mon, Oct 07, 2002 at 11:47:01PM -0700, Firsto Lasto wrote: > I am running 4.6.2, and I am trying to install `lsof` from the ports tree. > The port attempts to download: > > lsof_4.64G.freebsd.tar.gz You should have a look for [/usr/ports/sysutils/lsof] edwin@k7>ma

Re: lsof port refers to file that does not exist in the _world_

2002-10-07 Thread Adam Weinberger
update your ports tree and try again. you should be fetching lsof-4.6.4.tar.gz. -Adam >> (10.07.2002 @ 2347 PST): Firsto Lasto said, in 1.0K: << > > Hi, > > I am running 4.6.2, and I am trying to install `lsof` from the ports tree. > Th

lsof port refers to file that does not exist in the _world_

2002-10-07 Thread Firsto Lasto
Hi, I am running 4.6.2, and I am trying to install `lsof` from the ports tree. The port attempts to download: lsof_4.64G.freebsd.tar.gz If you go to the lsof ftp site and the mirrors, this file does not exist. Further, if you go to ftp.freebsd.org and go to ports/distfiles, it also does

Re: lsof

2002-09-18 Thread Kent Stewart
Len Conrad wrote: > >> I don't know what I did differently but when I tried it just now, I see >> >> >> Attempting to fetch from >> ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/. >> Receiving lsof_4.65B.freebsd.tar.gz (509943 bytes): 100% >&g

Re: lsof

2002-09-18 Thread Len Conrad
>I don't know what I did differently but when I tried it just now, I see > > >> Attempting to fetch from ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/. >Receiving lsof_4.65B.freebsd.tar.gz (509943 bytes): 100% >509943 bytes transferred in 17.6 seconds (28.29 kBps)

Re: lsof

2002-09-18 Thread Kent Stewart
Ivailo Tanusheff wrote: > Hi, > > It seems lsof port is broken, e.g. can't download the file needed for > update: > > >>>lsof_4.65B.freebsd.tar.gz doesn't seem to exist in >>> > /usr/ports/distfiles/. > >>>Attempting to fetch fro

lsof

2002-09-18 Thread Ivailo Tanusheff
Hi, It seems lsof port is broken, e.g. can't download the file needed for update: >> lsof_4.65B.freebsd.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/. fetch: lsof_4.65B.freebsd.tar.gz: Not l