[Opensim-dev] Config file blues while running OpenSim from outside
James Hughes
jamesh at bluewallgroup.com
Thu Oct 16 18:10:29 UTC 2014
On Thu, 2014-10-16 at 16:21 +0000, Amit Goel wrote:
> So does that mean we should include a switch for OpenSimulator at command line that allows to define the opensim_basedir and then tries to pic everything from $opensim_basedir/bin/..... ? And shouldnt be config files outside bin directory anyway ?
>
> Regards
>
> -- amit
>
> ________________________________________
> From: opensim-dev-bounces at opensimulator.org [opensim-dev-bounces at opensimulator.org] on behalf of James Hughes [jamesh at bluewallgroup.com]
> Sent: Thursday, October 16, 2014 12:08 PM
> To: opensim-dev at opensimulator.org
> Subject: Re: [Opensim-dev] Config file blues while running OpenSim from outside
>
> On Thu, 2014-10-16 at 14:39 +0000, Amit Goel wrote:
> > Dear Developers
> >
> >
> > When I try to run OpenSim from outside bin folder it can not find
> > config files. Is this intentional or did I forget to configure
> > something.. I followed and rechecked instructions from wiki.
> >
> >
> > [agoel at euser3 opensim]$ mono bin/OpenSim.exe
> >
> > 10:33:23 - [OPENSIM MAIN]: configured log4net using default
> > OpenSim.exe.config
> >
> > 10:33:23 - [OPENSIM MAIN]: System Locale is en-US
> >
> > 10:33:23 - [OPENSIM MAIN]: Environment variable MONO_THREADS_PER_CPU
> > is unset
> >
> > 10:33:23 - [OPENSIM MAIN]: Runtime gave us 32 min worker threads and
> > 64 min IOCP threads
> >
> > 10:33:23 - [OPENSIM MAIN]: Runtime gave us 3200 max worker threads and
> > 128 max IOCP threads
> >
> > 10:33:23 - [OPENSIM MAIN]: Limiting max worker threads to 1000
> >
> > 10:33:23 - [OPENSIM MAIN]: Bumping up max IOCP threads to 1000
> >
> > 10:33:23 - [OPENSIM MAIN]: Threadpool set to 1000 max worker threads
> > and 1000 max IOCP threads
> >
> > 10:33:23 - [OPENSIM MAIN]: Environment is supported by OpenSimulator.
> >
> > 10:33:23 - Master ini
> > file /apps/support/agoel/apps/opensim/opensim-standalone/opensim/OpenSimDefaults.ini not found
> >
> >
> > Regards
> >
> >
> > -- amit
> >
>
> Run it inside the ./bin directory. You can use the -inifile or
> -inimaster switches on the command line, but I think it will not be able
> to find the included files.
>
> BlueWall
>
>
It's best just to run in the ./bin directory. We include other files
during the process and running outside the ./bin directory will fail
because the paths are relative to where OpenSim was started. Using th
e-inifile/-inimaster is for advanced configurations, and may not be very
useful to you at this point.
BlueWall
More information about the Opensim-dev
mailing list