Solaris 10 system frozen.

Hi!
First, excuse me my bad english, and due this is the first time I wrote here, also if this isn't the right forum.
We have a nas machine with a complete install of solaris 10. All is make in ZFS. The systems install is a zpool, and we have two zpool more. All was working fine, up to one or two weeks ago.
Sometimes we need to restart the machine, because any service (ssh, samba, ftp or lighttpd) is ready. If we make a ping to the machine its answer right, but we are unable to enter it via SSH, or use any other service.
Due the inexperience with this system (we have only experience with FreeBSD or GNU/Linux), we can't see what's the problem (doesn't appear anything in any /var/log archive log).
Please, anybody could help us with any kind of url, information, etc?
This is the machine's dmesg. Tell me is you need any informacion.
http://isengard.vlex.com/sol10-dmesg.txt
Thank you very much.
Manuel.
Edited by: systemsvlex on Jul 6, 2009 1:01 AM

alan.pae wrote:
man syslog.conf and it will explain it to you.Thank you!! the name "log"host suggested me a reference to the system log, but I had not thought that this was like in freebsd.
All of the services listed are network related so I was heading in that direction. You might want to look at /var/adm/messages which is were normal system messages are written to on a Solaris system.I cannot see anything related about a services/network/disks problem in /var/adm/messages.
Also, instead of nmap try http://www.ilkda.com/op.htm instead and see what that says for open ports on the system.
Good. But this is a script to run in the system, and when we have this problem I cannot make a login into the system. I made the nmap scan because I was confused due the imposibility to access to any service, but to have ping answer from the server.
So the question becomes: You had to reboot because system services stop responding? From your post it looks like they are network related but you think it has something to do with the disk setup instead? The big problem: I have experience with FreeBSD and GNU/Linux systems, but this is my first experience with Solaris (in other words; I'm a Solaris newbie).
At first I thought it was a problem regarding the disk or system ZFS, but now I have serious doubts about whether this is a problem of network/services or disk.
I haven't enought clues to determine (today) if this is a disk or a service/network problem, because only one time I can at the datacenter when occurs the problem, I connected a monitor and a usb keyboard; the monitor displayed the normal screen (no syslog information about any problem), and the usb-keyboard doesn't work and was completely impossible to make a login and watch were service, network, etc.
The link to ipnodes is correct depending on the version of Solaris that you are running btw. Yes. According to the documentation in Solaris 10 ipnodes is a link to the hosts file.
Please help clarify where the issue is.Excuse me. I can understand that you have problems trying to help me due my lack of information and my bad english. But I'm confident that with your help, we can know, at least, what its happening with this problem.
Thank you very much Alan.
Regards.

Similar Messages

  • Our Solar System is not called the "Milky Way."

    This is not a question but a correction to the web site's LabVIEW developer challenge. Under the Solar system challenge they reffered to our solar system as the milky way, the milky way is infact the "GALAXY" in which SOLAR SYSTEM resides.
    josh

    So our star system is called what? Our star is called Sol and the star system is the solar system, right?
    You are correct that the Milky Way is a galaxy, not a star system. (It is also the best candy bar for eating frozen if you ask me
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • OK to use fdisk/100% "SOLARIS System" partition for RAID6 Virtual Drive?

    Solaris newb, here - I am configuring an x4270 with 16 135 GB drives. Basic approach is
    D0, D1: RAID 1 (Boot volume, Solaris, Oracle Software)
    D2-D13: RAID 6 (Oracle dB files)
    D14, D15: global spares
    After configuring the RAID's w/WebBIOS Utility, I am now trying to format/partition the RAID 6 Virtual Drive, which shows up as 1.327 TB 'Optimal' in the MegaRAID Storage Manager. After hunting around the ether for advice on how to do this, I came across http://docs.oracle.com/cd/E23824_01/html/821-1459/disksxadd-50.html#disksxadd-54639
    "Creating a Solaris fdisk Partition That Spans the Entire Drive"
    which is painfully simple: after 'format', just do an 'fdisk' and accept the default 100% "SOLARIS System" partition. After doing this, partition>print and prtvtoc show this:
    partition> print
    Current partition table (original):
    Total disk cylinders available: 59125 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 unassigned wm 0 0 (0/0/0) 0
    1 unassigned wm 0 0 (0/0/0) 0
    2 backup wu 0 - 59124 1.33TB (59125/0/0) 2849529375
    3 unassigned wm 0 0 (0/0/0) 0
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    8 boot wu 0 - 0 23.53MB (1/0/0) 48195
    9 unassigned wm 0 0 (0/0/0) 0
    # prtvtoc /dev/dsk/c0t1d0s2
    * /dev/dsk/c0t1d0s2 partition map
    * Dimensions:
    * 512 bytes/sector
    * 189 sectors/track
    * 255 tracks/cylinder
    * 48195 sectors/cylinder
    * 59127 cylinders
    * 59125 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * Unallocated space:
    * First Sector Last
    * Sector Count Sector
    * 48195 2849481180 2849529374
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    2 5 01 0 2849529375 2849529374
    8 1 01 0 48195 48194
    My question: is there anything inherently wrong with this default partitioning? Database is for OLTP & fairly small (<200 GB), with about 140 GB being LOB images.
    Thanks,
    Barry

    First off, RAID-5 or RAID-6 is fine for database performance unless you have some REALLY strict and REALLY astronomical performance requirements. Requirements that someone with lots of money is willing to pay to meet.
    You're running a single small x86 box with only onboard storage.
    So no, you're not operating in that type of environment.
    Here's what I'd do, based upon a whole lot of experience with Solaris 10 and not so much with Solaris 11, and also assuming this box is going to be around for a good long time as an Oracle DB server:
    1. Don't use SVM for your boot drives. Use the onboard RAID controller to make TWO 2-disk RAID-1 mirrors. Use these for TWO ZFS root pools. Why two? Because if you use live upgrade to patch the OS, you want to create a new boot environment in a separate ZFS pool. If you use live upgrade to create new boot environments in the same ZFS pool, you wind up with a ZFS clone/snapshot hell. If you use two separate root pools, each new boot environment is a pool-to-pool actual copy that gets patched, so there are no ZFS snapshot/clone dependencies between the boot environments. Those snapshot/clone dependencies can cause a lot of problems with full disk drives if you wind up with a string of boot environments, and at best they can be a complete pain in the buttocks to clean up - assuming live upgrade doesn't mess up the clones/snapshots so badly you CAN'T clean them up (yeah, it has been known to do just that...). You do your first install with a ZFS rpool, then create rpool2 on the other mirror. Each time you do an lucreate to create a new boot environment from the current boot environment, create the new boot environment in the rpool that ISN'T the one the current boot environment is located in. That makes for ZERO ZFS dependencies between boot environments (at least in Solaris 10. Although with separate rpools, I don't see how that could change....), and there's no software written that can screw up a dependency that doesn't exist.
    2. Create a third RAID-1 mirror either with the onboard RAID controller or ZFS, Use those two drives for home directories. You do NOT want home directories located on an rpool within a live upgrade boot environment. If you put home directories inside a live upgrade boot environment, 1) that can be a LOT of data that gets copied, 2) if you have to revert back to an old boot environment because the latest OS patches broke something, you'll also revert every user's home directory back.
    3. That leaves you 10 drives for a RAID-6 array for DB data. 8 data and two parity. Perfect. I'd use the onboard RAID controller if it supports RAID-6, otherwise I'd use ZFS and not bother with SVM.
    This also assumes you'd be pretty prompt in replacing any failed disks as there are no global spares. If there would be significant time before you'd even know you had a failed disk (days or weeks), let alone getting them replaced, I'd rethink that. In that case, if there were space I'd probably put home directories in the 10-disk RAID-6 drive, using ZFS to limit how big that ZFS file system could get. Then use the two drives freed up for spares.
    But if you're prompt in recognizing failed drives and getting them replaced, you probably don't need to do that. Although you might want to just for peace of mind if you do have the space in the RAID-6 pool.
    And yes, using four total disks for two OS root ZFS pools seems like overkill. But you'll be happy when four years from now you've had no problems doing OS upgrades when necessary, with minimal downtime needed for patching, and with the ability to revert to a previous OS patch level with a simple "luactivate BENAME; init 6" command.
    If you have two or more of these machines set up like that in a cluster with Oracle data on shared storage you could then do OS patching and upgrades with zero database downtime. Use lucreate to make new boot envs on each cluster member, update each new boot env, then do rolling "luactivate BENAME; init 6" reboots on each server, moving on to the next server after the previous one is back and fully operational after its reboot to a new boot environment.

  • Anyone know when the 'Patch' or 'service pack' will be released for UDS 5?  It doesn't work correctly on Solaris systems.

    When trying to export code from older versions of forte and import the code into UDS 5, the imports don't work correctly on Sun server, Solaris system. Errors in the Windows. Seems to be a common problem, but haven't heard of any patch yet.

    The SP1 for UDS 5 or 5.0.3 will be out in 2-3 weeks. I already have a beta copy of SP1 so I am sure you can request this if you open a case on your problem. I have never ran into the problem you are describing.
    ka

  • 11 -- 11,1 Upgrade: pkg://solaris/system/library signature problems?

    Hi all,
    I have a vanilla 11 11/11 lab system (x64, in VirtualBox) that I've tried to upgrade to 11.1:
    # uname -a
    SunOS alpha 5.11 11.0 i86pc i386 i86pc
    # pkg list entire
    NAME (PUBLISHER) VERSION IFO
    entire 0.5.11-0.175.0.0.0.2.0 i--
    # pkg publisher
    PUBLISHER TYPE STATUS URI
    solaris origin online http://pkg.oracle.com/solaris/release/
    It has full connectivity to the Internet, and I've tried pointing it to the public release repo, a local 11.1 repo that has had the update ISO injected into it, and with a single loopback repo pointing to only the upgrade ISO (sol-11_1-upgrade-repo.iso, md5 verified). In all 3 cases I get this at the first stage of the upgrade:
    # pkg update
    Creating Plan |
    pkg update: A signature in pkg://solaris/system/[email protected],5.11-0.175.0.10.1.0.0:20120918T164707Z could not be verified for this reason:
    The signature value did not match the expected value. Res: 0
    The signature's hash is 235c7674d821032ae3eeda280c7837d1f1f4fdb5
    I must be missing something simple, because I can't imagine a bad signature in the public or upgrade-ISO repos. Any ideas?
    Thanks!

    If possible, please file a support request for this issue through the My Oracle Support portal so that the details of the issue can be captured.
    With that said, executing the following commands may provide a viable workaround:
    pkg set-property signature-policy=ignore
    pkg set-publisher --set-property signature-policy=ignore solaris
    Once the above commands have been executed, attempt the pkg update again. If successful, then after rebooting to the new boot environment, reset the properties as follows:
    pkg unset-property signature-policy
    pkg set-publisher --unset-property signature-policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Installation of iCS 2.x on a Solaris system in which  X or Open Windows software in not installed

    When I try to run the install wizard for iPlanet Calendar Server 2.x on a
    Solaris system that does not have X-Windows or Open Windows graphical user
    interface, I get the following error:<BR>
    <P>
    Starting install wizard in graphical mode
    ld.so.1: instsupp/bin/java: fatal: libX11.so.4: open failed: No such file or
    directory
    Killed
    setup: The installation failed with errors.
    <P>
    To work around this problem, place a copy of libX11.so.4
    into the /usr/lib
    directory. This will allow
    you to run the Calendar Server 2.x installer in the -nodisplay
    mode. You can find the
    libjava.so in the
    instsupp/lib/sparc/native_threads
    directory under the installation
    program tree.

    I thought that might be the case, so I preemptively expanded the mac partition to fill the entire disk, and retried -- it did not work.  I think, at this point, my best bet might be to reinstall OSX from scratch, enable file-vault, and then repartition and install the other OS's.

  • Comparing Solaris systems?

    Does anyone have a process that they can recommend for comparing different Solaris systems to look for inconsistencies? We have a 6 node cluster where all 6 nodes should be identical. For now, I want to verify that they have the same patches applied and the same packages installed (including specific versions). I may want to include more as I get further along, but this is the bare minimum to start. I'd also like to be able to have an automated process that can detect changes and alert us as well.
    All systems are Solaris 10 built from the 5/08 OS.
    thanks in advance.

    SAP Suggest to use backup/restore or R3load .
    Yes - because that´s the most uncomplicated way.
    if I want to create a trace file manually and shut down database,sap .
    copy over  data files /origfile/logs from os level to target system and recover the system and install sap.
    There´s no issue with that if you know what you´re doing
    If you don't use sap mentioned procedure  in that case SAP does not provide any support .
    If you have a problem with that copy procedure itself you will be on you own. if the target system is running already you will still get support of course because nobody asks you later, how you did the copy.
    Markus

  • 3D Solar System problems

    hi,
    I'm trying to simulate a solar system and I have those two problems
    - I can't add a sattelite to a planet (the moon to the earth)
    - I can't make a planet turn on itself (only the central one: the sun)
    Here is my source. Thanks for helping.
    Sorry for the comments in french.
    You can send your answers to [email protected]
    class Espace
    *     Auteur : Leli�vre Antoine                                   *
    *     Fichier : Espace.java                                   *
    *     Fonction: Reconstitution de notre systeme solaire *
    *     Date: 09/02/04                                             *
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.BranchGroup;
    import javax.media.j3d.Transform3D;
    import javax.vecmath.Vector3f;
    import javax.media.j3d.TransformGroup;
    import javax.media.j3d.Canvas3D;
    //import javax.media.j3d.Alpha;
    //import javax.media.j3d.RotationInterpolator;
    import javax.media.j3d.BoundingSphere;
    import javax.vecmath.Point3d;
    import javax.media.j3d.Background;
    import com.sun.j3d.utils.image.TextureLoader;
    //import javax.media.j3d.Texture2D;
    import javax.media.j3d.ImageComponent2D;
    import javax.swing.JFrame;
    public class Espace extends JFrame
         public Espace()
              super("Systeme Solaire...");
              // creation du canvas
              Canvas3D canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration());
              getContentPane().add("Center",canvas);
              // cr�ation de la sc�ne, regroupement des objets
              BranchGroup scene = createScene();
              scene.compile();
              // cr�ation de l'univers de la scene 3D
              SimpleUniverse univers = new SimpleUniverse(canvas);
              // on met le plan de projection en arriere par rapport � l'origine
              univers.getViewingPlatform().setNominalViewingTransform();
              // on place la sc�ne dans l'univers "univers"
              univers.addBranchGraph(scene);
              //arret du programme lors du clic sur la croix
              setDefaultCloseOperation(EXIT_ON_CLOSE);
         * creation d'un groupement d'objet *
         public BranchGroup createScene()
              // creation du BG principal
              BranchGroup ObjPrinc = new BranchGroup();
              BranchGroup terre = new BranchGroup();
              BranchGroup mars = new BranchGroup();
              BranchGroup saturne = new BranchGroup();
              BranchGroup jupiter = new BranchGroup();
              BranchGroup venus = new BranchGroup();
              BranchGroup mercure = new BranchGroup();
              BranchGroup lune = new BranchGroup();
              BranchGroup uranus = new BranchGroup();
              BranchGroup neptune = new BranchGroup();
              BranchGroup pluton = new BranchGroup();
              TextureLoader loader=new TextureLoader("fond.jpg",this);
              ImageComponent2D image=loader.getImage();
              Background bg=new Background(image);
              bg.setApplicationBounds(new BoundingSphere(new Point3d(0,0,0),150d));
              ObjPrinc.addChild(bg);
              Animation MonAnimation = new Animation();
              //------ Debut Objet Lune-------
              //Planete Lune = new Planete();
              //Transform3D Translation1 = new Transform3D();
              //Translation1.set(new Vector3f(0.05f, 0.0f, 0.0f));
              //TransformGroup TranslateGP1 = new TransformGroup(Translation1);
              //TranslateGP1.addChild(Lune.AjoutPlanete("lune.jpg",0.01f));
              //lune.addChild(TranslateGP1);
              //------ Fin Objet Lune -----
              //------ Debut Objet Terre -------
              Planete Terre = new Planete();
              Planete Lune = new Planete();
              Transform3D Translation = new Transform3D();
              Translation.set(new Vector3f(0.4f, 0.0f, 0.0f));
              TransformGroup TranslateGP = new TransformGroup(Translation);
              TranslateGP.addChild(Terre.AjoutPlanete("earth.jpg",0.03f));
              terre.addChild(TranslateGP);
              //------ Fin Objet Terre -----
              //------ Debut Objet Saturne -------
              Planete Saturne = new Planete();
              Transform3D Translation2 = new Transform3D();
              Translation2.set(new Vector3f(0.9f, 0.0f, 0.2f));
              TransformGroup TranslateGP2 = new TransformGroup(Translation2);
              TranslateGP2.addChild(Saturne.AjoutPlanete("saturne.jpg",0.08f));
              saturne.addChild(TranslateGP2);
              //------ Fin Objet Saturne-----
              //------ Debut Objet Mars -------
              Planete Mars = new Planete();
              Transform3D Translation3 = new Transform3D();
              Translation3.set(new Vector3f(0.5f, 0.0f, 0.0f));
              TransformGroup TranslateGP3 = new TransformGroup(Translation3);
              TranslateGP3.addChild(Mars.AjoutPlanete("mars.jpg",0.02f));
              mars.addChild(TranslateGP3);
              //------ Fin Objet Mars -----
              //------ Debut Objet Jupiter-------
              Planete Jupiter = new Planete();
              Transform3D Translation4 = new Transform3D();
              Translation4.set(new Vector3f(0.7f, 0.0f, 0.0f));
              TransformGroup TranslateGP4 = new TransformGroup(Translation4);
              TranslateGP4.addChild(Jupiter.AjoutPlanete("jupiter.jpg",0.1f));
              jupiter.addChild(TranslateGP4);
              //------ Fin Objet Jupiter -----
              //------ Debut Objet Venus-------
              Planete Venus = new Planete();
              Transform3D Translation5 = new Transform3D();
              Translation5.set(new Vector3f(0.3f, 0.0f, 0.0f));
              TransformGroup TranslateGP5 = new TransformGroup(Translation5);
              TranslateGP5.addChild(Venus.AjoutPlanete("venus.jpg",0.03f));
              venus.addChild(TranslateGP5);
              //------ Fin Objet Venus -----
              //------ Debut Objet Mercure-------
              Planete Mercure = new Planete();
              Transform3D Translation6 = new Transform3D();
              Translation6.set(new Vector3f(0.2f, 0.0f, 0.0f));
              TransformGroup TranslateGP6 = new TransformGroup(Translation6);
              TranslateGP6.addChild(Mercure.AjoutPlanete("mercure.jpg",0.01f));
              mercure.addChild(TranslateGP6);
              //------ Fin Objet Jupiter -----
              //------ Debut Objet Uranus-------
              Planete Uranus = new Planete();
              Transform3D Translation7 = new Transform3D();
              Translation7.set(new Vector3f(1.1f, 0.0f, 0.0f));
              TransformGroup TranslateGP7 = new TransformGroup(Translation7);
              TranslateGP7.addChild(Uranus.AjoutPlanete("uranus.jpg",0.05f));
              uranus.addChild(TranslateGP7);
              //------ Fin Objet Uranus -----
              //------ Debut Objet Neptune-------
              Planete Neptune = new Planete();
              Transform3D Translation8 = new Transform3D();
              Translation8.set(new Vector3f(1.45f, 0.0f, 0.0f));
              TransformGroup TranslateGP8 = new TransformGroup(Translation8);
              TranslateGP8.addChild(Uranus.AjoutPlanete("neptune.jpg",0.05f));
              neptune.addChild(TranslateGP8);
              //------ Fin Objet Neptune -----
              //------ Debut Objet Pluton-------
              Planete Pluton = new Planete();
              Transform3D Translation9 = new Transform3D();
              Translation9.set(new Vector3f(1.7f, 0.0f, 0.0f));
              TransformGroup TranslateGP9 = new TransformGroup(Translation9);
              TranslateGP9.addChild(Uranus.AjoutPlanete("mercure.jpg",0.005f));
              pluton.addChild(TranslateGP9);
              //------ Fin Objet Pluton-----
              //----- d�but objet Soleil -----
              Planete Soleil = new Planete();
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,Soleil.AjoutPlanete("soleil.jpg",0.15f),-1,3000);
              //----- fin 2eme objet
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,terre,-1,10000);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,saturne,-1,294500);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,mars,-1,18800);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,jupiter,-1,118600);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,venus,-1,6100);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,mercure,-1,2400);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,uranus,-1,840000);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,neptune,-1,1640000);
              ObjPrinc = MonAnimation.Rotation(ObjPrinc,pluton,-1,2470000);
              //am�lioration du processus d'affichage
              ObjPrinc.compile();
              return ObjPrinc;
         public static void main(String[] args)
              Espace MonEspace = new Espace();
              MonEspace.setSize(1024,768);
              MonEspace.setVisible(true);
    class Animation
    *     Auteur : Leli�vre Antoine                                        *
    *     Fichier : Animation.java                              *
    *     Fonction: Animation de la scene                     *
    *     Date     : 14/02/04                                        *
    import com.sun.j3d.utils.geometry.Sphere;
    import javax.media.j3d.BranchGroup;
    //import javax.media.j3d.Transform3D;
    import javax.media.j3d.TransformGroup;
    import javax.media.j3d.Alpha;
    import javax.media.j3d.RotationInterpolator;
    import javax.media.j3d.BoundingSphere;
    public class Animation
         public Animation()
         public BranchGroup Rotation(BranchGroup GroupeObj,Sphere UnePlanete,int NbTour,long tps)
              TransformGroup TG = new TransformGroup();
              //Donner la possibilit� a l'objet de bouger
              TG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              GroupeObj.addChild(TG);
              // Ajout de la sphere � l'objet charger de l'animation
              TG.addChild(UnePlanete);
              // Configuration du nombre de tour et la vitesse
                        // ici tourne ind�finiment (-1) et prend 60 secondes pour faire un tour
              Alpha alpha = new Alpha(NbTour,tps);
              RotationInterpolator Rotation = new RotationInterpolator(alpha, TG);
              Rotation.setSchedulingBounds(new BoundingSphere());
              GroupeObj.addChild(Rotation);
              return GroupeObj;
         public BranchGroup Rotation(BranchGroup GroupeObj,BranchGroup TG1,int NbTour,long tps)
              TransformGroup TG = new TransformGroup();
              //Donner la possibilit� a l'objet de bouger
              TG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              GroupeObj.addChild(TG);
              // Ajout de la sphere � l'objet charger de l'animation
              TG.addChild(TG1);
              // Configuration du nombre de tour et la vitesse
                        // ici tourne ind�finiment (-1) et prend 60 secondes pour faire un tour
              Alpha alpha = new Alpha(NbTour,tps);
              RotationInterpolator Rotation = new RotationInterpolator(alpha, TG);
              Rotation.setSchedulingBounds(new BoundingSphere());
              GroupeObj.addChild(Rotation);
              return GroupeObj;
    class Planete
    *     Auteur : Leli�vre Antoine                                   *
    *     Fichier : Planete.java                                   *
    *     Fonction: Ajouter une plan�te                         *
    *     Date     : 09/02/04                                        *
    import com.sun.j3d.utils.geometry.Sphere;
    import com.sun.j3d.utils.image.TextureLoader;
    import javax.media.j3d.Appearance;
    import javax.media.j3d.ColoringAttributes;
    //import javax.media.j3d.ImageComponent;
    import javax.media.j3d.Texture;
    import javax.media.j3d.Texture2D;
    import javax.media.j3d.TextureAttributes;
    import javax.media.j3d.ImageComponent2D;
    import java.awt.Container;
    public class Planete
         public Planete()
         * Cr�ation d'une nouvelle planete     *
         *     Param�tre: Nom du fichier image *
         *               Rayon de la plan�te     *
         * Renvoie     : l'objet Sphere           *
         public Sphere AjoutPlanete(String NomImage,float Rayon)
              Appearance AppTexture = AjoutTexture(NomImage);
              Sphere NouvellePlanete = new Sphere(Rayon,Sphere.GENERATE_TEXTURE_COORDS,35,AppTexture);
              return NouvellePlanete;
         *     Ajout du texture sur la sphere     *
         * Param�tre: Nom du fichier image *
         *     Renvoi : L'objet Appearance     *
         private Appearance AjoutTexture(String NomImage)
              try
                   Appearance Apparence = new Appearance();
                   // chargement d'une image pour texture
                   TextureLoader loader = new TextureLoader(NomImage,new Container());
                   ImageComponent2D image = loader.getImage();
                   // instanciation de l'objet texture
                   Texture2D texture = new Texture2D(Texture.BASE_LEVEL,Texture.RGBA,image.getWidth(),image.getHeight());
                   texture.setImage(0, image);
                   // ajout de la texture � l'apparence
                   Apparence.setTexture(texture);
                   Apparence.setTextureAttributes(new TextureAttributes());
                   return Apparence;
              catch(NullPointerException e1)
                   // Creation d'une texture uni dans le cas ou le fichier image n'exciste pas
                   Appearance Apparence = new Appearance();
                   ColoringAttributes bleu = new ColoringAttributes();
                   bleu.setColor(0.0f,0.0f,0.8f);
                   Apparence.setColoringAttributes(bleu);
                   return Apparence;
    }

    Couple of suggestions:
    1. Get rid of everything else except the earth and moon. You have too much happening at one time to figure out what is wrong.
    2. Re-post the new slimmer version of your code using the [code ] [code ] tags (without the space after the word 'code') so I can read it. See http://forum.java.sun.com/features.jsp#Formatting for more help.
    3. Don't use .jpg files in your example. I don't have those files so I can't compile your code on my machine.
    4. If you are getting any errors, post the entire stack trace.
    fitz

  • Implementation of Posix Thread class in c++ for solaris system

    Hello Everyone,
    Please help me with information regarding how to implement Posix Thread Class in c++ for Solaris 5.8 system.
    if available Please let me know any Open Source Posix Threads C++ built-in library available for Solaris System.
    Thanks in Advance.
    Thanks & Regards,
    Vasu

    Posix threads are available on Solaris, and can be used directly in C or C++ programs. Include the header <pthread.h> to get access to the types, constants, and functions. Compile with the option
    -mt
    on every command line, and link with the options
    -mt -lpthread
    If you want to create a class to provide a different sort of interface to phreads you can do so by building on the <pthread.h> functionality.

  • Solar System Fly Through?

    Hi all,
    I have Adobe Productiom Premium CS3 and wanting to make this http://www.youtube.com/watch?v=por0oYEBs7k
    Asking for suggestions and tips on how to go about completing this project. I have tried looking for templates, but cannot find any.
    Thank you in advance.
    deakant

    ONe of the better solar system tutorials comes with a few of the books authored byTrish and Chris Meyer. It's a classic example of moving a camera through 3D space using flat circles that are told to orient toward the camera. Take a bit of research on your behalf. Start with the Meyer's blogs on
    http://provideocoalition.com/index.php/cmg_keyframes
    If you are just learning AE, you can invest in the every Meyer book with total confidence.
    bogiesan

  • Solar system menu

    Hi everybody
    Does anybody have an example or where to found a tutorial
    that explain me how to make a menu that simulate a solar system or
    something like that?
    Thank you very much

    Hi,
    there's no complete list.
    but you have the menuUID from every item.
    1. activate "View" (Toolbar) ->System Information
    2. then you see under "Modules" (Toolbar) all MenuUIDs when you move the mouse over it.
    give it a try
    EDIT: sorry Petr - i don't get it why you are always fast
    sorry
    lg David
    Edited by: David Nussböck on Jul 29, 2008 9:19 AM

  • Unable to go back more 7 days in solaris systems

    I have noticed that in new solaris systems running Sun OS 5.9, I am unable to go back more than 7 days using the timezone shift. However this is possible in older systems running Sun OS 5.9. Is there an easy solution in newer systems to go back more than 7 days? Thanks in advance

    You probably be better off describing why you want to do this. What it is your trying to achieve.
    That way we might be able to suggest some method other than tweaking the timezone.

  • Want to read out put from Solaris System into Oracle Form

    Hi all
    I want some code of trigger which on fire get output from Solaris system into Windows i.e When I press push button window base system sent "df -kh" command to "\\172.16.3.16" and display output into text box.
    BR//

    When I press push button window base system sent "df -kh" command to " 172.16.3.16" and display output into text box.This can be accomplished by using a Host call to run the system command. You will need to output the results of the system command to a file and then read contents of the file into your form. The HOST built-in has a limitation, however. The HOST built-in can only execute commands on the Application Server (AS), so hopefully, the "Solaris" system you mentioned is your AS. Once the HOST call completes and the output file is created, you can read the contents of the file using the TEXT_IO built-in.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Curious about the Solar System in Appleworks

    Hi,
    Curious how or if I can draw nine circles in appleworks to represent the solar system. When trying to do this task, I use the circle tool, but then cannot make a smaller circle fit inside to represent the planets individual orbit.
    It may be impossible, but thought I'd ask
    Here's an example;
    http://www.fourmilab.ch/cgi-bin/Solar
    Thanks,
    -s
    Message was edited by: S Crawford

    Hello
    It seems that your glasses are out of date
    Looking at the passed shot you may see that the nine circles are "empty". The grid is visible which means that we may move the circle as we want, the nine ones will remain visible.
    You just need to use the background icon and select none.
    or
    Yvan KOENIG (from FRANCE jeudi 27 mars 2008 13:18:58)

  • Need guidance on using ddi_regs_map_setup solaris system call

    Hi all,
    Am a beginner in using Sun Solaris.
    I am working on porting our source code from linux to solaris.
    In Linux we are using inb/outb to read/write to keyboard data port(0x60) .
    I know that there is an equivalent system call for inb/outb in solaris. But in man page(of sun os) it is mentioned that inb/ outb are obsolete. It was mentioned that we can use ddi_get8/ddi_put8 functions respectively.
    ddi_get8 call requires ddi_acc_handle_t as a parameter which we can get it from ddi_regs_map_setup system call.
    Syntax for this call is:
    int ddi_regs_map_setup(dev_info_t *dip, uint_t rnumber,
    caddr_t *addrp, offset_t offset, offset_t len,
    ddi_device_acc_attr_t accattrp, ddi_acc_handle_t handlep);
    Please let me know where does the 0x60 port number fits in the above system call and what does these parameters rnumber, offset, len corresponds to ?

    Hi,
    The Fault_PC 0x13575e8 tells you exactly where you
    die. I assume you have used this in mdb on
    the core file to find you are dying in the ddi_get8 call?
    Are you checking return value of ddi_regs_map_setup?
    Are you sure the register you are accessing is in register set 1?
    Are there other places prior to the panic where
    the ddi_get/ddi_put routines work correctly? A bus error
    here generally means the location you are trying to access
    does not exist on the device. (It could also be alignment,
    but not with ddi_get8). The address
    looks like 1fe.02001400, which looks like a possibly
    valid address in I/O space.
    I would print the value of wc->ioaddr to make sure
    it is a valid virtual address.
    Hi,
    I'm in the middle of porting a device driver for a
    PCI card from linux to solaris (it's wcfxo from
    zaptel - part of asterisk).
    >
    WARNING: [AFT1] Bus Error on System Bus in privileged
    mode from CPU0 Data access at TL=0, errID
    0x0000000b.985ccf88
    AFSR 0x00000000.84000000<PRIV,BERR> AFAR
    AFAR 0x000001fe.02001400
    AFSR.PSYND 0x0000(Score 05) AFSR.ETS 0x00
    0x00 Fault_PC 0x13575e8
    UDBH 0x0000 UDBH.ESYND 0x00 UDBL 0x0000
    0000 UDBL.ESYND 0x00
    panic[cpu0]/thread=2a10007dd40: [AFT1] errID
    0x0000000b.985ccf88 BERR Error(s)
    See previous message(s) for detailsThe actual code which seems to cause the panic is:
    #define inb(a)          ddi_get8(wc->devhandle, a)
    ints = inb(wc->ioaddr + WC_INTSTAT);where there initialisation includes:
    static struct ddi_device_acc_attr dev_attr = {
    DDI_DEVICE_ATTR_V0,
    DDI_STRUCTURE_LE_ACC,
    DDI_STRICTORDER_ACC
    ddi_regs_map_setup(wc->dip, 1, &wc->ioaddr, 0, 255,
    &dev_attr,
    &dev_attr, &wc->devhandle);I've tested the same card in a linux x86 box, and it
    works fine, so I'm happy it's not a hardware
    problem.
    Any suggestions on what might be causing this?
    Thanks,
    Simon

Maybe you are looking for

  • Junk mail gets through

    Hi, I have the latest version of Mail (as of Sept /06) . Recently I've started getting tons of spam. Nothing I do seems to stop it. I try to use spam filtering (training for at least 2 months) but as soon as its enabled (automatic) the vast majority

  • I need a BAPI or function that can create a PO without the purchase req.

    I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE a

  • Debit note report

    Hi frnds,   Can i get any debit note or credit note reports in FI module where i can get all the all the details like as shown below :-- Date     Particulars     Vch Type                                          Debit                        Amount   

  • Pavilion dv5 - battery not charging

    I just bought a new battery for my HP Pavilion dv5t-1200se and it will not charge. It says "plugged in, charging (0% available). I read on a few other forums that when you first get a new battery you should charge it for 24 hours, so I did that, but

  • Creating a customized template for Content Presenter

    Hi people, I created a new template for content presenter, I created a jsff file and add a entry in <jdev_projects>\Application1\mds\oracle\webcenter\content\templates\registry\templates-registry.xml This is my entry: <view id="mycorp.content.templat