Changeset 297 for trunk/docs/HOWTO-samhain-on-windows.html
- Timestamp:
- Oct 31, 2010, 2:19:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/HOWTO-samhain-on-windows.html
r18 r297 273 273 <li>Configure:<br /> 274 274 <tt>$ ./configure --enable-xml-log=yes --with-tmp-dir=/usr/local/tmp --with-config-file=/usr/local/etc/samhainrc --with-log-file=/usr/local/log/samhain.log --with-pid-file=/usr/local/var/samhain.pid --with-state-dir=/usr/local/var</tt><br /> 275 <div class="block"> 276 <p> 277 In my experience, the paths given in the 'configure' command should refer to 278 the Cygwin filesystem view, i.e. <tt>/cygdrive/c/...</tt>, otherwise 279 samhain may not work from a pure DOS shell, and may not run as a Windows 280 service. 281 </p> 282 </div> 275 283 </li> 276 284 <li>Make the binary:<br /> … … 406 414 407 415 <p> 416 [Rainer Wichmann] I had some problems at first getting it to run as a 417 Windows service. Some tips: 418 <ul> 419 <li> 420 Running samhain from a pure DOS shell (outside the Cygwin environment) 421 helps to identify problems, in particular if it refuses to start 422 as a Windows service. 423 </li> 424 <li> 425 I found it neccessary to put the <tt>cygwin1.dll</tt> DLL into the 426 same directory as the <tt>samhain.exe</tt> executable. Also, you 427 can use the command <tt>ldd ./samhain.exe</tt> to identify further 428 Cygwin-specific DLL that may be required (if any). 429 </li> 430 <li> 431 Also, I found it neccessary to use Cygwin-style paths 432 (<tt>/cygdrive/c/...</tt>) in the './configure ..' command when 433 compiling samhain. 434 </li> 435 </ul> 436 </p> 437 438 <p> 408 439 [Tip from Jorge Morgado] If you, like me, have a Windows server not part of any domain and (for 409 440 security reasons) you even turn off DNS resolution, you might probably get
Note:
See TracChangeset
for help on using the changeset viewer.