Friday, April 05, 2013

12.10 install issue on HP-UX / Problema na instalação de 12.10 em HP-UX

This article is written in English and Portuguese (full article here)
Este artigo está escrito em Inglês e Português (artigo completo aqui)


English version:
Very quick post to report a small issue and it's solution while installing the latest Informix version (12.10) on HP-UX (11.31 - Itanium).
After decompressing the tar file I've run ids_install and got the following error:
./ids_install
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
tar: ././@LongLink - cannot create

[ lots of similar lines]

tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
The included VM could not be unarchived (TAR). Please try to download
the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.

I verified the package integrity and after some internal and external search I've found references to the fact that some versions of native tar command don't support long file names (the limit of 100 characters is referenced in some sources). A possible solution is to get, install and use the GNU tar (a tar utility made available by the GNU foundation).
I also tried to install 12.10 in Linux and AIX (7.1) without problems. On Linux this seems natural because Linux's flavor of tar is the GNU one. It's possible that some customers already have GNU tar installed on their systems and they will probably hit this problem.
Here are a couple of links that reference similar issues:

If you need to download the GNU version of tar for HP-UX, this seems to one option, but please check with your HP-UX system administrators or HP-UX support (as this is not an official HP site):

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.26/

After having the GNU tar, make sure it's run preferably over the standard tar (set up the PATH environment variable). After that the installation should run without further issues.
There is an open PMR on IBM to analyze this issue. At least I expect that it will become referenced on the machine notes, or in a public article, but it would be nice not to have any dependency on external tools to make the installation 

Versão Portuguesa:
Um artigo rápido para reportar um pequeno problema e respectiva solução durante a instalação da última versão de Informix (v12.10) em HP-UX (11.31 - Itanium).
Depois de descomprimir o pacote "tar" executei o ids_install e obtive o seguinte erro:
./ids_install
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
tar: ././@LongLink - cannot create

[ lots of similar lines]

tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
tar: ././@LongLink - cannot create
The included VM could not be unarchived (TAR). Please try to download
the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.

Verifiquei a integridade do pacote e após alguma pesquisa interna e externa, encontrei referências ao facto de que algumas versões nativas do comando "tar" não suportarem nomes longos de ficheiros (há referências ao limite de 100 caracteres em algumas discussões). Uma possível solução é obter, instalar e usar o GNU tar (um "tar" disponibilizado pela GNU foundation).
Tentei fazer a instalação da V12.10 em Linux e AIX 7.1 e não encontrei problemas. Em Linux isto é natural, pois o "tar" presente nas distribuições é normalmente o da GNU. É possível que alguns clientes já tenham o GNU tar instalado nos seus sistemas e possivelmente não irão ter este problema.
Aqui ficam um par de endereços que referenciam problemas semelhantes:
Se necessitar de fazer o download da versão GNU do "tar" para HP-UX este sitio parece ser uma opção, mas por favor confira com o seu administrador de HP-UX ou com o respetivo suporte técnico (dado que este sitio não é um local oficial da HP):

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.26/

Depois de ter o GNU "tar", terá de garantir que ele é usado preferencialmente ao standard da sua instalação de sistema operativo (definindo a variável de ambiente PATH). Após isso a instalação deverá correr sem mais problemas.
Neste momento está um PMR aberto na IBM para análise do assunto. No mínimo espero que isto seja referido na documentação ou num artigo público, embora o ideal fosse não ter dependência de produtos de terceiros para fazer a instalação.


No comments: