cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Installation

hank_chinaski
Champ in-the-making
Champ in-the-making
Hallo,

bin ein absoluter Neuling was Alfresco angeht. Gestern habe ich mir die Alfresco Cloud Trial angeschaut und war ziemlich begeistert,
heute wollte ich dann zu Testzwecken die Alfresco Enterprise Trial installieren. Installation hat soweit funktioniert, nur komm ich einfach nicht rein.

Wenn ich "127.0.0.1:8080/share" aufrufe, erhalte ich die Fehlermeldung "Die Verbindung zum Server konnte nicht hergestellt werden.".

Laut Terminal laufen Tomcat und MySql.

Last login: Thu Jul  8 17:10:38 on ttys000
1-2-iMac-08:~ oxox$ /Applications/alfresco-3.3/alfresco.sh
usage: /Applications/alfresco-3.3/alfresco.sh help
       /Applications/alfresco-3.3/alfresco.sh (start|stop|restart|status)
       /Applications/alfresco-3.3/alfresco.sh (start|stop|restart|status) mysql
       /Applications/alfresco-3.3/alfresco.sh (start|stop|restart|status) tomcat

help       - this screen
start      - start the service(s)
stop       - stop  the service(s)
restart    - restart or start the service(s)
status     - show the status of the service(s)

1-2-iMac-08:~ xoxo$ /Applications/alfresco-3.3/alfresco.sh status
tomcat already running
mysql already running
1-2-iMac-08:~ xoxol$

Wo kann der Fehler liegen? Würde Alfresco gerne ausführlich testen, da mein Betrieb gerade
genau sowas sucht. Wäre toll wenn mir jemand weiterhelfen könnte.

Grüße,
Hank

Edith meint: Ich arbeite übrigens an einem iMac mit Mac OS X 10.5.8, falls das vielleicht hilft.
Und wenn ich "127.0.0.1:8080/share" eingebe erscheint schon einmal das Alfresco-favicon. Was bleibt ist die Frage woran es happert.
18 REPLIES 18

hank_chinaski
Champ in-the-making
Champ in-the-making
Das hört sich an als wäre ich bald am Ziel Smiley Wink

Hab gerade mal in die Datei reingeschaut und blick nicht wo was steht…
Und: Wie führt man eine .sh-Datei aus? Ins Terminal schmeißen?
Da zeigt er mir nämlich nur an das mysql + tomcat laufen.

Grüße, David

Edith: Sagt Danke für die Mühe und Zeit.

nas86
Champ in-the-making
Champ in-the-making
Stell einfach mal den Inhalt der Datei hier rein. Unter Unix führt man die in einem Terminal aus. Wird unter Mac OS denke ich mal auch so sein. Oder gibts mit grafischer Oberfläche vielleicht eine Programm-Gruppe wie unter Windows?
sudo ./alfresco.sh
So führt man das unter Ubuntu aus.

root.dir=/opt/Alfresco

export java home oder so ähnlich, da muss der Pfad zum JDK rein.

Gruß.
nas

hank_chinaski
Champ in-the-making
Champ in-the-making
Hab noch keine grafische Oberfläche gesehen, heißt aber nicht das es keine gibt.

Hier der Inhalt der alfresco.sh:

#!/bin/sh

# Disabling SELinux if enabled
if [ -f "/usr/sbin/getenforce" ] && [ `id -u` = 0 ] ; then
    selinux_status=`/usr/sbin/getenforce`
    /usr/sbin/setenforce 0 2> /dev/null
fi

INSTALLDIR=/Applications/alfresco

if [ -r "$INSTALLDIR/scripts/setenv.sh" ]; then
. "$INSTALLDIR/scripts/setenv.sh"
fi

