Solaris 10 and Virtualbox

Well... I downloaded Virtualbox from sun (the sun specific x86 one).
Everything works up till you try to start a virtual machine and then I get a driver mismatch error.
Anybody else get this? I have tried 2 different machines and reinstalled the program. No difference. I see other distributions have had issues with this too.
Seems odd for sun to ship something this broken. Anybody know the workaround or what I am doing wrong? This is all 1.6.2 and all straight from suns download site. Never had any other Virtualbox software on any of my computers.
The VirtualBox support driver which is running is from a different version of VirtualBox. You can correct this by stopping all running instances of VirtualBox and reinstalling the software..
VBox status code: -1912 (VERR_VM_DRIVER_VERSION_MISMATCH).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}

There are 2 choices. If you go to virtualbox.org and downloads, under "Select Platform and Language for your download", there is
"Solaris 10 OS (x86)"
AND
"Solaris 10 OS (AMD64)"
I'm running it now on S10U4 in 64 bit mode (solaris always comes with 32 and 64 bits btw - I don't think sun has deprecated 32 bits
yet for x86) and the amd64 version works ok. If the tar file you got does not have _amd64 in it, you do NOT have the right version.

Similar Messages

  • Why  difference in Solaris and Linux

    Hi,
    The following program is giving results diferently when I am executing using g++ compiler in Solaris and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );
    strcpy(buf, "HelloWorld");
    printf("\n Address is : %u String is : %s size : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) = '\0';
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Solaris:
    Address is : 134160 String is : HelloWorld size : 4
    Address is : 135704 String is : HelloWor
    Linux:
    Address is : 134518824 String is : HelloWorld size : 4
    Address is : 134518824 String is : HelloWorldAB
    Thanks
    Venkat

    Hi,
    The following program is giving results diferently
    when I am executing using g++ compiler in Solaris
    and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );The size you get here is the size of buf, which is the size of a pointer, not the size of what buf points to. sizeof(*buf) would give you size of a char, the type (not the object) that buf points to.
    There is no portable way to find out the number of bytes allocated on the heap if you are give only a pointer to the memory. You have to remember the size some other way..
    strcpy(buf, "HelloWorld");A literal string consists of the characters in the string plus a terminating null, all of which are copied by strcpy. You allocated 10 chars for buf, but are writing 11 chars into it. At this point, the program has undefined behavior. Literally anything at all could happen, because you can't predict the effect of writing outside the bounds of allocated memory.
    printf("\n Address is : %u String is : %s size :
    e : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)The "sizeof" operator in this case is returning the size of the type of a literal 20, which is an int. If you want to allocate 20 bytes, you write 20, not sizeof(20).
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) == '\0';SInce you can't count on buf having more than 4 bytes at this time, you are writing into unallocated memory, with undefined results.
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Instead of asking why you get different results on different platforms, you should be asking why the program doesn't crash on all platforms. :-)
    You can avoid these problems with keeping track of allocating memory by using the C++ standard library instead of trying to manage low-level details yourself as in C code.
    The standard string class, for example, extends itself as needed, and ensures that heap memory is freed when the string object is deleted or goes out of scope. You don't need pointers, malloc, free, or sizeof to use C++ strings.

  • Why keyboard and mouse right click not working in Solaris and Linux?

    Hi all,
    I have two problems:
    1) I am working on AWT/Swing application and its working fine in window enviornment,but while running on solaris and linux mouse right-click option window not poping up.
    2) Ctrl+c,Ctrl+v,Home and End keyboard key are not working in solaris and linux OS for same application.
    Pls provide me some solution for these problem.
    -Dinesh

    Hi Nik,
    Thanks for reply. I found some solution for the above problem.
    For mouse right click there was problem in my source code.I have not implemented the mousePressed() method
    In case of keyboard Home, End and arrow key working fine after exporting AWTUSE_TYPE4_PATCH=false; in solaris and linux
    But still Ctrl-c and Ctrl-v not working.
    I am using JDK1.5.0_07+Eclipse IDE 3.1
    -Dinesh

  • No Sound in VLC and Virtualbox

    I have a workstation with two sound outputs - my ESI Juli@ and the HDMI out on my FirePro V5800.  I have an issue where some applications cannot produce sound.  That said, alsamixer and the OS itself do see the card, and it works just fine for sound from Firefox.
    Originally, my issue was ALSA defaulting to the HDMI out and not giving me any audio.  I first solved this by blacklisting the module for snd-hda-intel (the HDMI out).  This "hack" allowed the OS to automatically choose the Juli@ as the default sound card and got sound working in the OS itself and Firefox.  But then, I realized VLC and Virtualbox weren't working with the card and figured I should find a more proper solution.  I got the following message from VLC:
    "VLC failed to initialize your sound output device (if any).
    Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue."
    Looking at the ALSA page on the Arch wiki, I decided that manually reordering the modules was necessary.  The documentation there was poor, though, and I couldn't figure it out.  Eventually, I found a forum post about the above error message and someone put things in more simple language.  As such, I've modified my modprobe.conf to look like this:
    # /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
    options snd-ice1724 index=0
    options snd-hda-intel index=1
    I must've done something right, because the OS and Firefox get sound just fine with the Juli@ as the default sound card without me blacklisting the HDMI out's module.  However, my issue in VLC and Virtualbox remains with the same errror message, so I figure I'm missing something.
    Here is the output of aplay -l:
    **** List of PLAYBACK Hardware Devices ****
    card 0: Juli [ESI Juli@], device 0: ICE1724 [ICE1724]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: Juli [ESI Juli@], device 1: ICE1724 IEC958 [ICE1724 IEC958]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    The relevant entries from lspci -v:
    01:01.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
            Subsystem: Device 3031:4553
            Flags: bus master, medium devsel, latency 64, IRQ 23
            I/O ports at a000 [size=32]
            I/O ports at 9800 [size=128]
            Capabilities: <access denied>
            Kernel driver in use: ICE1724
            Kernel modules: snd-ice1724
    06:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
            Subsystem: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
            Flags: bus master, fast devsel, latency 0, IRQ 51
            Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
            Capabilities: <access denied>
            Kernel driver in use: HDA Intel
            Kernel modules: snd-hda-intel
    And the output given by VLC when run from command line and given a file to play:
    VLC media player 1.1.6 The Luggage (revision exported)
    Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
    Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
    Blocked: call to setlocale(6, "")
    Blocked: call to sigaction(17, 0x7f2a8f203ab0, 0x7f2a8f203b50)
    Warning: call to signal(13, 0x1)
    Warning: call to signal(13, 0x1)
    Warning: call to srand(1296590680)
    Warning: call to rand()
    Blocked: call to setlocale(6, "")
    (process:5985): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
    Warning: call to signal(13, 0x1)
    Blocked: call to sigaction(11, 0x7f2a8f203370, (nil))
    Blocked: call to sigaction(6, 0x7f2a8f203370, (nil))
    Blocked: call to sigaction(5, 0x7f2a8f203370, (nil))
    Blocked: call to sigaction(8, 0x7f2a8f203370, (nil))
    Blocked: call to setlocale(1, "C")
    Blocked: call to setlocale(1, "en_US.utf8")
    Blocked: call to setlocale(1, "C")
    ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
    ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
    [0x26a0d60] oss audio output error: cannot reset OSS audio device
    [0x26a0d60] jack audio output error: failed to connect to JACK server
    ALSA lib pcm_direct.c:980:(snd1_pcm_direct_initialize_slave) unable to install hw params
    ALSA lib pcm_dmix.c:1030:(snd_pcm_dmix_open) unable to initialize slave
    Warning: call to sigaction(14, 0x7f2a85830850, (nil))
    SNDCTL_DSP_GETFMTS: Device or resource busy
    Warning: call to rand()
    Warning: call to rand()
    Warning: call to rand()
    Warning: call to rand()
    I'm thinking the system seeing the Juli@ as two devices means I need to add another line to modprobe.conf, but I'm not really sure at this point.  It'd be awesome if someone a little more expert regarding ALSA and maybe this audio chipset could please give a guy some help.

    BUMP for this one.
    I've updated packages since then, as well as manually selecting ALSA as playback for these two programs with no luck.  I've tried using the instructions here:
    http://www.alsa-project.org/main/index. … le-ice1724
    But it seems like most of it isn't relevant...  My Arch install has soundcore.ko.gz, snd-cmipci.ko.gz, and snd-ice1724.ko.gz just by proxy.  The part about /etc/conf.modules is deprecated in Arch as well.
    I'm dying to have sound in VLC and my VMs on my desktop.  Please help!

  • Installing 11i on Solaris and migrating 8.0.5 to new 8.1.6 database

    I've installed 11i (several times) on a new Sun solaris server. I also selected it to install a fresh database. On another server we have 11.0 and 8.0.5 database. We are using a new server to install 11i and we want to move our database over. I managed to transfer all database files over to the new server and upgrade to 8.1.6 (succeeded)
    How do I proceed now to get the 11i applications to use the database i've transferred over. Is this possible??? Can't find any clear documentation on how to merge this database into the applications 11i.
    Thanks
    null

    Gina, I am attempting something similar... but it involves moving an exisiting installation from HP-UX to Solaris, so I cannot move the datafiles... If I run into a method that helps both of us, I will let you know... as of now, I am installing fresh on Solaris and going to try to run upgrade scripts on existing 10.7 and exp/imp into the new instance on 11i (Solaris).
    Let me know of anything you find out that could help me, and I will do the same...
    thanks
    dns

  • Mplayer and VirtualBox error after installing ATI Drivers

    I recently switched from the Open Source drivers for my ATI video card.  Since that time some programs are refusing to load.
    I switched to the Catalyst repository to install the new drivers for my card.
    The specific error message I get when running the mplayer in the terminal is
    mplayer: error while loading shared libraries: libdirectfb-1.4.so.0: cannot open shared object file: No such file or directory
    the message for VirtualBox is
    VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: libdirectfb-1.4.so.0: cannot open shared object file: No such file or directory
    So far only 2 programs have been giving me this error are mplayer and VirtualBox.
    I have tried reinstalling directfb and mplayer, but this doesn't fix things.
    I have run ldd `which mplayer` and the following is missing
    libdirectfb-1.4.so.0 => not found
    libfusion-1.4.so.0 => not found
    libdirect-1.4.so.0 => not found
    I am running 64bit Arch.
    Thanks for your help

    Thanks
    wonder wrote:LD_DEBUG=files mplayer > log 2>&1
    After running that, I discovered that sdl needed to be rebuilt. Once I did that, everything works fine.
    Last edited by floatingman (2010-09-21 13:12:10)

  • You can take a coldbackup from solaris and use it on windows NT?

    hi all,
    You can take a coldbackup from solaris and use it on windows NT?
    can we?
    regards
    girish

    khaja(DBA) wrote:
    Yes!!! why not
    Have you actually done this?
    Why not? Because the internal structure of the solaris files is different from Windows.
    >
    >
    Regards,
    khaja

  • JNI, Solaris and Signal 11

    There are a number of bugs in the database that have the following attributes:
    -JNI
    -Solaris
    -Signal 11 exceptions.
    -Long running applications.
    I am experiencing something similar. I was using C threads for some call back functionality (and of course registering it them with JNI.) I was hoping that starting the threads with java would help but it didn't.
    I have several questions:
    -Has anyone found anything that allows them to work around this? Doesn't matter what you think it was - like a different switch on an application server. I am just curious if anyone thinks they solved it in any way.
    -Does anyone have an idea what might cause it? Even an just an idle thought?
    -Does anyone have a long running application, that uses JNI on Solaris and they don't experience this (obviously the JVM itself does this, but I am still curious?)
    -And slightly different that the above, does anyone have a long running JNI Solaris application using C threads that doesn't have this problem?

    jschell, are you still experiencing this?
    You may have seen some of my posts before... I have seen many of yours. But I hadn't seen this one until now, by chance.
    I am running on Solaris 8 with Java 1.3.1_03 and have a multithreaded C/C++ program that invokes the JVM and makes calls into Java via JNI. Actually, I have a few programs like this, but a particular one is set up to run as a daemon and eventually (after a couple of hours) runs into a segmentation fault (signal 11). The stack in the core file when the program fails shows that a thread started in the native code attempted "AttachCurrentThread()" and then a segfault happens way down in the JVM somewhere. However, I had an issue like this previously and I tracked it down (unexpectedly) to a memory leak in a totally unrelated portion of the native code. So I am trying to find other memory leaks in the code using tools like Rational Purify but it is tricky to get Purify and the JVM to play nicely together.
    Additional info: I have all latest patches applied, not using signal handlers, and am using the "alternate" thread library in /usr/lib/lwp.
    - I have another similar program on Solaris that does not seem to have this problem.
    - The same program that's crashing on Solaris seems to run OK on both Windows and HP-UX.
    Given the above, I am pursuing the avenue of a memory corruption in the native code as that has turned out to be the cause of numerous other problems in the past, but I am having a very hard time with this one. jschell (or anyone else), please let me know about your status and what you think.
    Thanks -
    Chris

  • Issues with jbdc logging on solaris and windows enviroment

    Hi All,
    I tried to enable JDBC logging on my app server (tried on Solaris and Windows)and
    i am facing issues. It would be great if someone can share their experiences.
    SOLARIS ISSUE:
    <Mar 12, 2003 8:09:36 PM PST> <Notice> <Management>
    <Mar 12, 2003 8:09:52 PM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
    Server "xyz" for domain "abc">
    <Mar 12, 2003 8:09:57 PM PST> <Emergency> <Server> <Unable to initialize the server:
    'Fatal initialization exception
    Throwable: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.jdbc.common.JDBCService.initLog(JDBCService.java:231)
    at weblogic.jdbc.common.JDBCService.initialize(JDBCService.java:57)
    at weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:48)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:492)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
    at weblogic.Server.main(Server.java:35)
    WINDOWS:
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1bfaff]
    DriverManager.getDriver("jdbc:oracle:thin:@172.16.10.150:1521:vtpsr")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1bfaff]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1bfaff]
    SQLException: SQLState(null) vendor code(17055)
    java.sql.SQLException: Invalid character encountered in: failAL32UTF8Conv
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1130)
         at oracle.jdbc.dbaccess.DBConversion.failAL32UTF8Conv(DBConversion.java:2762)
         at oracle.jdbc.dbaccess.DBConversion.javaCharsToAL32UTF8Bytes(DBConversion.java:2678)
         at oracle.jdbc.dbaccess.DBConversion.stringToAL32UTF8Bytes(DBConversion.java:2624)
         at oracle.jdbc.dbaccess.DBConversion.stringToAccessCharBytes(DBConversion.java:391)
         at oracle.jdbc.dbaccess.DBConversion.StringToCharBytes(DBConversion.java:456)
         at oracle.jdbc.ttc7.O3log.setSessionFields(O3log.java:796)
    Thanks,
    Suresh

    Infact it is same issue for both environments...
    It is
    java.sql.SQLException: Invalid character encountered in: failAL32UTF8Conv
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1130)
         at oracle.jdbc.dbaccess.DBConversion.failAL32UTF8Conv(DBConversion.java:2762)
         at oracle.jdbc.dbaccess.DBConversion.javaCharsToAL32UTF8Bytes(DBConversion.java:2678)
         at oracle.jdbc.dbaccess.DBConversion.stringToAL32UTF8Bytes(DBConversion.java:2624)
         at oracle.jdbc.dbaccess.DBConversion.stringToAccessCharBytes(DBConversion.java:391)
         at oracle.jdbc.dbaccess.DBConversion.StringToCharBytes(DBConversion.java:456)
         at oracle.jdbc.ttc7.O3log.setSessionFields(O3log.java:796)for both enviroments..
    Please let me know if any of u guys came across this before.
    Thanks,
    Suresh
    "suresh maram" <[email protected]> wrote:
    >
    Hi All,
    I tried to enable JDBC logging on my app server (tried on Solaris and
    Windows)and
    i am facing issues. It would be great if someone can share their experiences.
    SOLARIS ISSUE:
    <Mar 12, 2003 8:09:36 PM PST> <Notice> <Management>
    <Mar 12, 2003 8:09:52 PM PST> <Notice> <WebLogicServer> <Starting WebLogic
    Admin
    Server "xyz" for domain "abc">
    <Mar 12, 2003 8:09:57 PM PST> <Emergency> <Server> <Unable to initialize
    the server:
    'Fatal initialization exception
    Throwable: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.jdbc.common.JDBCService.initLog(JDBCService.java:231)
    at weblogic.jdbc.common.JDBCService.initialize(JDBCService.java:57)
    at weblogic.t3.srvr.ServerServiceList.initialize(ServerServiceList.java:48)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:492)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
    at weblogic.Server.main(Server.java:35)
    WINDOWS:
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1bfaff]
    DriverManager.getDriver("jdbc:oracle:thin:@172.16.10.150:1521:vtpsr")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1bfaff]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@1bfaff]
    SQLException: SQLState(null) vendor code(17055)
    java.sql.SQLException: Invalid character encountered in: failAL32UTF8Conv
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1130)
         at oracle.jdbc.dbaccess.DBConversion.failAL32UTF8Conv(DBConversion.java:2762)
         at oracle.jdbc.dbaccess.DBConversion.javaCharsToAL32UTF8Bytes(DBConversion.java:2678)
         at oracle.jdbc.dbaccess.DBConversion.stringToAL32UTF8Bytes(DBConversion.java:2624)
         at oracle.jdbc.dbaccess.DBConversion.stringToAccessCharBytes(DBConversion.java:391)
         at oracle.jdbc.dbaccess.DBConversion.StringToCharBytes(DBConversion.java:456)
         at oracle.jdbc.ttc7.O3log.setSessionFields(O3log.java:796)
    Thanks,
    Suresh

  • Solaris and Windows (differences between the two OS for development)

    Hi All,
    From the moment that I learned Java, I have always been using Windows to do all of my implementation. Very soon, I will be moving to Solaris and I was just wondering whether anyone out here could share the things that I should take notice for developing under Solaris which in the past (in XP/NT/2000) would not be something that I have to deal with.
    Also, to speed things up, would it be helpful if I start experimenting Java under Linux?? or Developing under Linux is also different than Solaris. I might get comfortable playing with the commands (as it's been 10 years since I last worked on Unix)
    But really, I am more concerned about all the problems that I will have to face, I would appreciate if anyone could share their experience with me.
    Thx.

    The Java language is platform independent.
    You might find a few thread syncing issues on a true multitasking multiprocessor Solaris box which windows timeslicing won't reveal, and there's the unix file system has a few more tricks, like being able to read and write a file simultaniously, but that's about it (from memory).
    The only practical difference developing on Solaris is the box won't crash behind the JVM.
    Oh, and your ant scripts & properties files will need porting.
    Good luck. Keith.

  • Expanding root partition in Solaris 10 VirtualBox virtual machine

    I am running a Solaris 10 u8 x86 64-bit guest as a VirtualBox VM on a WinXP x64 host. I was running out of space in the guest VM, so I used CloneVDI (http://forums.virtualbox.org/viewtopic.php?f=6&t=22422) to clone and expand the VM from 20GB to 30GB. Now I need to expand the / partition in the VM filesystem so that it sees the whole 30GB now available. What is the best way to do this within the Sol10 guest? Is there a way to simply add a new "extent" to the existing filesystem?
    Thank you in advance...

    sparcmaster wrote:
    The virtual disk is now expandable to 40GB.Do you mean you've already expanded it?
    prtvtoc /dev/dsk/c0d0s0* /dev/dsk/c0d0s0 partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 255 tracks/cylinder
    * 16065 sectors/cylinder
    * 2717 cylinders
    * 2715 accessible cylinders*And here's the problem. The OS didn't care. This VTOC shows only ~20GB
    16065 x 2717 / 2 / 1024 / 1024 => 20.81
    The only way to change this is to blow it away and recreate it and hope your data survives. If you do it right it should, but you need to be prepared for it to not work.
    You'd boot from alternate media (CD/DVD/network), then use 'fdisk' on the root drive. It'll have a 20GB Solaris partition on it. Destroy it and create a new one that is full size (40G).
    Now run 'prtvtoc' on the drive again. If the number of sectors per cylinder is the same (just the number of cylinders increased), then you should be okay and able to continue. If the size of a cylinder changed, then your data will probably not be accessible.
    Now take your original 'prtvtoc' output file and remove the line with slice 2 in it
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 2 00 6345675 37270800 43616474 /
    1 3 01 48195 6297480 6345674
    2 5 00 0 43616475 43616474 <=== Remove this line
    8 1 01 0 16065 16064
    9 9 01 16065 32130 48194Use 'fmthard' to reapply the slices.
    # fmthard -s <vtocfile> /dev/rdsk/c0d0s2Check the disk and all the slices should be back.
    Verify root filesystem is still present and okay
    # fsck -n /dev/rdsk/c0d0s0If all that is done, then you're really close. Since the root slice is at the end of the disk, increasing the size is simple. Just go into 'format -> partition' and edit slice 0. Keep the start cylinder the same, but change the number of cylinders to use the rest of the disk. When done type 'label' and exit format. If done correctly you can now run 'growfs /dev/rdsk/c0d0s0' to increase the size. Reboot and everything should come up.
    The worst part is that when you increase the Solaris partition, I don't believe there's a guarantee that the cylinder size won't change. When I've attempted this, I haven't had any problems, but I've always been ready if it didn't work. When it works, it does save time.
    Good luck!
    Darren

  • WLS6.1 hanging on Solaris- and SIGQUIT doesn't work

    Hi,
    We are experiencing a problem that looks like a deadlock when our server is under load (using WLS6.1SP2, Solaris 8 and the 1.3.1 JVM supplied with WLS). After processing many requests, the server hangs and CPU usage drops to 0%. Unfortunately the standard means of getting a thread dump (sending a SIGQUIT with kill -3 or Ctrl-\) does nothing. The problem also occurs if WebLogic is running under debug (using
    -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555) but alas the debugger hangs when trying to pause the server after this deadlock). It appears as though the server is not accepting any requests (including administrative requests from the console) but this doesn't seem to be due to thread starvation as CPU usage is 0%.
    The only output we can get is from truss, which seems to indicate no activity at all until the SIGQUIT is received. It seems to register the SIGQUIT but it looks as though it is not being processed.
    Does anyone have any ideas?
    Kevin.

    We found a solution to this problem, relating to the threading model that the JVM
    uses.
    Have a look at http://java.sun.com/docs/hotspot/threads/threads.html for more
    details.
    The default threading model on Solaris 8 is many-to-many (threads to LWPs) with
    thread-based synchronisation. After playing with various threading models, we
    found that the best was one-to-one with the alternate thread library. This is
    the default provided by Solaris 9, but you can also tell Java to use this with
    older versions of Solaris by putting the following line in your start command
    prior to executing WebLogic:
    export LD_LIBRARY_PATH=/usr/lib/lwp:$LD_LIBRARY_PATH
    Apologies to anyone who was looking for an answer to this beforehand: I should
    have replied to this newsgroup back in September!
    Kevin Thomas
    J2EE Consultant
    LogicaCMG
    Charlie Therit <[email protected]> wrote:
    Kevin,
    If you are not able to capture a JVM thread dump, then the next best
    thing would be to capture several "/usr/proc/bin/pstack pid" C-level
    thread dumps. This information may enable BEA Support to help suggest
    potential work arounds. Depending upon the data in the pstack output,
    you may also wish to open a support case with Sun.
    Sincerely,
    Charlie Therit
    Developer Relations Engineer
    BEA Support
    Kevin Thomas wrote:
    Hi,
    We are experiencing a problem that looks like a deadlock when our serveris under load (using WLS6.1SP2, Solaris 8 and the 1.3.1 JVM supplied
    with WLS). After processing many requests, the server hangs and CPU
    usage drops to 0%. Unfortunately the standard means of getting a thread
    dump (sending a SIGQUIT with kill -3 or Ctrl-\) does nothing. The problem
    also occurs if WebLogic is running under debug (using
    -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555)but alas the debugger hangs when trying to pause the server after this
    deadlock). It appears as though the server is not accepting any requests
    (including administrative requests from the console) but this doesn't
    seem to be due to thread starvation as CPU usage is 0%.
    The only output we can get is from truss, which seems to indicate noactivity at all until the SIGQUIT is received. It seems to register
    the SIGQUIT but it looks as though it is not being processed.
    Does anyone have any ideas?
    Kevin.

  • OS X Leopard and VirtualBox 2.2.4

    So I'm trying to install Arch in VirtualBox 2.2.4, but nothing seems to work. I try to setup the network, it tells me to check /dev/tty7. I try to format the drive, it tells me to check /dev/tty7. I try to select packages, it says pacman error check /dev/tty7. How do I check /dev/tty7? I try to VI it, but that doesn't come up with anything.  Also, what seems to be the problem with the network and the partitioning? I tried both DHCP and manual, neither work.

    Command + <left_arrow/right_arrow> can be used to switch virtual terminals.
    Last edited by arkham (2009-07-08 02:48:10)

  • JVM crash for weblogic8.1 running on solaris and JDK1.4.2_05

    Hi,
    I am an administrator of weblogic8.1 server platfrom running solaris8.1 There are 2 managed server runs on 2 solaris unix box and admin server run on a third solaris unix box. Since last couple of days, weblogic server crashing everyday creating a core file and hs_err_pidxxxx.log, on each manage server.Below is the content of hs_err_pidxxxx.log.
    Unexpected Signal : 11 occurred at PC=0xFE1CBCAC
    Function=[Unknown. Nearest: JVM_FillInStackTrace+0x4CE4]
    Library=/bea/jdk142_05/jre/lib/sparc/server/libjvm.so
    Current Java thread:
    Dynamic libraries:
    0x10000 /bea/jdk142_05/bin/java
    0xff360000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff340000 /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
    0xfe000000 /bea/jdk142_05/jre/lib/sparc/server/libjvm.so
    0xff2e0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0d0000 /usr/lib/libm.so.1
    0xff1c0000 /usr/lib/libsched.so.1
    0xff310000 /usr/lib/libw.so.1
    0xff0a0000 /usr/lib/libmp.so.2
    0xff070000 /bea/jdk142_05/jre/lib/sparc/native_threads/libhpi.so
    0xff050000 /usr/lib/nss_files.so.1
    0xfe7d0000 /bea/jdk142_05/jre/lib/sparc/libverify.so
    0xfe790000 /bea/jdk142_05/jre/lib/sparc/libjava.so
    0xfe770000 /bea/jdk142_05/jre/lib/sparc/libzip.so
    0xf94a0000 /osmf/i3/i3v7/products/j2ee/lib/libPreciseLog.so
    0xf9480000 /usr/lib/libpthread.so.1
    0xf9460000 /usr/lib/libkstat.so.1
    0xa9050000 /bea/jdk142_05/jre/lib/sparc/libnet.so
    0xa9290000 /usr/lib/nss_dns.so.1
    0xa8db0000 /usr/lib/libresolv.so.2
    0xa9030000 /bea/weblogic814/server/lib/solaris/libmuxer.so
    0xa8b60000 /usr/ucblib/libucb.so.1
    0xa8b20000 /usr/lib/libelf.so.1
    0xa8d90000 /bea/jdk142_05/jre/lib/sparc/libnio.so
    0xa8a60000 /usr/lib/librt.so.1
    0xa8920000 /usr/lib/libaio.so.1
    0xa8900000 /usr/lib/libsendfile.so.1
    0xa83e0000 /bea/jdk142_05/jre/lib/sparc/libioser12.so
    Heap at VM Abort:
    Heap
    def new generation total 339264K, used 293091K [0xa9400000, 0xbe950000, 0xbe950000)
    eden space 329024K, 87% used [0xa9400000, 0xbac61f00, 0xbd550000)
    from space 10240K, 58% used [0xbd550000, 0xbdb26ea0, 0xbdf50000)
    to space 10240K, 0% used [0xbdf50000, 0xbdf50000, 0xbe950000)
    tenured generation total 699072K, used 204153K [0xbe950000, 0xe9400000, 0xe9400000)
    the space 699072K, 29% used [0xbe950000, 0xcb0ae7f8, 0xcb0ae800, 0xe9400000)
    compacting perm gen total 65024K, used 64974K [0xe9400000, 0xed380000, 0xf9400000)
    the space 65024K, 99% used [0xe9400000, 0xed373a30, 0xed373c00, 0xed380000)
    Local Time = Mon Nov 20 13:17:55 2006
    Elapsed Time = 150397
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002EF 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_05-b04 mixed mode)
    any idea?

    Hi Jitesh
    JVM crash could be because of any code, it could be weblogic or your own application or a bug in JDK itself.
    1) You can run tools like GDB on the core file which will indicate the source of the crash.
    From the stack it looks like a Sun JDK bug
    2) Search on sun for this error code shows some known bugs. Checkout http://onesearch.sun.com/search/onesearch/index.jsp?charset=utf-8&col=developer-debugging&qt=4F530E43505002EF+01&rt=true&cs=false
    3) You can also upgrade the JVM to the latest version of 1.4.2. I believe you have 1.4.2_05
    Vimala-

  • 10.7 to R11i On Solaris and Custom Interfaces

    Hi,
    We are planning to migrate from 10.7 to R11i on Solaris machine. We have developed custom interfaces with Oracle AP, AR and INV modules. We have GL, AP, AR, Cash Management, Inventory and purchasing modules implemented. We would really appreciate your help on following:
    1. How correct are sizing guidelines specified in R11i Installation manual?
    2. Should we have database and application servers on same machine? If not what type of application server is recommended i.e. NT or Solaris. Any performance issues in either approach?
    3. If we go for single node installations do we have to generate FMX files for custom forms under Solaris?
    4. Is it recommended to have APPL_TOP on one disk or we can split on multiple disks.
    5. Which browser is recommended i.e. Netscape Ver x.x or Internet Explorer x.x?
    6. What sorts of problems were encountered for custom interfaces?
    7. Our development server is supporting 10.7 but we are sure it cant handle R11i upgrade. Is it recommended to carry out upgrade on production machine or should have separate machine to carry out this project?
    8. Any other upgrade issues relevant to R11i upgrade on Solaris?
    We would appreciate if someone share the upgrade problems and experiences.
    Thanks
    null

    Hello TheGlamazon
    We know everyone is super exited about these amazing phones. As your order moves through the process, you can check the status at http://bit.ly/RjmCUB. You may not be able to see a change from Processing until it officially ships, then you'll see the tracking number. If you've received a confirmation email that your order was submitted, any additional information throughout the fulfillment process will be sent to that same email address. Congrats on your new phone!
    TanishaS1_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for