fixed stale db connection problem and added an init script
added init script for eiSearchServer. server should be started with eiSearchServer.sh