ERROR=0
MYSQL_SCRIPT=$INSTALLDIR/mysql/scripts/ctl.sh
INGRES_SCRIPT=$INSTALLDIR/ingres/scripts/ctl.sh
APACHE_SCRIPT=$INSTALLDIR/apache2/scripts/ctl.sh
HYPERSONIC_SCRIPT=$INSTALLDIR/hypersonic/scripts/ctl.sh
TOMCAT_SCRIPT=$INSTALLDIR/tomcat/scripts/ctl.sh
SUBVERSION_SCRIPT=$INSTALLDIR/subversion/scripts/ctl.sh
OPENOFFICE_SCRIPT=$INSTALLDIR/openoffice/scripts/ctl.sh
#RUBY_APPLICATION_SCRIPT
LUCENE_SCRIPT=$INSTALLDIR/lucene/scripts/ctl.sh
ZOPE_SCRIPT=$INSTALLDIR/zope_application/scripts/ctl.sh
THIRD_SCRIPT=$INSTALLDIR/third_application/scripts/ctl.sh
POSTGRESQL_SCRIPT=$INSTALLDIR/postgresql/scripts/ctl.sh
NAGIOS_SCRIPT=$INSTALLDIR/nagios/scripts/ctl.sh
JETTY_SCRIPT=$INSTALLDIR/jetty/scripts/ctl.sh
JBOSS_SCRIPT=$INSTALLDIR/jboss-eap/scripts/ctl.sh
MEMCACHED_SCRIPT=$INSTALLDIR/memcached/scripts/ctl.sh

help() {
   echo "usage: $0 help"
   echo "       $0 (start|stop|restart|status)"
   if test -x $MYSQL_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) mysql"
   fi
        if test -x $POSTGRESQL_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) postgresql"
   fi
   if test -x $INGRES_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) ingres"
   fi
   if test -x $MEMCACHED_SCRIPT; then
       echo "       $0 (start|stop|restart|status) memcached"
   fi
   if test -x $APACHE_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) apache"
   fi
   if test -x $HYPERSONIC_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) hypersonic"
   fi
   if test -x $TOMCAT_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) tomcat"
   fi
   if test -x $SUBVERSION_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) subversion"
   fi
   if test -x $OPENOFFICE_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) openoffice"
   fi
        #RUBY_APPLICATION_HELP
   if test -x $LUCENE_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) lucene"
   fi
   if test -x $ZOPE_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) zope_application"
   fi
   if test -x $THIRD_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) third_application"
   fi
   if test -x $NAGIOS_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) nagios"
   fi
   if test -x $JETTY_SCRIPT; then   
       echo "       $0 (start|stop|restart|status) jetty"
   fi
    if test -x $JBOSS_SCRIPT; then
        echo "       $0 (start|stop|restart|status) jboss"
    fi
   cat <<EOF

help       - this screen
start      - start the service(s)
stop       - stop  the service(s)
restart    - restart or start the service(s)
status     - show the status of the service(s)

EOF
}


if [ "x$1" = "xhelp" ] || [ "x$1" = "x" ]; then
    help
elif [ "x$1" = "xstart" ]; then

    if [ "x$2" = "xmysql" ]; then
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT start
            MYSQL_ERROR=$?
        fi
    elif [ "x$2" = "xpostgresql" ]; then
        if test -x $POSTGRESQL_SCRIPT; then   
            $POSTGRESQL_SCRIPT start 
            POSTGRESQL_ERROR=$?
        fi
    elif [ "x$2" = "xingres" ]; then
        if test -x $INGRES_SCRIPT; then
            $INGRES_SCRIPT start
            INGRES_ERROR=$?
        fi
    elif [ "x$2" = "xopenoffice" ]; then
        if test -x $OPENOFFICE_SCRIPT; then   
            $OPENOFFICE_SCRIPT start 
            OPENOFFICE_ERROR=$?
        fi
    elif [ "x$2" = "xhypersonic" ]; then
        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT start 
            HYPERSONIC_ERROR=$?
        fi
    elif [ "x$2" = "xmemcached" ]; then
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT start
            MEMCACHED_ERROR=$?
        fi
    elif [ "x$2" = "xtomcat" ]; then
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT start 
            TOMCAT_ERROR=$?
        fi
    #RUBY_APPLICATION_START
    elif [ "x$2" = "xzope_application" ]; then
        if test -x $ZOPE_SCRIPT; then   
            $ZOPE_SCRIPT start 
            ZOPE_ERROR=$?
        fi
    elif [ "x$2" = "xlucene" ]; then
        if test -x $LUCENE_SCRIPT; then   
            $LUCENE_SCRIPT start 
            LUCENE_ERROR=$?
        fi
    elif [ "x$2" = "xapache" ]; then
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT start 
            APACHE_ERROR=$?
        fi
    elif [ "x$2" = "xsubversion" ]; then
        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT start 
            SUBVERSION_ERROR=$?
        fi
    elif [ "x$2" = "xthird_application" ]; then
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT start 
            THIRD_ERROR=$?
        fi
    elif [ "x$2" = "xnagios" ]; then
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT start 
            NAGIOS_ERROR=$?
        fi
    elif [ "x$2" = "xjetty" ]; then
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT start 
            JETTY_ERROR=$?
        fi
    elif [ "x$2" = "xjboss" ]; then
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT start
            JBOSS_ERROR=$?
        fi
    else
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT start
            MYSQL_ERROR=$?
            sleep 5
        fi 
        if test -x $POSTGRESQL_SCRIPT; then   
            $POSTGRESQL_SCRIPT start 
            POSTGRESQL_ERROR=$?
            sleep 5
        fi
        if test -x $INGRES_SCRIPT; then
            $INGRES_SCRIPT start
            INGRES_ERROR=$?
            sleep 5
        fi 

        if test -x $OPENOFFICE_SCRIPT; then   
            $OPENOFFICE_SCRIPT start 
            OPENOFFICE_ERROR=$?
        fi

        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT start 
            HYPERSONIC_ERROR=$?
        fi
       
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT start
            MEMCACHED_ERROR=$?
        fi

        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT start 
            TOMCAT_ERROR=$?
        fi
        #RUBY_APPLICATION_GENERIC_START

        if test -x $ZOPE_SCRIPT; then   
            $ZOPE_SCRIPT start 
            ZOPE_ERROR=$?
        fi

        if test -x $LUCENE_SCRIPT; then   
            $LUCENE_SCRIPT start 
            LUCENE_ERROR=$?
        fi

        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT start 
            APACHE_ERROR=$?
        fi

        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT start 
            SUBVERSION_ERROR=$?
        fi
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT start 
            THIRD_ERROR=$?
        fi
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT start 
            NAGIOS_ERROR=$?
        fi
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT start 
            JETTY_ERROR=$?
        fi
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT start
            JBOSS_ERROR=$?
        fi
   
    fi


