Server on BartPE/WinPE
Moderator: Project members
-
- 504 Command not implemented
- Posts: 6
- Joined: 2004-09-24 15:43
Server on BartPE/WinPE
I am trying to install "FileZilla Server" on BartPE without any luck.
( BartPE: http://www.nu2.nu/pebuilder ).
FileZilla-client is working fine. But when running "FileZilla Server" I get
"Can't resolve hostname", "Unable to connect". I even pre-included
the "FileZilla Server"-service in my PE-build (by applying to registry)
but it does not help. Also I installed ms_server/browser-service but
no improvement.
Any hints why it refuses to start?
For instance, are there any special services dependencies? Or needed DLLs?
It must be something that FileZilla needs that is not included in WinPE ...
Thanks,
Lobanovski
( BartPE: http://www.nu2.nu/pebuilder ).
FileZilla-client is working fine. But when running "FileZilla Server" I get
"Can't resolve hostname", "Unable to connect". I even pre-included
the "FileZilla Server"-service in my PE-build (by applying to registry)
but it does not help. Also I installed ms_server/browser-service but
no improvement.
Any hints why it refuses to start?
For instance, are there any special services dependencies? Or needed DLLs?
It must be something that FileZilla needs that is not included in WinPE ...
Thanks,
Lobanovski
-
- 504 Command not implemented
- Posts: 6
- Joined: 2004-09-24 15:43
I just tried:
"filezilla server.exe" -compat
but it did not help. I uninstalled the service and tried again without luck.
What I see with "sc query "filezilla server"" is that it only reaches
"start pending" but never gets started.. .
Is there perhaps a way that FZS shows what it is doing (e.g. what it
is missing) ?
"filezilla server.exe" -compat
but it did not help. I uninstalled the service and tried again without luck.
What I see with "sc query "filezilla server"" is that it only reaches
"start pending" but never gets started.. .
Is there perhaps a way that FZS shows what it is doing (e.g. what it
is missing) ?
-
- 504 Command not implemented
- Posts: 6
- Joined: 2004-09-24 15:43
Here is my INF.
When booting my BartPE/WinPE I have IP fully configured and functional
(including lmhosts, server, browser) before FZS is called.
It shows "start pending" when trying to start FSZ.
When booting my BartPE/WinPE I have IP fully configured and functional
(including lmhosts, server, browser) before FZS is called.
It shows "start pending" when trying to start FSZ.
- [Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="FileZilla"
Enable=1
Help="FileZilla.htm"
[WinntDirectories]
a="Programs\FileZilla",2
[SourceDisksFiles]
files\FileZilla.exe=a,,1
files\FzSFtp.exe=a,,1
files\FzGSS.dll=a,,1
files\FileZilla.xml=a,,4
files\FzRes*.dll=a,,4
"files\FileZilla Server*.*"=a,,4
[Append]
nu2menu.xml, FileZilla_nu2menu.xml
[SetupReg.AddReg]
0x4,"ControlSet001\Services\FileZilla Server","Type",0x00000110
0x4,"ControlSet001\Services\FileZilla Server","Start",0x00000003
0x4,"ControlSet001\Services\FileZilla Server","ErrorControl",0x00000001
0x1,"ControlSet001\Services\FileZilla Server","DisplayName","FileZilla Server FTP server"
0x2,"ControlSet001\Services\FileZilla Server","ImagePath","%SystemDrive%\Programs\FileZilla\FileZilla Server.exe"
0x1,"ControlSet001\Services\FileZilla Server","ObjectName","LocalSystem"
0x7,"ControlSet001\Services\FileZilla Server\Security","Security",\
01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\
20,00,00,00,20,02,00,00,00,00,00,00,00,00,18,00,8d,01,02,00,01,01,00,00,00,\
00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,\
00,05,20,00,00,00,23,02,00,00,00,00,00,00,01,01,00,00,00,00,00,05,12,00,00,\
00,01,01,00,00,00,00,00,05,12,00,00,00
0x1,"ControlSet001\Services\FileZilla Server\Enum","0","Root\LEGACY_FILEZILLA_SERVER\0000"
0x4,"ControlSet001\Services\FileZilla Server\Enum","Count",0x00000001
0x4,"ControlSet001\Services\FileZilla Server\Enum","NextInstance",0x00000001
0x4,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER","NextInstance",0x00000001
0x1,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000","Class","LegacyDriver"
0x4,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000","Legacy",0x00000001
0x4,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000","ConfigFlags",0x00000000
0x1,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000","Service","FileZilla Server"
0x1,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000","FileZilla Server FTP server"
0x1,"ControlSet001\Enum\Root\LEGACY_FILEZILLA_SERVER\0000\Control","ActiveService","FileZilla Server"
-
- 504 Command not implemented
- Posts: 6
- Joined: 2004-09-24 15:43
That is quite difficult under BartPE/WinPE if not impossible.
You automatically work from SYSTEM account in WinPE and there
is no user-management. WinPE really is a stripped down version
of XP or W2K3 which has been expanded to BartPE by all sort of
enhancement plugins.
Isn't there a verbose mode possible that reveals some indications
why FSZ service never gets past "start pending"?
I launched Regmon/Filemon in the background but that did not show
anything interessant.
BTW I tested on XP Sp2 BartPE.
I think it would be nice for both FileZilla and BartPE users to get this
fixed. FileZilla is opensource so a very welcome and accessible
addition to BartPE. Also when a working plugin has been published
and there is no competition it tends to become a "default" for BartPE
users so this might draw a new audience. If I can do anything to
test something, let me know. In the meantime I will look further for
freeware FTP-server solutions for BartPE.
Botg, mriolo, thanks for thinking with me on this.
You automatically work from SYSTEM account in WinPE and there
is no user-management. WinPE really is a stripped down version
of XP or W2K3 which has been expanded to BartPE by all sort of
enhancement plugins.
Isn't there a verbose mode possible that reveals some indications
why FSZ service never gets past "start pending"?
I launched Regmon/Filemon in the background but that did not show
anything interessant.
BTW I tested on XP Sp2 BartPE.
I think it would be nice for both FileZilla and BartPE users to get this
fixed. FileZilla is opensource so a very welcome and accessible
addition to BartPE. Also when a working plugin has been published
and there is no competition it tends to become a "default" for BartPE
users so this might draw a new audience. If I can do anything to
test something, let me know. In the meantime I will look further for
freeware FTP-server solutions for BartPE.
Botg, mriolo, thanks for thinking with me on this.
There's no verbose mode (and yet none was needed).
It's hard (if not impossible) to debug service startup problems.
Does FZS have write access to it's own folder? Maybe it can't start because it can't write to its config file.
If it really required to start FZS as service? You could run it as normal application from the autostart:
in HKLM\Software\Microsoft\Windows\CurrentVersion\Run put the key "FileZilla Server" with the value "c:\path\to\FZS\FileZilla Server.exe" -compat -start
It's hard (if not impossible) to debug service startup problems.
Does FZS have write access to it's own folder? Maybe it can't start because it can't write to its config file.
If it really required to start FZS as service? You could run it as normal application from the autostart:
in HKLM\Software\Microsoft\Windows\CurrentVersion\Run put the key "FileZilla Server" with the value "c:\path\to\FZS\FileZilla Server.exe" -compat -start
-
- 504 Command not implemented
- Posts: 6
- Joined: 2004-09-24 15:43
I tested on a harddisk-setup of BartPE which by nature is read/write.
On final CDROM version this is read-only and one should run the
whole thing from ramdisk (read/write) or redirect only settings/config to
ramdisk. I hope the latter will be possible but as said I did not reach
that point yet.
No, I do not think it is necessary to pre-configure the service. My first
attempt was just a plain setup. It nicely asks if it should install and if
it should start. But since this was failing I figured that it might have
to do with installing the service on the fly. But also the pre-configured
service did fail. So in both ways it fails on same point.
The RUN-key is not processed on WinPE (it is on XPE) but launching
it by hand with same parameters did not work ...
As I said before, I was expecting to fix this by starting/installing
ms_server-service and lmhosts and browser-service but it does not
seem to be a corresponding service that is missing here, since this
did not improve a thing.
On final CDROM version this is read-only and one should run the
whole thing from ramdisk (read/write) or redirect only settings/config to
ramdisk. I hope the latter will be possible but as said I did not reach
that point yet.
No, I do not think it is necessary to pre-configure the service. My first
attempt was just a plain setup. It nicely asks if it should install and if
it should start. But since this was failing I figured that it might have
to do with installing the service on the fly. But also the pre-configured
service did fail. So in both ways it fails on same point.
The RUN-key is not processed on WinPE (it is on XPE) but launching
it by hand with same parameters did not work ...
As I said before, I was expecting to fix this by starting/installing
ms_server-service and lmhosts and browser-service but it does not
seem to be a corresponding service that is missing here, since this
did not improve a thing.
I believe you need to enable support for cryptography services. try add ing this to your build.
Code: Select all
; Crypt.inf
; PE Builder v3 plug-in INF file
;
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="Cryptography Support"
Enable=1
Help=
[SourceDisksFiles]
cryptsvc.dll=2,,1
[SetupReg.AddReg]
0x0, "ControlSet001\Services\CryptSvc"
0x7, "ControlSet001\Services\CryptSvc", "DependOnService", "RpcSs"
0x1, "ControlSet001\Services\CryptSvc", "Description", "Provides three management services: Catalog Database Service, which confirms the signatures of Windows files; Protected Root Service, which adds and removes Trusted Root Certification Authority certificates from this computer; and Key Service, which helps enroll this computer for certificates. If this service is stopped, these management services will not function properly. If this service is disabled, any services that explicitly depend on it will fail to start."
0x1, "ControlSet001\Services\CryptSvc", "DisplayName", "Cryptographic Services"
0x4, "ControlSet001\Services\CryptSvc", "ErrorControl", 0x1
0x2, "ControlSet001\Services\CryptSvc", "ImagePath", "%SystemRoot%\system32\svchost.exe -k netsvcs"
0x1, "ControlSet001\Services\CryptSvc", "ObjectName", "LocalSystem"
0x4, "ControlSet001\Services\CryptSvc", "Start", 0x2
0x4, "ControlSet001\Services\CryptSvc", "Type", 0x20
0x0, "ControlSet001\Services\CryptSvc\Parameters"
0x2, "ControlSet001\Services\CryptSvc\Parameters", "ServiceDll", "%SystemRoot%\System32\cryptsvc.dll"
0x1, "ControlSet001\Services\CryptSvc\Parameters", "ServiceMain", "CryptServiceMain"
0x0, "ControlSet001\Services\CryptSvc\Security"
0x3, "ControlSet001\Services\CryptSvc\Security", "Security", 00,00,0e,00,01
0x0, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC"
0x4, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC", "NextInstance", 0x1
0x0, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000"
0x1, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000", "Service", "CryptSvc"
0x4, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000", "Legacy", 0x1
0x4, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000", "ConfigFlags", 0x20
0x1, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000", "Class", "LegacyDriver"
0x1, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000", "ClassGUID", "{8ECC055D-047F-11D1-A537-0000F8753ED1}"
0x1, "ControlSet001\Enum\Root\LEGACY_CRYPTSVC\0000", "DeviceDesc", "Cryptographic Services"
-
- 504 Command not implemented
- Posts: 6
- Joined: 2004-09-24 15:43
i bet you thought i forgot...
well as it turns out the answer is simple. filezilla seems to want to have write access to both filezilla servier interface.xml and filezilla server.xml (although no changes where made to the files). i moved the folder to a RAM drive and launched the filezilla server.exe executable from there and it fired right up.
botg, i'm not sure if there's a command line parameter that we should use so it won't need to write or what.
more as i find it
well as it turns out the answer is simple. filezilla seems to want to have write access to both filezilla servier interface.xml and filezilla server.xml (although no changes where made to the files). i moved the folder to a RAM drive and launched the filezilla server.exe executable from there and it fired right up.
botg, i'm not sure if there's a command line parameter that we should use so it won't need to write or what.
more as i find it