Environment
Novell iPrint Appliance 1.1 patch 3 (version 418)
Situation
The following error is returned when attempting to run the LDAP User import:
<SERVER HOSTNAME>:389 [Root exception is java.net.SocketException: Too many open files]
<DATE AND TIME>:33,164 ERROR [http-bio-8081-exec-2] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - syncGroups() threw an exception: java.lang.NullPointerException
<SERVER HOSTNAME>:389 [Root exception is java.net.SocketException: Too many open files]
<DATE AND TIME>:33,164 ERROR [http-bio-8081-exec-2] [org.kablink.teaming.module.ldap.impl.LdapModuleImpl] - syncGroups() threw an exception: java.lang.NullPointerException
Resolution
Increase the open files value on the appliance. This is accomplished by copying and pasting the following string of commands into a terminal session:
ulimit -n 65536;printf '*\t%shard\t%snofile\t%s65535\n*\t%ssoft\t%snofile\t%s4096' >> /etc/security/limits.conf
ulimit -n 65536;printf '*\t%shard\t%snofile\t%s65535\n*\t%ssoft\t%snofile\t%s4096' >> /etc/security/limits.conf