Xvfb Virtual Frame Buffer in a local zone?

Ok, so this is a bit of a science project....
<p>
Was wondering if anyone had gotten this working?
<p>
in the GLOBAL: the following works...
<p>
/usr/openwin/bin/Xvfb screen 1024x768x24
<p>
<p>
Doing the same in a LOCAL gives:
<p>
# /usr/openwin/bin/Xvfb screen 1024x768x24<br>
There is no XDISPLAY information for display 0.<br>
Check the OWconfig file(s) and try again.<br>
<p>
Fatal server error:<br>
The server will now exit because of configuration problems.<br>
# able to restore text mode on vfb#<br>
#<br>
<p>
So lets get a little fancy to get rid of the "XDISPLAY" error... <br>edit /usr/openwin/server/etc/OWconfig and add:<p>
<p>
# Virtual X Display for virtuals<p>
class="XDISPLAY" name="5"<br>
coreKeyboard="NKBD" corePointer="NMOUSE"<br>
dev1="vfb";<br>
<p>
Ok, now lets try the Xfb command in the LOCAL again...
<p>
#<br>
# /usr/openwin/bin/Xvfb :5 screen 1024x768x24<br>
<p>
Fatal server error:<br>
The server can't access IO registers.<br>
<p>
#<p>
<p>
trussing this event shows lots of stuff, but no smoking gun (from what I can tell...)
<p>
<p>
Anyone have any experience in this area?
<p>
many thanks,
<p>
-- MikeE

Oops... forgot to mention...
<p>
This seems to work just fine for SPARC, its on x86 (SUN v40z) that there seems to be some sort of issue?
<p>
thanks,<br>
<p>
-- MikeE<p>
(truncated truss output for those interested...)<p>
sigaction(SIGXCPU, 0x08047CE0, 0x00000000) = 0<br>
sigaction(SIGXFSZ, 0x08047CE0, 0x00000000) = 0<br>
sigaction(SIGTHAW, 0x08047CE0, 0x00000000) = 0<br>
sysi86(SI86V86, 0x00000004, 0xFFFFFFFF, 0x08415378) Err#1 EPERM [sys_config]
fstat64(2, 0x08046FE0) = 0<br>
<p>
Fatal server error:<br>
write(2, "\n F a t a l s e r v e".., 21) = 21<br>
The server can't access IO registers.<br>
write(2, " T h e s e r v e r c".., 38) = 38<br>

