Date: Fri, 30 Apr 1999 16:35:02 +0100 (BST) From: steven@shellnet.co.uk To: FreeBSD-gnats-submit@freebsd.org Subject: kern/11405: ps: bad namelist & etc. Message-ID: <199904301535.QAA04547@www3.shellnet.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 11405 >Category: kern >Synopsis: pwd_mkdb with no tmp space leads to kernel problems >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 30 08:40:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Steven Fletcher >Release: FreeBSD 3.0-RELEASE i386 >Organization: Shellnet Limited >Environment: Apache webserver with 200 user accounts and not much spare diskspace. :) >Description: After accidentally filling up the / partition in the morning (to 107%), I ran adduser later in the day to add a new user to the server. When pwd_mkdb came to run as part of the adduser script, the following happened: Apr 30 15:14:19 www3 /kernel: pid 14922 (pwd_mkdb), uid 0 on /: file system full And adduser failed. Then proceeding to run "uptime/w" and "ps" (Did not try top) gave errors. ps returned: ps: bad namelist w/uptime returned (something like, don't have a log): /dev//umount: /cdrom: not currently mounted umount: No such file or directory /dev//: /proc: not currently mounted /var:: No such file or directory /dev// not currently mounted /usr: not cur: No such file or directory /dev//rently mounted /home: not currently : No such file or directory /dev//mounted : No such file or directory 4:20PM up 41 mins, 1 user, load averages: 0.02, 0.05, 0.06 >How-To-Repeat: I haven't tried this, I don't have a spare box to risk it at the moment. I would suggest don't give pwd_mkdb enough space in /tmp and try to run it. >Fix: Fix for the ps problem: cd /dev ./MAKEDEV all Fix for the uptime/w problem: cd /var/run mv utmp /tmp touch utmp I've since linked /tmp to a directory on another harddisk with many gigs free, hopefully this shouldn't happen for me again. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904301535.QAA04547>