ERROR: FileZilla FTP must be run as a Service

Problems with the Windows version of XAMPP, questions, comments, and anything related.

ERROR: FileZilla FTP must be run as a Service

Postby LIQUID FIRE » 25. December 2008 20:13

I have succesfully installed XAMPP (or so I thought). Everything was running last night, including FleZilla. Apache and MySql are running fine, but when I go to start FileZilla I check the Svc box to the left and hit start it says ERROR: FileZilla FTP must be run as a Service

What do I need to do get FileZilla started?
Do I have to have FileZilla started to connect to localhost with FileZilla client?

Thanks in advance.
LIQUID FIRE
 
Posts: 6
Joined: 25. December 2008 20:04

Re: ERROR: FileZilla FTP must be run as a Service

Postby Sharley » 25. December 2008 20:36

Is the FileZilla service already running?

Check using Task Manager for FileZillaServer.exe
Right click on the Task Bar and select Task Manager>Processes tab.

If you find the file listed then select it and then click on the End Process button then answer Yes.

Now start again to load the FileZilla Service by first ticking the Svc box in the XCP then answering OK-Yes-Yes-Yes when asked - FileZilla should now show Running in green.

FileZilla Server must be running to connect to the FileZilla Server using any FTP client.

FileZilla Server will not run unless as a Windows service.

You can also check that it is running as a service my clicking on the SCM button in the XCP and looking for the FileZilla Server FTP server entry which should show as Status - Started and Startup Type - Automatic
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: ERROR: FileZilla FTP must be run as a Service

Postby LIQUID FIRE » 25. December 2008 20:46

Forgive my ignorance, but can you explain what the Task Manager and the Task Bar is?
LIQUID FIRE
 
Posts: 6
Joined: 25. December 2008 20:04

Re: ERROR: FileZilla FTP must be run as a Service

Postby LIQUID FIRE » 25. December 2008 20:50

Sorry. Had a brain fart. That was a foreign language to me for a minute. The file was not listed.
LIQUID FIRE
 
Posts: 6
Joined: 25. December 2008 20:04

Re: ERROR: FileZilla FTP must be run as a Service

Postby Sharley » 25. December 2008 20:52

LIQUID FIRE wrote:Forgive my ignorance, but can you explain what the Task Manager and the Task Bar is?
The Task Bar is that strip usually at the bottom of your Windows screen with on the left the start button and on the right a line of running program icons.

The Task Manager is a Windows Program for observing certain tasks and processes running on your PC as well as Performance and Networking information.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: ERROR: FileZilla FTP must be run as a Service

Postby LIQUID FIRE » 25. December 2008 20:53

See my last post.
LIQUID FIRE
 
Posts: 6
Joined: 25. December 2008 20:04

Re: ERROR: FileZilla FTP must be run as a Service

Postby LIQUID FIRE » 25. December 2008 22:12

When I click the Svc box in the XCP I only get two prompts.

Click OK to install the FileZilla FTP Service
&
Install Service?

Maybe this will help.
LIQUID FIRE
 
Posts: 6
Joined: 25. December 2008 20:04

Re: ERROR: FileZilla FTP must be run as a Service

Postby Sharley » 26. December 2008 01:31

LIQUID FIRE wrote:When I click the Svc box in the XCP I only get two prompts.

Click OK to install the FileZilla FTP Service
&
Install Service?...
Sounds like you don't have permission to create and start a Windows Service or you are being blocked from doing so.


Make sure the tick in the Svc box is removed in the XCP - Exit the XCP before doing any of the following.

Try double clicking on .\xampp\FileZillaFTP\FileZillaServer.exe - in Vista you may have to right click on the file and select to Run as Administrator.
You should get 3 response windows before the service is installed.
- Install Service? Yes
- Autostart Service? Yes
- Start server? Yes

If you don't get to see these 3 windows then make sure your Windows firewall or some other scanner like ZoneAlarm etc. is not blocking your FileZilla activity - try allowing FileZillaServer or temporarily disable any of those blocking devices.

If you are on Vista make sure to check the permissions and that you are logged on with Administrator privileges - I have not down graded to Vista so you are on your own with that one.

If you get the service installed from the exe file above then when you open the XCP again you should see that FileZilla is Running and the Svc box is already ticked for you...

...or if you reset your permissions and privileges and your firewall etc. is temporarily disabled then start the XCP again and go through the motions to either Stop and/or Start FileZilla again - this will check if it was any of the above restricting conditions that have been effecting your progress.


If you need more expert advise then may I suggest you post at the FileZilla Server forum.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: ERROR: FileZilla FTP must be run as a Service

Postby LIQUID FIRE » 26. December 2008 02:49

I already uninstalled and reinstalled. It is now working fine. Thank you.
LIQUID FIRE
 
Posts: 6
Joined: 25. December 2008 20:04

Re: ERROR: FileZilla FTP must be run as a Service

Postby xdbu » 04. March 2011 21:03

I have no administrative privileges on the computer that I'm running XAMPP, so I can not install Filezilla as a service.
What should I do then?
Why I no longer have the option to run it as a standalone program?
xdbu
 
Posts: 1
Joined: 04. March 2011 20:58

Re: ERROR: FileZilla FTP must be run as a Service

Postby cunneen » 04. April 2011 06:53

The easiest option is edit the *.bat files that start and stop FileZilla Server, to add the "/compat" flag. You'll have to start and stop FileZilla manually with these bat files (i.e. the xampp control panel won't work). See the new *.bat files below, noting the last line of each.

The more difficult option would be to edit the C-code and recompile it. You'd have to download it from http://www.nat32.com/xampp/, and modify this part of XAMPP.C (line 2208-2230 in v2.5):
Code: Select all
        case 2:

            if (n) {
                if (pjob->service == 0) {
                    kprintf("ERROR: FileZilla FTP must be run as a Service");
                    break;
                }
                result = execw("FileZillaFTP\\FileZillaServer.exe /start", SW_HIDE, 0, 0, DETACHED_PROCESS);
                if (result == 0)
                    lbprintf(hList, "FileZilla started");
                else
                    lbprintf(hList, "ERROR: FileZilla not started [%d]", result);

            }
            else {
                result = execw("FileZillaFTP\\FileZillaServer.exe /stop", SW_HIDE, 0, 0, DETACHED_PROCESS);
                if (result == 0)
                    lbprintf(hList, "FileZilla stopped");
                else
                    lbprintf(hList, "ERROR: FileZilla not stopped [%d]", result);
            }

            break;



filezilla_start.bat
Code: Select all
@echo off
echo FileZilla FTP Server is starting ...
echo Starte FileZilla FTP Server ...
FileZillaFTP\FileZillaServer.exe /compat /start


filezilla_stop.bat
Code: Select all
@echo off
echo FileZilla FTP Server is stopping ...
echo Stoppe FileZilla FTP Server ...
FileZillaFTP\FileZillaServer.exe /compat /stop


FileZillaFTP/FileZillaFTP_start.bat
Code: Select all
@echo off
echo FileZilla FTP Server is starting ...
echo Starte FileZilla FTP Server ...
FileZillaServer.exe /compat /start


FileZillaFTP/FileZillaFTP_stop.bat
Code: Select all
@echo off
echo FileZilla FTP Server is stopping ...
echo Stoppe FileZilla FTP Server ...
FileZillaServer.exe /compat /stop
cunneen
 
Posts: 2
Joined: 05. February 2010 07:52


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 103 guests