Knowledge Partner
Knowledge Partner
1203 views

Install 4.7 on current Tumbleweed fail?


dgersic@linux-qmmw:~/Downloads/designer_install> ./install
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

JRE libraries are missing or not compatible....
Exiting....
Labels (1)
0 Likes
10 Replies
skumar_8524 Absent Member.
Absent Member.

Re: Install 4.7 on current Tumbleweed fail?

Hi,

This error may occur if the Installer cannot write to the /tmp directory, either due to a permissions issue or disk space allocation issue. Please check and try to clear temp folder space and have required permission while running installer.

If the above solution doesn't work, please provide the below information, for now, to investigate further.
1> Specify the designer binary used to install designer.


In case of any query or for more information, please feel free to reply.

Thanks
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

skumar_8524;2489250 wrote:
Hi,

This error may occur if the Installer cannot write to the /tmp directory, either due to a permissions issue or disk space allocation issue. Please check and try to clear temp folder space and have required permission while running installer.

If the above solution doesn't work, please provide the below information, for now, to investigate further.
1> Specify the designer binary used to install designer.


In case of any query or for more information, please feel free to reply.

Thanks


df -h says that there is 3.5G available for /tmp so it's not disk space.
echo something > /tmp/foo.txt works ok, so it's not permissions.

Designer is Identity_Manager_4.7_Linux_Designer.tar.gz from dl.netiq.com.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

Call the installer with debugging:


bash -xv ./install


If it happens to copy the installer over to the /tmp location, and then it
runs an executable from there, I wonder if the 'noexec' flag might be set
on /tmp in which case running anything from there will fail. You can
easily test this with the mount command:


mount | grep noexec #look for /tmp in the output



--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

ab;2489296 wrote:
Call the installer with debugging:


bash -xv ./install


If it happens to copy the installer over to the /tmp location, and then it
runs an executable from there, I wonder if the 'noexec' flag might be set
on /tmp in which case running anything from there will fail. You can
easily test this with the mount command:


mount | grep noexec #look for /tmp in the output



--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.


You're on the right track, but that's not it.

It does look like they copy everything over to /tmp/install.dir.(pid)/Linux/resource/jre/bin and try to run java from there, which fails.

Trying to run /tmp/install.dir.(pid)/Linux/resource/jre/bin/java directly from bash also fails ("No such file or directory"). But, it's not "noexec", that's not set on /tmp, and I can make both shell scripts and binaries that run fine from the same directory.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

On 10/23/2018 10:44 AM, dgersic wrote:
>
> It does look like they copy everything over to
> /tmp/install.dir.(pid)/Linux/resource/jre/bin and try to run java from
> there, which fails.
>
> Trying to run /tmp/install.dir.(pid)/Linux/resource/jre/bin/java
> directly from bash also fails ("No such file or directory"). But, it's


If you point directly to something that is there and it turn tells you
it's not there, well that's very odd obviously. Are you sure you
specified the path correctly? I presume if you actually have parentheses
you are escaping them, and I assume you are using tab completion to
specify the last part of the path to be sure 'bash' at least sees it (if
not, then do that).

Os it possible 'java' is a symlink that is broken, so while you can point
to it its reference is hosed?

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

ab;2489320 wrote:
On 10/23/2018 10:44 AM, dgersic wrote:
>
> It does look like they copy everything over to
> /tmp/install.dir.(pid)/Linux/resource/jre/bin and try to run java from
> there, which fails.
>
> Trying to run /tmp/install.dir.(pid)/Linux/resource/jre/bin/java
> directly from bash also fails ("No such file or directory"). But, it's


If you point directly to something that is there and it turn tells you
it's not there, well that's very odd obviously. Are you sure you
specified the path correctly? I presume if you actually have parentheses
you are escaping them, and I assume you are using tab completion to
specify the last part of the path to be sure 'bash' at least sees it (if
not, then do that).

Os it possible 'java' is a symlink that is broken, so while you can point
to it its reference is hosed?

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.


The (pid) part changes each time you run the installer, so the path is like "/tmp/install.dir.1234/Linux/resource/jre/bin/java", nothing to escape there.