elif [ "x$1" = "xstop" ]; then

    if [ "x$2" = "xmysql" ]; then
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT stop
            MYSQL_ERROR=$?
            sleep 2
        fi       
    elif [ "x$2" = "xpostgresql" ]; then
        if test -x $POSTGRESQL_SCRIPT; then   
            $POSTGRESQL_SCRIPT stop
            POSTGRESQL_ERROR=$?
            sleep 5
        fi
    elif [ "x$2" = "xingres" ]; then
        if test -x $INGRES_SCRIPT; then
            $INGRES_SCRIPT stop
            INGRES_ERROR=$?
            sleep 5
        fi       
    elif [ "x$2" = "xopenoffice" ]; then
        if test -x $OPENOFFICE_SCRIPT; then
            $OPENOFFICE_SCRIPT stop
            OPENOFFICE_ERROR=$?
        fi
    elif [ "x$2" = "xhypersonic" ]; then
        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT stop
            HYPERSONIC_ERROR=$?
        fi
    elif [ "x$2" = "xmemcached" ]; then
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT stop
            MEMCACHED_ERROR=$?
        fi
    elif [ "x$2" = "xtomcat" ]; then
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT stop
            TOMCAT_ERROR=$?
        fi
    #RUBY_APPLICATION_STOP
    elif [ "x$2" = "xzope_application" ]; then
        if test -x $ZOPE_SCRIPT; then
            $ZOPE_SCRIPT stop
            ZOPE_ERROR=$?
        fi
    elif [ "x$2" = "xlucene" ]; then
        if test -x $LUCENE_SCRIPT; then
            $LUCENE_SCRIPT stop
            LUCENE_ERROR=$?
        fi
    elif [ "x$2" = "xapache" ]; then
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT stop
            APACHE_ERROR=$?
        fi
    elif [ "x$2" = "xsubversion" ]; then
        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT stop
            SUBVERSION_ERROR=$?
        fi
    elif [ "x$2" = "xthird_application" ]; then
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT stop
            THIRD_ERROR=$?
        fi
    elif [ "x$2" = "xnagios" ]; then
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT stop
            NAGIOS_ERROR=$?
        fi
    elif [ "x$2" = "xjetty" ]; then
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT stop
            JETTY_ERROR=$?
        fi
    elif [ "x$2" = "xjboss" ]; then
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT stop
            JBOSS_ERROR=$?
        fi
    else
        if test -x $HYPERSONIC_SCRIPT; then
            $HYPERSONIC_SCRIPT stop
            HYPERSONIC_ERROR=$?
        fi
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT stop
            JBOSS_ERROR=$?
        fi
        if test -x $JETTY_SCRIPT; then
            $JETTY_SCRIPT stop
            JETTY_ERROR=$?
        fi
        if test -x $NAGIOS_SCRIPT; then
            $NAGIOS_SCRIPT stop
            NAGIOS_ERROR=$?
        fi
        if test -x $THIRD_SCRIPT; then
            $THIRD_SCRIPT stop
            THIRD_ERROR=$?
        fi
        if test -x $SUBVERSION_SCRIPT; then
            $SUBVERSION_SCRIPT stop
            SUBVERSION_ERROR=$?
        fi
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT stop 
            APACHE_ERROR=$?
        fi
        #RUBY_APPLICATION_GENERIC_STOP
        if test -x $ZOPE_SCRIPT; then
            $ZOPE_SCRIPT stop
            ZOPE_ERROR=$?
        fi
        if test -x $LUCENE_SCRIPT; then   
            $LUCENE_SCRIPT stop
            LUCENE_ERROR=$?
        fi
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT stop
            TOMCAT_ERROR=$?
            sleep 3
        fi
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT stop
            MEMCACHED_ERROR=$?
        fi
        if test -x $OPENOFFICE_SCRIPT; then
            $OPENOFFICE_SCRIPT stop
            OPENOFFICE_ERROR=$?
        fi
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT stop
            MYSQL_ERROR=$?
        fi
        if test -x $INGRES_SCRIPT; then
            $INGRES_SCRIPT stop
            INGRES_ERROR=$?
        fi
        if test -x $POSTGRESQL_SCRIPT; then
            $POSTGRESQL_SCRIPT stop
            POSTGRESQL_ERROR=$?
        fi
         
    fi

elif [ "x$1" = "xrestart" ]; then

    if [ "x$2" = "xmysql" ]; then
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT stop
            sleep 2
            $MYSQL_SCRIPT start
            MYSQL_ERROR=$?
        fi
    elif [ "x$2" = "xpostgresql" ]; then
        if test -x $POSTGRESQL_SCRIPT; then   
            $POSTGRESQL_SCRIPT stop 
            sleep 5
            $POSTGRESQL_SCRIPT start
            POSTGRESQL_ERROR=$?
        fi
   elif [ "x$2" = "xingres" ]; then
        if test -x $INGRES_SCRIPT; then   
            $INGRES_SCRIPT stop 
            sleep 5
            $INGRES_SCRIPT start
            INGRES_ERROR=$?
        fi
    elif [ "x$2" = "xopenoffice" ]; then
        if test -x $OPENOFFICE_SCRIPT; then   
            $OPENOFFICE_SCRIPT stop 
            sleep 2
            $OPENOFFICE_SCRIPT start
            OPENOFFICE_ERROR=$?
        fi
    elif [ "x$2" = "xhypersonic" ]; then
        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT stop 
            sleep 2
            $HYPERSONIC_SCRIPT start
            HYPERSONIC_ERROR=$?
        fi
    elif [ "x$2" = "xmemcached" ]; then
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT stop
            $MEMCACHED_SCRIPT start
            MEMCACHED_ERROR=$?
        fi
    elif [ "x$2" = "xtomcat" ]; then
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT stop
            sleep 5
            $TOMCAT_SCRIPT start
            TOMCAT_ERROR=$?
        fi
    #RUBY_APPLICATION_RESTART
    elif [ "x$2" = "xzope_application" ]; then
        if test -x $ZOPE_SCRIPT; then   
            $ZOPE_SCRIPT stop 
            sleep 2
            $ZOPE_SCRIPT start
            ZOPE_ERROR=$?
        fi
    elif [ "x$2" = "xlucene" ]; then
        if test -x $LUCENE_SCRIPT; then   
            $LUCENE_SCRIPT stop 
            sleep 2
            $LUCENE_SCRIPT start
            LUCENE_ERROR=$?
        fi
    elif [ "x$2" = "xapache" ]; then
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT stop 
            sleep 2
            $APACHE_SCRIPT start
            APACHE_ERROR=$?
        fi
    elif [ "x$2" = "xsubversion" ]; then
        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT stop 
            sleep 2
            $SUBVERSION_SCRIPT start
            SUBVERSION_ERROR=$?
        fi
    elif [ "x$2" = "xthird_application" ]; then
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT stop 
            sleep 2
            $THIRD_SCRIPT start
            THIRD_ERROR=$?
        fi
    elif [ "x$2" = "xnagios" ]; then
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT stop 
            sleep 2
            $NAGIOS_SCRIPT start
            NAGIOS_ERROR=$?
        fi
    elif [ "x$2" = "xjetty" ]; then
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT stop 
            sleep 2
            $JETTY_SCRIPT start
            JETTY_ERROR=$?
        fi
    elif [ "x$2" = "xjboss" ]; then
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT stop
            sleep 2
            $JBOSS_SCRIPT start
            JBOSS_ERROR=$?
        fi
    else
        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT stop
            HYPERSONIC_ERROR=$?
        fi
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT stop
            JBOSS_ERROR=$?
        fi
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT stop
            JETTY_ERROR=$?
        fi
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT stop
            NAGIOS_ERROR=$?
        fi
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT stop
            THIRD_ERROR=$?
        fi
        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT stop
            SUBVERSION_ERROR=$?
        fi
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT stop
            APACHE_ERROR=$?
        fi
        #RUBY_APPLICATION_GENERIC_STOP
        if test -x $ZOPE_SCRIPT; then
            $ZOPE_SCRIPT stop
            ZOPE_ERROR=$?
        fi
        if test -x $LUCENE_SCRIPT; then   
            $LUCENE_SCRIPT stop
            LUCENE_ERROR=$?
        fi
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT stop
            TOMCAT_ERROR=$?
        fi
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT stop
            $MEMCACHED_SCRIPT start
            MEMCACHED_ERROR=$?
        fi
        if test -x $OPENOFFICE_SCRIPT; then   
            $OPENOFFICE_SCRIPT stop
            OPENOFFICE_ERROR=$?
        fi
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT stop
            sleep 2
            $MYSQL_SCRIPT start;
            MYSQL_ERROR=$?
            sleep 2
        fi        
        if test -x $POSTGRESQL_SCRIPT; then
            $POSTGRESQL_SCRIPT stop
            sleep 2
            $POSTGRESQL_SCRIPT start;
            POSTGRESQL_ERROR=$?
            sleep 2
        fi         
        if test -x $INGRES_SCRIPT; then
            $INGRES_SCRIPT stop
            sleep 7
            $INGRES_SCRIPT start;
            INGRES_ERROR=$?
            sleep 2
        fi         
        if test -x $OPENOFFICE_SCRIPT; then   
            $OPENOFFICE_SCRIPT start 
            OPENOFFICE_ERROR=$?
        fi
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT start
            TOMCAT_ERROR=$?
        fi       
        #RUBY_APPLICATION_GENERIC_START
        if test -x $ZOPE_SCRIPT; then   
            $ZOPE_SCRIPT start 
            ZOPE_ERROR=$?
        fi
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT start 
            APACHE_ERROR=$?
        fi
        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT start 
            SUBVERSION_ERROR=$?
        fi
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT start 
            THIRD_ERROR=$?
        fi
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT start 
            NAGIOS_ERROR=$?
        fi
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT start 
            JETTY_ERROR=$?
        fi
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT start
            JBOSS_ERROR=$?
        fi
        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT start 
            HYPERSONIC_ERROR=$?
        fi
    fi

