SFTP Port

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
2 posts Page 1 of 1

beerygaz

Posts: 1
Joined: Fri Sep 21, 2018 2:07 am

Post by beerygaz » Sat Sep 22, 2018 8:09 am
When I try to change the port that SFTP listens on, I get the following error in my logs. Logis suggests the ports are in use, but I've tried random ports that I know are not in use (2222, 99). Reverting back to 8022 resolves the issue. Ideas?
Code: Select all
22/9/18 12:59:34 PM ERROR Attempt to start the service 'SFTP' has failed for the following reason: An unknown error occurred. See log for more details. 
com.linoma.dpa.services.ServiceException: An unknown error occurred. See log for more details. 
	at com.linoma.dpa.gsftp.GSFTPService.startService(Unknown Source)
	at com.linoma.dpa.services.AbstractService.start(Unknown Source)
	at com.linoma.dpa.system.workers.ChangeServiceStatusWorker.startService(Unknown Source)
	at com.linoma.dpa.system.workers.ChangeServiceStatusWorker.execute(Unknown Source)
	at com.linoma.dpa.system.SystemWorkerDispatcher.changeServiceStatus(Unknown Source)
	at com.linoma.ga.core.services.ServicesController.changeServiceStatus(Unknown Source)
	at com.linoma.ga.core.services.ServicesAPI.changeServiceStatus(Unknown Source)
	at com.linoma.ga.ui.admin.services.ManageServicesForm.changeServiceStatus(Unknown Source)
	at com.linoma.ga.ui.admin.services.ManageServicesForm.startSystemService(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:279)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:273)
	at org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
	at org.primefaces.application.DialogActionListener.processAction(DialogActionListener.java:46)
	at javax.faces.component.UICommand.broadcast(UICommand.java:120)
	at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1174)
	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:365)
	at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1660)
	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:864)
	at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:42)
	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.ga.core.upload.AdminFileUploadFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.dpa.security.SecurityFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.dpa.security.SecurityHeaderFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.ga.ui.core.filter.IFrameEmbeddingFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.ga.ui.core.filter.NoCacheFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.ga.ui.core.filter.IECompatibilityModeFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.linoma.dpa.j2ee.AdminRedirectFilter.doFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.linoma.dpa.services.ServiceException: An unknown error occurred. See log for more details. 
	... 66 more

Support_Patrick

Posts: 4
Joined: Thu Jul 27, 2017 4:04 pm

Post by Support_Patrick » Tue Dec 18, 2018 1:05 pm
Question:

Why am I unable to use or bind to ports 1 through 1024 when running MFT on a Linux system?


Answer:

This is caused by the user running MFT not having root privilege to use the Linux privileged ports.

The GoAnywhere Install Guide explains this as shown below:

During installation, you will be prompted to specify the ports required (FTP, SFTP, HTTPS, etc.) by
GoAnywhere. Although Linux requires root level access to bind to privileged ports (1-1024), it is
recommended to configure GoAnywhere to bind to non-standard ports so that root level access is
not required to install and run GoAnywhere.
Patrick Plagman
Support Analyst
e. Patrick.Plagman@helpsystems.com
p. 1-800-949-4696
w. GoAnywhere.com | HelpSystems.com
2 posts Page 1 of 1