[stgt] Why tgtd cannot start?
ronnie sahlberg
ronniesahlberg at gmail.com
Sat May 4 16:55:26 CEST 2013
It already started when you ran sudo service tgt restart
To check if tgt is running you should use "sudo service tgt status"
not chkconfig.
Use the service command to start/stop/check the service at runtime.
chkconfig is something different. It is used to configure whether or
not the service will be automatically started when you reboot the
system.
So usually when you set up a service for the first time you
1, use "service ... start" to start it up.
2, use "chkconfig --on" to configure the system so that it will be
automatically restarted when you reboot
On Fri, May 3, 2013 at 11:41 PM, Wang Sen <kelvin.xupt at gmail.com> wrote:
> Hi all,
>
> I installed tgt under Ubuntu system by apt-get. But It seems that tgtd cannot
> start.
>
> hadoop at kelvin-desktop ~ $ sudo service tgt restart
> [sudo] password for hadoop:
> tgt stop/waiting
> tgt start/running
> hadoop at kelvin-desktop ~ $ chkconfig --list | grep tgt
> tgt 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> hadoop at kelvin-desktop ~ $ sudo service tgt start
> start: Job is already running: tgt
>
> Can anyone tell me the reason and how to fix it?
>
> Thanks.
> --
> 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
--
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