GM wrote:
> Hi Mark
> 
> I guess we are getting closer to the problem perhaps...
> 
> Seems like it's trying to access directories within /proc
> 
> [EMAIL PROTECTED] /]# truss -o 0.log  f-prot f-prot -dumb -archive 
> -packed
> /var/amavis/tmp/amavis-20050801T172532-40177
> truss: cannot open /proc/82371/mem: No such file or directory
> truss: cannot open /proc/curproc/mem: No such file or directory
> 
> 
> [EMAIL PROTECTED] /]# truss -o 0.log  f-prot f-prot -dumb -archive 
> -packed
> /var/amavis/tmp/amavis-20050801T172532-40177
> truss: cannot open /proc/84362/mem: No such file or directory
> truss: cannot open /proc/curproc/mem: No such file or directory
> 
> 
> [EMAIL PROTECTED] /]# truss -o 0.log  f-prot f-prot -dumb -archive 
> -packed
> /var/amavis/tmp/amavis-20050801T172532-40177
> truss: cannot open /proc/84610/mem: No such file or directory
> truss: cannot open /proc/curproc/mem: No such file or directory
> 
> I have taken the libirty to create the directory /proc/curproc/mem ,, 
> but I'm not sure about the random /proc/82371/mem directories. Anyway, 
> this is what I then get :-
> 
> [EMAIL PROTECTED] /]# truss f-prot f-prot  -dumb -archive -packed
> /var/amavis/tmp/amavis-20050801T172532-40177
> truss: cannot open /proc/84690/mem: No such file or directory
> truss: cannot open /proc/curproc/mem: Is a directory
> [EMAIL PROTECTED] /]#
> 
> 
> Much apreciated !
> 
> 
> GM.

Hi,

/proc/82371/mem isn't random.  /proc is a virtual file system. 82371 is 
a directory containing info about process 82371.   mem is a file 
containing memory usage info for that process.  If the directory/file
doesn't exist. Chances are process 82371 ended before f-prot got to read it.
That or it is not allowed (ie. permissions). If your using Linux, check out
'man proc'.

David

----------------------------------------------------------------------------
------------
Hi David

I have the following permissions on my /proc directory :-
drwxrwxrwx   3 root  wheel      512B Aug  1 17:45 proc/

I am using freeBSD 5.3 ad 5.4 and getting the same error on both versions /
releases.

PS: Thanx for the prompt reponse...


GM.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to