cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Login

fairviewit
Champ in-the-making
Champ in-the-making
I have inherited an Alfresco site and I have never used Alfresco before.  Evidently the site has stopped working.  When I try to login I get the error "The remote server may be unavailable or your authentication details have not been recognized." 



I found the alfresco.log and this is what was in it

13:11:27,264 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
13:11:27,335 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
13:11:27,336 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
13:11:27,341 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
13:11:29,982 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
13:11:29,985 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
13:11:29,985 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
13:11:30,236 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2889.1067ms)
13:11:30,243 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
13:11:30,248 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js


Any help would be appreciated.
14 REPLIES 14

fairviewit
Champ in-the-making
Champ in-the-making
I have included a copy of both of those files.  They all look correct.

This is running on a windows server 2008 VM virtual

rjohnson
Star Contributor
Star Contributor
log4j doesn't put a full path in for alfresco.log so it will go wherever the tomcat context directory is - thats OK but you might have to hunt around to find it.

Now, if you are running under Windows, then your start up files will be .bat not .sh so you need to check those because there is a comment somewhere on the internet that the windows catalina.bat does not redirect output to catalina.out which would account for at least some of your problem.

If you have no logs then I do not think Alfresco is starting (or even being started). You should be able to find a file alfresco.bat in your alfresco directory. Try running


alfresco.bat status


and see what it says.

If its not running, try


alfresco.bat start


In my experience, you will always get entries in alfresco.log when alfresco starts - you don't need an error condition. At least that is true in Linux and I doubt it is any different in Windows because a fair bit of Alfresco development is done under Windows.

fairviewit
Champ in-the-making
Champ in-the-making
I have searched the entire alfresco file structure and I d not see alfresco.bat,  there is a catalina.bat.  When I run that it creates a new alfresco.log

This log appears to have errors.  Not sure what to do with them but here is a copy

When I open the Services I see AfrescoPostgreSQL is started and AlfrescoTomcat is started.
When I open Alfresco Community Manager Tool I see the welcome message, when I go the the Manage Application tab I can see the TOmcat Server and Postgres are both running.  The application log tab is blank

Alfresco is not comming up because it does not like the contents of the file


alfresco/application-context.xml


Now, I suspect it doesn't like the contents of the files that the above points to rather than this file itself. Specifically it cannot process


alfresco/application-context-core.xml
alfresco/mt/st-admin-context.xml


and it cannot find the file


alfresco/mt/st-admin-context.xml


First things first get the file


alfresco/mt/st-admin-context.xml


back from a backup and try again. That might fix it all because the 2 files above might both refer to it.

If you still get errors, check the format of the other files with your favourite XML editor and see if anything is awry. If its format is OK check to ensure that any referenced files are in place.

rjohnson
Star Contributor
Star Contributor
Have you got your service back up yet?