FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-23-2010, 07:41 AM
Kaushal Shriyan
 
Default customized init script

Hi,

I have a customized script.

hosta# /etc/init.d/scriptrunner start
* Starting ScriptRunner ...
/sbin/start-stop-daemon: Unable to start
/usr/local/scriptrunner/bin/startup.sh: Exec format error (Exec format
error) [ ok ]
hosta#

My customized script is as below

#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.27/tomcat.init,v
1.3 2004/10/08 13:38:08 axxo Exp $

start() {
ebegin "Starting ScriptRunner"
start-stop-daemon --start --exec /usr/local/scriptrunner/bin/startup.sh
sleep 5
eend $?
}

stop() {
ebegin "Stopping ScriptRunner"
start-stop-daemon --stop --exec /usr/local/scriptrunner/bin/shutdown.sh
sleep 5
eend $?
}

Please suggest/guide

Thanks,

Kaushal
 
Old 02-23-2010, 08:18 AM
 
Default customized init script

On 23.02.2010 09:41, Kaushal Shriyan wrote:
> * Starting ScriptRunner ...
> /sbin/start-stop-daemon: Unable to start
> /usr/local/scriptrunner/bin/startup.sh: Exec format error (Exec format
> error) [ ok ]
>
Looks like your startup.sh is not an executable. As I assume startup.sh
is a shell script. So it has to use "#!/bin/bash" as its first line and
has to be marked executable (at least chmod u+rx startup.sh).
 
Old 02-23-2010, 08:44 AM
Amit Dor-Shifer
 
Default customized init script

Kaushal Shriyan wrote:

Hi,

I have a customized script.

hosta# /etc/init.d/scriptrunner start
* Starting ScriptRunner ...
/sbin/start-stop-daemon: Unable to start
/usr/local/scriptrunner/bin/startup.sh: Exec format error (Exec format
error) [ ok ]
hosta#

My customized script is as below

#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.27/tomcat.init,v
1.3 2004/10/08 13:38:08 axxo Exp $

start() {
ebegin "Starting ScriptRunner"
start-stop-daemon --start --exec /usr/local/scriptrunner/bin/startup.sh
sleep 5
eend $?
}

stop() {
ebegin "Stopping ScriptRunner"
start-stop-daemon --stop --exec /usr/local/scriptrunner/bin/shutdown.sh
sleep 5
eend $?
}

Please suggest/guide

Thanks,

Kaushal



Looks like startup.sh is invalid.
Perhaps check what 'file /usr/local/scriptrunner/bin/startup.sh' returns.
Amit
 
Old 02-23-2010, 10:33 AM
Peter Humphrey
 
Default customized init script

On Tuesday 23 February 2010 08:41:20 Kaushal Shriyan wrote:

> /usr/local/scriptrunner/bin/startup.sh: Exec format error

When I've got that error it's been because I'd tried to chroot from a
32-bit system into a 64-bit, or vice versa. Naturally, one width of bash
won't run on an other-width system.

