On Mon, May 25, 2009 at 01:52:14PM +0400, Anatol B. Bazyukin wrote: > 25 мая 2009 г. 13:47 пользователь Afanasov Dmitry <@altlinux.org> написал: > > On Mon, May 25, 2009 at 01:43:33PM +0400, Anatol B. Bazyukin wrote: > > >> Как запустить dhcpd в режиме отладки? > > всегда проверял ручным запуском dhcpcd -d <device> > > > А в /etc/init.d/dhcpd можно задать этот режим? так, прошу прощения, я про клиента подумал.
первое man dhcpd, для проверки вручную:
The -tf and -play options allow you to specify a file into which the
entire startup state of the server and all the transactions it
processes are either logged or played back from.
второе man dhcpd.conf поиск по debug:
logging {
channel update_debug {
file "/var/log/update-debug.log";
severity debug 3;
print-category yes;
print-severity yes;
print-time yes;
};
channel security_info {
file "/var/log/named-auth.info";
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
--
С уважением
Афанасов Дмитрий
signature.asc
Description: Digital signature
_______________________________________________ Sysadmins mailing list [email protected] https://lists.altlinux.org/mailman/listinfo/sysadmins
