cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 3.2 won't start properly

anuvatec
Champ in-the-making
Champ in-the-making
I installed Alfresco 3.2 Community Edition on Ubuntu 9.04 and for some reason it won't start properly. To get it to start somewhat properly I first start it (/opt/Alfresco/alfresco.sh start), then I fire up http://127.0.0.1:8080/Share in Firefox on the server machine itself, log in as admin, click around a bit, then fire up http://127.0.0.1:8080/alfresco (notice that's a lowercase "A"), log in as admin then click around a bit. If I don't do it in this order ON THE LOCAL MACHINE first, then I can't log in (I get some remote and authentication error message) and I can't access it from other computers on the network and outside the network (Internet).

Any idea why I have to go through all this before Alfresco starts working properly? Any idea how to get it to just work like it's suppose to when I start it (i.e., log in successfully from remote machines)?

TIA
7 REPLIES 7

mrogers
Star Contributor
Star Contributor
You probably have a firewall in the way of alfresco.

Please post the details of any errors you see.

And you are using the correct network address from your remote machines?      Do you manage to connect at all?     What happens?

anuvatec
Champ in-the-making
Champ in-the-making
Yes I can connect from remote machines (on the network and from the Internet) but that's only after I do this huge workaround. I doubt its a firewall issue because I'm able to access Alfresco eventually without any changes to firewall stuff.

Are there settings or configurations I can check to make sure they're set properly for successful start up?

dward
Champ on-the-rise
Champ on-the-rise
Are you using a tomcat pre-installed on your operating system? Other reports suggest that the pre-installed one is incompatible with Alfresco and you should use a virgin one or the full Alfresco installer.

anuvatec
Champ in-the-making
Champ in-the-making
nope, Tomcat wasn't installed before Alfresco. The only Tomcat that's on there is what's included with Alfresco.

I doubt its a tomcat issue, I think its Alfresco because I'm able to get the login page (at /Share) but I just can't log in sometimes.

mikeh
Star Contributor
Star Contributor
Just to add another voice in here - are you giving the /alfresco app enough time to load? It can take anywhere up to 3 minutes to fully deploy depending on your server specs. Share relies on the /alfresco webapp to authenticate, so if you can log-in to Share you can log-in to the other client. Share will wait for /alfresco to load (do your first logins take a long time?) whereas the Explorer client won't present a UI at all.

Mike

anuvatec
Champ in-the-making
Champ in-the-making
If I got to /Alfresco (notice the uppercase "A") it tries to load then times out. I do a couple of fresh reloads and it eventually just stops and doesn't try to contact the web server anymore (the browser loading animation doesn't animate anymore). Then if I try /alfresco (notice the lowercase "a") I get a 40x something error. Then I try /Share and I get a login page and I log in. Then and only then does /alfresco comes up (/Alfresco simply doesn't work)

_sax
Champ in-the-making
Champ in-the-making
An odd behaviour. Could you investigate your log, while experiencing this type of startup?
The last lines of a normal startup should be something like these.

11:09:40,883 INFO  [org.alfresco.fileserver] CIFS server started
11:09:40,884 INFO  [org.alfresco.fileserver] FTP server started
11:09:40,885 INFO  [org.alfresco.fileserver] NFS server NOT started
11:09:40,957 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
11:09:40,957 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
11:09:40,968 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:09:41,139 DEBUG [org.alfresco.fileserver] Passthru server online, [xyz:Online:0,0]
11:09:41,230 INFO  [org.alfresco.repo.imap.AlfrescoImapServer] IMAP service started on host:port xyz:143.
11:09:41,230 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
11:09:41,230 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
11:09:41,243 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
11:09:41,250 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
11:09:41,333 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_14-b08; maximum heap size 910.250MB
11:09:41,333 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 2019
11:09:41,689 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
11:09:53,958 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@7baa3dd: display name [Root WebApplicationContext]; startup date [Fri Aug 28 11:09:53 CEST 2009]; root of context hierarchy
11:09:54,193 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@7baa3dd]: org.springframework.beans.factory.support.DefaultListableBeanFactory@489d5505
11:09:55,055 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
11:09:55,091 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 230.1991ms)
11:09:55,294 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
11:09:55,438 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 344.05997ms)
11:09:55,480 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
11:09:57,571 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
11:10:00,149 INFO  [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] connected
11:10:00,164 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.

Please compare the time each line takes to appear with your installation.