Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Windows Server 2008/2008 R2 (http://forum.oszone.net/forumdisplay.php?f=97)
-   -   WDS TFTP не работает (http://forum.oszone.net/showthread.php?t=190034)

menpavel 02-11-2010 08:10 1532799

WDS TFTP не работает
 
Здравствуйте.

Не могу никак настроить TFTP сервер.
Транспортный сервер стартует.
tracing WDSTFTP:

Код:

[1180] 14:54:42: ===>Starting logging of module [WDSServer]
[1180] 14:54:42: [UDPPorts] Policy: 1, Dynamic Port Range: 64001-65000.
[1180] 14:54:42: [RPC] Using Tcp Port 5040 for Rpc Calls.
[1180] 14:54:42: [RPC] Client Impersonation Logging=Disabled
[1180] 14:54:42: [RPC] Host Name: sc-ts.domain.net
[1180] 14:54:42: [RPC] NTLM/Kerberos Spn: ldap/sc-ts.domain.net
[1180] 14:54:42: [RPC] Initialized
[1632] 14:54:42: [RPC] Server Started.
[1180] 14:54:42: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsvsswriter.cpp:508] Expression: , Win32 Error=0x800401f3
[1180] 14:54:42: The WDS Management API isn't registered on the server which indicates that the Deployment Server role isn't installed.
[1180] 14:54:42: We are not running under Deployment Server. Not Pre-initialzing VSS Writer
[1180] 14:54:43: [WDSMC][RPC][Ep={865BCE30-ACF1-410C-B5ED-142096663914}] Registered
[1180] 14:54:43: [WDSMC][RPC][Ep={6F13A317-3687-4B54-81A5-504DAA9062FA}] Registered
[1180] 14:54:43: [WDSMC][UDP][Ep=5041] Registered
[1180] 14:54:43: UpdEndpoint::UdpEndpoint = 00000000010E6EE0

[1180] 14:54:43: [WDSMC][UDP][Ep=192.168.100.102:5041][0x00000000010E6EE0] Created
[1180] 14:54:43: UpdEndpoint::UdpEndpoint = 00000000006D7A60

[1180] 14:54:43: [WDSMC][UDP][Ep=::1:5041][0x00000000006D7A60] Created
[1180] 14:54:43: [WDSMC] Provider Initialized.
[1180] 14:54:43: [WDSPXE] Provider Initialized.
[1180] 14:54:43: [1015][WDSTFTP] CTftpServer::ReadParameters: Root Folder=C:\RemoteInstall
[1180] 14:54:43: [1015][WDSTFTP] CTftpServer::ReadParameters: File Cache Size=524288 Bytes
[1180] 14:54:43: [1015][WDSTFTP] CTftpServer::ReadParameters: Socket Send Buffer Size=0 KB
[1180] 14:54:43: [1015][WDSTFTP] CFolderFilter::ReadParameters: Read Filter[0] = '\boot\*'
[1180] 14:54:43: [1015][WDSTFTP] CFolderFilter::ReadParameters: Read Filter[1] = '\tmp\*'
[1180] 14:54:43: [1015][WDSTFTP] CFolderFilter::ReadParameters: Read Filter[2] = 'boot\*'
[1180] 14:54:43: [1015][WDSTFTP] CFolderFilter::ReadParameters: Read Filter[3] = 'tmp\*'
[1180] 14:54:43: [WDSTFTP][UDP][Ep=69] Registered
[1180] 14:54:43: UpdEndpoint::UdpEndpoint = 0000000001179AE0

[1180] 14:54:43: [WDSTFTP][UDP][Ep=192.168.100.102:69][0x0000000001179AE0] Created
[1180] 14:54:43: UpdEndpoint::UdpEndpoint = 000000000138C1E0

[1180] 14:54:43: [WDSTFTP][UDP][Ep=::1:69][0x000000000138C1E0] Created
[1180] 14:54:43: [WDSTFTP] Provider Initialized.
[1180] 14:54:43: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\wdsvsswriter.cpp:508] Expression: , Win32 Error=0x800401f3
[1180] 14:54:43: The WDS Management API isn't registered on the server which indicates that the Deployment Server role isn't installed.
[1180] 14:54:43: We are not running under Deployment Server. Not initialzing VSS Writer
[1180] 14:54:43: Dynamic Update Timer: 900000 ms
[1180] 14:54:43: WDS Server started successfully.

