Item11474: MongoDB system doc incorrect advice for running rest script

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin
Branches: trunk
Reported By: AaronFuleki
Waiting For:
Last Change By: PaulHarvey
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
 

ItemTemplate edit

Summary MongoDB system doc incorrect advice for running rest script
ReportedBy AaronFuleki
Codebase trunk
SVN Range
AppliesTo Extension
Component MongoDBPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins MongoDBPlugin:5d350caf64a0
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches trunk
trunkCheckins MongoDBPlugin:5d350caf64a0
Release01x01Checkins
Topic revision: r6 - 15 Mar 2012, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy