Subject | start/stop service cross platform, cross version |
---|---|
Author | Petr Jakes |
Post date | 2007-10-15T07:14:24Z |
Hi group,
we are running different versions of FB (1.0, 1.5, 2.0) on different
OS (XP, W2k server, W2003 server, different distros of Linux...)
I am looking to find a simple way how write ONE universal script
(Python) to stop/start Firebird service. What is the most confusing
for me now is how to stop/start different FB version on different
Windows versions.
Till now, I know following:
# --- Firebird 1 ---
NET STOP "InterBaseGuardian"
NET STOP "SGuardian"
# --- Firebird 1.5 ---
NET STOP "FirebirdGuardianDefaultInstance"
# --- Firebird 2.0 on XP ---
NET STOP "Firebird Server - DefaultInstance"
But: are these all possible commands for windows all Windows versions?
And what about the Linuxes? Is "service firebird stop" OK?
(it is not a problem, run them all within one script, commands which
are not available are just thrown away)
Thanks for you comments.
Petr JakeĀ
we are running different versions of FB (1.0, 1.5, 2.0) on different
OS (XP, W2k server, W2003 server, different distros of Linux...)
I am looking to find a simple way how write ONE universal script
(Python) to stop/start Firebird service. What is the most confusing
for me now is how to stop/start different FB version on different
Windows versions.
Till now, I know following:
# --- Firebird 1 ---
NET STOP "InterBaseGuardian"
NET STOP "SGuardian"
# --- Firebird 1.5 ---
NET STOP "FirebirdGuardianDefaultInstance"
# --- Firebird 2.0 on XP ---
NET STOP "Firebird Server - DefaultInstance"
But: are these all possible commands for windows all Windows versions?
And what about the Linuxes? Is "service firebird stop" OK?
(it is not a problem, run them all within one script, commands which
are not available are just thrown away)
Thanks for you comments.
Petr JakeĀ