<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Whyroc</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Whyroc"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Whyroc"/>
		<updated>2026-09-06T14:05:47Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/User:Whyroc</id>
		<title>User:Whyroc</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Whyroc"/>
				<updated>2008-04-01T16:27:59Z</updated>
		
		<summary type="html">&lt;p&gt;Whyroc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi OpenSim enthusiasts!&lt;br /&gt;
&lt;br /&gt;
I think OpenSim rocks! I hope to contribute some helpful information to this Wiki.&lt;br /&gt;
&lt;br /&gt;
Check out my site about OpenSim and other stuff at www.in2orbit.net&lt;br /&gt;
&lt;br /&gt;
-w&lt;/div&gt;</summary>
		<author><name>Whyroc</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Whyroc</id>
		<title>User:Whyroc</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Whyroc"/>
				<updated>2008-04-01T16:14:23Z</updated>
		
		<summary type="html">&lt;p&gt;Whyroc: My user page - Hi!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi OpenSim enthusiasts!&lt;br /&gt;
&lt;br /&gt;
I think OpenSim rocks! I hope to contribute some helpful information to this Wiki.&lt;br /&gt;
&lt;br /&gt;
-w&lt;/div&gt;</summary>
		<author><name>Whyroc</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Whyroc</id>
		<title>User:Whyroc</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Whyroc"/>
				<updated>2008-03-16T15:54:33Z</updated>
		
		<summary type="html">&lt;p&gt;Whyroc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Startup script for OpenSim Grid ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hopefully someone can use this.. works for me! &lt;br /&gt;
&lt;br /&gt;
It opens and closes servers or attaches to screen sessions.&lt;br /&gt;
&lt;br /&gt;
based on: http://gentoo-wiki.com/TIP_Using_screen&lt;br /&gt;
&lt;br /&gt;
I’m using MySql and a local grid setup. &lt;br /&gt;
&lt;br /&gt;
To use this script:&lt;br /&gt;
&lt;br /&gt;
copy this text and paste it into a new file on your server with a .sh extension, ie ’sess.sh’&lt;br /&gt;
&lt;br /&gt;
enter ‘./sess.sh’ at the command line once to start all the servers, it may take a minute to return to the command line&lt;br /&gt;
&lt;br /&gt;
enter ‘./sess.sh’ again (or hit the up arrow key) to either attach to one of the servers or to close all servers&lt;br /&gt;
&lt;br /&gt;
to attach to a server, enter its number or name&lt;br /&gt;
&lt;br /&gt;
to close all servers hit any other key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# filters the screen -ls output to show the sesssions&lt;br /&gt;
sessions=`screen -ls | sed -ne 's/[[:space:]]//' -ne 's/((Attached)|(Detached))// p'`&lt;br /&gt;
res=`echo &amp;quot;$sessions&amp;quot; | wc -w`&lt;br /&gt;
&lt;br /&gt;
if [[ &amp;quot;$res&amp;quot; == &amp;quot;0&amp;quot; ]]&lt;br /&gt;
then&lt;br /&gt;
echo &amp;quot;  No servers detected starting Grid...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/opensim2/bin&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S user -d -m  mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S grid  -d -m mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S asset  -d -m mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S inv  -d -m mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S sim  -d -m mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo ''&lt;br /&gt;
echo &amp;quot;  CURRENT SESSIONS  - enter session number to connect, any other key will stop servers&amp;quot;&lt;br /&gt;
echo &amp;quot;  ------------------------&amp;quot;&lt;br /&gt;
#screen -ls | sed -ne 's/[[:space:]]//' -ne 's/((Attached)|(Detached))// p' | cat -n&lt;br /&gt;
echo &amp;quot;$sessions&amp;quot; | cat -n&lt;br /&gt;
echo &amp;quot;  ------------------------&amp;quot;&lt;br /&gt;
echo ''&lt;br /&gt;
&lt;br /&gt;
#if first argument is not specified, script will ask for number of screen&lt;br /&gt;
&lt;br /&gt;
if [ -z $1 ]&lt;br /&gt;
then&lt;br /&gt;
echo -n &amp;quot;  Reattach to session: &amp;quot;&lt;br /&gt;
read session&lt;br /&gt;
else&lt;br /&gt;
session=$1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
#attach to specified session&lt;br /&gt;
linenum=0&lt;br /&gt;
name=`screen -ls | sed -ne 's/[[:space:]]//' -ne 's/((Attached)|(Detached))// p' |&lt;br /&gt;
while read line&lt;br /&gt;
do&lt;br /&gt;
let &amp;quot;linenum += 1&amp;quot;&lt;br /&gt;
if [[ &amp;quot;$linenum&amp;quot; -eq &amp;quot;$session&amp;quot; ]]&lt;br /&gt;
then&lt;br /&gt;
echo $line&lt;br /&gt;
break&lt;br /&gt;
fi&lt;br /&gt;
done`&lt;br /&gt;
&lt;br /&gt;
if [[ &amp;quot;$name&amp;quot; != &amp;quot;&amp;quot; ]]&lt;br /&gt;
then&lt;br /&gt;
screen -d -r &amp;quot;$name&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
echo &amp;quot;  Could not reattach to '$session' shutting down&amp;quot;&lt;br /&gt;
&lt;br /&gt;
screen -S sim -r -m  -X quit&lt;br /&gt;
screen -S inv -r -m  -X quit&lt;br /&gt;
screen -S asset -r -m  -X quit&lt;br /&gt;
screen -S grid -r -m  -X quit&lt;br /&gt;
screen -S user -r -m  -X quit&lt;br /&gt;
&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Whyroc</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Whyroc</id>
		<title>User:Whyroc</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Whyroc"/>
				<updated>2008-03-16T15:50:04Z</updated>
		
		<summary type="html">&lt;p&gt;Whyroc: New page: Hopefully someone can use this.. works for me!  based on: http://gentoo-wiki.com/TIP_Using_screen  I’m using MySql and a local grid setup. To use this script:  copy this text and paste i...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hopefully someone can use this.. works for me!&lt;br /&gt;
