version 1.91, 2003/05/07 18:48:16
|
version 1.92, 2003/05/21 11:32:22
|
|
|
cimserver_exit(1); | cimserver_exit(1); |
#endif | #endif |
| |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
if (kill_rc != -1) | if (kill_rc != -1) |
{ | { |
cout << "Shutdown timeout expired. CIM Server process killed." << endl; | cout << "Shutdown timeout expired. CIM Server process killed." << endl; |
|
|
} | } |
#endif | #endif |
| |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
umask(S_IWGRP|S_IWOTH); | umask(S_IWGRP|S_IWOTH); |
| |
// | // |
|
|
| |
time_t last = 0; | time_t last = 0; |
| |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
// | // |
// create a file to indicate that the cimserver has started and | // create a file to indicate that the cimserver has started and |
// save the process id of the cimserver process in the file | // save the process id of the cimserver process in the file |
|
|
"$0 stopped.", PEGASUS_NAME); | "$0 stopped.", PEGASUS_NAME); |
#endif | #endif |
| |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) |
#if defined(PEGASUS_OS_HPUX) || defined(PEGASUS_PLATFORM_LINUX_GENERIC_GNU) || defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
// | // |
// close the file created at startup time to indicate that the | // close the file created at startup time to indicate that the |
// cimserver has terminated normally. | // cimserver has terminated normally. |