elif [ "x$1" = "xstatus" ]; then

    if [ "x$2" = "xmysql" ]; then
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT status
            sleep 2
        fi       
    elif [ "x$2" = "xopenoffice" ]; then
        if test -x $OPENOFFICE_SCRIPT; then
            $OPENOFFICE_SCRIPT status
        fi
    elif [ "x$2" = "xingres" ]; then
        if test -x $INGRES_SCRIPT; then   
            $INGRES_SCRIPT status 
        fi
    elif [ "x$2" = "xpostgresql" ]; then
        if test -x $POSTGRESQL_SCRIPT; then   
            $POSTGRESQL_SCRIPT status 
            sleep 2
        fi
    elif [ "x$2" = "xhypersonic" ]; then
        if test -x $HYPERSONIC_SCRIPT; then   
            $HYPERSONIC_SCRIPT status
        fi
    elif [ "x$2" = "xmemcached" ]; then
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT status
        fi
    elif [ "x$2" = "xtomcat" ]; then
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT status
        fi
    #RUBY_APPLICATION_STATUS
    elif [ "x$2" = "xzope_application" ]; then
        if test -x $ZOPE_SCRIPT; then
            $ZOPE_SCRIPT status
        fi
    elif [ "x$2" = "xlucene" ]; then
        if test -x $LUCENE_SCRIPT; then
            $LUCENE_SCRIPT status
        fi
    elif [ "x$2" = "xapache" ]; then
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT status
        fi
    elif [ "x$2" = "xsubversion" ]; then
        if test -x $SUBVERSION_SCRIPT; then   
            $SUBVERSION_SCRIPT status
        fi
    elif [ "x$2" = "xthird_application" ]; then
        if test -x $THIRD_SCRIPT; then   
            $THIRD_SCRIPT status
        fi
    elif [ "x$2" = "xnagios" ]; then
        if test -x $NAGIOS_SCRIPT; then   
            $NAGIOS_SCRIPT status
        fi
    elif [ "x$2" = "xjetty" ]; then
        if test -x $JETTY_SCRIPT; then   
            $JETTY_SCRIPT status
        fi
    elif [ "x$2" = "xjboss" ]; then
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT status
        fi
    else
        if test -x $HYPERSONIC_SCRIPT; then
            $HYPERSONIC_SCRIPT status
        fi
        if test -x $JETTY_SCRIPT; then
            $JETTY_SCRIPT status
        fi
        if test -x $JBOSS_SCRIPT; then
            $JBOSS_SCRIPT status
        fi
        if test -x $NAGIOS_SCRIPT; then
            $NAGIOS_SCRIPT status
        fi
        if test -x $THIRD_SCRIPT; then
            $THIRD_SCRIPT status
        fi
        if test -x $SUBVERSION_SCRIPT; then
            $SUBVERSION_SCRIPT status
        fi
        if test -x $APACHE_SCRIPT; then   
            $APACHE_SCRIPT status 
        fi
        #RUBY_APPLICATION_GENERIC_STATUS
        if test -x $ZOPE_SCRIPT; then
            $ZOPE_SCRIPT status
        fi
        if test -x $LUCENE_SCRIPT; then   
            $LUCENE_SCRIPT status
        fi
        if test -x $INGRES_SCRIPT; then   
            $INGRES_SCRIPT status
        fi
        if test -x $TOMCAT_SCRIPT; then
            $TOMCAT_SCRIPT status
            sleep 3
        fi
        if test -x $OPENOFFICE_SCRIPT; then
            $OPENOFFICE_SCRIPT status
        fi
        if test -x $MYSQL_SCRIPT; then
            $MYSQL_SCRIPT status
        fi
        if test -x $POSTGRESQL_SCRIPT; then
            $POSTGRESQL_SCRIPT status
            sleep 3
        fi
        if test -x $MEMCACHED_SCRIPT; then
            $MEMCACHED_SCRIPT status
        fi

    fi
