cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get main Alfresco page after install on FC5

itauthor
Champ in-the-making
Champ in-the-making
I've done a fresh install of Fedora Core 5.
I've got Tomcat 5.5.15 running OK (i.e. I can see the Tomcat page on http://localhost:8080/).
I've got MySQL 5.0.18 running OK and created the alfresco DB.

The Alfresco install all appeared to go OK
and I don't get any errors when I start Alfresco:

# /opt/alfresco/alfresco.sh start
Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:       /usr/bin/java
Using JAVA_OPTS:       -Xms128m -Xmx512m -server -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader$1,doBody

However, all I get at http://localhost:8080/alfresco is a Tomcat 404 message.

I've spent days on this now - not solidly, of course, but it's dragging on and I just want to get it up & running so that we can evaluate it.

Any help anyone can offer on this would be very welcome.
Thanks
22 REPLIES 22

trying2alfresco
Champ in-the-making
Champ in-the-making
can you post the alfresco log file.

itauthor
Champ in-the-making
Champ in-the-making
Probably a dumb question but …

Where do I find the alfresco log file?

It's not in /opt/alfresco

charukant
Champ in-the-making
Champ in-the-making
Hi,

To give the background of it, We tried various Alfresco 1.3 bundles on different FC5 boxes.

Initially we tried running bin installer (alfresco-1.3.0-linux-community.bin) on a FC5 which was also running several other opensource products. That includes MySQL, Tomcat and OpenOffice. Installation ended successfully but we were not able to access the web client. As this bin installer comes packaged with MySQL and Tomcat, so the output was obvious.

Than we prepared a clean FC5 box without MySQL and Tomcat, again we were not able to access the Web Client after a seems-to-be proper installation. We uninstalled the application, uninstaller ran without any error. We checked Add/Remove Software utility for proper uninstall of MySQL and Tomcat. These two applications were still there and we were able to locate few proccess still running for these two softwares. So we also uninstalled these softwares from Add/Remove utility. On giving second thought to the entire proccess, I made sure that during FC5 installation, we must have installed MySQL and Tomcat partially which have failed Alfresco setup. But the errors were not reported during installation.

I gave bin installer another try, setup exited properly, as-usual. But this time, voila!, we were able to access the Web Client and able to login as admin as well.

I know, this solution is not the cleanest of them all, but for the sake of testing this buzz-of-the-industry ECMS, we can spare a dedicated FC5 box and we don't know so called other solutions for FC5.

If you happen to know the other solutions, do let me know.

Thank you and Be Happy Smiley Happy :lol:

trying2alfresco
Champ in-the-making
Champ in-the-making
can you tell me which binary of alfresco are you using? war?

itauthor
Champ in-the-making
Champ in-the-making
alfresco-community-tomcat-1.3.0

trying2alfresco
Champ in-the-making
Champ in-the-making
just run a search for the alfresco and see if you can find it.

itauthor
Champ in-the-making
Champ in-the-making
Not sure what to search for.

find / -name alfresco.log

found nothing.


However, if you mean catalina.out in the tomcat5/logs directory, this ends:

1-Aug-06 8:59:48 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
1-Aug-06 8:59:52 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Allocate exception for servlet action
1-Aug-06 8:59:53 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet admin.login_jsp threw exception
1-Aug-06 8:59:54 PM org.apache.catalina.authenticator.FormAuthenticator forwardToLoginPage
WARNING: Unexpected error forwarding to login page
/opt/alfresco/tomcat/bin/catalina.sh: line 248: /usr/bin/java/bin/java: Not a directory
/usr/share/tomcat5/bin/catalina.sh: line 248: /usr/bin/java/bin/java: Not a directory
/usr/share/tomcat5/bin/catalina.sh: line 248: /usr/bin/java/bin/java: Not a directory

As it says, /usr/bin/java/bin/java is not a directory. I guess it should be looking for /usr/bin/java - but I don't want to start messing around with this Tomcat shell script without knowing what I'm doing - or why it's wrong in the first place.

Any ideas?

trying2alfresco
Champ in-the-making
Champ in-the-making
I just want to double check, you don't have 2 instances of tomcat running on the same machine right? the only instance you have is the one that came with alfresco-community-tomcat

itauthor
Champ in-the-making
Champ in-the-making
Nope, the Tomcat I have running is the one that comes with Fedora Core 5.

I chose to download alfresco-community-tomcat because I guessed that was the install to use if you're going to be running Alfresco on Tomcat (rather than JBoss) - and I had no idea what the war install was for. Alfresco's lack of install documentation makes installation a largely hit-or-miss operation.

Should I have installed the war download?