cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Status 404

shaynetsai
Champ in-the-making
Champ in-the-making
Hi

I installed alfresco on Centos6.2. After install, it launch 127.0.0.1:8080/share, it shows HTTP Status 404.

I've checked alfresco.log. There are some errors like below:

Context initialization failed

fail to get server ip address

How do I fix these problems??
2 REPLIES 2

abarisone
Star Contributor
Star Contributor
Hi,
the problem is here:
<cite>Caused by: java.net.UnknownHostException: srvDMS2: srvDMS2: Name or service not known
   at java.net.InetAddress.getLocalHost(InetAddress.java:1466)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl$ServerIdCallback.getWithWriteLock(AbstractNodeDAOImpl.java:461)
   … 80 more
Caused by: java.net.UnknownHostException: srvDMS2: Name or service not known</cite>
try setting in your /etc/hosts an entry like 127.0.0.1 srvDMS2
This issue happens when the local machine name is not correctly set up.

Regards,
Andrea

shaynetsai
Champ in-the-making
Champ in-the-making
It works. Thank you.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.