Saturday, January 25, 2014

A bug in Informix V12 installation in Linux?

Informix V12 installation reports that "User informix does not exist". But when I try to manually add user informix, it says user informix exists. This issue happened in two different Linux machines.

The solution is simple. Trigger the installation again then error disappears. I guess that the installation procedure checks user informix existence before creation during to race condition issue.


1: Errors in Console:
Informix User/Group Creation Error
An error has occured during the creation of the specified user or group. See the log for more detail.
PRESS <ENTER> TO ACCEPT THE FOLLOWING (OK):

2: Could not add user informix:
[root@Ifx installer]# user informix
-bash: user: command not found
[root@Ifx installer]# groupadd -g 777 informix
groupadd: group informix exists
[root@Ifx installer]# addgroup -g 777 informix
-bash: addgroup: command not found
[root@Ifx installer]# useradd -u 777 -g informix informix
useradd: user informix exists


3: Trigger the installation again then user creation error disappears
[root@Ifx installer]# ./ids_install

No comments:

Post a Comment