man page problem

Tom Dymond tom at kmem.org
Fri Jun 25 16:50:22 PDT 2004


Hi,

I've got this small problem on my server that i find annoying :

When a user who's limit's are close (limited by login.conf) tries to read
a man page, the groff process fails and produces an empty cat man page.
Later requests for this man page will then fail.

I tried googling first and found this PR that *appears* identical :

http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/5767

however, my system is a :
FreeBSD j1.kmem.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Jun 21
18:05:51 CEST 2004     tom at shuttle.kmem.org:/usr/obj/usr/src/sys/svr  i386

this is what i did :

tom at j1.kmem.org:~/public_html> man ms
Formatting page, please wait.../usr/bin/groff:fatal error: fork: Resource
temporarily unavailable
Done.
tom at j1.kmem.org:~/public_html> man ms
tom at j1.kmem.org:~/public_html>

tom at j1.kmem.org:~/public_html> cd /usr/share/man/cat7

tom at j1.kmem.org:/usr/share/man/cat7> ll ms.7.gz
-rw-r--r--  1 man  wheel  20 Jun 25 09:31 ms.7.gz

tom at j1.kmem.org:/usr/share/man/cat7> du ms.7.gz
2       ms.7.gz

tom at j1.kmem.org:/usr/share/man/cat7> ll /usr/share/man/man7/ms.7.gz
-r--r--r--  2 root  wheel  7799 Jun 21 18:14 /usr/share/man/man7/ms.7.gz

tom at j1.kmem.org:/usr/share/man/cat7>

tom at j1.kmem.org:/usr/share/man/cat7> rm ms.7.gz
override rw-r--r--  man/wheel for ms.7.gz? y
rm: ms.7.gz: Permission denied

tom at j1.kmem.org:/usr/share/man/cat7> file ms.7.gz
ms.7.gz: gzip compressed data, from Unix

tom at j1.kmem.org:/usr/share/man/cat7> zcat ms.7.gz
tom at j1.kmem.org:/usr/share/man/cat7>

root will now need to manually delete this bogus file :((

I'm not sure what i need to do from here

Thanks,

Tom


More information about the freebsd-stable mailing list