When trying to profile a host through the Identity Manager for Unix Console reports an error:
After enabling the debug log options on the server, the log file reports something similar to the below:
ERROR 05-Dec-2011 11:40:27 [pool-1-thread-1] com.quest.bullseye.services.ProfileServiceImpl - Failed to Profile host <hostname>
java.lang.IllegalStateException: 2 results returned when 0 or 1 expected for query localPosixGroup.findByComputerIdAndName with parameters [1000, users]
In the above, “1000” refers to the GID and “users” refers to the group name.
Caue 1 -Product Defect. Duplicate group name in the /etc/groups file was handle incorrectly.
Cause 2 - IMU (1.0.2) does not support with MAC OS X 10.7 or 10.8 versions
WORKAROUND:
Ensure that only a single line exists each group listed in the /etc/group file.
Run the following against the groups file to find the duplicate members and clean them up.
cat group.txt | tr 'A-Z' 'a-z' | awk -F : '{ split($4,a,","); for (b in a) print $1, a[b];}' | sort | uniq -d | awk '{ a[$1] = a[$1]" "$2; } END { for(b in a) print "Groupname:\t"b,"\nDuplicate Members:\t"a[b];}'
If you are currently running Identity Manager for Unix 1.0 version also known as IMU 1.0 we highly recommend you upgrade to Quest One Management Console for Unix as we have identified several key areas of improvement with the product. At the time this was written the latest version is Management Console for Unix 2.5 which have been combined into a new offering called Privileged Access Suite for Unix available for download on the Support Portal | www.quest.com/support
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center