Cannot get File Catalyst to run

I have followed the read me/install guide. I am getting syntax errors when attempting to run. I have tried a few different ways but each are not successful. I use this application for work, it would be nice to get it running.

[user@usernamelinux ~]$ cd /opt/utechsoft/transferagent
[user@usernamelinux transferagent]$ chmod u+x .sh
chmod: cannot access '
.sh’: No such file or directory
[user@usernamelinux transferagent]$ ./fc_transferagent.sh (GUI)
bash: syntax error near unexpected token `GUI’
[user@usernamelinux transferagent]$ ./fc_transferagent.sh
bash: ./fc_transferagent.sh: No such file or directory
[user@usernamelinux transferagent]$ ls -all
total 12
drwxr-xr-x 3 root root 4096 Jul 23 10:43 .
drwxr-xr-x 4 root root 4096 Jul 23 10:41 …
drwxr-xr-x 8 root root 4096 Jul 23 10:43 fc_transferagent
[user@usernamelinux transferagent]$ ./fc_transferagent.sh GUI
bash: ./fc_transferagent.sh: No such file or directory
[user@usernamelinux transferagent]$ ./fc_transferagent.sh
bash: ./fc_transferagent.sh: No such file or directory
[user@usernamelinux transferagent]$ sudo fc/transferagent.sh
[sudo] password for username:
sudo: fc/transferagent.sh: command not found
[user@usernamelinux transferagent]$ sudo fc_transferagent.sh
sudo: fc_transferagent.sh: command not found

Install Guide:
2. Installation Instructions



2.1 FileCatalyst Server is a JAVA-based application, and ships with
the OpenJDK 8 packaged with the application.

By default, the Server will use the embedded 64-bit JRE found in
./jre/bin/java, and no longer requires Java installed on the operating system.

2.2 Create a directory on the transferagent to store the FileCatalyst TransferAgent
application.

The directory /opt/utechsoft/transferagent is considered standard/default.

2.3 Download the latest version of FileCatalyst TransferAgent from the Unlimi-Tech
FileCatalyst website: http://www.filecatalyst.com/download/files/. The file
is a gzip tarball. Place the downloaded file into the working directory.

2.4 Unzip/untar the application:
> cd /opt/utechsoft/transferagent
> gunzip ./fc_transferagent.tar.gz
> tar -xvf ./fc_transferagent.tar

2.5 Set execute permissions on the launch scripts
> cd /opt/utechsoft/transferagent
> chmod u+x *.sh

3 Starting FileCatalyst TransferAgent


3.1 There are two scripts provided to start the FileCatalyst TransferAgent. One
launches the application in headless (console) mode with not GUI, the other
starts a TransferAgent GUI

At the command prompt, execute the following command:
> cd /opt/utechsoft/transferagent

> ./fc_transferagent.sh (GUI)

    or

> ./fc_transferagent_console.sh (Headless)
1 Like

I think what you are looking for is:

cd /opt/utechsoft/transferagent
sudo chmod a+x ./fc_transferagent_console.sh
./fc_transferagent_console.sh
1 Like

thanks for the prompt response, closer but still fails:
[username@usernamelinux transferagent]$ cd /opt/utechsoft/transferagent
[username@usernamelinux transferagent]$ sudo chmod a+x ./fc_transferagent_console.sh
[sudo] password for username
chmod: cannot access ‘./fc_transferagent_console.sh’: No such file or directory

Screenshot_20210723_111629
:

Shouldn’t it be sudo chmod a+x fc_transferagent_console.sh
?

You need to cd one level deeper.

cd /opt/utechsoft/transferagent/fc_transferagent
sudo chmod a+x ./fc_transferagent_console.sh
./fc_transferagent_console.sh
1 Like

Both will work. What I did is just more explicit.

2 Likes

ok that was successful. Now I get the following:

[username@userlinux fc_transferagent]$ ./fc_transferagent_console.sh

Product expects Java: -->Corretto_OpenJDK_1.8.0_242
Java found in /opt/utechsoft/transferagent/fc_transferagent/jre: →
Java found in /opt/utechsoft/transferagent/fc_transferagent/java_tmp: -->Corretto_OpenJDK_1.8.0_242

Expected JRE (Corretto_OpenJDK_1.8.0_242) detected in /opt/utechsoft/transferagent/fc_transferagent/java_tmp.
New installation or upgrade from older v3.7.3 release?
Moving JRE to /opt/utechsoft/transferagent/fc_transferagent/jre/ for run-time use.
./checkjava.bash: line 48: /opt/utechsoft/transferagent/fc_transferagent/jre/bin/java: No such file or directory
./fc_transferagent_console.sh: line 6: ./jre/bin/java: No such file or directory

Ahh…that looks like a problem with the script itself or possibly file permissions. It looks like it ships with an embedded java and then fails to use it.

1 Like

of course my luck. lol Thank you for taking the time to assist me.

FC support response: With regards to the error that you pasted, it looks like the script is failing.

The path looks a bit off to me.

Can you make sure that you extract the contents of the tar ball into /opt/utechsoft/transferagent/ and not /opt/utechsoft**/transferagent/fc_transferagent/**?

How can move to /transferagent from my desktop? I seem to recall my last foray into Linux being able to permanently elevate my permissions/access to /opt where I could drag/drop.

This is a terrible idea. You don’t need to learn to be a terminal guru but there are basic things you should learn like how to switch directories and copy and move files.

Otherwise your choice of a terminal-centric distro probably doesn’t make much sense.

Try this from the terminal

sudo mv /opt/utechsoft/transferagent/fc_transferagent/* /opt/utechsoft/transferagent/.
cd /opt/utechsoft/transferagent
./fc_transferagent_console.sh

If that doesn’t work, let me know the current location of the file fc_transferagent.tar.gz and we will start over.

Totally agree about the Terminal approach. Under a deadline and was getting antsy, again thanks for your patience.

[username@userlinux utechsoft]$ cd /opt/utechsoft/transferagent
[username@userlinux transferagent]$ gunzip fc_transferagent.tar.gz
gzip: fc_transferagent.tar.gz: No such file or directory
[username@userlinux transferagent]$ sudo mv /opt/utechsoft/transferagent/fc_transferagent/* /opt/utechsoft/transferagent/.
[sudo] password for username:
[username@userlinux transferagent]$ cd /opt/utechsoft/transferagent
[username@userlinux transferagent]$ ./fc_transferagent_console.sh

Product expects Java: -->Corretto_OpenJDK_1.8.0_242
Java found in /opt/utechsoft/transferagent/jre: →
Java found in /opt/utechsoft/transferagent/java_tmp: -->Corretto_OpenJDK_1.8.0_242

Expected JRE (Corretto_OpenJDK_1.8.0_242) detected in /opt/utechsoft/transferagent/java_tmp.
New installation or upgrade from older v3.7.3 release?
Moving JRE to /opt/utechsoft/transferagent/jre/ for run-time use.
./checkjava.bash: line 48: /opt/utechsoft/transferagent/jre/bin/java: No such file or directory
./fc_transferagent_console.sh: line 6: ./jre/bin/java: No such file or directory
[oblvnnwtnjhn@oblvnnwtnjhnlinux transferagent]$

Here are their instructions: https://filetransfer.intergraph.com/workflow/jsp/help/ta-deploy/install-linux.html

I cheated and sudo ark to the /opt perhaps that’s of issue also.

Of course. You have to be extremely careful when using sudo. You will end up with completely broken file permissions. Also, you should never run graphical apps as root/sudo.

That being said, I can help you but you need to answer my previous question, do you still have a copy of fc_transferagent.tar.gz. If so, what is the location of that file?

On my desktop /home/username/Desktop

You will have to replace every instance of username with your actual username.

We are going to start by deleting everything done so far

sudo rm -rf /opt/utechsoft/transferagent
sudo mkdir -p /opt/utechsoft/transferagent
sudo chown username:username /opt/utechsoft/transferagent
cd /opt/utechsoft/transferagent
tar xf /home/username/Desktop/fc_transferagent.tar.gz
chmod a+x ./fc_transferagent_console.sh
./fc_transferagent_console.sh

Try that, if you get any errors, stop and report back. Also, the instructions you posted say:

With the tarball unpacked, you will now have access to the installation README file. The rest of the installation steps that you will need for this application can be found there.

So I am guessing a bit

1 Like

Excellent, much obliged, that got the app running! Running the cloud portion, it calls up the local app, says connecting but not connecting. No errors though, so that’s good.

The command executed was to run with GUI, not seeing one but appears the app is running in the background as the cloud portal is seeing/attempting connection

I’ll dig further into the read me to see if I need to whitelist a port, and how to.
I know the Windows app we have to whitelist port for some customers.

Screenshot_20210723_132547

1 Like

Console logs show:

  1. {code: {status: “403”, subcode: {value: “403”}}, reason: {,…}}

  2. code: {status: “403”, subcode: {value: “403”}}

  3. reason: {,…}

1. text: "Invalid origin request from https://filetransfer.companyname.com. To allow this request, add the origin of https://filetransfer.companyname.com to TransferAgent's allowed origin list"

It say’s on the website:

On the Linux machine, start your favourite web browser go to https://localhost.filecatalyst.net:12680/config.html the port 12680 is used by default, change this value if you configured a different port.

1 Like

doh, totally forgot about that, thanks for the reminder!

Don’t know much about it but i was reading some of it?

1 Like