- All
- Development
- Jumpstart
- OpenOffice/StarOffice
- Personal
- Solaris
- Sun
- vmware
- xVM Server
Sun Ray 4.1 on OpenSolaris 2008.11
This is installation and troubleshoot procedures to install Sun Ray 4.1 on Opensolaris 2008.11 on my latop. Excellent write up on this is available on the following blog entries:
My intent is to use this at home as well as demo VDI at customer presentations. As such, I did not want to load the Sun Ray server in a Virtual Box session which would unnecessarily slow the the applications.
The networking setup is the crucial as I did not disable the NWAM properly and made system config as utadm expects. Troubleshooting the mistakes I made here took many hours. DO THE FOLLOWING.
- Disable NWAM per Sun Sun Ray Wiki
- Make sure /etc/hostname.interfacename has name and not the IP address. Otherwise, the DHCP config will not be successful.
- /etc/nodename and /etc/hosts need to match /etc/hostname.interface. Otherwise, the DHCP config will not be successful.
- Use utadm -A
method and don't take default. Accept as is? ([Y]/N): n Do you want to offer IP addresses for this subnet? (Y/[N]): y
- If you are staring at 26D on the Sun Ray device, then apply this work around.
netservices open /opt/SUNWut/sbin/utrestart -c
- If you are staring at 26D on the Sun Ray device, then apply this work around.
Useful debugging commands:
utquery -d xx.xx.xx.xx dhtadm -P pntadm -L pntadm -P
Posted at 11:36PM Feb 26, 2009 by rslee in Development | Comments[2]
Google App Engine on OpenSolaris 2008.11
Google App Engine SDK does not list explicitly list Solaris as one of the platforms. Would it work? Unfortunately, the GAE does not seem to work. Defect 1082 was filed with Google.
- Download Google App Engine SDK (the Linux/Other Platforms version)
- Unpack the zip file. I put mine under ~bin directory
- Install Python 2.5 per GAE Requirement. Python 2.4 is standard install on OpenSolaris 2008.11.
pfexec pkg install SUNWPython25
Follow the Hello World instruction. Unfortunately, dev_appserver.py returns with below:
SystemError: frexp() result out of range ValueError: bad marshal data
- Install Python 2.5 from sunfreeware.com
This is somewhat complicated as sunfreeware.com does not resolve the dependencies for you. But the following is list of packages downloaded to make Python work with GAE on OpenSolaris work. (not 100%. see below. Don't think PIL will be required for testing for now). Use script to automate the install of all the packages.
bzip2 coreutils expat fontconfig freetype gcc gd glib gnuplot gtk+ jpeg libgcc libiconv libintl libpng mhash ncurses openssl pango python readline render renderproto tiff wxgtk xrender zlib
Finally, the GAE on OpenSolaris...
rslee@x61:~/bin/google_appengine$ ./dev_appserver.py ~/src/helloworld/ INFO 2009-02-22 02:09:41,730 appengine_rpc.py] Server: appengine.google.com INFO 2009-02-22 02:09:41,743 appcfg.py] Checking for updates to the SDK. INFO 2009-02-22 02:09:44,750 appcfg.py] Update check failed:
WARNING 2009-02-22 02:09:44,751 datastore_file_stub.py] Could not read datastore data from /tmp/dev_appserver.datastore WARNING 2009-02-22 02:09:44,751 datastore_file_stub.py] Could not read datastore data from /tmp/dev_appserver.datastore.history WARNING 2009-02-22 02:09:44,774 dev_appserver.py] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging INFO 2009-02-22 02:09:44,794 dev_appserver_main.py] Running application helloworld on port 8080: http://localhost:8080
Posted at 01:52PM Feb 19, 2009 by rslee in Development | Comments[0]