cancel
Showing results for 
Search instead for 
Did you mean: 

problems acessing alfresco after installation

thk
Champ on-the-rise
Champ on-the-rise
Hi,

I installed the Alfresco community version alfresco 5.0.d on a CentOS 6.6 system according to http://docs.alfresco.com/community/tasks/simpleinstall-community-lin-text.html. But if I now try to access alfresco from my windows-pc using http://:8080/share or only http://:8080 I just got unable to connect. I also tried to restart alfresco with ./alfresco.sh stop and ./alfresco.sh start but still not working. On the same linux server moodle, joomla and wordpress are running for test purposes. They are all accessable and running without problems. Is Apache Webserver running in parallel a problem? But I tried to stop Apache and restart Alfresco but still the problem. I also made sure that the firewall of the company opened port 8080. Any other ports that have to be open? Then I discovered in alfresco.log many error messages/exceptions that I cannot interprete. See the attached log-file.

Thanks in advance for help!
25 REPLIES 25

eswbitto
Confirmed Champ
Confirmed Champ
@thk,

do a netstat -tulpn and see if you have any ports being used that alfresco would normally use.

thk
Champ on-the-rise
Champ on-the-rise
Thanks for replying.
That`s the result of netstat (Alfresco is running):

[root@SLCTEST local]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LIST EN 943/sshd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LIST EN 27807/postgres
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN 1174/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST EN 1081/mysqld
tcp 0 0 :::1139 :::* LIST EN 27833/java
tcp 0 0 :::22 :::* LIST EN 943/sshd
tcp 0 0 ::1:5432 :::* LIST EN 27807/postgres
tcp 0 0 ::1:25 :::* LIST EN 1174/master
tcp 0 0 :::8443 :::* LIST EN 27833/java
tcp 0 0 :::7070 :::* LIST EN 27833/java
tcp 0 0 :::56580 :::* LIST EN 27833/java
tcp 0 0 ::ffff:127.0.0.1:8005 :::* LIST EN 27833/java
tcp 0 0 :::1445 :::* LIST EN 27833/java
tcp 0 0 :::8009 :::* LIST EN 27833/java
tcp 0 0 :::8080 :::* LIST EN 27833/java
tcp 0 0 :::80 :::* LIST EN 1185/httpd
udp 0 0 :::40402 :::* 27833/java
udp 0 0 :::1137 :::* 27833/java


After stopping Alfresco I get:

[root@SLCTEST alfresco-5.0.d]# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      943/sshd
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1174/master
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      1081/mysqld
tcp        0      0 :::22                       :::*                        LISTEN      943/sshd
tcp        0      0 ::1:25                      :::*                        LISTEN      1174/master
tcp        0      0 :::80                       :::*                        LISTEN      1185/httpd

eswbitto
Confirmed Champ
Confirmed Champ
I honestly couldn't tell ya. I would hose the install and then re-install again. If you have production data then I would do a backup of the data and database first.

thk
Champ on-the-rise
Champ on-the-rise
I reinstalled but still have the same problem

eswbitto
Confirmed Champ
Confirmed Champ
Do you have another instance of tomcat running?


With a fresh install and the correct network settings you should have no trouble with accessing it. I've used every version of centos with vanilla installs of alfresco and the only thing I ever do on the server side is turn the firewalld (or iptables) off. Make sure the networking side is working and I'm good to go.

thk
Champ on-the-rise
Champ on-the-rise
there are other applications on the server running using LAMP but not tomcat

Hi,
It seems a common thing (I have it) that the installation process does not work and when it fails one get no indication at all of what the error is. 

I have been trying to Alfresco Comm working (part time) for about 3 months and regardless of which of the many 'athoritative' installation instructions we follow we get to the same place "Alfresco id down for maintenance' and we cant access the tomcat manager app to try to see what the issue is.

And all we get told is 'your doing it wrong'.

Where is the post install check list, the set of installation checking scripts?

This has been the hardest piece of software to install I've ever had to work with.  And I got Websphere running on my own.

It seems that once you know hpw to install it, then you know. But until then your on your own.

eswbitto
Confirmed Champ
Confirmed Champ
Why don't you try this….Create a virtual machine (virtual box) do a lamp, but only install alfresco on it. If everthing works then you know that there is nothing wrong and you have to look at other applications that maybe using the ports.

mrogers
Star Contributor
Star Contributor
And if alfresco doesn't start then please post the relevant bit of your log file.   Centos commonly has networking problems but fixing the hosts file is normally all that is required.

thk
Champ on-the-rise
Champ on-the-rise
Hi,

we can access the server even from outside of our company typing the IP-address, but if I type http://<ip-adress>:8080 or http://<ip-adress>:8080/share I get "unable to connect" never mind if from inside or outside of the company. On the same server is running for example Joomla using Apache and its accessible ´via internet without problems from inside and outside of the company. We opened our company firewall (Palo Alto) for port 80, 8080 and 5432 to make Alfresco accessible from outside (any other ports that have to be opened for Alfresco?). Above I also posted you the entry of the iptables.
Attached again my log file
Starting Alfresco looks quite ok:
[root@SLCTEST alfresco-5.0.d]# ./alfresco.sh start
waiting for server to start…. done
server started
/opt/alfresco-5.0.d/postgresql/scripts/ctl.sh : postgresql  started at port 5432
Using CATALINA_BASE:   /opt/alfresco-5.0.d/tomcat
Using CATALINA_HOME:   /opt/alfresco-5.0.d/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-5.0.d/tomcat/temp
Using JRE_HOME:        /opt/alfresco-5.0.d/java
Using CLASSPATH:       /opt/alfresco-5.0.d/tomcat/bin/bootstrap.jar:/opt/alfresco-5.0.d/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/alfresco-5.0.d/tomcat/temp/catalina.pid
Tomcat started.
/opt/alfresco-5.0.d/tomcat/scripts/ctl.sh : tomcat started



I also tried to adapt the alfresco-global.properties changing 127.0.0.1 by the ip-address of the VM but still the same:
alfresco.context=alfresco
alfresco.host="ip-address of the VM"
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host="ip-address of the VM"
share.port=8080
share.protocol=http

The only thing I couldn`t check is if I can access Alfresco from the VM itsself using http://127.0.0.1:8080/share since I didn`t manage to open a browser window (there is nothing like this installed on the centos machine) in this virtual server and redirect the display on my windows PC.

I hope somebody can help me!