I am running OpenFire 3.6.4 with LDAP authentication.
When users sign on they do not show as online in the buddy list even though I can chat with them. Sometimes they will sign on after a few minutes, but not always. The clients we are using include ichat, pidgin, and adium.
Any help is appreciated, thanks.
It seems like I can only see people on if I sign on when they are on. If I sign on before they will not show up in my list.
How many users do you have in roster?
Do you have heavy traffic to LDAP server?
Please take a look here
Milan
Looks promising thanks. My roster size is just over 100 people and the cache seems to be holding at 3% usage. The LDAP server is only used only by openfire currently.
I increased the amount of memory allocated to the VM from 2 to 3 gigs. I cannot find the file referenced for increased the amount of memory (debian) and the property for rother cache isnt list in server-properties.jsp.
Any idea where I can find them?
Here is my init.d file…looks like it shares some variables with the file referenced.
#!/bin/sh
Modified for Debian
Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl
Attempt to locate JAVA_HOME, code borrowed from jabref package
if [ -z $JAVA_HOME ]
then
t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
fi
PATH=/sbin:/bin:/usr/sbin:/usr/bin:${JAVA_HOME}/bin
JAVA=${JAVA_HOME}/bin/java
NAME=openfire
DESC=openfire
DAEMON_DIR=/usr/share/openfire
DAEMON_LIB=${DAEMON_DIR}/lib
test -x $JAVA || exit 0
Include openfire defaults if available
if [ -f /etc/default/openfire ] ; then
. /etc/default/openfire
fi
DAEMON_OPTS="$DAEMON_OPTS -server -DopenfireHome=${DAEMON_DIR} \
-Dopenfire.lib.dir=${DAEMON_LIB} -classpath ${DAEMON_LIB}/startup.jar\
-jar ${DAEMON_LIB}/startup.jar"
#set -e
#Helper functions
start() {
start-stop-daemon --start --quiet --background --make-pidfile \
–pidfile /var/run/$NAME.pid --chuid openfire:openfire \
–exec $JAVA – $DAEMON_OPTS
}
stop() {
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
–exec $JAVA --retry 4
}
case “$1” in
start)
echo -n "Starting $DESC: "
start
echo “$NAME.”
;;
stop)
echo -n "Stopping $DESC: "
stop
echo “$NAME.”
;;
restart|force-reload)
If the “reload” option is implemented, move the “force-reload”
option to the “reload” entry above. If not, “force-reload” is
just the same as “restart”.
echo -n "Restarting $DESC: "
#set +e
stop
#set -e
#sleep 1
start
echo “$NAME.”
;;
*)
N=/etc/init.d/$NAME
echo “Usage: $N {start|stop|restart|reload|force-reload}” >&2
echo “Usage: $N {start|stop|restart|force-reload}” >&2
exit 1
;;
esac
exit 0
2010.06.24 16:40:13 [org.jivesoftware.openfire.ldap.LdapGroupProvider.processGroup(LdapGroupProvide r.java:365)]
javax.naming.InvalidNameException: Invalid name: name.name
at javax.naming.ldap.Rfc2253Parser.doParse(Rfc2253Parser.java:86)
at javax.naming.ldap.Rfc2253Parser.parseDn(Rfc2253Parser.java:45)
at javax.naming.ldap.LdapName.parse(LdapName.java:772)
at javax.naming.ldap.LdapName.(LdapName.java:108)
at org.jivesoftware.openfire.ldap.LdapGroupProvider.processGroup(LdapGroupProvider .java:347)
at org.jivesoftware.openfire.ldap.LdapGroupProvider.getGroup(LdapGroupProvider.jav a:95)
at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:278)
at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:257)
at org.jivesoftware.openfire.roster.RosterItem.getSharedGroups(RosterItem.java:404 )
at org.jivesoftware.openfire.roster.Roster.getReset(Roster.java:525)
at org.jivesoftware.openfire.handler.IQRosterHandler.manageRoster(IQRosterHandler. java:202)
at org.jivesoftware.openfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.java :105)
at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:49)
at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:351)
at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:101)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:68)
at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:319)
at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:79)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:284)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:176)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:133)