10th Nov 2010
MacSimStick Needs Some Eyes!
As I have recently written, I’m working on getting a self contained environment together for running OpenSim and LAMP services on a Mac.
In other words, running a virtual world on your Mac off of a USB key.
So far, so good. But … I’m stuck!
I need some help in getting OpenSim and Mono configured. I’m running into a showstopper problem when a user logs in from a viewer. I’ve decided to put up a snapshot of what I have so that some experienced eyes can take a look at the problem.
The Pre-Alpha snapshot is about 240 meg, and you can get it right now.
The snapshot is a Mac disk image (a compressed sparse bundle). Download, uncompress, and mount. It should mount as /Volumes/MacSimStick. All of the main components are under /Volumes/MacSimStick/usr/local.
See the top level README for ports, passwords, layout, etc.
So what does work?
Apache, PHP, MySQL, and the Diva Wifi interface are all doing fine. There are some configuration tweaks to do, and lots of files and directories that can be removed. The goal right now is to get the end to end functionality sorted, and then we can go back and prune & tune. There is a simple minded shell script, Start.sh, at the top level. I expect that anyone toying around with this at this point is going to be in a terminal window, and is comfy with launching apache, mysql, opensim, etc from a command line.
What is the problem?
The problem seems to be something about how Mono deals with the network. I provided a full logging of the problem in /Volumes/MacSimStick/Logs/OpenSim.log. That file shows the full run of Configure.exe, followed by a session of OpenSim.exe.
Some suggested ways to attack this …
Use your own version of Mono against the diva distro in MacSimStick. If that works, then we know we have a problem specific to my install of Mono 2.8.
Did I miss anything in the Mono or OpenSim config files? (probably!)
Could the problem have something to do with virtual network interfaces (such as the one created by Parallels?)
Is the version of Mono just fine, but we find that it works with an older OpenSim distro?
For reference, my Mac is a 2006 Intel iMac running 10.6.4. I have tried the phoenix and imprudence viewers, and I get the same problem each time. At least that part is consistent.
What are the next goals?
Well, once we have something that functions much like the Windows USB counterpart, I will turn my attention to:
- Simple Startup and Shutdown
- Getting rid of excess files and directories
- Tuning of all config files
- Making use of the web server. Provide info on where to get viewers, a local wiki for the project, and be able to serve as a web gateway for objects in world that need it.
- Getting a good logo
Some more goals:
- Be completely self contained (not touch the local disk at all.. I do currently use a MySQL socket in the standard /tmp location)
- Allow for different mount points besides /Volumes/MacSimStick (am not sure if config files can take care of that for everything…)
- Make it easy to change ports and passwords
I think this is all doable. Although one part of me would love to hold off on snapshots until I have everything working end to end, it’s more important to know when to ask for help! That way, those of us on the Mac side can get going on this that much quicker.
Thanks for any help!
As I have recently written, I’m working on getting a self contained environment together for running OpenSim and LAMP services on a Mac.
In other words, running a virtual world on your Mac off of a USB key.
So far, so good. But … I’m stuck!
I need some help in getting OpenSim and Mono configured. I’m running into a showstopper problem when a user logs in from a viewer. I’ve decided to put up a snapshot of what I have so that some experienced eyes can take a look at the problem.
The Pre-Alpha snapshot is about 240 meg, and you can get it right now.
The snapshot is a Mac disk image (a compressed sparse bundle). Download, uncompress, and mount. It should mount as /Volumes/MacSimStick. All of the main components are under /Volumes/MacSimStick/usr/local.
See the top level README for ports, passwords, layout, etc.
So what does work?
Apache, PHP, MySQL, and the Diva Wifi interface are all doing fine. There are some configuration tweaks to do, and lots of files and directories that can be removed. The goal right now is to get the end to end functionality sorted, and then we can go back and prune & tune. There is a simple minded shell script, Start.sh, at the top level. I expect that anyone toying around with this at this point is going to be in a terminal window, and is comfy with launching apache, mysql, opensim, etc from a command line.
What is the problem?
The problem seems to be something about how Mono deals with the network. I provided a full logging of the problem in /Volumes/MacSimStick/Logs/OpenSim.log. That file shows the full run of Configure.exe, followed by a session of OpenSim.exe.
Some suggested ways to attack this …
Use your own version of Mono against the diva distro in MacSimStick. If that works, then we know we have a problem specific to my install of Mono 2.8.
Did I miss anything in the Mono or OpenSim config files? (probably!)
Could the problem have something to do with virtual network interfaces (such as the one created by Parallels?)
Is the version of Mono just fine, but we find that it works with an older OpenSim distro?
For reference, my Mac is a 2006 Intel iMac running 10.6.4. I have tried the phoenix and imprudence viewers, and I get the same problem each time. At least that part is consistent.
What are the next goals?
Well, once we have something that functions much like the Windows USB counterpart, I will turn my attention to:
- Simple Startup and Shutdown
- Getting rid of excess files and directories
- Tuning of all config files
- Making use of the web server. Provide info on where to get viewers, a local wiki for the project, and be able to serve as a web gateway for objects in world that need it.
- Getting a good logo
Some more goals:
- Be completely self contained (not touch the local disk at all.. I do currently use a MySQL socket in the standard /tmp location)
- Allow for different mount points besides /Volumes/MacSimStick (am not sure if config files can take care of that for everything…)
- Make it easy to change ports and passwords
I think this is all doable. Although one part of me would love to hold off on snapshots until I have everything working end to end, it’s more important to know when to ask for help! That way, those of us on the Mac side can get going on this that much quicker.
Thanks for any help!
Posted in LAMP, Mac, Tech, VirtualWorlds, opensim | 5 Comments »