[Xitami] Re: remote startup
Boyan Brezinsky
xitami@lists.xitami.org
Fri, 8 Apr 2005 08:45:58 +0300
> From: "Steven L. Haas" <slhaas@gmail.com>
> Subject: [Xitami] remote startup
>
> Is there a way to restart or remotely start xitami on an
> XP machine? If
> xitami crashes when Im away for several days I'd like to
> be able to
> either remotely start it or have something that catches
> the crash and
> automatically restarts it. I have the setting selected
> to silently
> recover from crashes, but that seems to do nothing for
> me.
>
Presuming you run Xitami as a service. Look in the Services
MMC snap-in. For each service there is a Recovery tab,
where you can tell the OS what to do when the service fails
one way or another.
In addition, there is the sc command-line tool that comes
with XP and was part of the resource kits of the earlier
NT-based Windows versions. The name comes from "service
control", I believe. The tool lets you manage services
remotely. However, since it works via Windows networking
(as a general term) and probably RDP as well, it is not
well suited for running it outside a firewall.
And there are multiple remote desktop utilities, starting
with Windows XP built-in remote desktop. There is a free
remote-desktop client for earlier versions of Windows, like
W2K - you'll just have to dig it out of Microsoft's site.
A final not-so-elegant approach. Use pslist from the free
pstools package at www.sysinternals.com. Schedule a job
that runs every now and then and executes "pslist xitami".
If the process is running, this will show information on
it. If it is not running, pslist will say "process xitami
was not found on <computer name>". Just parse the output
and restart Xitami, if needs be.
--------------------------------------
=D2=EE=E2=E0 =EF=E8=F1=EC=EE =E5 =E8=E7=EF=F0=E0=F2=E5=ED=EE =EE=F2 www.mai=
l.bg
=C1=E5=E7=EF=EB=E0=F2=ED=E0=F2=E0 =EF=EE=F9=E0 =E2 mail.bg =EF=F0=E5=E4=EB=
=E0=E3=E0:
- =D1=E8=EB=ED=E0 =E7=E0=F9=E8=F2=E0 =F1=F0=E5=F9=F3 =D1=CF=C0=CC/=F0=E5=EA=
=EB=E0=EC=ED=E8 =EF=E8=F1=EC=E0
- 30MB =E1=E5=E7=EF=EB=E0=F2=ED=EE (SMS =EE=F2 2=EB=E2=3D3GB!)
- 30MB =EC=E0=EA=F1. =F0=E0=E7=EC=E5=F0 =ED=E0 =EF=F0=E8=EA=E0=F7=E5=ED =F4=
=E0=E9=EB
- SMS =E7=E0 =ED=EE=E2=EE =EF=E8=F1=EC=EE (=E2=F1=E8=F7=EA=E8 =EE=EF=E5=F0=
=E0=F2=EE=F0=E8)
- WAP =E4=EE=F1=F2=FA=EF =EE=F2 GSM =E8 =E1=E5=E7 =EA=EE=EC=EF=FE=F2=FA=F0
- =C1=E5=E7=EF=EB=E0=F2=E5=ED POP3 =E4=EE=F1=F2=FA=EF
- 24 =F7=E0=F1=EE=E2 =F2=E5=EB=E5=F4=EE=ED =E7=E0 =EF=EE=EC=EE=F9/=EF=EE=E4=
=E4=F0=FA=E6=EA=E0
______________________________________
=C1=C5=C7 =C8=C7=CB=C8=D8=CD=C8 =C2=DA=CF=D0=CE=D1=C8 =D0=C5=C3=C8=D1=D2=D0=
=C8=D0=C0=C9=D2=C5 =D1=C2=CE=C9
=C1=C5=C7=CF=CB=C0=D2=C5=CD =C0=C4=D0=C5=D1 =CD=C0 http://www.mail.bg