Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

When I try to run SQL Central or SQL interactive I get this error com.apple.launchd.peruser.502[169]: ([0x0-0xb40b4].SQLCentral[39180]) Exited with code: 127 I am new on sqlanywhere have you got any idea what is wrong?

asked 15 Oct '15, 18:35

Antonis's gravatar image

Antonis
26112
accept rate: 0%

Perhaps you could show the commands you are running along with the results - like a cut and paste right from Terminal? Maybe add an env|grep -e SQLANY -e PATH to confirm the environment?

These applications use Java. What version of Java do you have installed?

If you open the installation folder in Finder, you should be able to open the applications from there - does that work?

(16 Oct '15, 11:27) Tim McClements

I am trying to launch it from Finder and doesn't work, I have Java 14.9.0 Meanwhile I installed sqlany16 just for checking but it's the same The output from env|grep -e SQLANY -e PATH is: SQLANY16=/Applications/SQLAnywhere16/System SQLANYSAMP16=/Applications/SQLAnywhere16/samples PATH=/Applications/SQLAnywhere16/System/bin64:/Applications/SQLAnywhere16/System/bin32:/Applications/SQLAnywhere16/System/bin64/sa_config.sh:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/GDAL.framework/Programs:/Library/Frameworks/Mapnik.framework/Programs:/Library/Frameworks/Mapnik.framework/Programs:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

(16 Oct '15, 15:59) Antonis

From some web searches it appears you are just not finding the binaries on the path; ie. the launcher just can find what to load.

That would most likely be due to not setting up the environment before attempting to launch those. That just comes down to sourcing the correct configuation script sa_config{.sh|.csh} before you start. In this sense MacOSX is no different from Linux or any variant of Unix.

HTH

permanent link

answered 16 Oct '15, 09:27

Nick%20Elson%20SAP%20SQL%20Anywhere's gravatar image

Nick Elson S...
7.3k35107
accept rate: 32%

Thank you for your reply but unfortunately this doesn't seem to be the issue as I have already sourced the right sa_config

(16 Oct '15, 10:52) Antonis

could it just be they way you are typing/launching it?

What happens when you launch scjview?

(16 Oct '15, 11:25) Nick Elson S...

How should I launch it? When I launch scjview in terminal (./scjview) nothing happens too.

(16 Oct '15, 15:34) Antonis

Thank you for your replies. The issue was with java, the installed version in Mac os x was 1.6 and I upgraded to 1.8 and everything works fine. Thanks again.

permanent link

answered 18 Oct '15, 14:08

Antonis's gravatar image

Antonis
26112
accept rate: 0%

FWIW you should have been using the JRE supplied in the ${SQLANY17}/bin32/jre180/ and ${SQLANY17}/bin64/jre180/ directories which should have been set up at installation time. If either of those failed to be installed and setup up correctly we may have an installer issue to look into.

(19 Oct '15, 08:53) Nick Elson S...
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×31

question asked: 15 Oct '15, 18:35

question was seen: 2,345 times

last updated: 19 Oct '15, 08:53