I don't know how this helps you, but it's all I can offer. :-(

--
Rgds
Peter.


Tue Feb 23 13:30:02 2010
Return-path: <bounce-debian-user=tom=linux-archive.org@lists.debian.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Tue, 23 Feb 2010 13:13:13 +0200
Received: from liszt.debian.org ([82.195.75.100]:57362)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <bounce-debian-user=tom=linux-archive.org@lists.debian.org>)
id 1NjshV-0001mS-Mf
for tom@linux-archive.org; Tue, 23 Feb 2010 13:13:13 +0200
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with QMQP
id A76E32D0DAE; Tue, 23 Feb 2010 11:42:18 +0000 (UTC)
Old-Return-Path: <gpall@ccf.auth.gr>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on liszt.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-10.9 required=4.0 tests=FOURLA,LDOSUBSCRIBER,
LDO_WHITELIST autolearn=failed version=3.2.5
X-Original-To: lists-debian-user@liszt.debian.org
Delivered-To: lists-debian-user@liszt.debian.org
Received: from localhost (localhost [127.0.0.1])
by liszt.debian.org (Postfix) with ESMTP id 114BE13A4E5B
for <lists-debian-user@liszt.debian.org>; Tue, 23 Feb 2010 11:42:12 +0000 (UTC)
X-Virus-Scanned: at lists.debian.org with policy bank en-ht
X-Amavis-Spam-Status: No, score=-5.4 tagged_above=-10000 required=5.3
tests=[BAYES_00=-2, BODY_8BITS=1.5, FOURLA=0.1, LDO_WHITELIST=-5]
autolearn=ham
Received: from liszt.debian.org ([127.0.0.1])
by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
with ESMTP id pTPJ1Dp4HgQ2 for <lists-debian-user@liszt.debian.org>;
Tue, 23 Feb 2010 11:42:04 +0000 (UTC)
X-policyd-weight: using cached result; rate:hard: -7
Received: from hermes3.ccf.auth.gr (hermes3.ccf.auth.gr [155.207.1.69])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "AUTH Mail Servers", Issuer "AUTH Network Operations Center Certification Authority R3" (not verified))
by liszt.debian.org (Postfix) with ESMTPS id 9787C13A4E05
for <debian-user@lists.debian.org>; Tue, 23 Feb 2010 11:42:04 +0000 (UTC)
Received: from [155.207.112.12] (aris.ccf2.auth.gr [155.207.112.12])
(authenticated bits=0)
by hermes3.ccf.auth.gr (8.14.3/8.14.3) with ESMTP id o1NBfhGf023286
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
Tue, 23 Feb 2010 13:41:43 +0200
Message-ID: <4B83BEF7.3010206@ccf.auth.gr>
Date: Tue, 23 Feb 2010 13:41:43 +0200
From: =?UTF-8?B?zpPOuc+Oz4HOs86/z4IgzqDOrM67zrvOsc+C?=
<gpall@ccf.auth.gr>
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706)
MIME-Version: 1.0
To: Mihamina Rakotomandimby <mihamina@gulfsat.mg>
CC: debian-user@lists.debian.org
Subject: Re: how to convince that debian is one the three major choices for
a stable server environment?
References: <4B828011.6070805@ccf.auth.gr> <20100222202338.0ee5f7c4@pbmiha.malagasy.com>
In-Reply-To: <20100222202338.0ee5f7c4@pbmiha.malagasy.com>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms050507070508070902070708"
X-Virus-Scanned: clamav-milter 0.95.3 at hermes1
X-Virus-Status: Clean
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2008-11-04_01
Resent-Message-ID: <glg9peIUqhJ.A.oqH.a87gLB@liszt>
Resent-From: debian-user@lists.debian.org
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/570051
X-Loop: debian-user@lists.debian.org
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@lists.debian.org>
List-Help: <mailto:debian-user-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-user-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-user-request@lists.debian.org
Resent-Date: Tue, 23 Feb 2010 11:42:18 +0000 (UTC)

This is a cryptographically signed message in MIME format.

