From: Hannes Reinecke <hare@suse.de>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: multipathd segfault and error calling out
Date: Thu, 26 Feb 2009 08:16:27 +0100 [thread overview]
Message-ID: <49A641CB.30008@suse.de> (raw)
In-Reply-To: <1235618628.6568.67.camel@jaspav.missionsit.net.missionsit.net>
John A. Sullivan III wrote:
> On Wed, 2009-02-25 at 22:04 -0500, Konrad Rzeszutek wrote:
>> On Wed, Feb 25, 2009 at 09:07:44PM -0500, John A. Sullivan III wrote:
>>> Hello, all. I am running on kernel 2.6.27 on CentOS 5.2 with VServer
>>> and device-mapper-multipath-0.4.7-17.el5. I have a custom
>>> mpath_prio_ssi script which takes the device name (e.g., sdaa), pulls
>>> out the path from /etc/disk/by-path and then echos a priority based upon
>>> a lookup table. It works perfectly fine from the command line.
>>> multipath -ll shows the priorities assigned perfectly and exactly the
>>> right paths are active.
>>>
>>> However, when I start multipathd, it all goes down the tubes. The paths
>>> disappear and /var/log/messages is filled with:
>>> Feb 25 20:50:17 vd01 multipathd: error calling out /usr/local/sbin/mpath_prio_ssi sdh
>> Keep in mind that the environment you have when multipathd calls is quite
>> limited. I believe there is no PATH set, nor any other "normal" values.
>>
>> Make sure your code uses absolute paths. So "/bin/grep" ,"/bin/cut", etc..
> <snip>
> Thank you. I was enthusiastic that might have been the problem, but
> alas not. Even with absolute pathnames and setting the PATH variable, it
> still gives the same error. In fact, I should have mentioned, I created
> a bogus file with the same pathname which did nothing but "echo hello"
> and it gave the same error calling out error. What next? - John
Return an explicit exit code. It might be that eg 'cut' returns a non-zero
value, which then would interpreted as a failure.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
next prev parent reply other threads:[~2009-02-26 7:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 2:07 multipathd segfault and error calling out John A. Sullivan III
2009-02-26 3:04 ` Konrad Rzeszutek
2009-02-26 3:23 ` John A. Sullivan III
2009-02-26 5:14 ` John A. Sullivan III
2009-02-26 5:30 ` John A. Sullivan III
2009-02-26 7:16 ` Hannes Reinecke [this message]
2009-02-26 9:40 ` Bryn M. Reeves
2009-02-26 13:33 ` John A. Sullivan III
2009-02-27 3:06 ` John A. Sullivan III
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49A641CB.30008@suse.de \
--to=hare@suse.de \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.