On Thu, Jul 08, 2004 at 10:03:56AM +0300, Murat Ustuntas wrote:
> I need to truss command on FreeBSD 5.2.1-p9. But, if
> I want to run the command truss says me:
>    # truss /usr/sbin/sshd
>    truss: cannot open /proc/8668/mem: No such file or directory
>    truss: cannot open /proc/curproc/mem: No such file or directory
> sshd process is running, and in the proc directory,
> i have the number 8668 and mem too. What is the problem? How
> can I fix that? (I dont know that this is a bug or not :( )
I encountered the same problem some months ago and am cut pasting
from a post that proved helpful.

You don't have a process filesystem mounted on /proc.
Execute the following

kldload procfs
mount_procfs /dev/procfs /proc

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to