[Dxspider-support] Spider install in windows
Fulvio Galli
hb9dhg at ticino.com
Mon Jul 5 20:42:01 BST 2010
Hello community,
I'm following this nice windows setup to help a friend of mine (HB9TVW) to setup his own DXCluster.
I've enough good experience with Linux setup but I was astonished to see how can be difficult to setup a windows box (I'm joking hi hi).
BTW ... I've troubles with the DB_FILE installation and this is the error I got when I run perl create_sysop.pl procedure:
C:\Spider\perl>perl create_sysop.pl
Can't locate DB_File.pm in @INC (@INC contains: /spider/local /spider/perl C:/Pe
rl/site/lib C:/Perl/lib .) at /spider/perl/DXUser.pm line 12.
BEGIN failed--compilation aborted at /spider/perl/DXUser.pm line 12.
Compilation failed in require at create_sysop.pl line 23.
BEGIN failed--compilation aborted at create_sysop.pl line 23.
OS: Windows XP 32bit
this is the version of ActivePerl I installed:
http://downloads.activestate.com/ActivePerl/releases/5.10.1.1007/ActivePerl-5.10.1.1007-darwin-9.8.0-291969.dmg
Any help will be much appreciated.
Vy 73 de HB9DHG Fulvio
http://www.hb9dhg.ch
On Oct 3, 2007, at 9:53 PM, Henk Remijn PA5KT wrote:
> I just did a spider install in Windows.
> Took about one hour:
>
>
> Download the latest Activeperl version from
> http://www.activestate.com/Products/ActivePerl/Download.html.
> I downloaded v5.8.8.
> Install the package.
>
> Reboot.
>
> Open command prompt.
> Add packages:
>
> ppm install net-telnet
> ppm install timedate
> ppm install db_file
>
> Download the latest spider cvs from
> http://www.dxcluster.org/download/CVSlatest.tgz.
>
> Extract the software to C:\ (Dont use another directory, make it working
> first then you can always change things).
>
> Installation:
> My cluster call is PA5KT-5.
> My link node is PA5KT-15. (This node needs to know you are a spider
> cluster: set/spider pa5kt-5).
>
> From command prompt:
> C:\spider>mkdir local
>
> C:\spider>mkdir local_cmd
>
> C:\spider>copy c:\spider\perl\DXVars.pm.issue c:\spider\local\DXVars.pm
> 1 file(s) copied.
>
> C:\spider>cd local
> (I use write instead of notepad because write handles the cr/lf of the
> files properly).
> C:\spider\local>write DXVars.pm
>
> Change the following lines in the DXVars.pm:
> # this really does need to change for your system!!!!
> # use CAPITAL LETTERS
> $mycall = "PA5KT-5";
>
> # your name
> $myname = "Henk";
>
> # Your 'normal' callsign (in CAPTTAL LETTERS)
> $myalias = "PA5KT";
>
> Save the file.
>
> C:\spider\local>copy ..\perl\Listeners.pm .
> 1 file(s) copied.
>
> C:\spider\local>write Listeners.pm
> Remove the # in front of the line:
> ["0.0.0.0", 7300],
>
> Save the file.
>
> C:\spider\local>cd ..\perl
>
> C:\spider\perl>perl create_sysop.pl
>
> C:\spider\perl>perl cluster.pl
> cluster
> DXSpider V1.54, build 0.162 started
> Copyright (c) 1998-2007 Dirk Koopman G1TLH
> loading prefixes ...
> US Database not loaded
> loading band data ...
> loading user file system ...
> starting listeners ...
> Internal port: localhost 27754 using IntMsg
> External Port: 0.0.0.0 7300 using ExtMsg::login
> load badwords: Ok
> Starting Dupe system
> Read in Messages
> Read in Aliases
> Start WWV
> Start WCY
> Starting DX Spot system
> Start Protocol Engines ...
> DXChannel PA5KT-5 created (1)
> reading existing message headers ...
> load badmsg: Ok
> load forward: Ok
> load swop: Ok
> reading cron jobs ...
> cron: reading /spider/cmd/crontab
> cron: adding 1 0 * * 3 DXUser::export("$main::data/user_asc")
> cron: adding 5 0 * * * DXDebug::dbgclean()
> cron: adding 0 3 * * * Spot::daily()
> reading database descriptors ...
> doing local initialisation ...
> orft we jolly well go ...
> queue msg (0)
>
>
> We are running....
>
>
> Open another command prompt:
> Create a connect script:
>
> C:\>cd \spider\connect
>
> C:\spider\connect>copy con pa5kt-15
> timeout 60
> connect telnet www.remijn.net 7530
> 'login:' 'pa5kt-5'
> ^Z
> 1 file(s) copied.
>
> Make sure on pa5kt-15 your cluster node is configured as a spider node
> (set/spider pa5kt-5).
>
>
>
> telnet localhost 7300
>
> login: pa5kt
>
> Hello Henk, this is PA5KT-5 in Goes
> running DXSpider V1.54 build 0.162
> Cluster: 1 nodes, 1 local / 1 total users Max users 1 Uptime 0 00:01
> PA5KT de PA5KT-5 3-Oct-2007 1922Z dxspider >
> set/spider pa5kt-15
>
> PA5KT-15 created as DXSpider style Node
> PA5KT de PA5KT-5 3-Oct-2007 1924Z dxspider >
>
> PA5KT de PA5KT-5 3-Oct-2007 1935Z dxspider >
> connect pa5kt-15
>
> connection to PA5KT-15 started
> PA5KT de PA5KT-5 3-Oct-2007 1936Z dxspider >
> DX de F8DGY: 28009.0 LOOKING beam sa 1937Z
> DX de IS0PGF: 10105.6 9U0A 53 1937Z
>
> And voila, we have a running cluster.
>
> Some finetuning:
> Go to another command prompt.
> Edit the crontab so your connection is restored after connection is lost:
> cd c:\spider\local_cmd
>
> C:\spider\local_cmd>copy con crontab
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * start_connect('pa5kt-15')
> unless connected('pa5kt-15')
> ^Z
> 1 file(s) copied.
>
> C:\spider\local_cmd>
>
> In the telnet window disconnect the cluster
> disconnect pa5kt-15
>
> And then within 5 minutes the connection is automagically restored.
>
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
More information about the Dxspider-support
mailing list