03-18-2009 04:43 AM
Mi 18. Mär 09:06:33 CET 2009 Starting Alfresco …
09:07:43,770 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
09:07:48,991 DEBUG [org.alfresco.smb.protocol] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@1be4050, name=log4j:logger=org.alfresco.smb.protocol
09:08:22,934 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
09:08:24,328 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
09:09:36,841 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery started: 6 transactions.
09:09:36,866 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 10 % complete.
09:09:36,866 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 30 % complete.
09:09:36,867 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 50 % complete.
09:09:36,867 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 60 % complete.
09:09:36,867 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 80 % complete.
09:09:36,880 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] 100 % complete.
09:10:05,151 INFO [org.alfresco.repo.node.index.FullIndexRecoveryComponent] Index recovery completed.
09:10:05,252 INFO [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 1 AVM Stores
09:10:05,252 INFO [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Rebuilding index for sitestore
09:10:05,271 INFO [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Reindex 100% complete
09:10:05,271 INFO [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores
09:10:05,485 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/alf_data
09:10:05,569 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
09:10:07,251 INFO [org.alfresco.repo.admin.patch.PatchExecuter]
=== Applied patch ===
ID: patch.db-V3.0-0-CreateActivitiesExtras
RESULT:
Script completed
=====================================
09:10:07,260 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
09:10:07,581 DEBUG [org.alfresco.smb.protocol] Added desktop action CheckInOut
09:10:07,587 DEBUG [org.alfresco.smb.protocol] Added desktop action JavaScriptURL
09:10:07,802 INFO [org.alfresco.smb.protocol] CIFS server started
09:10:07,818 INFO [org.alfresco.smb.protocol] FTP server started
09:10:07,818 INFO [org.alfresco.smb.protocol] NFS server NOT started
09:10:08,893 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
09:10:08,894 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
09:11:08,997 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
<config evaluator="string-compare" condition="CIFS Server" replace="true">
<serverEnable enabled="true"/>
<host name="${localname}a" domain="ifta-gmbh"/>
<comment>Alfresco CIFS Server6</comment>
<broadcast>192.168.20.255</broadcast>
<bindto>192.168.20.6</bindto>
<tcpipSMB platforms="linux,solaris,macosx"/>
<netBIOSSMB platforms="linux,solaris,macosx"/>
<tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
<hostAnnounce interval="5"/>
<Win32NetBIOS/>
<Win32Announce interval="5"/>
<authenticator type="enterprise">
</authenticator>
<sessionDebug flags="Negotiate,Socket"/>
</config>
03-18-2009 01:29 PM
<!– ####################### CIFS ################################ *ANFANG* –>
<config evaluator="string-compare" condition="CIFS Server">
<serverEnable enabled="true"/>
<!– <host name="${cifs.localname}A" domain="${cifs.domain}"/> –>
<host name="cifstest" domain="CIFSDOMAIN"/>
<comment>Alfresco CIFS Server</comment>
<!– Set to the broadcast mask for the subnet –>
<!– <broadcast>${cifs.broadcast}</broadcast> –>
<!– <broadcast>192.168.40.255</broadcast> –>
<broadcast>${cifs.broadcast}</broadcast>
<!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
<!–
<tcpipSMB platforms="linux,solaris,macosx"/>
<netBIOSSMB platforms="linux,solaris,macosx"/>
–>
<!– Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports –>
<tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
<hostAnnounce interval="5"/>
<!– Use Win32 NetBIOS interface on Windows –>
<Win32NetBIOS/>
<Win32Announce interval="5"/>
<!– CIFS authentication –>
<authenticator type="enterprise">
</authenticator>
<!–
<WINS>
<primary>1.2.3.4</primary>
<secondary>5.6.7.8</secondary>
</WINS>
–>
<sessionDebug flags="Negotiate,Socket"/>
</config>
<!– ####################### CIFS ################################ *ENDE* –>
03-20-2009 03:52 AM
sudo -H -u alfresco sh $CATALINA_HOME/bin/startup.sh
$CATALINA_HOME/bin/startup.sh
03-20-2009 11:25 AM
#
# Alfresco init script for Ubuntu
# 2 nov 2007 Joost Horward
#
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
export JAVA_HOME='/usr/lib/jvm/java-6-sun/jre'
# Set any default JVM values
export JAVA_OPTS='-Xms128m -Xmx1024m -server -Djava.io.tmpdir=/var/lib/alfresco/tmp'
cd "$ALFRESCO_HOME"
#
# redirect FROM TO PROTOCOL
# setup port redirect using iptables
redirect() {
echo "Redirecting port $1 to $2 ($3)"
iptables -t nat -A OUTPUT -d localhost -p $3 –dport $1 -j REDIRECT –to-ports $2
iptables -t nat -A PREROUTING -d server8 -p $3 –dport $1 -j REDIRECT –to-ports $2
iptables -t nat -A OUTPUT -d server8 -p $3 –dport $1 -j REDIRECT –to-ports $2
}
#
# setup_iptables
# setup iptables for redirection of CIFS and FTP
setup_iptables () {
echo "1" >/proc/sys/net/ipv4/ip_forward
# Clear NATing tables
iptables -t nat -F
# FTP NATing
redirect 21 2021 tcp
# CIFS NATing
redirect 445 1445 tcp
redirect 139 1139 tcp
redirect 137 1137 udp
redirect 138 1138 udp
}
#
# start_openoffice
#
start_openoffice(){
sudo -H -u alfresco /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
}
case $1 in
start)
if [ -f $PIDFILE ] ; then
echo "Alfresco is already running!"
exit 1
fi
touch $PIDFILE
echo "Starting OpenOffice service …"
start_openoffice
echo "Setting up iptables …"
setup_iptables
echo "Starting Alfresco …"
echo -e "\n\n\n\n\n\n\n\n\n\n`date` Starting Alfresco …" >>$LOGFILE
sudo chown alfresco:alfresco $LOGFILE
sudo -H -u alfresco sh $CATALINA_HOME/bin/startup.sh
;;
stop)
sudo -H -u alfresco sh $CATALINA_HOME/bin/shutdown.sh
killall -w -u alfresco
echo -e "`date` Stopping Alfresco …" >>$LOGFILE
rm $PIDFILE
;;
restart)
rm $PIDFILE
sudo -H -u alfresco sh $CATALINA_HOME/bin/shutdown.sh
killall -w -u alfresco
echo -e "\n\n\n\n\n\n\n\n\n`date` Restarting Alfresco …" >>$LOGFILE
sudo -H -u alfresco sh $CATALINA_HOME/bin/startup.sh
touch $PIDFILE
;;
zap)
echo "Zapping $PIDFILE …"
rm $PIDFILE
;;
*)
echo "Usage: alfresco [start|stop|restart|zap] [tail]"
exit 1
;;
esac
case $2 in
tail)
tail -f $LOGFILE
;;
esac
exit 0
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.