Package Details: db2exc 10.5-3

Git Clone URL: https://aur.archlinux.org/db2exc.git (read-only)
Package Base: db2exc
Description: DB2 Express-C
Upstream URL: http://www.ibm.com/software/data/db2/express-c
Licenses: custom
Submitter: badfish
Maintainer: badfish
Last Packager: badfish
Votes: 2
Popularity: 0.000000
First Submitted: 2014-01-06 12:41
Last Updated: 2015-09-17 16:09

Dependencies (1)

Required by (0)

Sources (6)

Latest Comments

igord commented on 2016-04-30 14:43

Install fails with the following error

==> Starting package()...
DBT3505E The db2prereqcheck utility was unable to determine the Linux distribution level. ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
The force option "-f sysreq" is used to force the installation ...

DBI1191I db2setup is installing and configuring DB2 according to the
response file provided. Please wait.


mkdir: cannot create directory ‘/root/db2.tmp.30179’: Permission denied
/home/igor/Downloads/db2exc/src/expc/db2/linuxamd64/install/db2setup: line 621: cd: /root/db2.tmp.30179: Not a directory
cp: failed to access '/root/db2.tmp.30179/db2/': Permission denied
cp: failed to access '/root/db2.tmp.30179/db2/': Permission denied
cp: failed to access '/root/db2.tmp.30179/db2/': Permission denied
cp: failed to access '/root/db2.tmp.30179/db2/linuxamd64/install//.fsinfo': Permission denied
/home/igor/Downloads/db2exc/src/expc/db2/linuxamd64/install/db2setup: line 1000: /root/db2.tmp.30179/db2/linuxamd64/install//db2setup_exec: Permission denied
/home/igor/Downloads/db2exc/src/expc/db2/linuxamd64/install/db2setup: line 1000: exec: /root/db2.tmp.30179/db2/linuxamd64/install//db2setup_exec: cannot execute: Permission denied
mv: cannot stat '/home/igor/Downloads/db2exc/pkg/db2exc/opt/db2.tmp': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...


I managed to workaround this problem by defining DB2WORKDIR env variable to be some folder where I have write permission but than I get that weird DBI1288E permission error.

DBI1288E The execution of the program /home/igor/Downloads/db2exc/pkg/db2exc/opt/db2.tmp failed. This
program failed because you do not have write permission on the
directory or file .

BTW, MD5 for installation archive is different again.

wllacer commented on 2015-09-18 07:22

@badfish
Regarding the minor errors the db2 installation throws . Here is an excerpt of my DB2Install.history (sadly in spanish)
<code>
Iniciando DB2 Fault Monitor :.......Satisfactorio
ERROR: Se han producido uno o más errores al actualizar el enlace
"/usr/local/bin/db2ls". Cree manualmente este enlace a la versión más reciente
de la copia de DB2 con db2ls instalado o, si el enlace no se puede crear,
ejecute el mandato db2ls desde el soporte de instalación. Si desea obtener más
información, consulte la documentación de DB2.

<b>Actualizando el enlace db2ls y db2greg :.......Error</b>
Registrando licencias de DB2 :.......Satisfactorio
<b>ERROR: No se pudo añadir el valor "DB2SYSTEM=werner-arch" al Registro de
Perfiles Globales. El valor de retorno es "255".

ERROR: No se pudo añadir el valor "DB2_COMPATIBILITY_VECTOR=MYS" al Registro de
Perfiles Globales. El valor de retorno es "255".</b>

Definiendo variables por omisión del registro de perfiles globales :.......Error
Inicializando lista de instancias :.......Satisfactorio
Registrando DB2 Update Service :.......Satisfactorio
Actualizando el registro de perfiles globales :.......Satisfactorio
AVISO: Se ha producido un error leve al instalar "DB2 Express-C " en el
sistema. Puede que algunas funciones no operen correctamente.
</code>

wllacer commented on 2015-09-17 20:13

I cleaned everything and rebuilt the package. Now it worked ...
Many thanks, though

badfish commented on 2015-09-17 16:14

@wllacer I've updated the PKGBUILD with a different MD5 sum. I tested the build on my machine and it worked OK; the error message makes no sense because ../pkg/db2exc/opt/db2.tmp is supposed to be a directory, not an executable program.
If you want me to look at it some more, please send the complete output from makepkg to my email address which is in the PKGBUILD file.

wllacer commented on 2015-09-17 12:18

Tried to install yesterday, with no luck
1) MD5 sum for the source package failed. It seems IBM has replaced the source file (I got the beast manually installed, so it wasn't a download error)
2) Got also the fakeroot error db2prereqcheck @hzl199411 documented (but it procedeed nonetheless)
3) It died with error (sorry, messages went in spanish)
...
DBI1288E La ejecución del programa /home/werner/Downloads/db2exc/pkg/db2exc/opt/db2.tmp ha fallado. El programa ha fallado porque el usuario no tiene permiso de escritura sobre el directorio o archivo
...
(translated: write permision failure)
...
mv: no se puede efectuar `stat' sobre «/home/werner/Downloads/db2exc/pkg/db2exc/opt/db2.tmp»: No existe el fichero o el directorio

in fact ../pkg/db2exc was empty with (apparently) enough permisions:
drwxr-xr-x 2 werner werner 4096 sep 16 14:52 db2exc

I got the beast installed by hand (as non-root)

badfish commented on 2015-09-02 09:04

@musaya: You have to download the file manually; read the comment in the PKGBUILD file.

musaya commented on 2015-09-02 06:15

-> Downloading v10.5_linuxx64_expc.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: download
==> ERROR: Failure while downloading v10.5_linuxx64_expc.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build db2exc.

badfish commented on 2014-10-19 09:29

@hzy199411: I get that; also "A minor error occurred while installing DB2 Express-C on this computer. Some features may not function correctly." But it has built a package, and I have not yet discovered a feature which does not work.

hzy199411 commented on 2014-10-17 11:23

@badfish,I get this error

DBT3505E The db2prereqcheck utility was unable to determine the Linux distribution level. ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored

badfish commented on 2014-10-16 18:29

It worked for me, except that it wouldn't start with the systemd file; I've uploaded a new version with a corrected startup script. Also note that you have to belong to the "db2inst1" group before you can use it.

All comments