[H-GEN] debian box do solo restarts.

Nikolai Lusan nikolai at humbug.org.au
Wed May 23 08:17:24 EDT 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]



Mark Venz wrote:

> I have a debian box which (I'm guessing) tends to restart after periods of
> idleness.
No, it shouldn't restart after idleness, it shouldn't restart unless it
is power cycled or you tell it to.

> If I'm logged in and am away for a length of time (over two hours) I come
> back and I'll be looged out.
Sounds like you are running something like logoutd or some piece of
software that will kill your session (shell or otherwise) after a
configurable length of idle time.

> > What do I have to check to find out what's happening? (if I'm not just
> losing my mind)
Try running ps to have a look at what programs are running and stopping
anything that looks suspect.

> A second question:
> How can I turn services I don't need off.
> Things like the printer deamon, apache ... and what ever else is happening
> behind the scenes I don't need.
remove the symlinks that start things within the init structure
(/etc/rc?.d) to stop them starting at boot time, or use update-rc.d to
do it. To stop them without a reboot run the scripts in /etc/init.d with
the stop option (i.e. /etc/init.d/apache stop).


Nikolai

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list