"ls -ltr /tmp/install.dir.1234/Linux/resource/jre/bin/java" shows that there is a file there, mode 755 (due to the script doing a "chmod -R 755" on /tmp/install.dir.1234/Linux/resource/jre/bin).

hexdump -C -v shows that the first four bytes of it are ".ELF", so it appears to be a valid Linux binary.

So, yeah, it's there, but it won't execute.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

ab;2489320 wrote:
On 10/23/2018 10:44 AM, dgersic wrote:
>
> It does look like they copy everything over to
> /tmp/install.dir.(pid)/Linux/resource/jre/bin and try to run java from
> there, which fails.
>
> Trying to run /tmp/install.dir.(pid)/Linux/resource/jre/bin/java
> directly from bash also fails ("No such file or directory"). But, it's


If you point directly to something that is there and it turn tells you
it's not there, well that's very odd obviously. Are you sure you
specified the path correctly? I presume if you actually have parentheses
you are escaping them, and I assume you are using tab completion to
specify the last part of the path to be sure 'bash' at least sees it (if
not, then do that).

Os it possible 'java' is a symlink that is broken, so while you can point
to it its reference is hosed?

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.


Tried a few more things, none successful.

Using environment variable IATEMPDIR, you can specify what to use for /tmp. So I changed it to /home/dgersic/tmp (and created the directory). Same result. I can run the installer from ~/Download, and have it use ~/tmp, so it's not permissions or noexec.

"strace /tmp/install.dir.(pid)/Linux/resource/jre/bin/java" shows it trying to open a libc.mo file from a few places. Looks like something to do with language settings (en_US). It doesn't find the file, but I'm not convinced that that would be a fatal error.

That's all it does, though. Look for libc.mo in a few places, then "No such file or directory", and exit.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Install 4.7 on current Tumbleweed fail?

On 10/26/2018 08:04 AM, dgersic wrote:
>
> Tried a few more things, none successful.
>
> Using environment variable IATEMPDIR, you can specify what to use for
> /tmp. So I changed it to /home/dgersic/tmp (and created the directory).
> Same result. I can run the installer from ~/Download, and have it use
> ~/tmp, so it's not permissions or noexec.


Smart, though that may just mean that /home has the same odd mount options
as /tmp so perhaps just a casual review of "what's odd" on those may be
worthwhile. Perhaps just post the output from 'mount'.

> "strace /tmp/install.dir.(pid)/Linux/resource/jre/bin/java" shows it
> trying to open a libc.mo file from a few places. Looks like something to
> do with language settings (en_US). It doesn't find the file, but I'm not
> convinced that that would be a fatal error.


I'd tend to agree, but then a couple things may be worth checking. First,
on my laptop (not Tumbleweed) I have a million of those files from
glibc-locale so perhaps be sure that package is installed.

Also, if you are not following forks with strace then you may miss out on
most of what you need. I usually start with this in a terminal that has
infinite buffer to hold the output:


strace -ttt -ff -s 499 -e file /path/to/executable


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Micro Focus Contributor
Micro Focus Contributor

Re: Install 4.7 on current Tumbleweed fail?

Hi,

We are able to reproduce the issue in house with openSUSE:Tumbleweed OS (Downloaded openSUSE-Tumbleweed-DVD-x86_64-Current.iso from https://download.opensuse.org/tumbleweed/iso/).
However, with below workaround, I could successfully launch Designer.

1. Under the designer_install folder, unzip designer-designer-linux.gtk.x86_64.zip
2. Install Java (which will set the Java path)
3. Launch ./Designer from designer_install/designer

This should launch Designer successfully.
mguldner Trusted Contributor.
Trusted Contributor.

Re: Install 4.7 on current Tumbleweed fail?

Even when this more than a year old, it helped me today - works also for Designer 4.7.2. Thanks!

But "Check for Designer Update" does not work - neither says "no update" nor offers 4.7.3. Is this a consequence from Designer not beeing properly installed?

There is a download Identity_Manager_4.7.3_Designer.zip - but I don't know how to apply it, didn't find any information on this. Just copying the files over breaks Designer. Any hints appreciated.

Thanks,

Mirko

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.