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

mrogers
Star Contributor
Star Contributor
There's nothing wrong with that.

fairviewit
Champ in-the-making
Champ in-the-making
so why am I unable to login to Alfresco?

When I try to start the Alfresco Explorer it opens http://127.0.0.1:8080/alfresco/  but I get HTTP Status 404.
I have alfrescoPostgreSQL and alfrescoTomcat services are working.  I had restarted the services to see if that would fix it, and I have also restarted the server.  This is running on a VM virtual windows 208 server box.

rjohnson
Star Contributor
Star Contributor
Appologies for saying basic things but:-

Are you sure that you have the correct UID and PWD?
If not can you find a user that used to be able to log in and now can't?

Failing the above, try logging in to the Alfresco web client rather than Share ({your-url}/alfresco). If you can do this Share is failing and there should be a errors about that in alfresco.log and/or catalina.out

If both apps are available but you still cannot log in I suggest you try resetting the admin password

http://wiki.alfresco.com/wiki/Security_and_Authentication#How_to_reset_the_admin_password

Let me know how you get on.

fairviewit
Champ in-the-making
Champ in-the-making
http://localhost:8080/  opens Apache Tomcat,  and when I navigate to the url minus the /share I get the same Apache Tomcat page.  I have had multiple users try to login and none of the users are able to login, some get a 404 error, others get the login screen and get the same error.

When I try to navigate to http://localhost:8080/alfresco I get the 404 error.  same as when I try {my-url}/alfresco.

where is the catalina.out file? I have looked for it but it does not exist.  The alfresco.log has  not changed since the copy I pasted her with my first post.

rjohnson
Star Contributor
Star Contributor
If you cannot get to alfresco, and some users get 404 when trying to get to share then it sounds like neither part of the application is running. Tomcat us up, and the fact that some of your users get a share login page probably means they are regular users and it is in their browser cache.

Have you retrated your server?

I would be minded to do the following:-

1. Rename alfresco.log
2. Go to {alfresco-directory}/tomcat/logs where you should find catalina.out. Rename it.
3. Restart your server and wait a few minutes for it to settle.
4. Check the log files for errors and if there are none, try and log in again.

fairviewit
Champ in-the-making
Champ in-the-making
There is not a file named catalina.out anywhere in the alfresco folder.  I have doe a search and it returns nothing.  I do find catilna.2013-07-10.log, catilna.2013-07-09.log, catilna.2013-04-22.log, catilna.2013-04-21.log, catilna.2013-02-05.log, catilna.2013-02-04.log, catilna.2013-02-03.log, and catilna.2013-02-02.log

fairviewit
Champ in-the-making
Champ in-the-making
I renamed the alfresco.log, restarted the server gave it 30 min, then attempted to log in and still got the same error.  I went to the server to look at the new log file and there is no alfresco.log file and still no catalina.out

rjohnson
Star Contributor
Star Contributor
catalina.{date}.log are saved versions of catalina.out which gets rotated every day. If you have no catalina.out then Tomcat is loggin exactly nothing which I find unlikely, more likely is that someone has "turned off" logging.

Find a file called catalina.sh and check this file. It should have lines


CATALINA_OUT="$CATALINA_BASE"/logs/catalina.out


and


      >> "$CATALINA_OUT" 2>&1 "&"


which ought to cause logging.

Check log4j.properties in {alfresco-dir}/tomcat/webapps/alfresco/WEB-INF-/classes at the top you should see something like


# Set root logger level to error
log4j.rootLogger=error, Console, File

###### Console appender definition #######

# All outputs currently set to be a ConsoleAppender.
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout

# use log4j NDC to replace %x with tenant domain / username
log4j.appender.Console.layout.ConversionPattern=%d{ISO8601} %x %-5p [%c{3}] [%t] %m%n
#log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n

###### File appender definition #######
log4j.appender.File=org.apache.log4j.DailyRollingFileAppender
log4j.appender.File.File=/var/log/alfresco/alfresco.log
log4j.appender.File.Append=true
log4j.appender.File.DatePattern='.'yyyy-MM-dd
log4j.appender.File.layout=org.apache.log4j.PatternLayout
log4j.appender.File.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c] %m%n


Specifically check the log file locations in these 2 files as someone may have moved them.