Item11474: MongoDB system doc incorrect advice for running rest script
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
When I try to update a web from the commandline, this is all I get:
$ sudo -u apache bin/./rest /MongoDBPlugin/update -updateweb Main
Can't locate bin/./setlib.cfg in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at bin/./rest line 22.
at bin/./rest line 22
main::BEGIN() called at bin/./setlib.cfg line 25
eval {...} called at bin/./setlib.cfg line 25
BEGIN failed--compilation aborted at bin/./rest line 25.
at bin/./rest line 25
I found some stuff floating around t.o about symlinking to setlib.cfg from somewhere under your default perl @INC path, but that didn't help. I'm running under a pretty vanilla RHEL 6.2 install, using the latest trunk, and the gen10 mongo packages.
--
AaronFuleki - 25 Jan 2012
My fault; that doc is wrong now - written against a buggy version of trunk, I think.
--
PaulHarvey - 25 Jan 2012
Just changing into the bin directory works fine, as you suggested in IRC.
--
AaronFuleki - 25 Jan 2012
Thanks Aaron! Fixed & closing.
--
PaulHarvey - 15 Mar 2012