cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble starting Alfresco

a_weed096
Champ in-the-making
Champ in-the-making
I am having trouble actually running the Alfresco program. I got it downloaded and installed fine, but when I got to http://localhost:8080/alfresco, the browser wants me to save a file to the hard drive. I can't even run this file. I am very confused as to what I need to do.

I think the problem may be with Java, but I don't know. I am new to the whole thing, if you couldn't tell.
6 REPLIES 6

a_weed096
Champ in-the-making
Champ in-the-making
Well, I no longer think the problem is with Java. I think it is with either Apache or Tomcat. I am not sure however. I can go to http://localhost and the apache server comes up fine. However when I try to go to port 8080 the browser can not connect. If I try to go to port 3306, MySQL default, the browser still wants me to download a file, which can not be opened or run by any program I have.

I am still very confused as to what I am doing wrong. I don't think anyone is going to help, and for that matter I don't think anyone cares or I would have had a reply by now to my first post, but I want to get my problem out here in case there is that one nice person reading. If you know what I am doing wrong please do not hesitate to offer up some advice. I am going to keep working on things over here on my end, but I have to say that I am awed by the lack of support on these forums. Even if the common user is not able to help me, you would figure Alfresco themselves would monitor these forums and at least attempt to help their users. I don't know, maybe I am asking for too much. To be fair I am trying to run the community free version not the paid for version.

mikeh
Star Contributor
Star Contributor
Hi

Could you post more details about exactly what your system comprises (it's not clear if you're using Windows, Linux, OS X, etc.) and also the steps you've taken so far. For example, what did you download? What database are you trying to use, etc?

Also, you don't actually need the Apache web server in order to run Alfresco, just Tomcat on port 8080 - indeed it's often better to start from as simple a system as possible.

Finally, have you located any error logs that might contain error messages? Search for "alfresco.log"

Thanks,
Mike

a_weed096
Champ in-the-making
Champ in-the-making
Well, I had the program running for a while. I am not sure what I did to make it run but, it did. I am running with Linux Ubuntu Server 7.10. I am trying to work with the MySQL database. I installed the community-1.3.0 version. At the end of the (re)installation I told it to run the program, and it worked. The only difference I know of is, I tried to use the guidelines on "http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10". I got to the 'configure the repositories' section before I was unable to proceed (because the files that were in need of editing, could not be found). The biggest change I could see from doing this was the installation of the various programs at the beginning, with Sun-Java6 being what I feel would make the biggest difference.

Anyways, the program launched at the end of the installation. When I went to relog in to alfresco, I followed the readme. I ran 'alf_start.sh', opened firefox, and went to http://localhost:8080/alfresco. This time however, the browser was unable to connect.

My Alfresco.log is …

14:08:20,546 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert /home/andrew/alfresco-1.3.0/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_56046.gif  /home/andrew/alfresco-1.3.0/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_56047.png
14:10:35,973 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
14:10:41,873 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_05-b05; maximum heap size 506.313MB
14:10:41,875 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.3.0 schema 14 - Installed version 1.3.0 schema 14
14:10:41,930 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:
java.net.BindException: Permission denied
   at java.net.PlainDatagramSocketImpl.bind0(Native Method)
   at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
   at java.net.DatagramSocket.bind(Unknown Source)
   at java.net.DatagramSocket.<init>(Unknown Source)
   at java.net.DatagramSocket.<init>(Unknown Source)
   at java.net.DatagramSocket.<init>(Unknown Source)
   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1080)
   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1504)
   at java.lang.Thread.run(Unknown Source)
14:10:42,064 ERROR [org.alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Permission denied
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(Unknown Source)
   at java.net.ServerSocket.bind(Unknown Source)
   at java.net.ServerSocket.<init>(Unknown Source)
   at java.net.ServerSocket.<init>(Unknown Source)
   at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:381)
   at java.lang.Thread.run(Unknown Source)
14:10:42,084 ERROR [org.alfresco.smb.protocol] Server error :
java.net.BindException: Permission denied
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(Unknown Source)
   at java.net.ServerSocket.bind(Unknown Source)
   at java.net.ServerSocket.<init>(Unknown Source)
   at java.net.ServerSocket.<init>(Unknown Source)
   at org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:249)
   at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:159)
   at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:496)
   at java.lang.Thread.run(Unknown Source)
14:37:56,544 ERROR [org.alfresco.web.ui.common.Utils] Failed to create Person due to error: A Home Space with the same name already exists.
org.alfresco.error.AlfrescoRuntimeException: A Home Space with the same name already exists.
   at org.alfresco.web.bean.wizard.NewUserWizard.createHomeSpace(NewUserWizard.java:883)
   at org.alfresco.web.bean.wizard.NewUserWizard.finish(NewUserWizard.java:480)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
   at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
   at javax.faces.component.UICommand.broadcast(UICommand.java:106)
   at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
   at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
   at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
   at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:105)
   at org.alfresco.web.app.servlet.AlfrescoFacesServlet.service(AlfrescoFacesServlet.java:49)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:73)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Unknown Source).

Hopefully, you know what I need to do. Thanks for your time.

PS. when i run the alf_start.sh, this is what runs in my terminal. I am not sure if it what is suppose to happen, or if there is something wrong here.

/home/andrew/alfresco-1.3.0/bin/alfrescoctl.sh: 180: @@BITROCK_MYSQL_ROOTDIR@@/bin/safe_mysqld: not found
/home/andrew/alfresco-1.3.0/bin/alfrescoctl.sh : mysql  started

mikeh
Star Contributor
Star Contributor
This might be a daft question, but why on earth are you trying to use v1.3.0?

Please try with v2.1 or v2.9B if this isn't for a production system yet.


Thanks,
Mike

a_weed096
Champ in-the-making
Champ in-the-making
Sorry for not replying sooner. I am still a student and just had winter break, and this project is school related.

Anyways, the reason I am using 1.3 is more because it seems easier to install. When I tried to install 2.1 and 2.9b, it didn't seem to work. I followed the readme to the letter, and it still wouldn't work for me. I just went back through the versions and 1.3 was the first to work. When trying to install both 2.1 and 2.9b it appeared to me that there was no application to actually install Alfresco, at least that step was left out of the readme. I only found the configurations in the readme, such as editing files and the MySQL J connector thing. Maybe it assumes I know how to do this, but I don't. I am new to Linux and to Alfresco.

If you think I should be using 2.1 or 2.9b I can go over to the installation board, since that is where my problem is. However, if you think we can get 1.3 working that would work to. I just need to get a version of Alfresco running for the school project. Thanks for your time.

mikeh
Star Contributor
Star Contributor
Hi

We no longer support v1.3 and I think it would be counterproductive to try and get you running on an outdated version.

Please post your installation problems and/or have a look around here for other people who have installed v2.1 or v2.9 already. There are people recently who have had success with Ubuntu and Alfresco, so I'm sure the problems can be resolved.

Thanks,
Mike