fi

# Checking for errors
for e in $APACHE_ERROR $MYSQL_ERROR $SUBVERSION_ERROR $TOMCAT_ERROR $MEMCACHED_ERROR $INGRES_ERROR $OPENOFFICE_ERROR $LUCENE_ERROR $ZOPE_ERROR $POSTGRESQL_ERROR $THIRD_ERROR $NAGIOS_ERROR $JETTY_ERROR $JBOSS_ERROR $HYPERSONIC_ERROR; do
    if [ $e -gt 0 ]; then
        ERROR=$e
    fi
done
# Restoring SELinux
if [ -f "/usr/sbin/getenforce" ] && [ `id -u` = 0 ] ; then
    /usr/sbin/setenforce $selinux_status 2> /dev/null
fi

exit $ERROR

Grüße, Hank

Edith meldet sich kurz und meint: Die root.dir ist: INSTALLDIR=/Applications/alfresco, richtig?

nas86
Champ in-the-making
Champ in-the-making
Hmm die alfresco.sh sieht tatsächlich komplett anders aus. Smiley Happy Hast du auf deinem Mac eigentlich auch Windows emuliert?
Mit GUI meinte ich die von Mac OS. Hast du mal probiert mit sudo ./alfresco.sh start

hank_chinaski
Champ in-the-making
Champ in-the-making
Ja, gerade probiert, hier mal das was das Terminal auswirft, hab ich teilweise schon gepostet Smiley Happy

