From continuum-users-return-5177-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Mon Nov 05 16:52:53 2007 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 55246 invoked from network); 5 Nov 2007 16:52:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 16:52:53 -0000 Received: (qmail 13018 invoked by uid 500); 5 Nov 2007 16:52:41 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 12573 invoked by uid 500); 5 Nov 2007 16:52:40 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 12562 invoked by uid 99); 5 Nov 2007 16:52:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 08:52:40 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [80.168.101.19] (HELO relay01-mail.uk.clara.net) (80.168.101.19) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 16:53:09 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([88.163.39.128]:1333 helo=[127.0.0.1]) by relay01-mail.uk.clara.net (smtp-vh.amenworld.com [195.8.80.31]:251) with esmtpa (authdaemon_plain:emmanuel@venisse.net) id 1Ip5BV-0000J6-3V (Exim 4.60) for continuum-users@maven.apache.org (return-path ); Mon, 05 Nov 2007 16:52:21 +0000 Message-ID: <472F4AA5.8070704@venisse.net> Date: Mon, 05 Nov 2007 17:53:57 +0100 From: Emmanuel Venisse User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: Running Continuum as a service under Red Hat References: <13588937.post@talk.nabble.com> <472F446A.2000907@venisse.net> <13590301.post@talk.nabble.com> In-Reply-To: <13590301.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org I don't have a Redhat to test it but if it doesn't run for you, you can extract the continuum startup script from it: #! /bin/sh # chkconfig: 345 90 10 # description: Maven Continuum server # uncoment to set JAVA_HOME as the value present when Continuum installed #export JAVA_HOME=${JAVA_HOME} if [ -z "\${JAVA_HOME}" ] then echo "Cannot manage Continuum without variable JAVA_HOME set" echo " (try to set it on file ${INITD_SCRIPT})" exit 1 fi # run Continuum as root cd ${CONTINUUM_HOME} ./run.sh \$* # run Continuum as user _continuum_user_ #su - _continuum_user_ -c "cd ${CONTINUUM_HOME}; ./run.sh \$*" EOF Change CONTINUUM_HOME and INITD_SCRIPT to the right values, then launch it to see if it run. When it run, run the following commands: chkconfig --add continuum chkconfig continuum on Hope it will help you. Emmanuel Raffaele a écrit : > I've just tried adding a new line (now the total number of lines in the > script is 51) but I have the same errors... > > Obviously I've downloaded the script from that link. > Thanks, regards > Raffaele > > > Emmanuel Venisse wrote: >> Where did you find the script? here: >> http://maven.apache.org/continuum/documentation/1_1/installation/standalone.html#In_a_RedHat-based_system >> ? >> >> I think you don't have a blank line at the end. >> >> Emmanuel >> >> Raffaele a écrit : >>> Hi all, >>> >>> I have problems running Continuum as a service under Red Hat System, I >>> know >>> the section which explain how to do this task running a specific script, >>> nevertheless that sript under my System doesn't work. >>> >>> In particular it seems that my System doesn't recognize that script, >>> please >>> take a look to the following snapshot: >>> http://www.nabble.com/file/p13588937/runScriptError.jpg >>> >>> Is there somebody that had same problem? >>> >>> Thanks in advance, best regards. >>> Raffaele >>> >>> >> >> >