Error during restarting syslogd in FreeBSD 5.2-RELEASE

Dan Nelson dnelson at allantgroup.com
Thu Jan 29 15:06:16 PST 2004


In the last episode (Jan 29), Rostislav Krasny said:
> > I have FreeBSD 5.2-RELEASE installed on my old Pentium system. Look
> > at
> > following log please:
> > 
> > localhost# /etc/rc.d/syslogd restart
> > Stopping syslogd.
> > ps: kvm_getprocs: No such process
> > Starting syslogd.
> > 
> > 
> > What is 'kvm_getprocs' and why I get this error message? Is it a bug?
> 
> Same behavior during restarting inetd:
> 
> localhost# /etc/rc.d/inetd restart
> Stopping inetd.
> ps: kvm_getprocs: No such process
> Starting inetd.

It sounds like rc.subr is not redirecting ps errors to /dev/null when
shutting down services.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list