[1572] 14:58:52: [250578][WDSTFTP] -> CClientContext::FindSession
[1572] 14:58:52: [250578][WDSTFTP] <- CClientContext::FindSession=2
[1572] 14:58:52: [UDPPorts] Allocated dynamic port 64387.
[1572] 14:58:52: Dynamic Port: 64387
[1572] 14:58:52: [WDSTFTP][UDP][Ep=64387] Registered
[1572] 14:58:52: UpdEndpoint::UdpEndpoint = 00000000006DDDA0

[1572] 14:58:52: [WDSTFTP][UDP][Ep=192.168.100.102:64387][0x00000000006DDDA0] Created
[1572] 14:58:52: [250578][WDSTFTP] TftpSession[0x00000000005BE0E0:192.168.100.102:59979] - Initialized: Local=192.168.100.102:69
[1572] 14:58:52: [250578][WDSTFTP] [d:\w7rtm\base\ntsetup\opktools\wds\transport\server\tftp\tftpsession.cpp:612] Expression: , Win32 Error=0x32
[1572] 14:58:52: [250578][WDSTFTP] [d:\w7rtm\base\ntsetup\opktools\wds\transport\server\tftp\tftpserver.cpp:594] Expression: , Win32 Error=0x32
[2184] 14:58:52: [WDSTFTP][UDP][Ep=192.168.100.102:64387] Deleted.
[2184] 14:58:52: [250593][WDSTFTP] TftpSession[0x00000000005BE0E0:192.168.100.102:59979] - Endpoint Removed. Killing session.
[2184] 14:58:52: UpdEndpoint::~UdpEndpoint = 00000000006DDDA0

[2184] 14:58:52: [WDSTFTP][UDP][Ep=0] Closed
[2184] 14:58:52: [UDPPorts] Dynamic Port 64387 freed.
[2184] 14:58:52: [250593][WDSTFTP] TftpSession[0x00000000005BE0E0:192.168.100.102:59979] - Shutdown
[2184] 14:58:52: [250593][WDSTFTP] TftpSession[(null)] - Shutdown

netstat -a показывает, что на 69 порту есть tftp.

При попытке соединится TFTP клиентом:
Код:

C:\Windows\system32>tftp 192.168.100.102 put C:\1.txt
Ошибка на сервере: The specified operation is not supported.
 Сбой запроса на подключение

По-моему, уж слишком сложная процедура запуска встроенного TFTP сервера. В 2003 было гораздо все проще.

QRS 03-11-2010 17:13 1533990

А для чего Вы запускаете TFTP?
В W2008 его задумали для WDS, поэтому по-умолчанию он разрешает чтение ограниченного числа папок (Boot & tmp).

Цитата:

Цитата yan2006
В реестре
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\Providers\WDSTFTP" нужно удалить \boot\ and \tmp\ .
А оставить \* »

Не уверен, что tftp WDS поддерживает запись файлов в корень TFTP.

menpavel 08-11-2010 04:27 1537346

Цитата:

Цитата QRS
А для чего Вы запускаете TFTP? »

Терминальный сервер, загрузка по сети тонких клиентов. Думал, что лучше использовать "встроенные" средства. С tftp32 работает все в два шага.
Спасибо, QRS, попробую!
PUT (как и GET) использовал просто для проверки.


Время: 03:23.

Время: 03:23.
© OSzone.net 2001-