|
|
|
1 |
Short FAQ: |
Short FAQ: |
2 |
---------- |
---------- |
3 |
|
|
4 |
|
@version \$Id$ |
5 |
|
|
6 |
|
|
7 |
1. Q: Monit watches processes by a pid file, so if a program crashes |
1. Q: Monit watches processes by a pid file, so if a program crashes |
8 |
without removing its pid file, then monit won't recognize it, |
without removing its pid file, then monit won't recognize it, |
127 |
|
|
128 |
telinit q |
telinit q |
129 |
|
|
130 |
|
8. Q: Why is monit not able to gather process data of 64bit applications |
131 |
|
on Solaris? |
132 |
|
|
133 |
|
A: Most probably monit was compiled as a 32bit application. In 32bit |
134 |
|
mode programs are not able to read /proc data of 64bit applications. |
135 |
|
Thus, you have to compile it with 64bit support. You do need a gcc |
136 |
|
version at least greater or equal 3.0. We have successfully tested |
137 |
|
it with version 3.1. Do the following, |
138 |
|
|
139 |
|
* "configure" monit as usual |
140 |
|
* "make" it the option "CFLAGS='-m64 -mcpu=v9'". |
141 |
|
|
142 |
|
Beware, in order to successfully link a 64bit application you |
143 |
|
need all libraries (e.g. libflex, libssl and libcrypto) as 64bit |
144 |
|
versions. Thus, it might be necessary to set the library path |
145 |
|
pointing to your 64 libraries by adding their location to make, |
146 |
|
e.g. "LINKFLAGS='-L/usr/local/lib/sparcv9'". This might apply |
147 |
|
to other unices, too. |
148 |
|
|
149 |
|
|
150 |
HOW-TO debug: |
HOW-TO debug: |
151 |
|
|