Thursday, September 23, 2010

Max Rodkin: ntlmaps unable to get the ip address of this machine. this is not a fatal problem, but may cause problems for you using this proxy in some scenarios.

Max Rodkin: ntlmaps unable to get the ip address of this machine. this is not a fatal problem, but may cause problems for you using this proxy in some scenarios.

ntlmaps unable to get the ip address of this machine. this is not a fatal problem, but may cause problems for you using this proxy in some scenarios.

Если Вы использовали ntlmaps-0.9.9, то возможно, при старте main.py получили такую ошибку, error: unable to get the ip address of this machine , после чего main.py вылетел.
Для решения нужно знать, по какому имени компьютера main.py публикует себя.

например
[trixbox1.xx.yy.local ~]# ./ntlmaps-0.9.9/main.py
NTLM authorization Proxy Server v0.9.9
Copyright (C) 2001-2004 by Dmitry Rozmanov and others.
Now listening at trixbox1.xx.yy.local on port 5865

в моем случае - trixbox1.xx.yy.local
Просто настройте резолпинг этого имени чз DNS или добавьте запись в /etc/hosts, как я:
[trixbox1.xx.yy.local ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 trixbox1.localdomain trixbox1 localhost.localdomain localhost
10.255.240.29 trixbox1.xx.yy.local

После этих действий ошибка исчезнет. Успехов!

Обо мне

My photo
Москва, Russia
Инженер ИТ-Службы ООО Эльдорадо Телефон: +7 (495) 787-78-00 доп. 7559