cancel
Showing results for 
Search instead for 
Did you mean: 

Centos 6.2 and alfresco 4.d

chrisryder
Champ in-the-making
Champ in-the-making
I have been trying for several weeks to install without success.

I have installed Cents 6.2 64bit.  I install a basic server (no database, no apache)  then run the bin community Version.

I have accepted the basic settings entering just a Password when requested.

The install completes (I see no errors)  I start the service  (yes I am installing as root)  everything seems to work.


1)  localhost:8080  shows me tomcat is working
2)  localhost:8080/share shows the logon screen
3) localhost:8080/alfresco  shows http status 404.

I can not see anything in the tomcat Logs to indicate an error with alfresco  but SOLR  shows a regular failure on a cron job.

Also I don't seem to have an Alfresco.log file!   :?

What should I do?  How can I start to find the solution here?

The Default configuration is postgresql  which I personally don't like  but the option to change to another database is not given anywhere and if the Default does not run I am not about to start trying to patch in another database…..

The Documentation is fine for java Junkies but everything seems to be hidden under a thousand different config Files.

That said  I would dearly like to get this running before my colleagues push Sharepoint on us.

Please help?  I am not a Java specialist and had hoped for a straight forward install.  I must be doing something wrong but what?

in hope of an answer
Best Regards
Chris Ryder
24 REPLIES 24

chrisryder
Champ in-the-making
Champ in-the-making
You said localhost:8080/share is accessible, if so can you log into the system?

yes the share shows the logon screen  but any attempt at login fails with

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

from all the searches I ran this is because share logs in via the alfresco service and if this is not running I am stuck.

bisana
Champ on-the-rise
Champ on-the-rise
ie 100 % , your installation has gone wrong
in  "alfresco-global.properties" , check the database parameter

db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8
did you copy the mysql driver to tomcat/lib folder
if not please do it and then restart the service
I am sure it will work

chrisryder
Champ in-the-making
Champ in-the-making
I posted the "alfresco-global.properties" above it has the correct db.driver and db.url

yes I copied the jar to the tomcat/lib folder
annotations-api.jar  jasper-el.jar                        servlet-api.jar
catalina-ant.jar     jasper.jar                           tomcat-coyote.jar
catalina-ha.jar      jasper-jdt.jar                       tomcat-dbcp.jar
catalina.jar         jsp-api.jar                          tomcat-i18n-es.jar
catalina-tribes.jar  mysql-connector-java-5.1.20-bin.jar  tomcat-i18n-fr.jar
el-api.jar           postgresql-9.0-801.jdbc4.jar         tomcat-i18n-ja.jar

and I have restart the service and the machine.

Smiley Sad

bisana
Champ on-the-rise
Champ on-the-rise
in "alfresco-global.properties" you have
db.driver=com.mysql.jdbc.Driver
Can we try out,
db.driver=org.gjt.mm.mysql.Driver
For me it is working with
db.driver=org.gjt.mm.mysql.Driver
Try out, it will work

chrisryder
Champ in-the-making
Champ in-the-making
in "alfresco-global.properties" you have
db.driver=com.mysql.jdbc.Driver
Can we try out,
db.driver=org.gjt.mm.mysql.Driver
For me it is working with
db.driver=org.gjt.mm.mysql.Driver
Try out, it will work

I tried this.  Still no joy.  I think it must be some other part that is failing before it gets to the database

Thanks
Chris

chrisryder
Champ in-the-making
Champ in-the-making
Well finally I got it working.

Turns out it was a problem in name resolution (go figure)

My /etc/hosts file was

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

and the hostname  -  hathor.vmtec.com

seems that when using http://localhost:8080/alfresco  the startup was resolving the name to  localhost.vmtec.com

so adding this to the hosts file


192.168.178.42 hathor.vmtec.com localhost.vmtec.com
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

and everything sprung to life  Smiley Very Happy

bisana
Champ on-the-rise
Champ on-the-rise
Great, Congrats

dinesh
Champ in-the-making
Champ in-the-making
127.0.0.1:8080 working
127.0.0.1:8080/share not working
127.0.0.1:8080/alfresco not working

muralidharand
Star Contributor
Star Contributor
Hi Dinesh,

Can you please look at the aflresco.log and share.log?

dinesh
Champ in-the-making
Champ in-the-making
Hi Murali,

I tried too many times installing Alfresco… Same Problem showing.
127.0.0.1:8080 Apache Tomcat working
127.0.0.1:8080/share Http 404 error requested resource not available
127.0.0.1:8080/alfresco Http 404 error requested resource not available