Ignore:
Timestamp:
Oct 31, 2010, 2:19:32 PM (14 years ago)
Author:
katerina
Message:

Documentation update for 2.8.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/HOWTO-samhain-on-windows.html

    r18 r297  
    273273<li>Configure:<br />
    274274&nbsp; &nbsp;<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>
     277In my experience, the paths given in the 'configure' command should refer to
     278the Cygwin filesystem view, i.e. <tt>/cygdrive/c/...</tt>, otherwise
     279samhain may not work from a pure DOS shell, and may not run as a Windows
     280service.
     281</p>
     282</div>
    275283</li>
    276284<li>Make the binary:<br />
     
    406414
    407415<p>
     416[Rainer Wichmann] I had some problems at first getting it to run as a
     417Windows 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>
    408439[Tip from Jorge Morgado] If you, like me, have a Windows server not part of any domain and (for
    409440security reasons) you even turn off DNS resolution, you might probably get
Note: See TracChangeset for help on using the changeset viewer.