Re: ps: warning: /var/run/dev.db: No such file or directory

2004-01-07 Thread Rob
David Landgren asked on Wednesday January 07, 2004:



 I watched the server boot, and I saw nothing that resembled a shell
 error. Is there a way to tee the output of /etc/rc to a file, so that
I
 could scan it afterwards?


If you uncomment the 'console.info' line in /etc/syslog.conf, and touch
/var/log/console.log, you should have a copy of all console messages
next time you reboot. This appears to include the output of /etc/rc.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps: warning: /var/run/dev.db: No such file or directory

2004-01-06 Thread Ceri Davies
On Tue, Jan 06, 2004 at 04:10:31PM +0100, David Landgren wrote:
 I recently rebooted a server that had been running for many months. I 
 haven't touched the kernel or userland programs since it went into 
 production.
 
 The server was rebooted with 'shutdown -h now', powered down, and then 
 later restarted.
 
 I've since noticed that cron didn't restart, which is odd, but fixable, 
 but more importantly, when I run ps, it spits out 'ps: warning: 
 /var/run/dev.db: No such file or directory' (although, as far as I can 
 tell, the output is perfectly reasonable).
 
 I'm wondering if one is a symptom of the other. In any event, 
 /var/run/dev.db is most certainly not there.

You don't need to reboot - just run dev_mkdb.

ceri

-- 


pgp0.pgp
Description: PGP signature