Hola Alejandro, te cuento sobre la instalacion de Informix en Linux
EL servidor en el que estoy probando es nuevo, el procesador es de 64bits entonces necesito un linux relativamente nuevo.
Nosotros aca siempre usamos openSuse, ahora estoy probando con openSuse 11 , la version del kernel es 2.6.
Mientras instale Infomix no hubo inconvenientes.
El problema empezo con el onint -i
tiro este error:
oninit: relocation error: /var/lib/libpthread.so.0: symbol _h_errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
encontre en un documento del de instalcion de informix que hacian este truco
export LD_ASSUME_KERNEL=2.4.1 rm /var/lib/libpthread.so.0 ln -s /lib/libncurses.so.5 /lib/libncurses.so.4
Luego hice oninit -iv y levanto el motor sin problemas…
Checking group membership to determine server run modesucceeded Reading configuration file '/opt/informix/etc/onconfig'...succeeded Creating /INFORMIXTMP/.infxdirs ... succeeded Creating infos file "/opt/informix/etc/.infos.serverhumanidades" ... "/opt/infor mix/etc/.conf.serverhumanidades" ... succeeded Writing to infos file ... succeeded Checking config parameters...succeeded Allocating and attaching to shared memory...succeeded Creating resident pool 7344 kbytes...succeeded Creating buffer pool 24002 kbytes...succeeded Initializing rhead structure...succeeded Initializing ASF ...succeeded Initializing Dictionary Cache and SPL Routine Cache...succeeded Bringing up ADM VP...succeeded Creating VP classes...succeeded Onlining 0 additional cpu vps...succeeded Onlining 2 IO vps...succeeded Forking main_loop thread...succeeded Initializing DR structures...succeeded Forking 1 'soctcp' listener threads...succeeded Starting tracing...succeeded Initializing 8 flushers...succeeded Initializing log/checkpoint information...succeeded Opening primary chunks...succeeded Opening mirror chunks...succeeded Initializing dbspaces...succeeded Validating chunks...succeeded Initialize Async Log Flusher...succeeded Forking btree cleaner...succeeded informix@siu-huma:~> Initializing DBSPACETEMP list Checking database partition index...succeeded Checking location of physical log...succeeded Initializing dataskip structure...succeeded Checking for temporary tables to drop Forking onmode_mon thread...succeeded Verbose output complete: mode = 5
El problema son los comandos de administracion…
onstat, onmode, dbaccess, onmonitor… todos dan este error:
onstat: relocation error: onstat: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time referencesi exporto la variable LD_ASSUME_KERNEL da este error
onstat: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
Se podra corregir esto?