<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Jonathan Stanton wrote:<br>
<blockquote type="cite" cite="mid20030612152813.A4564@cnds.jhu.edu">
  <pre wrap="">I'm not positive why this is occuring, but if you don't turn on the
logging (the -l y flag) does the problem still occur?</pre>
</blockquote>
No, it doesn't -- so I guess I'll just do that.&nbsp; As you said, it
doesn't seem to be something I need, I just cut-and-pasted from
Postgres-R instructions (should have known better?).<br>
<br>
Thanks,<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  Andrew<br>
<br>
<blockquote type="cite" cite="mid20030612152813.A4564@cnds.jhu.edu">
  <pre wrap="">The logging enabled by the -l flag is probably not very useful to anyone
besides the developers or for debugging very unusual problems. The main
logging most people use is controlled by the "EventLogFile"
and "DebugFlags" declarations in the config file.  

Jonathan

On Wed, Jun 11, 2003 at 05:35:51PM -0400, Andrew Biagioni wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">This is my first encounter with Spread;  I'm trying to install it to run 
Postgres-R on top of it.

I installed Spread from source (3.17.0) on RH Linux 7.3 as per 
instructions;  I then customized a spread.conf file which I put in /etc/ 
(BTW, the network config. instructions are very good), as follows:

        Spread_Segment  127.0.0.255:9203 {
                localhost               127.0.0.1
        }

        DebugFlags = { ALL }

        EventLogFile = /var/log/spread.log

        EventTimeStamp = "[%a %d %b %Y %<a class="moz-txt-link-freetext" href="H:%M:%S">H:%M:%S</a>]"

        Spread_Segment 192.168.1.255:9203 {
                sync1   192.168.1.71
                sync4   192.168.1.82
        }

When I start spread ( spread -c /etc/spread.conf -l y &amp; ), it dies after 
a few seconds with the message:

        Log_alive: error (No such file or directory) could not \
        open file localhost
        Exit caused by Alarm(EXIT)

I also tried running with the sample.spread.conf file unchanged as 
spread.conf;  it dies very quickly.  The whole log file (after the 
credits/comments) is:

        ip_init: IP access control file not found.
        If you are using IP based access controls, please \
        make sure the file exists.
        Conf_init: using file: /etc/spread.conf
        Successfully configured Segment 0 [127.0.0.255:4803] \
        with 1 procs:
                           localhost: 127.0.0.1
        Finished configuration file.
        Conf_init: My name: localhost, id: 127.0.0.1, port: \
        4803
        Spread: setugid and chroot successeful
        Membership id is ( 2130706433, 1055356088)
        --------------------
        Configuration at localhost is:
        Num Segments 1
                1       127.0.0.255       4803
                        localhost               127.0.0.1
        ====================
        Log_alive: error (No such file or directory) could not \
        open file localhost
        Exit caused by Alarm(EXIT)

I know a file called "localhost" is created in the location from which I 
am running spread with owner root, and three lines:

        B    1055358658
        M    1055358665    1055358665           0 &gt;   0
        A    1055358665           0

I changed the file's ownership to user "spread", access 666, but the 
error still persists.

I went through all the docs. I could find, but to no avail.  Any 
suggestions?

Thanks,

                Andrew



_______________________________________________
Spread-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spread-users@lists.spread.org">Spread-users@lists.spread.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spread.org/mailman/listinfo/spread-users">http://lists.spread.org/mailman/listinfo/spread-users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>