As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
sudo /etc/init.d/alfresco start|stop|restart|zap [tail]
sudo /etc/init.d/alfresco start
HiWell, we'd hope we can get you up and running without having to take a trip to the local bookshop!It's not clear to me exactly what's going wrong with the startup script, other than the iptables redirection commands being very unhappy! I suspect it might be a copy/paste problem from either our wiki or a document perhaps, as some of those apostrophes look suspect in the output.Could you post what you've done so far please (i.e. if there's anything you've manually edited). Perhaps posting the alfresco script would also help, as would the contents of the Alfresco.log file, if one is created.Thanks,Mike
export ALFRESCO_HOME=/opt/alfresco export CATALINA_BASE=/opt/alfresco/tomcat export CATALINA_HOME=/opt/alfresco/tomcat export PIDFILE=/var/run/alfresco export LOGFILE=/var/log/alfresco/alfresco.log # Set any default JVM values export JAVA_OPTS='-Xms128m -Xmx512m -server -Djava.io.tmpdir=/var/lib/alfresco/tmp' cd "$ALFRESCO_HOME" sudo -H -u alfresco sh $CATALINA_HOME/bin/startup.sh
INFO: Deploying web application archive alfresco.war 14:03:58,458 ERROR [web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneFullTextSearchIndexer' defined in class path resource [alfresco/co re-services-context.xml]……..
Caused by: java.net.UnknownHostException: laptop: laptop
sudo hostname localhost
15:12:22,498 ERROR [web.context.ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi] Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]