cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco install on Ubuntu Server 9.04 - What now?

oblivian
Champ in-the-making
Champ in-the-making
Hello,

I just installed Alfresco on Ubuntu 9.04 through the partner repository and most work very well out-of-the-box. What I am not 100% sure of is what version this is. And whom is maintaing the Ubuntu version? Will upgrades etc. be released through the repository?

Also, in the forums I see many refer to /studio, but I can't see that /studio has been installed, just /share and /alfresco. How do I install i.e. Studio? (Yes, I am new to Java and Tomcat).

Also, I use Apache2 to reverse proxy the Tomcat server to port 80 and 443, but somewhere in the code an image is loaded directly from the http://www.alfresco web site on port 80, making both IE8 and Firefox fail the SSL-connection. (Warnings, popups, etc.). I have search through the human readable code, but the section calling the external image isn't to be found, so probably compiled…

Please advice, and thanks for a killer app!  Smiley Very Happy

Oblivian
7 REPLIES 7

jlabuelo
Champ on-the-rise
Champ on-the-rise
Hi there

Just saw your post about installing Alfresco 3 in Ubuntu. I have installed mine, Alfresco 3.0, in Ubuntu 8. It works fine, (just installed Alfresco, not Studio nor Shared). However I have a problem everytime I need to stop and restart Alfresco for backups.
After stoping Alfresco, the only way to get it to work again, is restarting the machine again.

Did you have the same problem?, if so can you explain me how you solved it?

I have created another post with more details about this
http://forums.alfresco.com/en/viewtopic.php?f=8&t=20852

Thanks a lot in advance!!

chr_ypma
Champ in-the-making
Champ in-the-making
I also had 2 observations made on the alfresco package here:
http://forums.alfresco.com/en/viewtopic.php?f=8&t=20767

Is there somebody maintaining these packages? What is the future of the Ubuntu package?

What I am not 100% sure of is what version this is

It is version 3.2 (the latest community release)

brice
Champ in-the-making
Champ in-the-making
I've installed successfully alfresco-community on Ubuntu 9.04 on my eeepc. Same procedure failed @ our web hoster (lack of place in /, so dpkg -a –configure needed) and I didn't use db-common to configure mysql that already exists.
a simple "set -x" in /etc/init.d/tomcat6 ends with:
+ /usr/bin/jsvc -user tomcat6 -cp
/usr/share/java/commons-daemon.jar:/usr/share/tomcat6/bin/bootstrap.jar -outfile SYSLOG
-errfile SYSLOG -pidfile /var/run/tomcat6.pid -Djava.awt.headless=true -Xmx128M -Xms128m
-Xmx1024m -XX:MaxPermSize=128m -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed
-Dcatalina.base=/var/lib/tomcat6 -Dcatalina.home=/usr/share/tomcat6
-Djava.io.tmpdir=/tmp/tomcat6-temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties
org.apache.catalina.startup.Bootstrap
+ sleep 5
+ start-stop-daemon –test –start –pidfile /var/run/tomcat6.pid –user tomcat6
–startas /usr/lib/jvm/java-6-sun/bin/java
+ log_end_msg 1
+ [ -z 1 ]
+ log_use_usplash
+ [ n = y ]
+ type usplash_write
+ [ 1 -eq 0 ]
+ usplash_write FAILURE failed         <==========
+ log_to_console log_end_msg 1
+ [ n != y ]
+ [ no != yes ]
+ readlink /proc/self/fd/0
+ stdin=/dev/pts/1
+ [ /dev/pts/1 != /dev/pts/1 ]
+ return 0
+ [ 148 ]
+ [ -x /usr/bin/tput ]
+ printf \r
+ /usr/bin/tput hpa 148
                                                                                        
                                                          + [ 1 -eq 0 ]
+ printf [
[+ /usr/bin/tput setaf 1             <==========
+ printf fail
fail+ /usr/bin/tput op
+ echo ]

]
+ return 1
==================
the corresponding strace said :
read(3, "/dev/pts/1\n"…, 128)         = 11
read(3, ""…, 128)                     = 0
close(3)                                = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13888
stat64("/usr/bin/tput", {st_mode=S_IFREG|0755, st_size=9688, …}) = 0
geteuid32()                             = 0
write(1, "\r"…, 1)                    = 1
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e0d708) = 13889
— SIGCHLD (Child exited) @ 0 (0) —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13889
write(1, "["…, 1)                     = 1
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e0d708) = 13890
— SIGCHLD (Child exited) @ 0 (0) —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13890
write(1, "fail"…, 4)                  = 4
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e0d708) = 13891
— SIGCHLD (Child exited) @ 0 (0) —
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13891
write(1, "]\n"…, 2)                   = 2
exit_group(1)                           = ?
Smiley Sad
no more clue
someone ?

brice
Champ in-the-making
Champ in-the-making
ok, more clue so,
tail -f /var/log/daemon.log => Sep 22 17:51:24 ***-*** jsvc.exec[20119]: Error occurred during initialization of VM Could not reserve enough space for object heap

no tomcat6.pid file in /var/run, but still 2 processes (zombie ?) to kill !!
reducing xms and xmx java options in /etc/default/tomcat6 makes the deal.

or add some memory and swap !!!

oblivian
Champ in-the-making
Champ in-the-making
Hi there

Just saw your post about installing Alfresco 3 in Ubuntu. I have installed mine, Alfresco 3.0, in Ubuntu 8. It works fine, (just installed Alfresco, not Studio nor Shared). However I have a problem everytime I need to stop and restart Alfresco for backups.
After stoping Alfresco, the only way to get it to work again, is restarting the machine again.

Did you have the same problem?, if so can you explain me how you solved it?

I have created another post with more details about this
http://forums.alfresco.com/en/viewtopic.php?f=8&t=20852

Thanks a lot in advance!!
Hello,
Sorry for late posting…

Well, I use http://backuppc.sourceforge.net/info.html to backup (which is an excellent backup system using rsync and ssh) the server running Alfresco. I never "stop" alfresco prior to backing it up, but I run a script just prior to backing up, which is a  MySQL dump of all databases on the server. I also backup, /etc, /usr/share/tomcat6, var/lib/alfresco, etc….

#!/bin/bash
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
# USER VARIABLES
MYSQLUSER=xxxx
MYSQLPWD=xxxxxxx
MYSQLHOST=localhost
MYSQLBACKUPDIR=/root/mysql_backup
# PATH VARIABLES
MK=/bin/mkdir;
RM=/bin/rm;
GREP=/bin/grep;
MYSQL=/usr/bin/mysql;
MYSQLDUMP=/usr/bin/mysqldump;
# CREATE MYSQL BACKUP
# Remove existing backup dir
$RM -Rf $MYSQLBACKUPDIR
# Create new backup dir
$MK $MYSQLBACKUPDIR
#Dump new files
for i in $(echo 'SHOW DATABASES;' | $MYSQL -u$MYSQLUSER -p$MYSQLPWD -h$MYSQLHOST|$GREP -v '^Database$'); do
  $MYSQLDUMP                                                    \
  -u$MYSQLUSER -p$MYSQLPWD -h$MYSQLHOST                         \
  -Q -c -C –add-drop-table –add-locks –quick –lock-tables   \
  $i > $MYSQLBACKUPDIR/$i.sql;
done;

Oblivian

razail
Champ in-the-making
Champ in-the-making
I noticed your post, I am new to Ubuntu and even more new to alfresco.  Is there a noob guide on how to get it installed somewhere out there?

Thanks for any help.

oblivian
Champ in-the-making
Champ in-the-making
To install Alfresco in Ubuntu you mean?