&lt;br /&gt;
based on: http://gentoo-wiki.com/TIP_Using_screen&lt;br /&gt;
&lt;br /&gt;
I’m using MySql and a local grid setup. To use this script:&lt;br /&gt;
&lt;br /&gt;
copy this text and paste it into a new file on your server with a .sh extension, ie ’sess.sh’&lt;br /&gt;
&lt;br /&gt;
enter ‘./sess.sh’ at the command line once to start all the servers, it may take a minute to return to the command line&lt;br /&gt;
&lt;br /&gt;
enter ‘./sess.sh’ again (or hit the up arrow key) to either attach to one of the servers or to close all servers&lt;br /&gt;
&lt;br /&gt;
to attach to a server, enter its number or name&lt;br /&gt;
&lt;br /&gt;
to close all servers hit any other key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# filters the screen -ls output to show the sesssions&lt;br /&gt;
sessions=`screen -ls | sed -ne 's/[[:space:]]//' -ne 's/((Attached)|(Detached))// p'`&lt;br /&gt;
res=`echo &amp;quot;$sessions&amp;quot; | wc -w`&lt;br /&gt;
&lt;br /&gt;
if [[ &amp;quot;$res&amp;quot; == &amp;quot;0&amp;quot; ]]&lt;br /&gt;
then&lt;br /&gt;
echo &amp;quot;  No servers detected starting Grid...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/opensim2/bin&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S user -d -m  mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S grid  -d -m mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S asset  -d -m mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S inv  -d -m mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
screen -S sim  -d -m mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo ''&lt;br /&gt;
echo &amp;quot;  CURRENT SESSIONS  - enter session number to connect, any other key will stop servers&amp;quot;&lt;br /&gt;
echo &amp;quot;  ------------------------&amp;quot;&lt;br /&gt;
#screen -ls | sed -ne 's/[[:space:]]//' -ne 's/((Attached)|(Detached))// p' | cat -n&lt;br /&gt;
echo &amp;quot;$sessions&amp;quot; | cat -n&lt;br /&gt;
echo &amp;quot;  ------------------------&amp;quot;&lt;br /&gt;
echo ''&lt;br /&gt;
&lt;br /&gt;
#if first argument is not specified, script will ask for number of screen&lt;br /&gt;
&lt;br /&gt;
if [ -z $1 ]&lt;br /&gt;
then&lt;br /&gt;
echo -n &amp;quot;  Reattach to session: &amp;quot;&lt;br /&gt;
read session&lt;br /&gt;
else&lt;br /&gt;
session=$1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
#attach to specified session&lt;br /&gt;
linenum=0&lt;br /&gt;
name=`screen -ls | sed -ne 's/[[:space:]]//' -ne 's/((Attached)|(Detached))// p' |&lt;br /&gt;
while read line&lt;br /&gt;
do&lt;br /&gt;
let &amp;quot;linenum += 1&amp;quot;&lt;br /&gt;
if [[ &amp;quot;$linenum&amp;quot; -eq &amp;quot;$session&amp;quot; ]]&lt;br /&gt;
then&lt;br /&gt;
echo $line&lt;br /&gt;
break&lt;br /&gt;
fi&lt;br /&gt;
done`&lt;br /&gt;
&lt;br /&gt;
if [[ &amp;quot;$name&amp;quot; != &amp;quot;&amp;quot; ]]&lt;br /&gt;
then&lt;br /&gt;
screen -d -r &amp;quot;$name&amp;quot;&lt;br /&gt;
else&lt;br /&gt;
echo &amp;quot;  Could not reattach to '$session' shutting down&amp;quot;&lt;br /&gt;
&lt;br /&gt;
screen -S sim -r -m  -X quit&lt;br /&gt;
screen -S inv -r -m  -X quit&lt;br /&gt;
screen -S asset -r -m  -X quit&lt;br /&gt;
screen -S grid -r -m  -X quit&lt;br /&gt;
screen -S user -r -m  -X quit&lt;br /&gt;
&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Whyroc</name></author>	</entry>

	</feed>