AnsweredAssumed Answered

FYI: Alfresco must be shut down from /opt/alfresco or error.

Question asked by hikenboots on Jul 18, 2006
I have been getting the following error when my nightly backup script runs and tracked it down tonight.  If you run /opt/alfresco/alfresco.sh stop from another directory ( say /, for example) all appears well but tomcat doesn't shutdown correctly, probably from a relative path reference but I haven't even looked yet.  Upon running /opt/alfresco/alfresco.sh start (I always ran it from /opt/alfresco), the following error occurs due to the incomplete previous shutdown.  Just be sure you cd /opt/alfresco before stopping and starting.

23:02:59,622 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_2141.gif  /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_2142.png
23:03:04,156 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
23:03:04,302 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
23:03:04,649 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_07-b03; maximum heap size 493.063MB
23:03:04,649 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB is less than recommended 512MB
23:03:04,650 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.3.0 schema 14 - Installed version 1.3.0 schema 14
23:03:05,116 ERROR [org.alfresco.smb.protocol.mailslot] HostAnnouncer error
java.net.BindException: Address already in use
   at java.net.PlainDatagramSocketImpl.bind0(Native Method)
   at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
   at java.net.DatagramSocket.bind(DatagramSocket.java:368)
   at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
   at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
   at java.net.DatagramSocket.<init>(DatagramSocket.java:234)
   at org.alfresco.filesys.netbios.NetBIOSDatagramSocket.<init>(NetBIOSDatagramSocket.java:62)
   at org.alfresco.filesys.netbios.NetBIOSDatagramSocket.getInstance(NetBIOSDatagramSocket.java:88)
   at org.alfresco.filesys.netbios.NetBIOSDatagram.SendDatagram(NetBIOSDatagram.java:429)
   at org.alfresco.filesys.smb.mailslot.TcpipNetBIOSHostAnnouncer.sendAnnouncement(TcpipNetBIOSHostAnnouncer.java:204)
   at org.alfresco.filesys.smb.mailslot.HostAnnouncer.run(HostAnnouncer.java:291)
23:03:05,119 ERROR [org.alfresco.smb.protocol.mailslot]  Check <broadcast> setting in file-servers.xml

Outcomes