Route add problem in solaris 10 zone

hi all
when i add route in one of my solaris 10 zone.. i get the following error. any workaround?
# route add xxx.xxx.255/24 10.xxx.xxx.1
add net xxx.xxx.255/24: gateway 10.xxx.xxx.1: insufficient privileges
thanks
peter

it means i can only add route in globle zone? but
global zone and sub-zones are using diff IP and
interface cards. so how?But they're children of the same kernel. There can only be one routing table (at the moment, anyway). So make your route adds from global and watch them appear in the netstat output of your non-global zones.
I agree that this is a confusing and poorly documented aspect of zones, however. I will admit to you that I barely understand it myself. However, there is a good answer to a question I had about this in comp.unix.solaris. Search that newsgroup for "Viewing non-global routes from global zone". A similar question fell on deaf ears here.
Also, I would recommend searching this forum for "zone routes" or "zone routing" as this is a frequently hit topic.
--gc1973                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Problem with Java in solaris 10 zone

    HI ,
    i get this error message in my solaris 10 zone :
    #./java version
    Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /BUILD_AREA/jdk1.5.0_11/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?
    in global zone , java works fine !
    uname -a
    SunOS Server 5.10 Generic_141414-07 sun4u sparc SUNW,SPARC-Enterprise
    best regards

    I see mention of a similar problem, but only with early development releases of solaris10 branded zones running on Solaris 11 development bits. It seems as though this is not what you are running.
    Since there are no swap caps nor brand emulation in place, the next thing I would suspect would be that you somehow have inconsistencies between key libraries (e.g. libc) and the kernel. This could happen if you have a full-root zone that has been force attached (zoneadm -z <zone> attach -F). In the past, I've seen products that do this under the covers (e.g. Veritas Cluster) so it may have happened without your knowledge. If it is a sparse root zone, you may want to run "zoneadm -z <zone> detach; zoneadm -z <zone> attach -u". Prior to doing so, take whatever precautions you would normally take when patching a system.
    If you open a support call about this I bet the first advice you are going to get is to patch, as you seem to be 2+ years behind. Also, newer releases of Java 5 are available at http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html.

  • Solaris 8 Zone

    Hi,
    What's wrong with my config ? I can't create a Solaris 8 Zone.
    I think there is problem with the template...
    Thanks !
    Test 1 :
    # zonecfg -z s8-zone
    s8-zone: No such zone configured
    Use 'create' to begin configuring a new zone.
    zonecfg:s8-zone> create -t SUNWsolaris8
    zonecfg:s8-zone> set zonepath=/zones/sol8
    zonecfg:s8-zone> set autoboot=true
    zonecfg:s8-zone> add net
    zonecfg:s8-zone:net> set address=192.168.20.192
    zonecfg:s8-zone:net> set physical=eri0
    zonecfg:s8-zone:net> end
    zonecfg:s8-zone> commit
    s8-zone: unknown brand.
    s8-zone: Invalid document
    Test 2 :
    # zonecfg -z sol8
    sol8: No such zone configured
    Use 'create' to begin configuring a new zone.
    zonecfg:sol8> create -t SUNWsolaris8
    zonecfg:sol8> verify
    zonepath cannot be empty.
    sol8: unknown brand.
    sol8: Invalid document
    zonecfg:sol8> quit
    Config
    Kernel patch : 120011-14
    Migration Assistant patch : 128548-03
    Release : Solaris 10 8/07 s10s_u4wos_12b SPARC
    # pkginfo | grep -i bran
    system SUNWs8brandr Solaris 8 Migration Assistant: solaris8 brand support (Root)
    system SUNWs8brandu Solaris 8 Migration Assistant: solaris8 brand support (
    # pkginfo | grep -i p2v
    system SUNWs8p2v Solaris 8 p2v Tool
    SUNWsolaris8.xml :
    root@sf280test:/ # more /etc/zones/SUNWsolaris8.xml
    <?xml version="1.0"?>
    <!--
    Copyright 2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    ident "@(#)SUNWsolaris8.xml 1.8 07/09/28 SMI"
    DO NOT EDIT THIS FILE. Use zonecfg(1M) instead.
    -->
    <!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
    <zone name="default" zonepath="" autoboot="false" brand="solaris8">
    </zone>

    Your problem is that you can only create Solaris 10 zones. Zones is not a true virtual machine so it can not support older version of Solaris. you want to install. If you need to run Solaris 8 on the same machine as Solaris 10 your only choice is to use something like VMware.

  • Veritas Netbackup Client Installed on Solaris 10 Zone Unable to Work

    Hi
    I am having problems with Veritas Netbackup client which had been installed on a Solaris 10 zone only. We are using Veritas Netbackup server which is installed on a Windows 2000 server and the NBU server is unable to add the new client for backup.
    The way I installed the NBU client was using the manual method where I installed directly on the zone. The zone I've created is a full root zone and the installation seems to be successful.
    Somehow the NBU server just can't see the new client. Do I need to install the client in the global zone to make it work? Is there any checks I can do to make sure I have installed the client correctly and that the services are running in the solaris 10 zone side? Any kind of help would be much appreciated.
    Thanks
    Xavier

    Hi mcbrune1
    I've check on the services in the client and all 4 services were up and running. Than I realized that this client was hardened a few weeks back. So I checked on the /etc/hosts.allow file and added an entry to allow the Master server to communicate using bpcd.
    Now the Master server is able to see the client and everything seems to be working. Thanks for your help.
    Cheers

  • Set rlim_fd_cur=8192 for Solaris 10 Zone?

    Hi!
    I would like to install SAP Solution Manager 7.0 on Solaris 10 Zone (Sparc 64 Bit).
    Unfortunately I could find the file etc/system. Instead I added the project file acording to SAP note 724713.
    When I run SAP prerequisite Checker SAPINST tells me that the following will be missed:
    set rlim_fd_cur=8192 in etc/system.
    Question:
    Do I need to add the file etc/system and add them the following commando:
    set rlim_fd_cur=8192?
    Or does this commando not apply for Solaris 10?
    Thank you very much!
    regards
    Thom

    > In solaris 9 and below, it was needed to add the parameter in /etc/system. With solaris 10 no need.
    This is not completely true.
    The number of maximum open files must be set in the global zone, otherwise you will run into problems once the total number of processes in all zones will be > 1024 - hence you need to also set this in Solaris 10.
    A zone has no /etc/system thus that error can be ignored.
    Markus

  • Solaris 10 Zones and networking..

    My machine has only one NIC card (rtls0) and also only one public ipv4 IP. I am at the moment unable to get more than one public IP. I've also created a few zones on the machine which I have assigned an internal IP. Now, I can connect (say SSH for example) internally to these zones just fine using their internal IP from the global zone. However, obviously the outside world would not be able to do so. So I decided to simply use the built in firewall/nat tech in Solaris in order to port forward certain ports to internal zones. (Like say set up port 2223 on the global level to forward ssh to one of my created zones' ssh) I looked up and down everywhere with the ipf and ipv4 port forwarding down to enabling it via routeadm and also setting the value of /dev/tcp ip_forwarding to 1. Then when I add the following rule to ipnat:
    rdr rtls0 PUBLIC_IP/32 port 2223 -> 192.168.1.2 port 22 tcp
    It still has zero effect on the forwarding. It fails to forward, and nothing I've done works. I'm on my last leg here with this issue. Am I doing something wrong with ipfilter or is there a better way to go about doing this with Solaris Zones? (I mean surely there must be an easier way to create self contained zones with applications that still run services without having to resort to assigning it its own IP, no?) Any help is appreciated, thanks.

    First thing to check is if your zone can access the global zone (try pinging). If this isn't the case you probably need to setup a routing entry allowing the non-global zone some access.
    For example, say the global is 10.0.0.1 and the non-global 192.168.0.1 on eri0 you'd use something like:
    route add 10.0.0.1 192.168.0.1 -iface
    This tells your non-global zone that it can reach the global zone through the eri0 interface. Ofcourse you can also expand this to networks and such.
    Another very important factor to keep in mind when dealing with internet is trying to access it from the non-global zone (as a test). Your ipnat.conf entry should be enough, my guess for to the reason for not routing the data is a non-static arp entry of your internet gateway. Now, this is a mere guess but if you have a default route in your routing table setup for Internet access (netstat -rn) make sure that the host to which the default route is pointing also has a static arp entry (man arp). If this is indeed the case you may also need to setup a routing entry as mentioned above to allow your zone access to this remote gateway.
    After that things should work as usual. Hope this helps.

  • Unclear on branded solaris 9 zones and ipfilter

    I just managed to install my first solaris 9 zone on a solaris 10 system (v490). It has gone fairly well so far but I
    am definitely "unclear on the concept" with respect to ipfilter and the zone. This is a shared ip zone.
    On solaris 9 we use ipfilter 3.4.32.
    I used a flar from one of these systems to install the zone. On boot, I see that our ipfboot file in /etc/rc2.d fails with
    modload failures etc
    You must be superuser to load a module
    open device: No such file or directory
    open device: No such file or directory
    constructing minimal name resolution rules...
    open device: No such file or directory
    open device: No such file or directory
    open device: No such file or directory
    open device: No such file or directory
    /etc/rc2.d/S65ipfboot: load of /etc/opt/ipf/ipf.conf into alternate set failed
    Not switching config due to load error.
    /dev/ipf: open: No such file or directory
    This makes sense but as I said what do I do instead. I found this in the solaris container system admin manual
    "Solaris IP Filter can be enabled in non-global zones by turning on loopback filtering as described in Chapter 26, Solaris IP Filter (Tasks), in System Administration Guide: IP Services. "
    Yes, but that doesn't help me much since the IP Filter tasks simply tell me to do this in ipf.conf in the global zone.
    set intercept_loopback true;
    Isn't there more to it than this? A real example some place would be most helpful. And how can I make sure it is working?
    Not a real ipf guru :-(

    First thing to check is if your zone can access the global zone (try pinging). If this isn't the case you probably need to setup a routing entry allowing the non-global zone some access.
    For example, say the global is 10.0.0.1 and the non-global 192.168.0.1 on eri0 you'd use something like:
    route add 10.0.0.1 192.168.0.1 -iface
    This tells your non-global zone that it can reach the global zone through the eri0 interface. Ofcourse you can also expand this to networks and such.
    Another very important factor to keep in mind when dealing with internet is trying to access it from the non-global zone (as a test). Your ipnat.conf entry should be enough, my guess for to the reason for not routing the data is a non-static arp entry of your internet gateway. Now, this is a mere guess but if you have a default route in your routing table setup for Internet access (netstat -rn) make sure that the host to which the default route is pointing also has a static arp entry (man arp). If this is indeed the case you may also need to setup a routing entry as mentioned above to allow your zone access to this remote gateway.
    After that things should work as usual. Hope this helps.

  • Focus Problem on Solaris with jdk 1.3.1

    Hi all,
    We are having a focus problem on Solaris. The same code works fine on Windows without any problem.
    I am sending the test code and run steps below which you can compile and repeat the problem.
    NOTE: When we put a comment on the line "f1.requestFocus();" in TestFocus.java it works OK.
    Run Steps :
    1. Run TestFocus.class
    2. A JFrame appears with 2 text field and a button
    3. Try to write something on the text fields. It works OK.
    4. Click the button to open a new JFrame
    5. A new JFrame opens with a single text field and a button.
    6. Click the button to close the second frame
    7. You are now on the main JFrame
    8. Try to write something on the text fields. It works OK.
    9. Repeat the steps 4-7
    10. Try to write something on the text fields. You are able to focus and write on the first field. BUT you cannot select or write the second Field!
    JAVA SOURCE FILES :
    PenHesapListener.java :
    public interface PenHesapListener extends java.util.EventListener {
    void tamam_actionPerformed(java.util.EventObject newEvent);
    void iptal_actionPerformed(java.util.EventObject newEvent);
    ------PenHesapLisEventMulticaster.java----------------------------------
    public class PenHesapLisEventMulticaster extends java.awt.AWTEventMulticaster implements PenHesapListener {
    * Constructor to support multicast events.
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected PenHesapLisEventMulticaster(java.util.EventListener a, java.util.EventListener b) {
         super(a, b);
    * Add new listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param a muhasebe.HesappenListener
    * @param b muhasebe.HesappenListener
    public static PenHesapListener add(PenHesapListener a, PenHesapListener b) {
         return (PenHesapListener)addInternal(a, b);
    * Add new listener to support multicast events.
    * @return java.util.EventListener
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b) {
         if (a == null) return b;
         if (b == null) return a;
         return new PenHesapLisEventMulticaster(a, b);
    * @return java.util.EventListener
    * @param oldl muhasebe.HesappenListener
    protected java.util.EventListener remove(PenHesapListener oldl) {
         if (oldl == a) return b;
         if (oldl == b) return a;
         java.util.EventListener a2 = removeInternal(a, oldl);
         java.util.EventListener b2 = removeInternal(b, oldl);
         if (a2 == a && b2 == b)
              return this;
         return addInternal(a2, b2);
    * Remove listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param l muhasebe.HesappenListener
    * @param oldl muhasebe.HesappenListener
    public static PenHesapListener remove(PenHesapListener l, PenHesapListener oldl) {
         if (l == oldl || l == null)
              return null;
         if(l instanceof PenHesapLisEventMulticaster)
              return (PenHesapListener)((PenHesapLisEventMulticaster) l).remove(oldl);
         return l;
    public void tamam_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).tamam_actionPerformed(newEvent);
         ((PenHesapListener)b).tamam_actionPerformed(newEvent);
    public void iptal_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).iptal_actionPerformed(newEvent);
         ((PenHesapListener)b).iptal_actionPerformed(newEvent);
    ---------TestFocus2.java-----------------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class TestFocus2 extends JFrame implements ActionListener
         protected transient PenHesapListener PenhListener = null ;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus2()
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   fireTamam_actionPerformed(e);
         public void addPenHesapListener(PenHesapListener newListener)
              PenhListener = PenHesapLisEventMulticaster.add(PenhListener, newListener);
              return;
         protected void fireTamam_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.tamam_actionPerformed(newEvent);
              this.setVisible(false);
         protected void fireiptal_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.iptal_actionPerformed(newEvent);
         public static void main(String x[])
              TestFocus2 gen01 = new TestFocus2();
    --------TestFocus.java-----------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.awt.Container;
    public class TestFocus extends JFrame implements ActionListener
         PenKreKart aPenKreKart = null ;      
         Container ctn = null;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JTextField f2 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus()
              //aPenKreKart = new PenKreKart(true);
              //aPenKreKart.aTemelPencere.setVisible(false);
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(f2);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   pencere_islemi();
         // pencere koyma k?sm? .. begin                               
         public void pencere_islemi() {     
              ctn = this;
              ctn.setEnabled(false);
              TestFocus2 fpen = new TestFocus2();
              //aPenKreKart.aTemelPencere.setVisible(true); //buras?          
              //aPenKreKart.aTemelPencere.addPenHesapListener(new PenHesapListener() {
              fpen.addPenHesapListener(new PenHesapListener() {
                        // metod      tamam_actionPerformed begin...          
                        public void tamam_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             // Problem is when we comment the below line it works .....
                             f1.requestFocus();
                             System.out.println("tamam");
                        // metod      tamam_actionPerformed end...          
                        // metod      iptal_actionPerformed begin...          
                        public void iptal_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             System.out.println("iptal");
                        // metod      iptal_actionPerformed begin...          
         // pencere koyma k?sm? .. end                               
         public static void main(String x[])
              TestFocus gen01 = new TestFocus();

    Hi all,
    We are having a focus problem on Solaris. The same code works fine on Windows without any problem.
    I am sending the test code and run steps below which you can compile and repeat the problem.
    NOTE: When we put a comment on the line "f1.requestFocus();" in TestFocus.java it works OK.
    Run Steps :
    1. Run TestFocus.class
    2. A JFrame appears with 2 text field and a button
    3. Try to write something on the text fields. It works OK.
    4. Click the button to open a new JFrame
    5. A new JFrame opens with a single text field and a button.
    6. Click the button to close the second frame
    7. You are now on the main JFrame
    8. Try to write something on the text fields. It works OK.
    9. Repeat the steps 4-7
    10. Try to write something on the text fields. You are able to focus and write on the first field. BUT you cannot select or write the second Field!
    JAVA SOURCE FILES :
    PenHesapListener.java :
    public interface PenHesapListener extends java.util.EventListener {
    void tamam_actionPerformed(java.util.EventObject newEvent);
    void iptal_actionPerformed(java.util.EventObject newEvent);
    ------PenHesapLisEventMulticaster.java----------------------------------
    public class PenHesapLisEventMulticaster extends java.awt.AWTEventMulticaster implements PenHesapListener {
    * Constructor to support multicast events.
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected PenHesapLisEventMulticaster(java.util.EventListener a, java.util.EventListener b) {
         super(a, b);
    * Add new listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param a muhasebe.HesappenListener
    * @param b muhasebe.HesappenListener
    public static PenHesapListener add(PenHesapListener a, PenHesapListener b) {
         return (PenHesapListener)addInternal(a, b);
    * Add new listener to support multicast events.
    * @return java.util.EventListener
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b) {
         if (a == null) return b;
         if (b == null) return a;
         return new PenHesapLisEventMulticaster(a, b);
    * @return java.util.EventListener
    * @param oldl muhasebe.HesappenListener
    protected java.util.EventListener remove(PenHesapListener oldl) {
         if (oldl == a) return b;
         if (oldl == b) return a;
         java.util.EventListener a2 = removeInternal(a, oldl);
         java.util.EventListener b2 = removeInternal(b, oldl);
         if (a2 == a && b2 == b)
              return this;
         return addInternal(a2, b2);
    * Remove listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param l muhasebe.HesappenListener
    * @param oldl muhasebe.HesappenListener
    public static PenHesapListener remove(PenHesapListener l, PenHesapListener oldl) {
         if (l == oldl || l == null)
              return null;
         if(l instanceof PenHesapLisEventMulticaster)
              return (PenHesapListener)((PenHesapLisEventMulticaster) l).remove(oldl);
         return l;
    public void tamam_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).tamam_actionPerformed(newEvent);
         ((PenHesapListener)b).tamam_actionPerformed(newEvent);
    public void iptal_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).iptal_actionPerformed(newEvent);
         ((PenHesapListener)b).iptal_actionPerformed(newEvent);
    ---------TestFocus2.java-----------------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class TestFocus2 extends JFrame implements ActionListener
         protected transient PenHesapListener PenhListener = null ;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus2()
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   fireTamam_actionPerformed(e);
         public void addPenHesapListener(PenHesapListener newListener)
              PenhListener = PenHesapLisEventMulticaster.add(PenhListener, newListener);
              return;
         protected void fireTamam_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.tamam_actionPerformed(newEvent);
              this.setVisible(false);
         protected void fireiptal_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.iptal_actionPerformed(newEvent);
         public static void main(String x[])
              TestFocus2 gen01 = new TestFocus2();
    --------TestFocus.java-----------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.awt.Container;
    public class TestFocus extends JFrame implements ActionListener
         PenKreKart aPenKreKart = null ;      
         Container ctn = null;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JTextField f2 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus()
              //aPenKreKart = new PenKreKart(true);
              //aPenKreKart.aTemelPencere.setVisible(false);
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(f2);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   pencere_islemi();
         // pencere koyma k?sm? .. begin                               
         public void pencere_islemi() {     
              ctn = this;
              ctn.setEnabled(false);
              TestFocus2 fpen = new TestFocus2();
              //aPenKreKart.aTemelPencere.setVisible(true); //buras?          
              //aPenKreKart.aTemelPencere.addPenHesapListener(new PenHesapListener() {
              fpen.addPenHesapListener(new PenHesapListener() {
                        // metod      tamam_actionPerformed begin...          
                        public void tamam_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             // Problem is when we comment the below line it works .....
                             f1.requestFocus();
                             System.out.println("tamam");
                        // metod      tamam_actionPerformed end...          
                        // metod      iptal_actionPerformed begin...          
                        public void iptal_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             System.out.println("iptal");
                        // metod      iptal_actionPerformed begin...          
         // pencere koyma k?sm? .. end                               
         public static void main(String x[])
              TestFocus gen01 = new TestFocus();

  • Metainit/striping problem on Solaris 9

    We are trying to deploy the Apple XServe RAIDS to customers running Solaris 9. The issue is that Solaris 9 will not recognize a device/LUN that is > 2TB. (No problem with Solaris 10) In trying to solve this problem, we sliced a 7 disk (4.09 TB) RAID into 3 slices. This presents three 1.36TB disks to the Solaris system. Basically, we have 6 disks being presented across both controllers to Solaris. They are direct connected from the XServe to a dual port QLogic HBA. The problem comes in when you try to create a stripe/concatenation across the logical devices being presented. (The disks are being presented on C4 and C5)
    Results from a format AFTER I split both 7 disk RAID5s into 3 slices.
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
    /pci@1c,600000/scsi@2/sd@0,0
    1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
    /pci@1c,600000/scsi@2/sd@1,0
    2. c1t2d0 <SEAGATE-ST373307LSUN72G-0507 cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@2,0
    3. c1t3d0 <SEAGATE-ST373307LSUN72G-0507 cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@3,0
    4. c4t600039300001F461d0 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w600039300001f461,0
    5. c4t600039300001F461d1 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w600039300001f461,1
    6. c4t600039300001F461d2 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w600039300001f461,2
    7. c5t600039300001F2ECd0 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3,1/fp@0,0/ssd@w600039300001f2ec,0
    8. c5t600039300001F2ECd1 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3,1/fp@0,0/ssd@w600039300001f2ec,1
    9. c5t600039300001F2ECd2 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3,1/fp@0,0/ssd@w600039300001f2ec,2
    Specify disk (enter its number):
    Results of the cfgadm command. You will see there three logical devices presented to each controller. Six disks.
    cfgadm -al -o showFCPdev
    Ap_Id Type Receptacle Occupant Condition
    c4 fc-private connected configured unknown
    c4::600039300001f461,0 disk connected configured unknown
    c4::600039300001f461,1 disk connected configured unknown
    c4::600039300001f461,2 disk connected configured unknown
    c5 fc-private connected configured unknown
    c5::600039300001f2ec,0 disk connected configured unknown
    c5::600039300001f2ec,1 disk connected configured unknown
    c5::600039300001f2ec,2 disk connected configured unknown
    Trying to initialize a 6 device stripe via Solaris Volume Manager (AKA disksuite)
    metainit -f d77 6 1 c4t600039300001F461d0s0 1 c4t600039300001F461d1s0 1 c4t600039300001F461d2s0 1 c5t600039300001F2ECd0s0 1 c5t600039300001F2ECd1s0 1 c5t600039300001F2ECd2s0
    I receive the following error:
    metainit: hostname: c4t600039300001F461d1s0: overlaps with device in d77
    I tried to do a work around where I create three striped devices then concatenate them:
    Creating the first 2 device stripe across controllers c4 and c5 (1 device each)
    metainit -f d77 2 1 c4t600039300001F461d0s0 1 c5t600039300001F2ECd0s0
    I was able to create the first metadevice d77 using one logical LUN from each controller.
    When I tried to create a second metadevice across the controllers: (Using d1 from each controller)
    metainit -f d78 2 1 c4t600039300001F461d1s0 1 c5t600039300001F2ECd1s0
    metainit: hostneme: c4t600039300001F461d1s0: overlaps with device in d77
    I received the same error.
    In doing some reaearch, it seems the problem is due to a problem with the disk duplication process, disk device IDs stored on the disks are not unique. I was curious if this is the problem that Apple presents the split disks with the SAME diskid? Has anybody else successfully created stripes (due to a LUN size limit) across the disk successfully on a Solaris system?

    I contacted Sun and here is an explination from them. I also noticed when I queried the Xserver RAIDS, there were no serial numbers.
    Solaris 9 can support a 16Tb filesystem, but there is a scsi limitation on the device of 2Tb. So you are stuck with striping together several smaller devices if you want a single filesystem above 2Tb.
    The problem you are having when metainit reports an overlap comes from the way Solaris Volume Manager identifies devices. The portion of the scsi inquiry that is returned is always unique when Sun firmware is involved, but in your case is not unique.
    You may be able to make use of the appended infodoc to avoid this problem. I see no evidence of our having tested this with your particular scenario, but it has been successful in similar cases.
    You might also inquire of whoever supports your storage device whether a mode is supported whereby the device's inquiry strings can be made unique.
    Here is the steps he wanted me to take and the results. I still can not get the Xserve RAIDS to generate a unique device id:
    Step 1
    Determine the vendor and product strings. You can run these commands:
    # netstat -k | grep -i vendor
    # netstat -k | grep -i product
    netstat -k | grep -i vendor
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    grep -i product
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    or you can run
    # format -e
    then select scsi, then inquiry.
    scsi> inq
    Inquiry:
    00 00 05 12 5b 00 00 02 41 50 50 4c 45 20 20 20 ....[...APPLE
    58 73 65 72 76 65 20 52 41 49 44 20 20 20 20 20 Xserve RAID
    31 2e 35 31 63 00 00 00 00 00 00 00 00 00 00 00 1.51c...........
    00 00 00 00 00 00 00 00 00 00 0d 40 0d a0 0e 20 ...........@...
    0d 80 09 00 0a 00 00 20 00 00 00 20 20 20 20 20 ....... ...
    20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
    Vendor: APPLE
    Product: Xserve RAID
    Revision: 1.51
    Removable media: no
    Device type: 0
    ISO version: 0
    ECMA version: 0
    ANSI version: 5
    Async event notification: no
    Terminate i/o process msg: no
    Response data format: 2
    Additional length: 91
    Relative addressing: no
    32 bit transfers: no
    16 bit transfers: no
    Synchronous transfers: no
    Linked commands: no
    Command queueing: yes
    Soft reset option: no
    Step 2
    Add an entry in the file '/kernel/drv/sd.conf'.
    sd-config-list=
    "APPLE Xserve RAID ", "AppleRAID";
    AppleRAID=1,0x8,0,0,0,0,0;
    Step 3 Reboot.
    Step 4 Check with SUNWexplo.
    [email protected]:[/opt/SUNWexplo/bin] (8)# ./diskinfo.sparc
    /dev/rdsk/c0t0d0s2: Device busy
    AVAILABLE SCSI DEVICES:
    Location Vendor Product Rev Serial #
    c1t0d0 COMPAQ BD036863AC HPB5 B2FT4HMM
    c1t1d0 SEAGATE ST336607LSUN36G 0507 0349A66VKQ
    c1t2d0 SEAGATE ST373307LSUN72G 0507 0417B7C9ZC
    c1t3d0 SEAGATE ST373307LSUN72G 0507 0425B7LV5Q
    c4t600039300001F461d0 APPLE Xserve RAID 151 c
    c4t600039300001F461d1 APPLE Xserve RAID 151 c
    c4t600039300001F461d2 APPLE Xserve RAID 151 c
    c5t600039300001F2ECd0 APPLE Xserve RAID 151 c
    c5t600039300001F2ECd1 APPLE Xserve RAID 151 c
    As you will notice, there are no serial numbers in this command or netstat -k | grep -i product commands.

  • Solaris 10 Zone for Solaris 11.1 creation with template fails.

    Hi,
    We are trying to use the Oracle VM Template for Oracle Solaris 10 Zone to create a solaris 10 zone on a solaris 11.1 GZ
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -v
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    Version: 1.0.9.12
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -p /rpool -a 10.83.128.35/24 -i net6 -z testzone
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    IMAGE: ./solaris-10u11-sparc
    ZONE: testzone
    ZONEPATH: /rpool/testzone
    VNIC: vnicZBI83273795
    IP ADDR: 10.83.128.35
    NETMASK: 255.255.255.0
    DEFROUTER: 10.83.128.1
    TIMEZONE: Europe/Copenhagen
    Checking disk-space for extraction
    Ok
    Extracting in /opt/scripts/bootimage.8Ham6r ...
    100% [===============================>]
    Checking data integrity
    Ok
    Checking platform compatibility
    The host and the image do not have the same Solaris release:
    host Solaris release: 5.11
    image Solaris release: 5.10
    Will create a Solaris 10 branded zone.
    Checking disk-space for installation
    Ok
    Installing in /rpool/testzone ...
    100% [===============================>]
    Attaching testzone
    Problem attaching testzone.
    More details in /var/sadm/install/logs/solaris-10u11-sparc.log
    Cleaning up and exiting.
    Friday, May 10, 2013 03:18:01 PM CEST: cleaning up
    root@exsolh0005:/opt/scripts#
    root@exsolh0005:/opt/scripts# cat /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] ==== Starting: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    [Friday, May 10, 2013 03:17:56 PM CEST] Progress being logged to /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:17:56 PM CEST] Log File: /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:57 PM CEST] Converting detached zone boot environment 'zbe'.
    [Friday, May 10, 2013 03:17:57 PM CEST] Unmounting /rpool/testzone/root
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property zoned=on on rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property canmount=noauto on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property mountpoint=legacy on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Mounting boot environment in rpool/testzone/rpool/ROOT/zbe-0 at /rpool/testzone/root (including child datasets)
    cannot open 'ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1': invalid dataset name
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: refresh of ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1 failed
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: Error: rpool/testzone/rpool/ROOT/zbe-0: No such dataset.
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:18:01 PM CEST] Result: Attach Failed.
    [Friday, May 10, 2013 03:18:01 PM CEST] Exiting with exit code 254
    [Friday, May 10, 2013 03:18:01 PM CEST] ==== Completed: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    Looks like a script bug..
    Regards
    Claus

    Hello All,
    I would love to know if someone has a solution to this as I am seeing a similar issue with a slightly different setup.
    Solaris 8 and Netra 240. I get the same result with and without patches and finish scripts. After the jumpstart and the failed boot attempt from disk. I can boot from cd, copy the glm driver from the cd to disk, and then everything works as it should. Obviously this is not a solution but only a work around.
    Is it something to do with the SCSI hardware architecture used in the *240s?
    Edited by: Gareth_Mann on Oct 2, 2007 7:41 PM

  • Inetd service/program crashes with core dump in Solaris 8 zone/container

    I have developed a service in C that is launched from inetd when something comes on a specific port.
    When a connection is opened to the port a core dump is created in the same directory where the executable file is located.
    If you run the same service program from the command line everything is working perfect.
    This is running in a Solaris 8 zone/container on a Solaris 10 machine.
    Everything is set correctly in /etc/inetd.conf and in /etc/services.
    I have even stripped down the program to a hello world program that is just printing a string to the screen and it is still crashing with a core dump.
    # ldd test_srv
    /usr/lib/secure/s8_preload.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    /usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1
    The same service is running on a Linux machine and on a Solaris 10 machine without zones/containers without any problems.
    Can you please help me figure out what am I missing. Is there something specific with zones/containers that should be set / configured?
    Do I have to set some specific env. variables to work in a Solaris 8 zone/container environment or is it something very simple that I'm missing?

    Could you please examine the truss log and advice what the problem is and how to fix it?
    (some lines deleted)
    bash-2.03# truss -f -p 18361 #### /usr/sbin/inetd -s -t &
    18361:  poll(0xFFBFF528, 53, -1)        (sleeping...)
    18361:  poll(0xFFBFF528, 53, -1)                        = 1
    18361:  accept(63, 0xFFBFF870, 0xFFBFF914, 1)           = 3
    18361:  sigprocmask(SIG_BLOCK, 0xFFBFF5F0, 0xFFBFF600)  = 0
    18361:  lwp_sigtimedwait(0xFFBFF600, 0xFFBFF578, 0x00000010) = 0
    18361:  lwp_sigtimedwait(0xFFBFF568, 0xFFBFF728, 0x00000010) = 0
    18361:  fork()                                          = 1921
    1921:   fork()          (returning as child ...)        = 18361
    1921:   sigprocmask(0, 0x00000000, 0xFFBFF600)          = 0
    18361:  sigprocmask(0, 0x00000000, 0xFFBFF600)          = 0
    1921:   lwp_sigtimedwait(0xFFBFF600, 0xFFBFF578, 0x00000010) = 0
    18361:  sigprocmask(SIG_SETMASK, 0xFFBFF5F0, 0xFFBFF600) = 0
    18361:  close(3)                                        = 0
    18361:  sigprocmask(0, 0x00000000, 0xFFBFF600)          = 0
    1921:   lwp_sigtimedwait(0xFFBFF668, 0xFFBFF528, 0x00000020) = 0
    1921:   sigaction(SIGHUP, 0xFFBFF528, 0xFFBFF500)       = 0
    18361:  lwp_sigtimedwait(0xFFBFF568, 0xFFBFF5F0, 0x00000010) = 0
    1921:   lwp_sigtimedwait(0xFFBFF508, 0xFFBFF458, 0x00000010) = 0
    18361:  sigprocmask(SIG_SETMASK, 0xFFBFF5F0, 0xFFBFF600) = 0
    1921:   sigprocmask(SIG_SETMASK, 0xFFBFF5F0, 0xFFBFF600) = 0
    1921:   lwp_sigtimedwait(0xFFBFF600, 0xFFBFF578, 0x00000010) = 0
    1921:   lwp_sigtimedwait(0xFFBFF568, 0xFFBFF728, 0x00000010) = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000000)                  = 0
    1921:   close(3)                                        = 0
    1921:   fcntl(0, F_DUP2FD, 0x00000001)                  = 1
    1921:   fcntl(0, F_DUP2FD, 0x00000002)                  = 2
    1921:   open64("/etc/.name_service_door", O_RDONLY)     = 3
    1921:   fcntl(3, F_SETFD, 0x00000001)                   = 0
    1921:   door_info(3, 0xFF0C2748)                        = 0
    1921:   door_call(3, 0xFFBFF278)                        = 0
    1921:   close(67)                                       Err#9 EBADF
    1921:   close(66)                                       Err#9 EBADF
    1921:   close(65)                                       Err#9 EBADF
    1921:   close(64)                                       Err#9 EBADF
    1921:   close(63)                                       = 0
    1921:   close(62)                                       = 0
    1921:   close(12)                                       = 0
    1921:   close(11)                                       = 0
    1921:   close(10)                                       Err#9 EBADF
    1921:   close(9)                                        Err#9 EBADF
    1921:   close(8)                                        Err#9 EBADF
    1921:   close(7)                                        Err#9 EBADF
    1921:   close(6)                                        Err#9 EBADF
    1921:   close(5)                                        Err#9 EBADF
    1921:   close(4)                                        Err#9 EBADF
    1921:   setrlimit(RLIMIT_NOFILE, 0xFFBFFD20)            = 0
    1921:   xenix(398872, 0xFFBFF5E4, 0x00000040)           = 38
    1921:   execve("/tmp/srv/t_srv", 0x0008B5FC, 0xFFBFFDA0)  argc = 0
    1921:   getuid()                                        = 0 [0]
    1921:   resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
    1921:   open("/var/ld/ld.config", O_RDONLY)             = 3
    1921:   fstat(3, 0xFFBFF5E8)                            = 0
    1921:   mmap(0x00000000, 148, PROT_READ, MAP_SHARED, 3, 0) = 0xFF3E0000
    1921:   close(3)                                        = 0
    1921:   stat("/usr/lib/libc.so.1", 0xFFBFF648)          = 0
    1921:   resolvepath("/usr/lib/libc.so.1", "/usr/lib/libc.so.1", 1023) = 18
    1921:   open("/usr/lib/libc.so.1", O_RDONLY)            = 3
    1921:   mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000
    1921:   mmap(0x00000000, 802816, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF200000
    1921:   mmap(0xFF200000, 703520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF200000
    1921:   mmap(0xFF2BC000, 24772, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xFF2BC000
    1921:   munmap(0xFF2AC000, 65536)                       = 0
    1921:   memcntl(0xFF200000, 113528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
    1921:   close(3)                                        = 0
    1921:   stat("/usr/lib/libdl.so.1", 0xFFBFF648)         = 0
    1921:   resolvepath("/usr/lib/libdl.so.1", "/usr/lib/libdl.so.1", 1023) = 19
    1921:   open("/usr/lib/libdl.so.1", O_RDONLY)           = 3
    1921:   mmap(0xFF340000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF340000
    1921:   mmap(0x00000000, 8192, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xFF330000
    1921:   mmap(0xFF330000, 2638, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF330000
    1921:   close(3)                                        = 0
    1921:   stat("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", 0xFFBFF368) = 0
    1921:   resolvepath("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", "/usr/platform/sun4u-us3/lib/libc_psr.so.1", 1023) = 41
    1921:   open("/usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1", O_RDONLY) = 3
    1921:   mmap(0xFF340000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF340000
    1921:   close(3)                                        = 0
    1921:   mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF320000
    1921:   dup(0)                                          = 3
    1921:   llseek(0, 0, SEEK_CUR)                          Err#29 ESPIPE
    1921:   close(0)                                        = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000000)                  = 0
    1921:   close(3)                                        = 0
    1921:   dup(1)                                          = 3
    1921:   close(1)                                        = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000001)                  = 1
    1921:   close(3)                                        = 0
    1921:   dup(2)                                          = 3
    1921:   close(2)                                        = 0
    1921:   fcntl(3, F_DUP2FD, 0x00000002)                  = 2
    1921:   close(3)                                        = 0
    1921:   sys#177(0x00000080, 0xFFBFFB7C, 0xFF3F0518, 0x00000000, 0xFF3C2EF8, 0xFF2C0284) = 0x00000000 [0xFFBFFB7C]
    1921:   sys#227(0x00000006, 0x00000000, 0x0001ADF0, 0xFF3F0518, 0xFF3C3C18, 0xFF3C2670) = 0x0000000C [0x00000000]
    1921:   sys#227(0x00000002, 0x0000000C, 0x0000000E, 0xFFBFFCAE, 0x00000002, 0xFF3C2670) = 0x00000002 [0x00000000]
    1921:       Incurred fault #6, FLTBOUNDS  %pc = 0xFF232E2C
    1921:         siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    1921:       Received signal #11, SIGSEGV [default]
    1921:         siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    1921:           *** process killed ***
    18361:      Received signal #18, SIGCLD, in poll() [caught]
    18361:        siginfo: SIGCLD CLD_DUMPED pid=1921 status=0x000B
    18361:  poll(0xFFBFF528, 53, -1)                        Err#4 EINTR
    18361:  lwp_sigtimedwait(0xFFBFF218, 0xFFBFF140, 0x00000010) = 0
    18361:  lwp_sigtimedwait(0xFFBFF130, 0xFFBFF218, 0x00000010) = 0
    18361:  sigprocmask(0, 0x00000000, 0xFFBFEF28)          = 0
    18361:  poll(0xFFBFF528, 53, -1)        (sleeping...)Thank you in advance

  • Solaris Branded Zones, Unable to reboot/Halt

    Hi People,
    Hoping someone can help. Im running Solaris 10 on a Sun Workstation Ultra 45. I have two disks. One disk has the default install of solaris 10 all updated to the latest patches.The second disk is mounted as /zones and holds each of the zones on ZFS. I have then downloaded and installed successfully Solaris 8 and Solaris 9 and Solaris 10 zones. So I have 3 zones.
    The problem I am facing is I can boot up all 3 zones fine and they work great, however when I halt or reboot either Solaris 8 or solaris 9, they never come back up. I try and zlogin to them and telnet and ssh and they are totally unresponsive and quite literally dont boot. I have tried to pkill -9 -z zonename ; umount /zonesfilesystem; zpool clear and even rebooted the Global zone. Still will not come up. The only way they will boot after being shutdown is if i shutdown the global zones and turn the server off and back on.
    Solaris 10 Zone boots up and down fine with no isses. I have tried this on both UFS and ZFS thinking it might be a file lock issue. Still unable to reboot or halt a zone and bring it back up.
    Any help please :)
    Thanks in advance.

    When they are unable to come back up, what does 'zoneadm list -cv' say? If the state of the zone is "down" or "shutting_down", you can probably benefit from the fix for:
    7038404 outstanding zone references should not cause zone_destroy(2) to hang
    This is available in 147440-05 (sparc) / 147441-05 (x86) or later.

  • Configuration of tftp server on a Solaris 10 Zone

    tftp is working fine on Solaris global Zone, but we are encountering problems in running tftp in other zones. Are there any configuration changes we would have to make in order for tftp to work from any Zones?

    Install the tftp package in the zone and configure it, which should be no different than in Solaris 10.  The only difference would be the use of the new packaging system.

  • Ports management in Solaris 10 Zones

    Hi,
    I am new in this area. We have a software vendor who stated that their applications should be able to:
    - open TCP connections to ports in the ranges 21400-21404 and 50000-50199 on the server
    - telnet port 23 for Galaxy 2000, http port 80 for Viewpoint (Server); etc.
    - IngresNet is on listen address I3 (port 21400).
    We have a Server & Storage infrastructure policy of implementing all Unix based applications on Solaris 10 Zones clustered on two nodes.
    Will there be a problem with the vendor requests?. To me, it is about independent port management within Solaris 10 zones
    Thanks in advance.

    Does this imply there are no ports which are common/shared between the Global and local zones.
    If there are, does it mean that opening one in that group of ports in the local zone will automatically implied its equivalent in the global is also opened?

  • Multiple VNICs in Solaris 11 Zone

    Is there a best way to create a vnic within a solaris 11 zone on top of the zone's interface. I was able to create a vnic from the ipmp interface but this
    may not be a proper way.
    Does multiple vnics within a zone need to be created outside the zone first? This is not using a vsw because it's not a private network.

    There are a couple of options:
    1. If  'anet' resource type is specified in zonecfg(1M) for creating the VNIC,
    add another anet for the zone. This will create a second VNIC when the zone is rebooted.
    2. If 'dladm set-linkprop -p zone=...  <vnic-link-name>' is used for assigning the
    VNIC to the zone, create a second VNIC and assign it to the zone the same way.
    -Krishna

Maybe you are looking for

  • Oracle report can not run from the form using 10gAs(release 1)

    Hi My matrix oracle report is okay from the builder but it is too slow when i call from the form.And finally it says me [b]Network Access Message: The page cannot be displayed Explanation: The request timed out before the page could be retrieved. Try

  • How can i transfer a playlist from iPad to windows 7

    how can i transfer a playlist from iPad to windows 7 Thank you

  • 1.     Multiple Sales Orders with single billing .

    Hi gurus, I am doing in EC6. how can i get single billing document for multiple sales orders. please tellme that configuration settings i need to do. I am wating for reply Thanks and regards DVSk

  • Why not turn off restore windows?

    I really don't like the restore windows feature.  I want my computer to only open to the desktop. But one site I saw disabling it is "overkill" and suggests downloading a third party app that lets you at least select which app windows to open or not.

  • Data Center InterConnect with Dark Fibre

    Dear all, We are designing a Data Center InterConnection for our two Data Centers on top of a 10G Dark Fibre. Our primary goal is to:- extend a few vlans between the two DCs; Support VMware vMotion betwen the two DCs; asymmetric SAN synchronization;