[stgt] tgtd startup problem
Albert Pauw
albert.pauw at gmail.com
Mon Mar 9 18:09:40 CET 2009
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.
FUJITA Tomonori wrote:
> On Sat, 07 Mar 2009 12:07:04 +0100
> Albert Pauw <albert.pauw at gmail.com> wrote:
>
>
>> Hi Tomasz,
>>
>> thanks for the hints. The netstat looks fine, no port 3260 is actually
>> in use.
>> As for the strace, I am not an expert on that. Maybe you can find a clue?
>>
>
> You use the the commit 49e93cd2f02bbbbaa18ca3498ba4580338ec5045 ?
>
> If so, does this patch work?
>
> diff --git a/usr/mgmt.c b/usr/mgmt.c
> index 47c8820..5332dc0 100644
> --- a/usr/mgmt.c
> +++ b/usr/mgmt.c
> @@ -560,6 +560,7 @@ int ipc_init(void)
> return -1;
> }
>
> + unlink(TGT_IPC_NAMESPACE);
> memset(&addr, 0, sizeof(addr));
> addr.sun_family = AF_LOCAL;
> strncpy(addr.sun_path, TGT_IPC_NAMESPACE, sizeof(addr.sun_path));
>
--
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