Unable to start up sp_cop nor any other shareplex utility.
When starting shareplex sp_cop and launch sp_ctrl, the process returns with binary not found. Or, when starting shareplex sp_cop and launching sp_ctrl, the process returns with binary not found.
There are 3 possible causes.
1. missing the binaries under .app-modules
2. incorrect permission for binaries under $SP_SYS_PRODIR/bin or $SP_SYS_PRODIR/.app-modules
3. .app-modules/launcher has been zeroed out or empty
Resolution 1
For the first two causes, make sure the binaries available and their permission are correct.
For the third cause there are two options to resolve the issue and it may depend on the available of previous launcher file or one available some where else.
1. If launcher file is available by previous backup or from some where else,
a. restore the file
b. validate the following entries in the launcher file:
for example.
ENV["PATH"] = (["/home/oracle/splex/prod75/.meta-inf/tools/bin"] + ENV.to_hash["PATH"].to_s.split(':') + []).join(':')
TOP = "/home/oracle/splex/prod75"
Resolution 2
If the launcher is not available:
1. Go to PRODDIR
2. cd .app-modules
3. ls -l launcher*
4. Note the size of the file.
For example, in SharePlex 7.5.2:
-rwxrwxrwx 1 oracle oracle 4147 Apr 3 21:20 launcher
If the launcher has been zeroed out it would have zero bytes, example:
-rwxrwxrwx 1 oracle oracle 0 Apr 3 21:20 launcher
5. Look for another SharePlex replication of same version and copy the launcher to the .app-modules
6. Ensure the ownerships and permissions are the same as the original launcher
7. Modify the PRODDIR references in the script in the following lines:
Example Modify:
Line 1: #!/home/oracle/splex/prod75/.meta-inf/tools/bin/ruby
Line 3: ENV["PATH"] = (["/home/oracle/splex/prod75/.meta-inf/tools/bin"] + ENV.to_hash["PATH"].
Line 4: TOP = "/home/oracle/splex/prod75"
8. Save changes
9. Retry starting the SharePlex process that previously failed, such as sp_cop, sp_ctrl, qview, etc.
Resolution 3
If the launcher is not available:
Reinstall the SharePlex software
The issue can also have the following error:
sp_cop does not exist
sp_ctrl does not exist
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center