[Dxspider-support] Issues when trying the mojo branch

Dirk Koopman djk at tobit.co.uk
Thu Jan 5 00:18:04 GMT 2017


Struggling a bit here.

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.

I have upgraded at least four existing nodes without a hitch.

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.

Dirk

On 04/01/17 23:35, Gunnar Widell via Dxspider-support wrote:
> I think my mistakes were related to not doing the "export_users" 
> mentioned in the UPGRADE.mojo.
> My primary dxspider is running under the sysop user, and the secondary 
> (mojo) as sysop2.
> I was able to revert back to the master branch, by doing a git 
> checkout master, and re editing the DXVars.pm.
> 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.
>
> Going back to mojo, and starting with the command below, I see it 
> complains about the $data and $local_data.
>
> sysop2 at sthlm-sk3w:~$ env | grep DXS
> DXSPIDER_ROOT=/home/sysop2/spider
> sysop2 at sthlm-sk3w:~$
> sysop2 at sthlm-sk3w:~$
> sysop2 at sthlm-sk3w:~$ DXSPIDER_ROOT=/home/sysop2/spider /usr/bin/perl 
> -w /home/sysop2/spider/perl/cluster.pl <http://cluster.pl>
> Use of uninitialized value $data in concatenation (.) or string at 
> /home/sysop2/spider/perl/DXUtil.pm line 492.
> Use of uninitialized value $local_data in concatenation (.) or string 
> at /home/sysop2/spider/perl/DXLog.pm line 53.
> cluster
> DXSpider V1.57, build 103 (git: 812bf47[r]) started
> can't open /log/2017/01.dat No such file or directory at 
> /home/sysop2/spider/perl/DXLog.pm line 153.
>         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
>         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
>         DXLog::Log('cluster', 'DXSpider V1.57, build 103 (git: 
> 812bf47[r]) started') called at /home/sysop2/spider/perl/DXLog.pm line 216
>         DXLog::LogDbg('cluster', 'DXSpider V1.57, build 103 (git: 
> 812bf47[r]) started') called at /home/sysop2/spider/perl/cluster.pl 
> <http://cluster.pl> line 423
>         main::setup_start() called at 
> /home/sysop2/spider/perl/cluster.pl <http://cluster.pl> line 675
>  at /home/sysop2/spider/perl/DXLog.pm line 153.
> --------snip
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20170105/a0704503/attachment.html>


More information about the Dxspider-support mailing list