[stgt] tgtd startup problem

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Mar 11 02:53:11 CET 2009


On Wed, 11 Mar 2009 08:29:14 +0900
FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:

> Please don't drop the mailing list.
> 
> On Tue, 10 Mar 2009 20:45:40 +0100
> Albert Pauw <albert.pauw at gmail.com> wrote:
> 
> > FUJITA Tomonori wrote:
> > > On Mon, 09 Mar 2009 18:09:40 +0100
> > > Albert Pauw <albert.pauw at gmail.com> wrote:
> > >
> > >   
> > >> Hi Tomo,
> > >>
> > >> it does start up now. I checked that tgtd is running (two times, as it 
> > >> should).
> > >> And I can log into the target with open-iscsi fine.
> > >>
> > >> But tgt-admin -s gives the following response:
> > >>
> > >> [root at orange tgt]# tgt-admin -s
> > >> tgtadm: can't send the request to the tgt daemon, Transport endpoint is 
> > >> not connected
> > >> Command:
> > >>     tgtadm --op show --mode target
> > >> exited with code: 107.
> > >>     
> > >
> > > Wired, I can't reporduce this. The latest git with the patch works
> > > fine for me.
> > >
> > > I think that tgtd was dead on your box before executing tgt-admin.
> > >   
> > Unfortunately, for me it doesn't. Removed all tgt stuff, retrieved the 
> > git repository,
> > applied the patch, compiled and installed. No sigar, still the same message.
> > 
> > Is there anything I can do to get more details (debug data or anything)?
> 
> Don't use tgt-admin. Please use tgtadm step by step and find out what
> command breaks tgtd.

I've applied the patch that I sent you. So please the latest git
(97bc0141dc9d0280d51f7c1bf74995b7686775c9).

My hunch says that tgtd crashes for some reasons due to your first tgtadm
command.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list