--------------ms050507070508070902070708
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Mihamina Rakotomandimby wrote:
>> =CE=93=CE=B9=CF=8E=CF=81=CE=B3=CE=BF=CF=82 =CE=A0=CE=AC=CE=BB=CE=BB=CE=
=B1=CF=82 <gpall@ccf.auth.gr> :
>> (it is, isn't it? :-) )=20
>> So, yes, we are moving on from our 10year experience with gentoo
>> =20
>
> What reasons have you collected to decide to move from Gentoo?
>
> =20

I want 'x' program installed, and I want it *now* to solve a burning=20
situation. But I can't have it! Because I'm a happy gentoo user! I have=20
to get it, compile it, oh I forgot the snmp flag, recompile it, and=20
there I am!

The drop that filled the bucket (or whatever the expression is), was=20
that we can't have the latest PHP with the latest SNMP module because of =

a certain PHP bug that is refused to be dealt with in Gentoo - in debian =

it works fine. Anyway, don't ask me any further Gentoo specific=20
questions, I don't want to know more about Gentoo, I just want to forget =
it!



--------------ms050507070508070902070708
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCS qGSIb3DQEHAQAAoIIhHjCC
CAswggbzoAMCAQICBQEAAAARMA0GCSqGSIb3DQEBBQUAMIGVMQ swCQYDVQQGEwJHUjFEMEIG
A1UEChM7SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNoIE luc3RpdHV0aW9ucyBDZXJ0
LiBBdXRob3JpdHkxQDA+BgNVBAMTN0hlbGxlbmljIEFjYWRlbW ljIGFuZCBSZXNlYXJjaCBJ
bnN0aXR1dGlvbnMgUm9vdENBIDIwMDYwHhcNMDkwMjE4MTEzOT A5WhcNMTcwMjE2MTEzOTA5
WjCBnjELMAkGA1UEBhMCR1IxLTArBgNVBAoTJEFyaXN0b3RsZS BVbml2ZXJzaXR5IG9mIFRo
ZXNzYWxvbmlraTE7MDkGA1UEAxMyQXJpc3RvdGxlIFVuaXZlcn NpdHkgb2YgVGhlc3NhbG9u
aWtpIENlbnRyYWwgQ0EgUjIxIzAhBgkqhkiG9w0BCQEWFHBraW FkbWluQGNjZi5hdXRoLmdy
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAymcX6u ssFCSCQe80wltOvHEQWwQp
SVqqy3i9CcjyogzeF7IRQEjMQghyvMwDteFJEpr4e9CDrWd6sp N6lmtDuh3/6iiRpfiRHUf5
zXqmR/7qf6ykpKPyuu/xbqwqoQOOLIHomRtE2EiC3XxcdaAjhDrwYrf7Yfh6Kv6PEUw8f Vwx
GYl47itXxFdiT2kW01K+IUKTbWdkQmPuz2FK4imfbbKyDpl8vW 6a6w3Tv38HyTCNlxLh0uad
V+jsV9ZxdvvX1BWoVer/CjQdgW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QAgsxgd2ggdowgdAxCzAJ
BgNVBAYTAkdSMS0wKwYDVQQKEyRBcmlzdG90bGUgVW5pdmVyc2 l0eSBvZiBUaGVzc2Fsb25p
a2kxKTAnBgNVBAsTIENlbnRyYWwgQ29tbXVuaWNhdGlvbiBGYW NpbGl0aWVzMUIwQAYDVQQD
EzlBVVRIIE5ldHdvcmsgT3BlcmF0aW9ucyBDZW50ZXIgQ2VydG lmaWNhdGlvbiBBdXRob3Jp
dHkgUjMxIzAhBgkqhkiG9w0BCQEWFHBraWFkbWluQGNjZi5hdX RoLmdyAgUEAAAALjANBgkq
hkiG9w0BAQEFAASBgGvpJRF0bLKyzviK1JLojQXKRBz1BOEuDT LxDgmjoUk6Inrs10WMKWdd
upL8TAZpXLviXlKFk2S/rPbIBwo+e8ApFGEvboMlJrCQCprOKtlpo16KNSRMo37q8sNtcl jg
lpilonZNz/Jlk3MB3HIQxFTQojHKXrT+qCrsuSeuvXrUAAAAAAAA
--------------ms050507070508070902070708--


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/4B83BEF7.3010206@ccf.auth.gr
 
Old 02-23-2010, 09:46 PM
Stroller
 
Default customized init script

On 23 Feb 2010, at 09:18, hb-xxl@web.de wrote:


On 23.02.2010 09:41, Kaushal Shriyan wrote:

* Starting ScriptRunner ...
/sbin/start-stop-daemon: Unable to start
/usr/local/scriptrunner/bin/startup.sh: Exec format error (Exec
format

error) [ ok ]

Looks like your startup.sh is not an executable. As I assume
startup.sh

is a shell script. So it has to use "#!/bin/bash" as its first line


Suggest you run `head -n 1 /etc/init.d/* | grep runscript` and compare
with the script the OP posted.


Stroller.
 

Thread Tools




All times are GMT. The time now is 09:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org