Hola que tal, vuelvo de nuevo con el mismo error de antes.
Estoy intentando instalar el G3w2 en un Ubuntu 12. El cliente lo instaló perfecto y el PDO también.
Las variables de entorno todas cargadas, etc. Seguí el instructivo del SIU y uno que me pasaron por acá paso a paso para instalar sobre UBUNTU.
El tema es que cuando quiero hacer el ./guarani test_conexion me sale lo siguiente, y ese código de error es diferente a los que les han salido al resto de los que han posteado en el foro:
root@ubuntu:/usr/local/proyectos/guarani/g3w2/bin# ./guarani test_conexion
PHP Warning: Module ‘PDO’ already loaded in Unknown on line 0
PHP Warning: Module ‘pdo_informix’ already loaded in Unknown on line 0
PHP Warning: Module ‘PDO’ already loaded in Unknown on line 0
PHP Warning: Module ‘pdo_informix’ already loaded in Unknown on line 0
ERROR AL CONECTAR!!!
DB CONNECTION ERROR: ERROR conectandose al motor - SQLSTATE=HY000,
SQLDriverConnect: -27001 [Informix][Informix ODBC Driver][Informix]Read
error occurred during connection attempt.
Por favor, verifique sus parámetros de conexión:
database=administracion
host=200.61.248.105
server=ol_guarani
service=1526
protocol=olsoctcp
LogonID=internet
pwd=*******
Buscando el error dice:
Read error occurred during connection attempt.
This error can occur on either the client or database server side.
When you encounter this error on the client side, it indicates that a network I/O error occurred when the client tried to connect to a database server. Probably the connection attempt timed out because the database server or the network was very busy, too many clients were attempting to connect to the database server simultaneously, or the database server was taken off-line during the connection attempt.
If you are using Informix Dynamic Server 2000, Informix Dynamic Server, INFORMIX-Universal Server, or INFORMIX-OnLine Dynamic Server, verify that the database server is still on-line. If you are using INFORMIX-SE, verify that the sqlexecd daemon for the database server is still running. Use either or both of the environment variables INFORMIXCONTIME and INFORMIXCONRETRY on the client side to increase the connection time and number of retry attempts.
When you encounter this error on the database server side, it is a warning that a network I/O error is detected while the database server is accepting a connection request from a client. This error usually occurs when the database server or the network is very busy or when too many clients are trying to connect to the database server at once. The database server might be taking so long to respond to a client that the client’s connection request timed out before the connection is complete. Or possibly a client terminated its connection attempt before the connection is completely established.
If this error is seen only occasionally in the server message log, it is just a warning. No corrective action is required on the server side.
If this error occurs frequently on a database server that runs on a host with multiple processors, you might want to tune the database server by increasing the number of poll threads and/or listener threads.