cancel
Showing results for 
Search instead for 
Did you mean: 

The remote server may be unavailable or your authentication

alantruism
Champ in-the-making
Champ in-the-making
Smiley Sad I inherited an Alfresco server and it appears to be broken. Please help me. When I attempt to logon I get the following error -

"The remote server may be unavailable or your authentication details have not been recognized."

I am not sure where to begin to troubleshoot.

Some errors I'm seeing are:
javax.servlet.ServletException: Could not resolve view with name 'site/InfoTech/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)

The Alfresco log has the following info:
12:12:55,322 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
12:12:59,917 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 04180000 Workflow deployment failed
   at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:330)
   at org.alfresco.repo.workflow.WorkflowDeployer$1.doWork(WorkflowDeployer.java:437)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:508)
   at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:433)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)

Any suggestions on where to begin.

Also, are users uploaded files stored somehwhere in the file system? I need to recover a particular document and I am unable to find it. Is it saved in a database rather than in the regular file system? If so is there a way for me to recover that file without having Alfresco in a completely operational state?
17 REPLIES 17

alantruism
Champ in-the-making
Champ in-the-making
… anything obvious to anyone from the log I posted?

mrogers
Star Contributor
Star Contributor
The log posting three postings above has been truncated before there's any useful information.

Your alfresco-global properties has everything commented out.

Yes if there is a mismatch between "tomcat" and tomcat6 that will be a problem.   However since you have a log file, something must have run! 

Your first log file was for tomcat6 so that does not match with your startup script.

alantruism
Champ in-the-making
Champ in-the-making
The log posting three postings above has been truncated before there's any useful information.

Your alfresco-global properties has everything commented out.

Yes if there is a mismatch between "tomcat" and tomcat6 that will be a problem.   However since you have a log file, something must have run!


Can it even run with everything commented out in the *.global file?

alantruism
Champ in-the-making
Champ in-the-making
how does this look:
*** /var/lib/tomcat6/shared/classes/: directory ***

shade@ps-9:/opt/alfresco/extensions/extension$ more /var/lib/tomcat6/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

#
# Sample custom content and index data location
#————-
dir.root=/srv/alfresco/alf_data
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
#
# Sample database connection properties
#————-
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306

#
# External locations
#————-
ooo.exe=/usr/lib/openoffice/program/soffice
ooo.enabled=true
img.root=/usr
swf.exe=/usr/bin/pdf2swf

#
# MySQL connection
#————-
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}

#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
#db.driver=org.postgresql.Driver
#db.url=jdbcSmiley Tongueostgresql://localhost:5432/alfresco

#
# Index Recovery Mode
#————-
#index.recovery.mode=AUTO

#
# Outbound Email Configuration
#————-
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#————-
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http

#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost

#
# RMI Services
# To make your RMI services available from other machines you will need to change
# alfresco.rmi.services.host from "localhost".
# alfresco.rmi.services.port=50500
shade@ps-9:/opt/alfresco/extensions/extension$  clear
shade@ps-9:/opt/alfresco/extensions/extension$ more /var/lib/tomcat6/shared/classes/

*** /var/lib/tomcat6/shared/classes/: directory ***

shade@ps-9:/opt/alfresco/extensions/extension$ clear
shade@ps-9:/opt/alfresco/extensions/extension$ more /var/lib/tomcat6/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

#
# Sample custom content and index data location
#————-
dir.root=/srv/alfresco/alf_data
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
#
# Sample database connection properties
#————-
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306

#
# External locations
#————-
ooo.exe=/usr/lib/openoffice/program/soffice
ooo.enabled=true
img.root=/usr
swf.exe=/usr/bin/pdf2swf

#
# MySQL connection
#————-
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}

#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
#db.driver=org.postgresql.Driver
#db.url=jdbcSmiley Tongueostgresql://localhost:5432/alfresco

#
# Index Recovery Mode
#————-
#index.recovery.mode=AUTO

#
# Outbound Email Configuration
#————-
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#————-
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http

#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost

#
# RMI Services
# To make your RMI services available from other machines you will need to change
# alfresco.rmi.services.host from "localhost".
# alfresco.rmi.services.port=50500

mrogers
Star Contributor
Star Contributor
Yes.  That looks fine. 

data in /srv/alfresco/alf_data
and a mysql database called alfresco.

alantruism
Champ in-the-making
Champ in-the-making
Yes.  That looks fine. 

data in /srv/alfresco/alf_data
and a mysql database called alfresco.

So what could be creating the following error for anyone who tries to logon?

The remote server may be unavailable or your authentication details have not been recognized.

alantruism
Champ in-the-making
Champ in-the-making
Yes.  That looks fine. 

data in /srv/alfresco/alf_data
and a mysql database called alfresco.


Here are some more errors:
exception

javax.servlet.ServletException: Could not resolve view with name 'site/AlfrescoKB/dashboard' in servlet with name 'Spring Surf Dispatcher Servlet'
   org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1042)
   org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:67)

mrogers
Star Contributor
Star Contributor
Can you log into alfresco explorer?