<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">So this is what I did:<br>
      <br>
      djk@dirk6:~/spider2$ git clone git://scm.dxcluster.org/scm/spider
      spider2<br>
      Cloning into 'spider2'...<br>
      remote: Counting objects: 19190, done.<br>
      remote: Compressing objects: 100% (6506/6506), done.<br>
      remote: Total 19190 (delta 15037), reused 16174 (delta 12580)<br>
      Receiving objects: 100% (19190/19190), 6.67 MiB | 2.63 MiB/s,
      done.<br>
      Resolving deltas: 100% (15037/15037), done.<br>
      Checking connectivity... done.<br>
      <br>
      djk@dirk6:~/spider2$ mkdir local local_cmd<br>
      djk@dirk6:~/spider2$ cp /spider/local/DXVars.pm local<br>
      djk@dirk6:~/spider2$ cd perl<br>
      <br>
      djk@dirk6:~/spider2/perl$ create_sysop.pl<br>
      djk@dirk6:~/spider2/perl$ cluster.pl<br>
      Use of uninitialized value $data in concatenation (.) or string at
      /spider/perl/DXUtil.pm line 492.<br>
      Use of uninitialized value $local_data in concatenation (.) or
      string at /spider/perl/DXLog.pm line 53.<br>
      Use of uninitialized value $data in concatenation (.) or string at
      /spider/perl/DXUtil.pm line 492.<br>
      Use of uninitialized value $data in concatenation (.) or string at
      /spider/perl/DXUtil.pm line 473.<br>
      Use of uninitialized value $local_data in string at
      /spider/perl/DXUtil.pm line 476.<br>
      Use of uninitialized value $cmd in concatenation (.) or string at
      /spider/perl/CmdAlias.pm line 32.<br>
      <br>
      Oops... (because my dev DXVars.pm is new style mojo compatible
      which doesn't work with an old style cluster.pl)<br>
      <br>
      djk@dirk6:~/spider2$ <font color="#cc0000">git checkout -b mojo
        origin/mojo                             < ***** N B!</font><br>
      Branch mojo set up to track remote branch mojo from origin.<br>
      Switched to a new branch 'mojo'<br>
      djk@dirk6:~/spider2$ cd perl<br>
      djk@dirk6:~/spider2/perl$ DXSPIDER_ROOT=~/spider2 cluster.pl<br>
      cluster<br>
      DXSpider V1.57, build 105 (git: dbc07bc[r]) started<br>
      Copyright (c) 1998-2017 Dirk Koopman G1TLH<br>
      loading prefixes ...<br>
      US Database not loaded<br>
      loading band data ...<br>
      loading user file system ...<br>
      GB7TLH missing, run the create_sysop.pl script and please RTFM at
      ./cluster.pl line 444.<br>
       at ./cluster.pl line 444.<br>
          main::setup_start() called at ./cluster.pl line 675<br>
      GB7TLH missing, run the create_sysop.pl script and please RTFM at
      ./cluster.pl line 444.<br>
      <br>
      djk@dirk6:~/spider2/perl$ create_sysop.pl<br>
      Do you wish to destroy your user database (THINK!!!) [y/N]: n<br>
      Do you wish to reset your cluster and sysop information? [y/N]: ^C<br>
      <br>
      Oops again... (something else I really need to cure, it should
      stop on a 'N', not carry until I ^C out).<br>
      <br>
      djk@dirk6:~/spider2/perl$ DXSPIDER_ROOT=~/spider2 create_sysop.pl<br>
      djk@dirk6:~/spider2/perl$ DXSPIDER_ROOT=~/spider2 cluster.pl<br>
      cluster<br>
      DXSpider V1.57, build 105 (git: dbc07bc[r]) started<br>
      Copyright (c) 1998-2017 Dirk Koopman G1TLH<br>
      loading prefixes ...<br>
      US Database not loaded<br>
      loading band data ...<br>
      loading user file system ...<br>
      starting listeners ...<br>
      Internal port: 127.0.0.1 27754 using IntMsg<br>
      load badwords: Ok<br>
      Starting Dupe system<br>
      Read in Messages<br>
      Read in Aliases<br>
      Start WWV<br>
      Start WCY<br>
      Starting DX Spot system<br>
      Start Protocol Engines ...<br>
      DXChannel GB7TLH created (1)<br>
      reading existing message headers ...<br>
      load badmsg: Ok<br>
      load forward: Ok<br>
      load swop: Ok<br>
      reading cron jobs ...<br>
      cron: reading /home/djk/spider2/cmd/crontab<br>
      cron: adding 1 0 * * 3 DXUser::export(localdata("user_asc"))<br>
      cron: adding 5 0 * * * DXDebug::dbgclean()<br>
      cron: adding 0 3 * * * Spot::daily()<br>
      reading database descriptors ...<br>
      doing local initialisation ...<br>
      orft we jolly well go ...<br>
      Before Web::start_node<br>
      ^CDXSpider Ending 10<br>
      DXSpider Ending 9<br>
      DXSpider Ending 8<br>
      DXSpider Ending 7<br>
      DXSpider Ending 6<br>
      DXSpider Ending 5<br>
      DXSpider Ending 4<br>
      DXSpider Ending 3<br>
      DXSpider Ending 2<br>
      DXSpider Ending 1<br>
      After Web::start_node<br>
      cluster<br>
      DXSpider V1.57, build 105 (git: dbc07bc[r]) ended<br>
      bye bye everyone - bye bye<br>
      <br>
      Hopefully, there is a clue there somewhere that will help. But,
      other than getting onto the mojo branch correctly and maybe doing
      an 'export DXSPIDER_ROOT=~/spider2' in the shell that you are
      testing with, I am not sure how I can help. Be aware that it is
      not adequate with git to simply do a 'git checkout -b mojo' - that
      does not do what you want. You need to use the syntax outlined in
      <font color="#cc0000">red</font> above.<br>
      <br>
      Dirk<br>
      <br>
      On 05/01/17 00:18, Dirk Koopman via Dxspider-support wrote:<br>
    </div>
    <blockquote
      cite="mid:d3c5c387-d06d-a130-7275-448860814a71@tobit.co.uk"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Struggling a bit here.<br>
        <br>
        On my system perl/SysVar.pm assigns $main::data. It is the next
        thing that is called after "use DXVars;" in cluster.pl - it is
        meant to stop people (having a yen for) fiddling with stuff they
        didn't ought to. That's why It took it out of DXVars.pm.<br>
        <br>
        I have upgraded at least four existing nodes without a hitch.<br>
        <br>
        When I wake tomorrow I will attempt to do what you are doing
        with a fresh install (which I have never actually done - they
        have all been upgrades) and I will see what happens.<br>
        <br>
        Dirk<br>
        <br>
        On 04/01/17 23:35, Gunnar Widell via Dxspider-support wrote:<br>
      </div>
      <blockquote
cite="mid:CAFLHHtfbySVkciyT4s+hGkGuqRCJXJQZJdj3_eATys=3A4oZyA@mail.gmail.com"
        type="cite">
        <div dir="ltr">
          <div>I think my mistakes were related to not doing the
            "export_users" mentioned in the UPGRADE.mojo.</div>
          <div>My primary dxspider is running under the sysop user, and
            the secondary (mojo) as sysop2.</div>
          <div>I was able to revert back to the master branch, by doing
            a git checkout master, and re editing the DXVars.pm.</div>
          <div>Then the node starts fine again. I might have messed up
            something anyway, and maybe next step will be start on a new
            fresh checkout.</div>
          <div><br>
          </div>
          <div>Going back to mojo, and starting with the command below,
            I see it complains about the $data and $local_data.</div>
          <div><br>
          </div>
          <div>sysop2@sthlm-sk3w:~$ env | grep DXS</div>
          <div>DXSPIDER_ROOT=/home/sysop2/spider</div>
          <div>sysop2@sthlm-sk3w:~$</div>
          <div>sysop2@sthlm-sk3w:~$</div>
          <div>sysop2@sthlm-sk3w:~$ DXSPIDER_ROOT=/home/sysop2/spider
            /usr/bin/perl -w /home/sysop2/spider/perl/<a
              moz-do-not-send="true" href="http://cluster.pl">cluster.pl</a></div>
          <div>Use of uninitialized value $data in concatenation (.) or
            string at /home/sysop2/spider/perl/DXUtil.pm line 492.</div>
          <div>Use of uninitialized value $local_data in concatenation
            (.) or string at /home/sysop2/spider/perl/DXLog.pm line 53.</div>
          <div>cluster</div>
          <div>DXSpider V1.57, build 103 (git: 812bf47[r]) started</div>
          <div>can't open /log/2017/01.dat No such file or directory at
            /home/sysop2/spider/perl/DXLog.pm line 153.</div>
          <div>        DXLog::write('DXLog=HASH(0x1b70990)',
            'Julian::Month=ARRAY(0x3a7acb8)',
            '1483571605^cluster^DXSpider V1.57, build 103 (git:
            812bf47[r]...') called at /home/sysop2/spider/perl/DXLog.pm
            line 177</div>
          <div>        DXLog::writeunix('DXLog=HASH(0x1b70990)',
            1483571605, '1483571605^cluster^DXSpider V1.57, build 103
            (git: 812bf47[r]...') called at
            /home/sysop2/spider/perl/DXLog.pm line 210</div>
          <div>        DXLog::Log('cluster', 'DXSpider V1.57, build 103
            (git: 812bf47[r]) started') called at
            /home/sysop2/spider/perl/DXLog.pm line 216</div>
          <div>        DXLog::LogDbg('cluster', 'DXSpider V1.57, build
            103 (git: 812bf47[r]) started') called at
            /home/sysop2/spider/perl/<a moz-do-not-send="true"
              href="http://cluster.pl">cluster.pl</a> line 423</div>
          <div>        main::setup_start() called at
            /home/sysop2/spider/perl/<a moz-do-not-send="true"
              href="http://cluster.pl">cluster.pl</a> line 675</div>
          <div> at /home/sysop2/spider/perl/DXLog.pm line 153.</div>
          <div>--------snip</div>
          <div><br>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dxspider-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dxspider-support@dxcluster.org">Dxspider-support@dxcluster.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support">http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>