<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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>
</body>
</html>