Hi VCL team:
I try to use the block allocation function in VCL, however I always get
error message. It seem that I didn't properly set up XML RPC. The following
is message in log file. Thanks in advance.
2011-01-31 11:54:31|4201|utils.pm:check_blockrequest_time(1005)|block
request start time is within start window (95 minutes from now), returning
'start'
2011-01-31 11:54:31|4201|DataStructure.pm:_automethod(786)|data structure
updated: $self->blockrequest_data->{4}{MODE}
|4201| blockrequest_mode = start
2011-01-31 11:54:31|4201|vcld:main(440)|block request 4 'csc405' processing
set to 1
2011-01-31 11:54:31|4201|vcld:make_new_child(510)|loaded VCL::blockrequest
module
2011-01-31 11:54:31|4201|vcld:make_new_child(567)|current number of forked
kids: 1
2011-01-31 11:54:31|4211|vcld:make_new_child(583)|vcld environment variable
set to 0 for this process
2011-01-31 11:54:31|4211|blockrequest|Module.pm:new(134)|constructor called,
class=VCL::blockrequest
2011-01-31 11:54:31|4211|blockrequest|Module.pm:new(156)|VCL::blockrequest
object created
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:initialize(84)|obtained a
database handle for this state process, stored as $ENV{dbh}
2011-01-31
11:54:31|4211|blockrequest|utils.pm:rename_vcld_process(7221)|renamed
process to 'vcld 4:8 'csc405''
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:initialize(94)|returning 1
2011-01-31
11:54:31|4211|blockrequest|vcld:make_new_child(592)|VCL::blockrequest object
created and initialized
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:process(160)|blockrequest id: 4
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:process(161)|blockrequest mode:
start
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:process(162)|blockrequest image
id: 5
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:process(163)|blockrequest number
machines: 2
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:process(164)|blockrequest expire:
2011-01-31 23:59:59
2011-01-31 11:54:31|4211|blockrequest|blockrequest.pm:process(165)|blocktime
id: 8
2011-01-31 11:54:31|4211|blockrequest|blockrequest.pm:process(166)|blocktime
processed: 0
2011-01-31 11:54:31|4211|blockrequest|blockrequest.pm:process(167)|blocktime
start: 2011-01-31 13:30:00
2011-01-31 11:54:31|4211|blockrequest|blockrequest.pm:process(168)|owner
email: root@localhost
Use of uninitialized value $owner_affiliation_helpaddress in concatenation
(.)
or string at /usr/local/vcl/bin/../lib/VCL/blockrequest.pm line 169
(#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it
cannot
do this, so it also tells you what operation you used the undefined
value
in. Note, however, that perl optimizes your program and the operation
displayed in the warning may not necessarily appear literally in your
program. For example, "that $foo" is usually optimized into "that "
. $foo, and the warning will refer to the concatenation (.) operator,
even though there is no . in your program.
|4211|blockrequest| ---- WARNING ----
|4211|blockrequest| 2011-01-31
11:54:31|4211|blockrequest|vcld:warning_handler(637)|Use of uninitialized
value $owner_affiliation_helpaddress in concatenation (.) or string at
/usr/local/vcl/bin/../lib/VCL/blockrequest.pm line 169.
|4211|blockrequest| ( 0) utils.pm, notify (line: 630)
|4211|blockrequest| (-1) vcld, warning_handler (line: 637)
|4211|blockrequest| (-2) blockrequest.pm, process (line: 169)
|4211|blockrequest| (-3) vcld, make_new_child (line: 595)
|4211|blockrequest| (-4) vcld, main (line: 443)
2011-01-31 11:54:31|4211|blockrequest|blockrequest.pm:process(169)|help
address:
2011-01-31 11:54:31|4211|blockrequest|blockrequest.pm:process(174)|updated
process flag on blocktime_id= 8
2011-01-31
11:54:31|4211|blockrequest|blockrequest.pm:process(194)|processing
blocktime_id= 8 pass 1
2011-01-31
11:54:31|4211|blockrequest|utils.pm:xmlrpc_call(9172)|argument_string=
XMLRPCprocessBlockTime 8 1
Can't use string ("RPC::XML::Client::new: Missing l") as a HASH ref while
"strict refs" in use at /usr/local/vcl/bin/../lib/VCL/utils.pm line
9182 (#2)
(F) Only hard references are allowed by "strict refs". Symbolic
references are disallowed. See perlref.
Uncaught exception from user code:
Can't use string ("RPC::XML::Client::new: Missing l") as a HASH ref
while "strict refs" in use at /usr/local/vcl/bin/../lib/VCL/utils.pm line
9182.
at /usr/local/vcl/bin/../lib/VCL/utils.pm line 9182
VCL::utils::xmlrpc_call('XMLRPCprocessBlockTime', 8, 1) called at
/usr/local/vcl/bin/../lib/VCL/blockrequest.pm line 375
VCL::blockrequest::process_block_time(8) called at
/usr/local/vcl/bin/../lib/VCL/blockrequest.pm line 195
VCL::blockrequest::process('VCL::blockrequest=HASH(0x2294430)')
called at /usr/local/vcl/bin/vcld line 595
VCL::vcld::make_new_child('HASH(0x217aad8)') called at
/usr/local/vcl/bin/vcld line 443
VCL::vcld::main() called at /usr/local/vcl/bin/vcld line 98
2011-01-31 11:54:31|4211|blockrequest|State.pm:DESTROY(902)|destructor
called, ref($self)=VCL::blockrequest
2011-01-31 11:54:31|4211|blockrequest|State.pm:DESTROY(921)|number of
database handles state process created: 1
2011-01-31 11:54:31|4211|blockrequest|State.pm:DESTROY(930)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-01-31 11:54:31|4211|blockrequest|State.pm:DESTROY(932)|$ENV{dbh}:
database disconnect successful
2011-01-31
11:54:31|4211|blockrequest|State.pm:DESTROY(946)|VCL::blockrequest process
4211 exiting
2011-01-31 11:54:31|4201|vcld:REAPER(745)|VCL process exited for reservation
<unknown>, PID: 4211, signal: CHLD
Thanks,
Xianqing