Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Init.d services hanging

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jason Flatt <jason AT flattfamily.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Init.d services hanging
  • Date: Wed, 3 Sep 2003 23:45:04 -0700

On Wednesday 03 September 2003 10:46 pm, Robin wrote:
> A few days ago I did the init.d update. By and large it was painless,
> however, I now have the problem that if I attempt to start a service,
> the script hangs, and I need to ctrl-c before it will proceed (and work
> fine)
>

Which service, and how are you starting it?

>
> If this problem is unknown, is there a way I can trace the script as it
> runs and pin it down? (I had a look, but the new script method is very
> different from what I'm used to, but looks good :)
>
> If it makes a difference, I haven't yet rebooted. Having init scripts
> work would be a good thing before I do that :)
>
> Something else, given it now isn't as simple to just to
> /etc/init.d/servicename start, are there plans for either a place where
> symlinks pointing to all the scripts will be, or something akin to
> RedHats 'service' command? If not, I might do that latter (it should be
> all of a couple of lines).

telinit is what you want. telinit run <script> [start|stop|restart|...]

You have to run it as root, and if you If you type teleinit with anything
invalid, like telinit help, you'll get the help screen.


--
Jason Flatt (jason @ flattfamily . com)
Father of five (http://www.flattfamily.com/)
Linux user (http://www.sourcemage.org/)
IRC Nick: Oadae Channels: #sourcemage, #lvlug Server: irc.freenode.net
PGP Key: E992213F - 0254 9DB7 BE0E 312D 8352 6E39 0700 FB95 E992 213F





Archive powered by MHonArc 2.6.24.

Top of Page