Difference between revisions of "Linux brand zone"

From KeegansWiki
Jump to navigation Jump to search
m
 
Line 29: Line 29:
 
root@linux's password:
 
root@linux's password:
 
PTY allocation request failed on channel 0
 
PTY allocation request failed on channel 0
<pre>
+
</pre>
  
 
And in the /var/log/messages file:
 
And in the /var/log/messages file:

Latest revision as of 11:03, 11 May 2010

Note: I had to run the upgrade patch bundle to get my x86 box up to 10/09 release.

http://hub.opensolaris.org/bin/view/Community+Group+zones/brandz_linux_2_6

Zone Create Error

myzone: unknown brand.
myzone: Invalid document

Download the solaris 10 dvd. Install the packages SUNWlxr and SUNWlxu off of it. Then retry creating the zone.

Zone Boot Error

unable to boot zone: Not enough space

Don't install a version of linux that has a 2.6 kernel. I got this error with centor 5. Switching to centos 3 and it worked fine.


Audio Issues

zoneadm: zone 'myzone': lx_support error: error accessing lx_audio device

Run this: devfsadm -i lx_audio


Zone SSH Error

ssh root@linux
root@linux's password:
PTY allocation request failed on channel 0

And in the /var/log/messages file:

May 10 14:08:23 dstolweb01-php5c sshd[1155]: Accepted password for root from 10.68.1.137 port 43176 ssh2
May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: openpty: No such file or directory
May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: session_pty_req: session 0 alloc failed
May 10 14:08:23 dstolweb01-php5c sshd(pam_unix)[1155]: session opened for user root by (uid=0)

This was terribly annoying. Check out this thread at the opensolaris forums. After I installed the linux brand packages, a reboot was required. Rebooting the global reloaded the proper drivers, and this error went away.