cozagent with RC=127

General discussion of the Co:Z Toolkit
Post Reply
slhussey
Posts: 22
Joined: Thu Jun 19, 2014 9:55 am

cozagent with RC=127

Post by slhussey »

I have installed Co:Z on an Ubuntu Liunx server. When attempting to run cozagent locally or via Co:Z Launcher, I get 'No such file or directory'. I have updated the PATH to include /opt/dovetail/coz/bin. The permissions include x for owner, group, and other. I am at a loss to the cause. Please give me some guidance on determining why the error message. When run locally while not in the directory, the error message includes the directory where cozagent is located, so it is being found. I assume something is missing or not found that is needed by cozagent.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: cozagent with RC=127

Post by dovetail »

I assume that you have tried executing it (locally from an Ubuntu Linux shell) like:

/opt/dovetail/coz/bin/cozagent

If this gives use a "No such file or directory", then it could be that it is missing a required shared library.

Did you install the LSB RPM on Ubuntu using alien? If you did this with a forced install, then you might not have the required lsb package installed.
If this is the case, it might be easier just to un-install the package and install it from source.

To install from source, you just download the target toolkit source tar.gz file from: http://dovetail.com/downloads/coz/index.html , and follow the instructions here:
http://dovetail.com/downloads/coz/index.html
(note: the file is actually a tar.gz file, the current version is: http://dovetail.com/downloads/coz/coz-t ... 1.2.tar.gz
slhussey
Posts: 22
Joined: Thu Jun 19, 2014 9:55 am

Re: cozagent with RC=127

Post by slhussey »

Yes, I did try to run it locally and received the same error message. I assumed it was a missing library, but have no idea about how to determine the missing library.

I did install the RPM using alien and dpkg. I have a Red Hat Linux server that should be available to me on Monday. I will probably wait until then and get Co:Z installed on it.

I did not see the instructions about installing via source. I have no experience in installing via source on Linux.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: cozagent with RC=127

Post by dovetail »

Sorry, I mis posted. The install link is http://dovetail.com/docs/coz/install_unix_gnu.html

For ubuntu, make sure that you have installed the build-essentials package
slhussey
Posts: 22
Joined: Thu Jun 19, 2014 9:55 am

Re: cozagent with RC=127

Post by slhussey »

Rebuilding from the src has corrected the problem. Thank you!!!!
coz
Posts: 391
Joined: Fri Jul 30, 2004 5:29 pm

Re: cozagent with RC=127

Post by coz »

Good to hear that you got it working via a source build. I wanted to follow up on the original post -- the problem is likely that the LSB support package is not installed; it's not there by default under Ubuntu. You can install via apt:

Code: Select all

sudo apt-get install lsb-core
This can be done even after the alien conversion and dpkg installation. We'll update the documentation to highlight this.
Post Reply