Changeset 18 for trunk/docs/HOWTO-samhain-on-windows.html
- Timestamp:
- Jan 28, 2006, 9:07:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/HOWTO-samhain-on-windows.html
r1 r18 135 135 <b>Cygwin</b> POSIX emulation layer, and how to install it as a service. 136 136 These instructions have been written by Kris Dom, 137 who has tested this on WinXP Professional. 137 who has tested this on WinXP Professional, with additions by Geries Handal 138 and Jorge Morgado. 138 139 </p> 139 140 <div class="block"> … … 150 151 logging) because Interix does not provide some of the required functionality 151 152 to build the email module. This issue should be fixed as of samhain 152 version 2.0.7 (not tested).<br />[Based on information kindly provided by Geries Handal]. 153 version 2.0.7 (not tested).<br /> 154 [Based on information kindly provided by Geries Handal]. 153 155 </p> 154 156 </div> … … 192 194 </li> 193 195 </ul> 196 <div class="block"> 197 <p> 198 You don't need to download and install All packages. It is enough to keep 199 the Default and then add the following additional packages: 200 </p> 201 <p> 202 Category Devel -> gcc: C compiler upgrade helper<br/> 203 Category Devel -> make: The GNU version of the 'make' utility<br/> 204 Category Libs -> minires: A simple synchronous non caching stub resolver<br/> 205 </p> 206 <p> 207 When selecting these packages, Cygwin installer will automatically add 208 other packages based on their dependencies. 209 The package minires is only necessary for a minimal Cygwin installation 210 (below). [Kindly pointed out by Jorge Morgado]. 211 </p> 212 </div> 194 213 195 214 <h3>Cygwin installation</h3> … … 301 320 </li> 302 321 </ul> 322 </li> 323 <li> 324 Files needed from c:\Cygwin\bin to create the /etc/passwd and /etc/group files: 325 <ul> 326 <li> 327 mkpasswd.exe 328 </li> 329 <li> 330 mkgroup.exe 331 </li> 332 </ul> 333 <p> 334 To generate these files on a minimal Cygwin installation execute - on a 335 Windows Command Prompt: 336 </p><p> 337 <tt>mkdir c:\etc</tt><br /> 338 <tt>path\to\mkpasswd.exe -l > c:\etc\passwd</tt><br /> 339 <tt>path\to\mkgroup.exe -l > c:\etc\group</tt> 340 </p><p> 341 IMPORTANT NOTE: You should re-create these two files, each time the 342 Windows users and groups accounts database changes. Failing to do this 343 might generate critical log messages (depending on your configuration 344 file). 345 </p> 303 346 </li> 304 347 <li> … … 331 374 </li> 332 375 <li>Under the newly created "Parameters" key, add a new String 333 value called "Application s".<br />334 The value for "Application s"376 value called "Application".<br /> 377 The value for "Application" 335 378 should be "c:\usr\local\sbin\samhain.exe".</li> 336 379 </ul> … … 348 391 </li> 349 392 </ul> 393 <p> 394 Also see <a href="http://support.microsoft.com/kb/q137890/">http://support.microsoft.com/kb/q137890/</a> for information regarding the creation of a 395 user-defined service. 396 </p> 350 397 <p> 351 398 Note: the first time I tried to install samhain as an NT service, I first … … 354 401 Samhain as a service. 355 402 </p> 403 404 405 <h2>Troubleshooting samhain</h2> 406 407 <p> 408 [Tip from Jorge Morgado] If you, like me, have a Windows server not part of any domain and (for 409 security reasons) you even turn off DNS resolution, you might probably get 410 the following error when initializing the baseline database: 411 </p> 412 <pre> 413 --------- sh_unix.c --- 1487 --------- 414 According to uname, your nodename is yourcomputername, but your resolver 415 library cannot resolve this nodename to a FQDN. 416 Rather, it resolves this to yourcomputername. 417 For more information, see the entry about self-resolving under 418 'Most frequently' in the FAQ that you will find in the docs/ subdirectory 419 ---------------------------------------------- 420 </pre> 421 <p> 422 To fix this problem open the Registry Editor and create the following 423 entries under the key 424 HKLM\System\CurrentControlSet\Services\Tcpip\Parameters 425 </p> 426 <p> 427 <tt> 428 Name: Domain<br/> 429 Type: REG_SZ<br/> 430 Data: your.domain.name 431 </tt> 432 </p><p> 433 <tt> 434 Name: NV Domain<br/> 435 Type: REG_SZ<br/> 436 Data: your.domain.name 437 </tt> 438 </p><p> 439 The NV Domain registry value contains the computer's primary DNS suffix 440 while the Domain registry value contains the computer's primary DNS 441 domain. This will make the warning message go away. 442 </p> 356 443 </div> 357 444 </body>
Note:
See TracChangeset
for help on using the changeset viewer.