man page problem

From: Tom Dymond (tom_at_kmem.org)
Date: 06/25/04

  • Next message: Andrew Reilly: "Re: via envy24 (ice1724)"
    Date: Fri, 25 Jun 2004 10:33:58 +0200 (CEST)
    To: freebsd-stable@freebsd.org
    
    

    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@shuttle.kmem.org:/usr/obj/usr/src/sys/svr i386

    this is what i did :

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

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

    tom@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@j1.kmem.org:/usr/share/man/cat7> du ms.7.gz
    2 ms.7.gz

    tom@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@j1.kmem.org:/usr/share/man/cat7>

    tom@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@j1.kmem.org:/usr/share/man/cat7> file ms.7.gz
    ms.7.gz: gzip compressed data, from Unix

    tom@j1.kmem.org:/usr/share/man/cat7> zcat ms.7.gz
    tom@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
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Andrew Reilly: "Re: via envy24 (ice1724)"