truss missing some files or directories

2006-12-20 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Problem with truss, won't start. Please advise me what to do.

truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot
open /proc/curproc/mem: : No such file or directory
No such file or directory


uname -a output:

FreeBSD mars.mysite.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2:
Thu Nov  2 13:58:09 UTC 2006 [EMAIL PROTECTED]
:/usr/obj/usr/src/sys/MARS  amd64

Thank you.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFiXw2bE0+gtjqpZoRAlmyAJ9OdDYEM9Xb+7BEa1fbTczSD3gZ2QCglO6o
BFyyVbvagNCyJ2CjuID1Yug=
=EjVP
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: truss missing some files or directories

2006-12-20 Thread LI Xin

Ilya Vishnyakov wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Problem with truss, won't start. Please advise me what to do.


truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot
open /proc/curproc/mem: : No such file or directory
No such file or directory


uname -a output:

FreeBSD mars.mysite.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2:
Thu Nov  2 13:58:09 UTC 2006 [EMAIL PROTECTED]
:/usr/obj/usr/src/sys/MARS  amd64

Thank you.


You should do mount_procfs procfs /proc before doing truss.

Cheers,
--
Xin LI [EMAIL PROTECTED]http://www.delphij.net/
FreeBSD - The Power to Serve!
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: truss missing some files or directories

2006-12-20 Thread Erwin Lansing
On Wed, Dec 20, 2006 at 01:08:54PM -0500, Ilya Vishnyakov wrote:
 Problem with truss, won't start. Please advise me what to do.
 
 truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot
 open /proc/curproc/mem: : No such file or directory
 No such file or directory
 
Do you have /proc mounted?

# mount -t procfs proc /proc/

-erwin

-- 
Erwin Lansing http://droso.org
Security is like an onion.  (o_ _o)
It's made up of several layers   \\\_\   /_///[EMAIL PROTECTED]
And it makes you cry.) ([EMAIL PROTECTED]


pgpr5TIisIO21.pgp
Description: PGP signature


Re: truss missing some files or directories

2006-12-20 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
-  Original Message  
Subject: Re:truss missing some files or directories
From: LI Xin [EMAIL PROTECTED]
To: Ilya Vishnyakov [EMAIL PROTECTED]
Cc: freebsd-stable@freebsd.org
Date: Wednesday, December 20, 2006 1:42:35 PM
 Ilya Vishnyakov wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

 Problem with truss, won't start. Please advise me what to do.

 truss /bin/echo hello truss: truss: cannot open /proc/42520/mem
 cannot open /proc/curproc/mem: : No such file or directory No
 such file or directory


 uname -a output:

 FreeBSD mars.mysite.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10
 #2: Thu Nov  2 13:58:09 UTC 2006 [EMAIL PROTECTED]
 :/usr/obj/usr/src/sys/MARS  amd64

 Thank you.

 You should do mount_procfs procfs /proc before doing truss.

 Cheers,
thank you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFiYVXbE0+gtjqpZoRAuXvAJ91CQCNIBJWRBCFU6PRmP3RlySxgwCeL7rh
J5eCpHd17Gccfls2ytz4A8Q=
=Kagm
-END PGP SIGNATURE-

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: truss missing some files or directories

2006-12-20 Thread Frank Mayhar
On Wed, 2006-12-20 at 13:08 -0500, Ilya Vishnyakov wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
  
 Problem with truss, won't start. Please advise me what to do.
 
 truss /bin/echo hello truss: truss: cannot open /proc/42520/mem cannot
 open /proc/curproc/mem: : No such file or directory
 No such file or directory

mount /proc

In /etc/fstab:
proc/proc   procfs  rw  0   0
-- 
Frank Mayhar [EMAIL PROTECTED] http://www.exit.com/
Exit Consulting http://www.gpsclock.com/
http://www.exit.com/blog/frank/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]