Hi!
I have been using FFAStrans with only one node so far, but now I need to add a second one. I tried enabling Farming mode, but I can no longer run it as a service. FFAStrans.exe is located on a shared network drive, and a UNC path shortcut is created on both machines' desktops. Nothing else is running on port 65445. The service is configured to run with an administrator account. What am I doing wrong?
Farming mode does not work as a service
Farming mode does not work as a service
- Attachments
-
- ffastrans error.JPG (13.03 KiB) Viewed 189 times
Re: Farming mode does not work as a service
When you open the Workflow Manager, can you check at the bottom that FFAStrans isn't running as Application?
Most often than not this message pops up when the service is running as application, for instance:
This occurs when the host is set up with the following configuration (you can check it in "Options -> Host"): In order for it to run as a service, the "run as application" tickbox needs to be disabled and the REST Service needs to be installed. If you've done everything correctly, while it's running as a service, it should look like this at the bottom in the Workflow Manager:
Most often than not this message pops up when the service is running as application, for instance:
This occurs when the host is set up with the following configuration (you can check it in "Options -> Host"): In order for it to run as a service, the "run as application" tickbox needs to be disabled and the REST Service needs to be installed. If you've done everything correctly, while it's running as a service, it should look like this at the bottom in the Workflow Manager:
Re: Farming mode does not work as a service
hm i fear when i says "logon failure" it means exactly that, e.g. you need to change the service credentials to some user that has administrator permissions on the local machine and enter the correct passowrd (double check this part) - AND of course this user must also have write permissions to the installation UNC path of ffastrans, maybe thats actually your issue? If you did not set any credentials yet, the service is set to run as SERVICE user without permissions to your UNC share most likely.
What you can also do is to just "log in" to windows using the exact same permissions that you entered in credentials, this might help to identify the authentifiaction issue. After login to windows with that special user, you also must be able to enter the UNC Path that you used to install ffastrans service from into windows explorer - it must open without asking for username/password.
Also you might want to check if you did start the ffastrans applicatio from Full UNC path when installing the service, not from a mapped network drive.
What you can also do is to just "log in" to windows using the exact same permissions that you entered in credentials, this might help to identify the authentifiaction issue. After login to windows with that special user, you also must be able to enter the UNC Path that you used to install ffastrans service from into windows explorer - it must open without asking for username/password.
Also you might want to check if you did start the ffastrans applicatio from Full UNC path when installing the service, not from a mapped network drive.
emcodem, wrapping since 2009 you got the rhyme?
Re: Farming mode does not work as a service
Yes. In my Ffastrans "Run as applicaton" is disabled. Im logged in as the user that have the rw rights to the share, I started the Ffastrans.exe from the UNC path. Set the Log on as for the ffastrns rest api for the same user that have the rw for the share drives. FW disabled. I'm out of ideas 

Re: Farming mode does not work as a service
check the windows security log maybe has more information about what exactly is rejected with the logon issue when you start the service.
EDIT: also of course you can try to equip virtually any other service with the same credentials and see if it starts for testing.
EDIT: also of course you can try to equip virtually any other service with the same credentials and see if it starts for testing.
emcodem, wrapping since 2009 you got the rhyme?
Re: Farming mode does not work as a service
Found the problem in the ffastrans_service.xml the rest_service.exe path was directed still somehow to the local path not to the shared UNC path.
Re: Farming mode does not work as a service
Well done!
emcodem, wrapping since 2009 you got the rhyme?