1-2-iMac-08:~ xoxo$ /Applications/alfresco/alfresco.sh
usage: /Applications/alfresco/alfresco.sh help
       /Applications/alfresco/alfresco.sh (start|stop|restart|status)
       /Applications/alfresco/alfresco.sh (start|stop|restart|status) mysql
       /Applications/alfresco/alfresco.sh (start|stop|restart|status) tomcat
       /Applications/alfresco/alfresco.sh (start|stop|restart|status) openoffice

help       - this screen
start      - start the service(s)
stop       - stop  the service(s)
restart    - restart or start the service(s)
status     - show the status of the service(s)

1-2-iMac-08:~ xoxo$ /Applications/alfresco/alsfresco.sh start
-bash: /Applications/alfresco/alsfresco.sh: No such file or directory

1-2-iMac-08:~ xoxo$

Scheint so als sollte "/Applications/alfresco/alsfresco.sh start" alfresco starten, aber: "/Applications/alfresco/alsfresco.sh: No such file or directory"

nas86
Champ in-the-making
Champ in-the-making
Gibts hier keinen Mac User? Ich hab leider keinen Mac *schnief*.
Soll das ganze dann später auch im produktiveinatz unter Mac OS laufen? Wenn nicht könntest du ja umsteigen und das ganze in einer VM machen.
Hab mir unter Linux auch eine Struktur mit 3 VMs aufgebaut.

1x AD/DNS
1x DB Server
1x DMS

Zugriff erfolgt dann vom Laptop. Integration in die Domain war kein Problem.

Gruß,
nas

PS: Hätte gern Mac OS in einer VM Smiley Happy

thomash
Champ in-the-making
Champ in-the-making
Hallo,

also das
bash: /Applications/alfresco/alsfresco.sh: No such file or directory
nicht läuft ist klar. Du hast da nen Tippfehler drin. Das Skript heißt alfresco.sh und nicht alsfresco.sh.

hank_chinaski
Champ in-the-making
Champ in-the-making
Ja das soll später alles in einem Mac-Netzwerk laufen, Installation erfolgt auf Mac OS X Server.

@Thomas H.: Hast du natürlich recht. *schäm*

Habe es nochmal versucht und glaub ich weiß wo der Fehler liegt, tomcat zickt anscheinend:

Last login: Sat Jul 10 13:46:19 on ttys000
1-2-iMac-08:~ xoxo$ /Applications/alfresco/alfresco.sh start
Starting mysqld.bin daemon with databases from /Applications/alfresco/mysql/data
/Applications/alfresco/mysql/scripts/ctl.sh : mysql  started at port 3306
/Applications/alfresco/openoffice/scripts/ctl.sh : openoffice started at port 8100
Using CATALINA_BASE:   /Applications/alfresco/tomcat
Using CATALINA_HOME:   /Applications/alfresco/tomcat
Using CATALINA_TMPDIR: /Applications/alfresco/tomcat/temp
Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Using CLASSPATH:       /Applications/alfresco/tomcat/bin/bootstrap.jar
PID file (/Applications/alfresco/tomcat/temp/catalina.pid) found. Is Tomcat still running? Start aborted.
/Applications/alfresco/tomcat/scripts/ctl.sh : tomcat could not be started

deaktivieren lässte es sich aber nicht:

Last login: Sat Jul 10 17:51:31 on ttys000
1-2-iMac-08:~ xoxo$ /Applications/alfresco/alfresco.sh stop tomcat
Using CATALINA_BASE:   /Applications/alfresco/tomcat
Using CATALINA_HOME:   /Applications/alfresco/tomcat
Using CATALINA_TMPDIR: /Applications/alfresco/tomcat/temp
Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Using CLASSPATH:       /Applications/alfresco/tomcat/bin/bootstrap.jar
PID file (/Applications/alfresco/tomcat/temp/catalina.pid) found but no matching process was found. Stop aborted.
/Applications/alfresco/tomcat/scripts/ctl.sh : tomcat could not be stopped
1-2-iMac-08:~ xoxo$

Grüße und schönes Wochenende,
Hank

thomash
Champ in-the-making
Champ in-the-making
Um den Tomcat notfalls mit Gewalt zu beenden musst du einfach den Prozess abschiessen.
Über das Kommando
jps
kriegst du alle laufenden Javaprozesse angezeigt.
Ein Prozess namens bootstrap.jar zeigt dir einen laufenden Tomcat an.
Am Beginn der entsprechenden Zeile steht die Prozessid diese benötigst du dann um den Tomcat zu beenden.
Das machst über folgenden Aufruf:

sudo kill -9 <ProzessId>