/reload-config not working. Must restart service.
Moderator: Project members
/reload-config not working. Must restart service.
Hey all,
I have a server running 3 instances of FileZilla Server v 0.9.34. We have a script that adds new users to the FileZilla Server.xml for each of the instances. The script then calls the /reload-config command for the appropriate instances of FileZilla Server.
It appears that /reload-config is not working. Here's what I'm doing to test:
1) I add a user to the FileZilla Server.xml
2) I run the following command manually E:\Program Files (x86)\FileZilla Server2>"FileZilla server.exe" /reload-config
3) I open FileZilla Server admin console and check the Users list. The user I added in step 1 is not listed.
4) Restart the FileZilla Server service.
5) Recheck the Users list and the user I added in step 1 is now listed, and I can login fine.
Any ideas here folks? Any other information that I can provide to "help you help me"?
Thanks in advance!
I have a server running 3 instances of FileZilla Server v 0.9.34. We have a script that adds new users to the FileZilla Server.xml for each of the instances. The script then calls the /reload-config command for the appropriate instances of FileZilla Server.
It appears that /reload-config is not working. Here's what I'm doing to test:
1) I add a user to the FileZilla Server.xml
2) I run the following command manually E:\Program Files (x86)\FileZilla Server2>"FileZilla server.exe" /reload-config
3) I open FileZilla Server admin console and check the Users list. The user I added in step 1 is not listed.
4) Restart the FileZilla Server service.
5) Recheck the Users list and the user I added in step 1 is now listed, and I can login fine.
Any ideas here folks? Any other information that I can provide to "help you help me"?
Thanks in advance!
Re: /reload-config not working. Must restart service.
/reload-config works by sending a window-message to the first instance of FileZilla Server it finds. In other words, not possible to specify instance. Not even the order in which it finds instances is defined.
Re: /reload-config not working. Must restart service.
Thanks for the quick reply botg. Well that kinda rains on my parade.
Do you know of any workarounds to this predicament other than restarting the service?
Do you know of any workarounds to this predicament other than restarting the service?
Re: /reload-config not working. Must restart service.
@botg: Could you modify it so in the next version the /reload-config command forces all FZ Server instances to reload their configurations?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: /reload-config not working. Must restart service.
Should be fixed in the repository.
Re: /reload-config not working. Must restart service.
Awesome, thanks a lot guys.
Any idea when the next version might be released?
Any idea when the next version might be released?
Re: /reload-config not working. Must restart service.
I guess we'll just build it ourselves. Thanks again.
-
- 504 Command not implemented
- Posts: 9
- Joined: 2011-05-17 18:44
- First name: Michael
- Last name: Battaglia
Re: /reload-config not working. Must restart service.
I just installed the latest version (0.9.37) and this is still an issue on servers that are running multiple instances of the service. Do you know when a new setup will be made with fix?
-
- 504 Command not implemented
- Posts: 9
- Joined: 2011-05-17 18:44
- First name: Michael
- Last name: Battaglia
Re: /reload-config not working. Must restart service.
I am trying to implement a work around for this issue. However the FindWindow command isn't returning the handle to the window:
VB6
VB6
Code: Select all
Private Sub Command1_Click()
Dim hwnd As Long
hwnd = FindWindow("FileZilla Server Helper Window", "FileZilla Server Helper Window")
'hwnd = FindWindow(vbNullString, "Untitled - Notepad")
MsgBox "hWnd=" & CStr(hwnd) ' This returns 0's!
End Sub
Re: /reload-config not working. Must restart service.
Are you running your script as adminstrator?
-
- 504 Command not implemented
- Posts: 9
- Joined: 2011-05-17 18:44
- First name: Michael
- Last name: Battaglia
Re: /reload-config not working. Must restart service.
Yes. I am logged in to the server as the Administrator user.
Re: /reload-config not working. Must restart service.
For Vista and 7, logging in as Admin user is not sufficient, as UAC denies you admin rights unless you explicitly run your script as administrator (right-click). That's what botg meant.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 504 Command not implemented
- Posts: 9
- Joined: 2011-05-17 18:44
- First name: Michael
- Last name: Battaglia
Re: /reload-config not working. Must restart service.
I should have posted the specs of the server:
Windows 2003 Standard (32 bit)
FileZilla Server (0.9.37) [2 instances of same version running]
Logged in with *full* admin rights
Windows 2003 Standard (32 bit)
FileZilla Server (0.9.37) [2 instances of same version running]
Logged in with *full* admin rights
-
- 504 Command not implemented
- Posts: 9
- Joined: 2011-05-17 18:44
- First name: Michael
- Last name: Battaglia
Re: /reload-config not working. Must restart service.
OK. The issue was that I was connected to the server via RDP and the API doesn't return all of the HWNDs. I had to connect via console (or mstsc /admin) and now the API works. Thanks for you help!