Similar Messages

  • Flex with a virtual frame buffer

    I have to run an automated version of my flex app on a
    headless server so I'm using a virtual frame buffer (Xvfb) running
    on Solaris in an oc4j container.
    I can get the following command to 'apparently' launch the
    app:
    String cmd = "/bin/sh DISPLAY=:5 /opt/sfw/bin/firefox "+
    url+" -width 1600 -height 1200";
    I say apparently because it does not cause any errors. But
    when I send messages to the flex app via BlazeDS for it to do it's
    thing...they never get there. I know the program works because it
    is fine in my localhost development environment, but how do I get
    the app to launch with a virtual frame buffer or more generally, on
    a headless server?

    This is a wild guess based on a small amount of research, but
    you might want to check the 'headless-server' compiler option - see
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=performance_118_41.html
    and
    http://community.adobe.com/help/search.html?q=headless-server=true&loc=en-us&hl=en-us&lbl= flex_product_adobelr&go=Search&self=1,
    also
    http://osflash.org/pipermail/osflash_osflash.org/2008-August/015858.html
    hth...

  • Fail to download X virtual frame buffer (xvfb)

    I went to the page http://otn.oracle.com/products/ias/ias_utilities.html#xvfb in hope to download the oracle prebuilt Xvfb for solaris, when I click on any one of the three xvfb download items, it keeps returning a error page "The page cannot be displayed"
    This is for an urgent oracle applications project, any prompt help is appreicated!
    -Tim

    Oops... forgot to mention...
    <p>
    This seems to work just fine for SPARC, its on x86 (SUN v40z) that there seems to be some sort of issue?
    <p>
    thanks,<br>
    <p>
    -- MikeE<p>
    (truncated truss output for those interested...)<p>
    sigaction(SIGXCPU, 0x08047CE0, 0x00000000) = 0<br>
    sigaction(SIGXFSZ, 0x08047CE0, 0x00000000) = 0<br>
    sigaction(SIGTHAW, 0x08047CE0, 0x00000000) = 0<br>
    sysi86(SI86V86, 0x00000004, 0xFFFFFFFF, 0x08415378) Err#1 EPERM [sys_config]
    fstat64(2, 0x08046FE0) = 0<br>
    <p>
    Fatal server error:<br>
    write(2, "\n F a t a l s e r v e".., 21) = 21<br>
    The server can't access IO registers.<br>
    write(2, " T h e s e r v e r c".., 38) = 38<br>

  • Changing MTU for local-zone

    I'm getting ready to go to gigabit jumbo frame (MTU 9000) network, but I'm not there yet.
    I have some nice Intel NICs, and I set them so they can do a MTU 16128 but fix the MTU at 1500 until I make the change.
    But the local-zones interface won't change with the global:
    e1000g1: flags=1001000803<UP,BROADCAST,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 3
    inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
    ether 0:e:c:c4:48:a8
    e1000g1:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 16128 index 3
    zone test-zone
    inet 10.0.0.191 netmask ffffff00 broadcast 10.0.0.255
    I would like the local-zone's virtual interface to have a MTU of 1500 just like it's proud parent.
    I've tried a /etc/hostname.e1000g1:1 with 'mtu 1500'. That creates a virtual interface with the proper MTU, but the zone's interface becomes e1000g1:2 still with a MTU of 16128.
    How can I set the MTU of the local-zone?
    Thanks.

    Its now a few months since i last played with networking in zones, but i don't think you can do that. IIRC there are only a limited set of options which can be set to a shared interface which belongs to a zone.
    I think that in order for this to work you would have to dedicate an interface to the zone (i.e. 'exclusive mode'), then you can probably change the MTU from inside the zone.
    However this is my guess, i haven't tested or verified it..
    .7/M.

  • Network access from local zones on a Solaris 10 router

    I'm kind of stuck at an interesting problem.
    I have a Solaris 10u6 system which is itself a router between a number of networks.
    It has several dozen routes to different networks via different next-hop gateways,
    just one of which is a default route to the ISP to internet.
    I thought of setting up local zones to securely run infrastructure services (BIND,
    Squid, Mail relay) on this machine, with only a single dedicated public IP address
    (from our delegated address space) per such zone. Zones use a shared-IP stack
    on one of the machine's VLAN interfaces (the LAN part with public IP addresses).
    The problem is - since this machine is the gateway for the subnet used for the
    local zones, they don't inherit any default route. The one default we have to the
    ISP is on another interface's subnet.
    [root@ns8 /]# netstat -rn | grep default
    [root@ns8 /]# netstat -rn | wc -l
    50
    On a side note, these zones do inherit dozens of other routes (50 above) with
    next-hop routers not on the local zone's subnet - so these are also not accessible.
    I think such useless routes should also be filtered away - as "mismatching" default
    routes are.
    Due to all this the zone has no networking outside its subnet/mask: it doesn't
    even try to send anything, since there is not a single route with a matching next
    hop router, i.e.
    [root@ns8 /]# traceroute -nI 194.87.0.50
    traceroute to 194.87.0.50 (194.87.0.50), 30 hops max, 40 byte packets
    1 xx.yy.zz.8 0.102 ms !H 0.032 ms !H 0.027 ms !H
    To reiterate, this setup is different from that of the numerous replays of "How to
    set up internet for zones with virtual IP addresses?"
    That recipe suggests to add a fake router and maintain its ARP address to be
    that of the real default gateway, and set up NAT to rewrite private IP addresses
    to the global zone's public IP. While I've also used the recipe a number of times,
    it does not seem feasible in this router's case - there are too many next-hop
    routers (and learned with a dynamic routing protocol), not just one default-gw.
    I can of course go back to running services in the global zone and binding them
    to these dedicated public IP addresses via configuration files - and this works
    since the global zone has access to any needed routers having IP addresses
    in relevant subnets - but I hoped to secure the system a bit more and separate
    routing from infrastructure tasks...
    So the question is: how can I set up networking for local zones in this case
    when they are running on a router? Is it possible?
    Thanks,
    //Jim

    You can set the Airport Extreme in "Bridge" mode, and then it will just extend the existing subnet.
    Airport Utility -> Airport Extreme -> Internet -> Connection Sharing -> Off (bridge mode)

  • Sun Live Upgrade with local zones Solaris 10

    I have M800 server running global root (/) fs on local disk and running 6 local zones on another local disk. I am running solaris 5.10 8/07.
    I used live upgrade to patch the system and created new BE (lucreate). Both root fs are mirror as RAID-1.
    When I ran lucreate, it copies all 6 local zones root fs to the global root fs and failed no enogh space.
    What is the best procedure to use lu with local zones.
    Note: I used lu with global zone only, and worked without any problem.
    regards,

    I have been trying to use luupgrade for Solaris10 on Sparc, 05/09 -> 10/09.
    lucreate is successful, but luactivate directs me to install 'the rest of the packages' in order to make the BE stable enough to activate. I try to find the packages indicated , but find only "virtual packages" which contain only pkgmap.
    I installed upgrade 6 on a spare disk to make sure my u7 installation was not defective, but got similar results.
    I got beyond luactivate on x86 a while ago, but had other snags which I left unattended.

  • Local zone doesnot boot

    Hi all,
    I have the following NIC setup:
    ifconfig -alo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.0.1.201 netmask fffff000 broadcast 10.0.15.255
    ether 0:3:ba:99:9f:57
    bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 10.0.1.202 netmask fffff000 broadcast 10.0.15.255
    ether 0:3:ba:99:9f:58
    bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
    inet 10.0.1.203 netmask fffff000 broadcast 10.0.15.255
    ether 0:3:ba:99:9f:59
    I configured and installed a zone named 'z1'
    cat /etc/zones/z1.xml<zone name="z1" zonepath="/export/home/zone/1" autoboot="true">
    <inherited-pkg-dir directory="/lib"/>
    <inherited-pkg-dir directory="/platform"/>
    <inherited-pkg-dir directory="/sbin"/>
    <inherited-pkg-dir directory="/usr"/>
    <network address="10.0.1.203" physical="bge2"/>
    </zone>
    zoneadm list -cvID NAME STATUS PATH
    0 global running /
    - z1 installed /export/home/zone/1
    while booting the zone 'z1', following happens
    zoneadm -z z2 bootzoneadm: zone 'z2': bge2:1: could not bring interface up: address in use by zone 'global': Cannot assign requested address
    zoneadm: zone 'z2': call to zoneadmd failed
    Did I miss something?
    What is my misstake?

    Hi
    you don't have to use the same network adress for your global and a local zone. You have to use another adress in your lokal zone or delete the beg2 interface in your global zone. That's all.
    harruh

  • Audit is enable in local zone

    Audit is enabled and working fine in Global zone.
    root@MMS11:/var/audit# uname -a
    SunOS MMS11 5.11 11.2 sun4v sparc sun4v
    root@MMS11:/var/audit#
    root@MMS11:/var/audit#
    root@MMS11:/var/audit# pkg info entire
              Name: entire
           Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.2.3.4.1).
       Description: This package constrains system package versions to the same
                    build.  WARNING: Proper system update and correct package
                    selection depend on the presence of this incorporation.
                    Removing this package will result in an unsupported system.  For
                    more information see
                    https://support.oracle.com/rs?type=doc&id=1672221.1.
          Category: Meta Packages/Incorporations
             State: Installed
         Publisher: solaris
           Version: 0.5.11 (Oracle Solaris 11.2.3.4.1)
    Build Release: 5.11
            Branch: 0.175.2.3.0.4.1
    Packaging Date: October  2, 2014 10:39:23 PM
              Size: 5.46 kB
              FMRI: pkg://solaris/[email protected],5.11-0.175.2.3.0.4.1:20141002T223923Z
    root@MMS11:/var/audit#
    root@MMS11:/var/audit# ls -lhtr
    total 34343
    -rw-r-----   1 root     root        400K Apr  7 16:41 20150407134107.20150407134155.MMS11
    -rw-r-----   1 root     root         11M Apr  7 17:21 20150407134157.20150407142120.MMS11
    -rw-r-----   1 root     root        5.5M May  4 13:57 20150504103940.not_terminated.MMS11
    root@MMS11:/var/audit#
    root@MMS11:/var/audit# ls -lhtr /var/adm/auditlog
    -rw-r-----   1 root     root        1.0M May  4 13:57 /var/adm/auditlog
    root@MMS11:/var/audit# audit -s
    root@MMS11:/var/audit# zoneadm list -cv
      ID NAME             STATUS      PATH                         BRAND      IP   
       0 global           running     /                            solaris    shared
       5 MMS_NG         running     /zones/MMS_NG              solaris    shared
    =======================================================
    but I am unable to enable audit on local zone.
    I have following
    root@MMS11:/var/audit# zlogin MMS_NG
    [Connected to zone 'MMS_NG' pts/14]
    Oracle Corporation      SunOS 5.11      11.2    September 2014
    You have mail.
    root@MMS_NG:~#
    root@MMS_NG:~#
    root@MMS_NG:~# audit -s
    audit: Neither local nor remote auditing is configured in the non-global zone.
    root@MMS_NG:~#
    root@MMS_NG:~# audit -n
    audit: Neither local nor remote auditing is configured in the non-global zone.
    root@MMS_NG:~# cd /var/audit
    root@MMS_NG:/var/audit# ls -lhtr
    total 94399
    -rw-r-----   1 root     root        149M Apr  7 16:40 20150208124745.not_terminated.MMS_NG
    How I can enable audit in NG zone, I want to enable audit logs with syslog service. as enabled and configured on Global Zone.

    I'm not sure why Ur looking for /etc/system in zones..
    now in soalris 10u10 /soalrs 11..you can configure the kernel parameters as application/user specific
    you can use projadd command to add the resources like shared memory
    if you want add the parameters as global you can use
    zonecfg
    you can refer this doc what parameters u can add to zone with zonecfg
    http://docs.oracle.com/cd/E19455-01/817-1592/z.config.ov-1/index.html
    zone.cpu-shares (preferred: cpu-shares)
    zone.max-locked-memory
    zone.max-lwps (preferred: max-lwps)
    zone.max-msg-ids (preferred: max-msg-ids)
    zone.max-sem-ids (preferred: max-sem-ids)
    zone.max-shm-ids (preferred: max-shm-ids)
    zone.max-shm-memory (preferred: max-shm-memory)

  • How to create raw partition in a local zone?

    I tried to search for an answer for my question, but I spent a week and still no luck.
    What I am trying to do is to create raw partitions for Sybase in a local zone. I tried to add device and set match to the block and raw device.
    However, when I tried to do "format", I got core dumped. When I did zpool create, I got permission denied. Any advice?
    zonecfg:z001> info
    zonename: z001
    zonepath: /export/ZONE/z001
    autoboot: true
    pool:
    limitpriv:
    fs:
    dir: /shared/tmp
    special: /tmp
    raw not specified
    type: lofs
    options: []
    net:
    address: 10.110.1.2
    physical: e1000g1
    device
    match: /dev/rdsk/c6t60060160DF2413003E2F0C2DF945DC11d0
    device
    match: /dev/dsk/c6t60060160DF2413003E2F0C2DF945DC11d0

    You can't manipulate pools directly in a non-global zone. I'm not sure if you can run 'format'. You can use at least a limited amount of globbing. You might want to put a '*' at the end of your matched device name.
    You can hand off a raw partition via 'match' and put it under UFS control, or with recent versions of Solaris Express, you can delegate a portion of a ZFS filesystem to the zone.
    See the ZFS administration guide:
    http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf
    Especially the section on using ZFS in a zone (page 171). Note the guide is for the most recent version of ZFS in OpenSolaris. Versions available in Solaris 10 may not have all the same features.
    Darren

  • How do you create a local zone that's not "stripped down"?

    Hi all,
    I've been exploring Solaris 11 Express a bit more after work, and I can't figure out how to create a new local zone that doesn't have a minimized package set. The ISV guide mentions that new local zones default to "minimal system software":
    http://www.oracle.com/technetwork/articles/systems-hardware-architecture/o10-015-s11-isv-adoption-198348.pdf (page 6)
    ...but that I can specify additional packages with the "-e" flag during the zone install. I don't want to list dozens of supplemental packages by hand... there must be a way to make a new local zone that has an almost identical package loadout as a standard global zone. (i.e. ftp, smtp, telnet services exist in the global zone, but are not installed in a local zone).
    Do I need to use ips commands to first make an image (of a global zone) then update my local zones to that image?
    Thanks!
    Mike

    Thanks Russell, this sounds exactly like what I was looking for! I'm "zoneadm install"'ing a new zone right now to kick the tires. One note for everyone else:
    pkg install -r slim_installI got an error that "-r" isn't a valid flag for pkg, but it seems to be working without it (i.e. "pkg install slim_install")
    Regards,
    [email protected]

  • First boot of local zone - how to determine when sysidtool has finished

    Hello,
    we use a /etc/sysidcfg in order to do the solaris base configuration automatically. After the first boot of a local zone I recognized that some tools are started by solaris (sysidtool, etc.) which apply the settings mentioned in /etc/sysconfig.
    Since we want to script some post-install set-ups I need to know, when the first boot including all "first-boot-scripts" has completely finished. Is it possible to query this information, maybe by calliing a special tool or by looking up some string within an logfile?
    I would be grateful for any hints,
    Thomas

    I haven't checked, but I assume they have normal dependencies in the SMF tree so that other services don't start until they complete.
    I would probably look at the milestone/multi-user-server service and see if it's online yet. If it is, they're probably done.
    Darren

  • How to dynamically set max-rss size for a local zone?

    Running solaris 10 05/08.
    Following situation: Three local zones in a Veritas cluster. The zones
    can fail over but normally not all three are on the same physical box.
    I want to be able to restrict physical memory usage for the zones in
    situations where certain combinations of them end up on the same
    physical box. So, I need to be able to dynamically change memory
    resources. I know how to do this with, for example locked memory:
    prctl -n zone.max-locked-memory -r -v <mem> `pgrep -z <zone name>
    init`
    but i need to do this for physical memory and I can't see that there
    is a zone resource for this? I thought this was added in 05/08?

    Hi
    You can do this by using rcapd from the global zone
    - start rcapd from the global zone:
    svcadm enable svc:/system/rcap:default
    - set a physical memory caping value for each zone
    rcapadm -z your_zone -m max_rss_value
    - check the memory use for all the zone capped
    rcapstat -gz
    You can set the rss capping value in the zone configuration:
    # zonecfg -z your_zone
    zonecfg:busi-app-prod> add capped-memory
    zonecfg:busi-app-prod:capped-memory> set physical=900m
    zonecfg:busi-app-prod:capped-memory> end
    zonecfg:busi-app-prod> verify
    zonecfg:busi-app-prod> commit
    zonecfg:busi-app-prod> exit
    This will be take in account at the next reboot of this zone.
    Have a also a look to rcapadm to tune rcapd
    Bye
    Fred

  • Solaris 10 local zone setup requirement/steps for am/ps 7.0 installation

    Hi,
    Is there any document available on solaris 10 local zone creation/requirement for am server/ portal server 7.0 install? Any help/pointer is appreciated.
    Thanks,

    I don't believe there is any specific documentation am/portal in a zone. And as far as I know there are no specific requirements either. I have successfully installed portal in a solaris zone.
    A good starter tutorial on zones is here: http://partneradvantage.sun.com/protected/solaris10/adoptionkit/tech/zones/tutorial.html
    Hi,
    Is there any document available on solaris 10 local
    zone creation/requirement for am server/ portal
    server 7.0 install? Any help/pointer is
    appreciated.
    Thanks,

  • Solaris 10, java, local zone and priority

    Hi,
    I have asked this on the Solaris 10/Zone forum 4 days ago but didn't
    get any response. Maybe I get better luck here?
    I have a jboss container running like a dog. It's running on a niceness
    of 10 (by default - why?); renice fails with
    $ renice -n 0 1635
    renice: 1635:setpriority: Not owner
    How do I fix that, and how can I get jboss to run with a niceness of
    0 or 1 at startup?
    I did manage to up the niceness manually from the global zone, but that's
    not really an option once the system goes production. How/where do
    I set java tasks to run with a sensible priority by default?
    It appears that anything java (even within the global zone) runs on a
    niceness of 20 (10 is what we see inside a local zone, the global will
    report 20 in prstat).
    Cheers

    I removed this file,/usr/lib/libmlib/libmlib_sse.so.2, but I can't still use java desktop...
    is there any other solution?

  • Solaris 10, local zone & vcs

    Hi,
    Anybody tried running vcs from within a solaris 10 sparse local zone?
    We currently have two T2000' s each running Solaris 10 6/06. I've installed Veritas Foundation Suite 4.1 on each and configured vcs. The cluster is functioning with failover enabled & tested. (I have a test service group running consisting of a 'hello world' program sitting on a VRTS volume/diskgroup on a SAN). This is all running fine in the Global Zone.
    As part of our requirement we want to be able to run vcs from within a local zone, hence my creation of a sparse zone. I would like full clustering functionality running from within a zone on one server with failover/switching to an equvialent zone on the the second server.
    I have played with the 'zone' option when setting up service groups but not surprisingly this is for switching the whole zone. Not what I want to do.
    Am I failing to grasp this whole sparse zone idea? or am I missing something obvious, trying something that cant be done? Any help, particularly from somebody else thats tried this would be appreciated.
    Thansk in advance,
    Mark

    Hello,
    I can't help you a lot, but i have found that there is a lot of things that a local zone can't do when it comes to "kernel" things. As of today i found that you do NFS from a zone, for example.
    As your problem seems to be related to filesystem it is probable that you can't do it from a zone. Again, i'm not sure.

