Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.8k views
in CompleteFTP by (280 points)
When launching completeFTP I see the message Server Offline. When I click on this message and choose bring server online nothing appears to happen.

I've just installed version 8 on Windows 2012 Server

I don't have any other FTP servers running (the IIS one is stopped)

Thank you for the help.

Bruce

8 Answers

0 votes
by (51.6k points)
Hi Bruce

Do you have a current support agreement?

If so then please [url=mailto:support@enterprisedt.com]e-mail us[/url] a clean debug log.

Otherwise, set the logging level to Debug, restart the CompleteFTP service and look at the messages that are written during server startup. I think you'll find that none of the ports of your non-admin site are being opened for listening. Post the relevant messages here if you'd like us to have a look.

- Hans (EnterpriseDT)
0 votes
by (280 points)
Here is the diagnostic log:

2014-08-06 11:42:18,551 INFO Service [Service.1] ConfigPath = Default
2014-08-06 11:42:18,567 INFO Service [Service.1] User = SYSTEM
2014-08-06 11:42:18,567 INFO Server [Server.1] Loading configuration from C:\ProgramData\Enterprise Distributed Technologies\Complete FTP\config.sdf
2014-08-06 11:42:20,159 INFO Server [Server.1] Starting server Server 1 (ID=045e12e7-a3e6-40d7-a8b6-c33fe757d953)
2014-08-06 11:42:20,175 INFO Server [Server.1] Config version = 8.1.1
2014-08-06 11:42:20,175 INFO Server [Server.1] Software version = 8.1.1
2014-08-06 11:42:20,175 INFO Server [Server.1] .NET framework (CLR) version = 2.0.50727.6413
2014-08-06 11:42:20,175 INFO Server [Server.1] Windows version = Microsoft Windows NT 6.2.9200.0
2014-08-06 11:42:20,175 INFO Server [Server.1] Using 250 worker threads, 1000 completion port threads
2014-08-06 11:42:20,175 INFO Server [Server.1] Running as 'NT AUTHORITY\SYSTEM'
2014-08-06 11:42:20,175 INFO Server [Server.1] Logging level set to DEBUG
2014-08-06 11:42:20,175 DEBUG Server [Server.1] Checking license
2014-08-06 11:42:20,191 DEBUG ActivationKeyReader [Server.1] MachineID=-1419153631--788408289--2031499156
2014-08-06 11:42:20,191 DEBUG ActivationKeyReader [Server.1] Matching machine id
2014-08-06 11:42:20,191 DEBUG ActivationKeyReader [Server.1] License found: type=MachineID, edition=Enterprise, trial=True, MaxLinkBoxUsers=1, owner=trialuser, expiry=3/9/2014, machine-ID=-1419153631--788408289--2031499156, matchingID=True
2014-08-06 11:42:20,191 INFO Server [Server.1] Enterprise trial license found for owner trialuser
2014-08-06 11:42:20,191 DEBUG Server [Server.1] Creating message-store
2014-08-06 11:42:20,222 DEBUG Server [Server.1] Initializing process user
2014-08-06 11:42:20,222 DEBUG Server [Server.1] Creating server-monitor
2014-08-06 11:42:20,222 DEBUG Server [Server.1] Creating IP-filter name-resolver
2014-08-06 11:42:20,239 DEBUG ThreadRunner [Server.1] Starting IPFilterNameResolver
2014-08-06 11:42:20,239 DEBUG IPFilterNameResolver [IPFilter.1] No addresses to resolve - exiting
2014-08-06 11:42:20,239 DEBUG Server [Server.1] Found site: Default Site
2014-08-06 11:42:20,253 DEBUG Server [Server.1] Creating site: Default Site
2014-08-06 11:42:20,269 DEBUG MemorySessionStore [Server.1] Expire time for sessions is 1800 sec
2014-08-06 11:42:20,269 INFO Server [Server.1] Starting site: Default Site
2014-08-06 11:42:20,269 INFO Site [Server.1] Site Default Site stopped
2014-08-06 11:42:20,269 INFO Site [Server.1] UpdateListeners() called for site Default Site
2014-08-06 11:42:20,284 DEBUG Site [Server.1] No existing listener found for FTP/FTPS - creating
2014-08-06 11:42:20,284 INFO ProtocolListener [Server.1] Created listener (FTP:21)
2014-08-06 11:42:20,284 DEBUG Site [Server.1] No existing listener found for SFTP/SCP/SSH - creating
2014-08-06 11:42:20,284 INFO ProtocolListener [Server.1] Created listener (SFTP:22)
2014-08-06 11:42:20,284 DEBUG Site [Server.1] No existing listener found for FTPS-implicit - creating
2014-08-06 11:42:20,284 INFO ProtocolListener [Server.1] Created listener (FTPSImplicit:990)
2014-08-06 11:42:20,284 DEBUG Site [Server.1] No existing listener found for HTTP - creating
2014-08-06 11:42:20,284 INFO ProtocolListener [Server.1] Created listener (HTTP:80)
2014-08-06 11:42:20,284 DEBUG Site [Server.1] No existing listener found for HTTPS - creating
2014-08-06 11:42:20,284 INFO ProtocolListener [Server.1] Created listener (HTTPS:443)
2014-08-06 11:42:20,300 DEBUG SocketListener [Server.1] BeginAccept (port 21)
2014-08-06 11:42:20,300 INFO ProtocolListener [Server.1] Bound to 0.0.0.0 and listening on port 21
2014-08-06 11:42:20,300 DEBUG SocketListener [Server.1] BeginAccept (port 22)
2014-08-06 11:42:20,300 INFO ProtocolListener [Server.1] Bound to 0.0.0.0 and listening on port 22
2014-08-06 11:42:20,300 DEBUG SocketListener [Server.1] BeginAccept (port 990)
2014-08-06 11:42:20,300 INFO ProtocolListener [Server.1] Bound to 0.0.0.0 and listening on port 990
2014-08-06 11:42:20,300 ERROR ProtocolListener [Server.1] Failed to bind port 80 on interface 0.0.0.0: An attempt was made to access a socket in a way forbidden by its access permissions
System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at whiL6HvufoEvtkdxJXE.ReiET9v8aS2L2WyKFAG.Listen()
2014-08-06 11:42:20,316 ERROR ListenerManager [Server.1] Port 80 is busy so the CompleteFTP could not open it for HTTP on the Default Site site.
2014-08-06 11:42:20,316 ERROR ListenerManager [Server.1] Please close the Windows service or application that is using it
2014-08-06 11:42:20,316 ERROR ListenerManager [Server.1] and restart the CompleteFTP service.
2014-08-06 11:42:20,316 ERROR ListenerManager [Server.1]
EnterpriseDT.Net.FtpServer.Core.ServerException: No interfaces bound. Port 80 is unavailable
at whiL6HvufoEvtkdxJXE.ReiET9v8aS2L2WyKFAG.Listen()
at jCw1c4vKWwLbdyLmLtR.epUCJtvXiXLkheoF3ff.TmroEv0egx()
2014-08-06 11:42:20,316 DEBUG SocketListener [Server.1] BeginAccept (port 443)
2014-08-06 11:42:20,316 INFO ProtocolListener [Server.1] Bound to 0.0.0.0 and listening on port 443
2014-08-06 11:42:20,316 INFO Site [Server.1] Site started Default Site (SiteID=c7a09c8d-4a7c-4b17-90fd-9897562ee979)
2014-08-06 11:42:20,316 DEBUG Server [Server.1] Found site: Admin
2014-08-06 11:42:20,316 DEBUG Server [Server.1] Creating site: Admin
2014-08-06 11:42:20,316 DEBUG MemorySessionStore [Server.1] Expire time for sessions is 1800 sec
2014-08-06 11:42:20,316 INFO Server [Server.1] Starting site: Admin
2014-08-06 11:42:20,316 INFO Site [Server.1] Site Admin stopped
2014-08-06 11:42:20,316 INFO Site [Server.1] UpdateListeners() called for site Admin
2014-08-06 11:42:20,316 INFO Site [Server.1] FTP/FTPS not available
2014-08-06 11:42:20,316 DEBUG Site [Server.1] No existing listener found for SFTP/SCP/SSH - creating
2014-08-06 11:42:20,316 INFO ProtocolListener [Server.1] Created listener (SFTP:14983)
2014-08-06 11:42:20,316 INFO Site [Server.1] FTPS-implicit not available
2014-08-06 11:42:20,316 INFO Site [Server.1] HTTP not available
2014-08-06 11:42:20,316 INFO Site [Server.1] HTTPS not available
2014-08-06 11:42:20,316 DEBUG SocketListener [Server.1] BeginAccept (port 14983)
2014-08-06 11:42:20,316 INFO ProtocolListener [Server.1] Bound to 0.0.0.0 and listening on port 14983
2014-08-06 11:42:20,316 INFO Site [Server.1] Site started Admin (SiteID=d7183a00-f941-4b89-a3dc-bd3d1a79c2ca)
2014-08-06 11:42:20,316 DEBUG Server [Server.1] Creating plug-in manager
2014-08-06 11:42:20,316 DEBUG Server [Server.1] Creating trigger manager
2014-08-06 11:42:20,347 DEBUG PlugInManager [Server.1] Created plug-in Email Notifications with class EnterpriseDT.Net.FtpServer.Trigger.EmailTrigger
2014-08-06 11:42:20,362 DEBUG TriggerManager [Server.1] Created trigger Email Notifications
2014-08-06 11:42:20,362 DEBUG PlugInManager [Server.1] Created plug-in Audit with class EnterpriseDT.Net.FtpServer.Trigger.AuditTrigger
2014-08-06 11:42:20,362 DEBUG TriggerManager [Server.1] Created trigger Audit
2014-08-06 11:42:20,378 DEBUG PlugInManager [Server.1] Created plug-in Process Execution with class EnterpriseDT.Net.FtpServer.Trigger.ProcessTrigger
2014-08-06 11:42:20,378 DEBUG TriggerManager [Server.1] Created trigger Process Execution
2014-08-06 1
0 votes
by (162k points)
Is it possible a firewall or anti-virus is interfering with connections to the server?

Alternatively, are there other processes listening on ports 21, 22, or 80?
0 votes
by (280 points)
Ports 21 and 22 are open in the firewall

the server is also running IIS as it hosts some websites so I believe IIS is also using port 80
0 votes
by (162k points)
You should disable HTTP in CompleteFTP then.

It seems that the admin port on the admin site is being affected - port 14983. That might be responsible for the offline message.

Can you connect to the server using SFTP or FTP?
0 votes
by (280 points)
The firewall says that CompleteFTP can use the admin port of 14893.

I disabled HTTP and HTTPS

I still cannot connect using FTP or STFP.

Bruce
0 votes
by (162k points)
Ok now post a section of the Debug log file showing what happens when a client tries to connect. The client debug log file would be helpful too.
0 votes
by (280 points)
There is not a Debug log file - nothing appears in the logs when a client tries to connect.

Here is the log file from the server where I try to connect via FTP:

Finding Host stfmdemobox.cloudapp.net ...
Connecting to 138.91.74.161:21
Connected to 138.91.74.161:21 in 0.000000 seconds, Waiting for Server Response
Error reading response from server.
Connection closed by remote host.
Host type (1): AUTO

Categories

...