Maybe you are looking for

  • Stop Creation of Billing Document in Future date

    Hi Experts We create Billing Document in VF01 on basis of Outbound delivery, system create Billing Document in current date. but when we choose future date that time also system create billing Document l in future date . Issue : While create Billing

  • Line items missing in RFC table when they are more than one!!!

    Hi All, I am doing a scenario where i map a proxy from SCM to a RFC in R/3. The problem i am facing is my proxy has more than 1 line item for a purchase order but in R/3 the RFC table contains only the first line item. Is there any special mapping th

  • Feathering Illustrator image placed in InDesign

    I'm using Creative Suite Profession CS3. I'm seeking your advice on the best way to achieve a good outcome for what I want to do. I've prepared an Illustrator map which I want to place in InDesign on top of a background image (lots of blue and cloudy

  • Disble a specific checkbox

    Dear all, I have a block that diplay 10 recrod at a time. And now I want to disable some checkbox in the block bt not all, I used the Set_ITEM_INSTANCE property to set the Navigable and Updatable property of those records. But those checkbox just loo

  • Java/lang/NoClassDefFoundError: java/lang/Object

    Hi Experts, We are installing Java "1.6.0_31.We have updated the environment variables with the correct Java Path but which checking the java -version we are getting the following error. java -version Error occurred during initialization of VM java/l