Scsi warnings on our 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC/T5220

Hi,
Can anyone help me fixing these errors.it's a sun server,down below is the brief discription of the error:
Dec 16 15:44:13 uswa-pvrt-si002.amgen.com scsi: [ID 365881 kern.info] /pci@0/pci@0/pci@2/scsi@0 (mpt0):
Dec 16 15:44:13 uswa-pvrt-si002.amgen.com scsi_status=0, ioc_status=8048, scsi_state=c
Dec 16 15:45:23 uswa-pvrt-si002.amgen.com scsi: [ID 107833 kern.warning] WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
Dec 16 15:45:23 uswa-pvrt-si002.amgen.com scsi: [ID 365881 kern.info] /pci@0/pci@0/pci@2/scsi@0 (mpt0):
Dec 16 15:45:23 uswa-pvrt-si002.amgen.com scsi_status=0, ioc_status=8048, scsi_state=c
Any help would be appreciated!!!!

Hi;
Please provide the output from:
iostat -En
format
luxadm -e port
fcinfo hba-port --> If Solaris 10 is running as the OS.
mpt0 is the SCSI driver. May be the on-board HBA (not sure).
Cheers.
</SQ>

Similar Messages

  • SCSI warnings - Solaris 10 Install - Netra 240

    Hi Friends,
    Im doing some installation using Netra 240 & I've external storage (Via Store Edge S1) - However after i finished the installation I keep getting this messages on the console.
    Im not sure what these messages are. If anyone can throw some lo
    i keep getting these messages,
    ct 13 08:01:15 C69N2 got SCSI bus reset
    Oct 13 08:01:15 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd5):
    Oct 13 08:01:15 C69N2 auto request sense failed (reason=reset)
    Oct 13 08:01:21 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2 (glm0):
    Oct 13 08:01:21 C69N2 Resetting scsi bus, got incorrect phase from (0,0)
    Oct 13 08:01:21 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2 (glm0):
    Oct 13 08:01:21 C69N2 got SCSI bus reset
    Oct 13 08:01:21 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd5):
    Oct 13 08:01:21 C69N2 auto request sense failed (reason=reset)
    Oct 13 08:01:24 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd5):
    Oct 13 08:01:24 C69N2 drive offline
    Oct 13 08:01:24 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd5):
    Oct 13 08:01:24 C69N2 i/o to invalid geometry
    Oct 13 08:01:24 C69N2 md_stripe: WARNING: md: d17: write error on /dev/dsk/c1t0d0s7
    Oct 13 08:01:27 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2 (glm0):
    Oct 13 08:01:27 C69N2 Resetting scsi bus, got incorrect phase from (0,0)
    Oct 13 08:01:27 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2 (glm0):
    Oct 13 08:01:27 C69N2 got SCSI bus reset
    Oct 13 08:01:27 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2/sd@0,0 (sd5):
    Oct 13 08:01:27 C69N2 auto request sense failed (reason=reset)
    Oct 13 08:01:33 C69N2 scsi: WARNING: /pci@1c,600000/scsi@2 (glm0):
    Oct 13 08:01:33 C69N2 Resetting scsi bus, got incorrect phase from (0,0

    bash-3.00#
    bash-3.00# iostat -En
    c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: SEAGATE Product: ST373453LSUN72G Revision: 0449 Serial No: 0444J28H3B
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c0t0d0 Soft Errors: 2 Hard Errors: 0 Transport Errors: 1
    Vendor: TEAC Product: DV-28E-C Revision: 1.4B Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 2 Predictive Failure Analysis: 0
    c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: SEAGATE Product: ST373453LSUN72G Revision: 0449 Serial No: 0448J2F3JK
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c2t12d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAT3147N SUN146G Revision: 0602 Serial No: 0513C0144Y
    Size: 146.80GB <146800115712 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c2t13d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAT3147N SUN146G Revision: 0602 Serial No: 0513C0143U
    Size: 146.80GB <146800115712 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c2t14d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAT3073N SUN72G Revision: 0602 Serial No: 0512B02E3N
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    bash-3.00#
    bash-3.00#

  • How can I set a right link Aggregations?

    I have a Enterprise T5220 server, running Solaris 10 that I am using as a backup server. On this server, I have a Layer 4, LACP-enabled link aggregation set up using two of the server's Gigabit NICs (e1000g2 and e1000g3) and until recently I was getting up to and sometimes over 1.5 Gb/s as desired. However, something has happened recently to where I can now barely get over 1 Gb/s. As far as I know, no patches were applied to the server and no changes were made to the switch that it's connected to (Nortel Passport 8600 Series) and the total amount of backup data sent to the server has stayed fairly constant. I have tried setting up the aggregation multiple times and in multiple ways to no avail. (LACP enabled/disabled, different policies, etc.) I've also tried using different ports on the server and switch to rule out any faulty port problems. Our networking guys assure me that the aggregation is set up correctly on the switch side but I can get more details if needed.
    In order to attempt to better troubleshoot the problem, I run one of several network speed tools (nttcp, nepim, & iperf) as the "server" on the T5220, and I set up a spare X2100 as a "client". Both the server and client are connected to the same switch. The first set of tests with all three tools yields roughly 600 Mb/s. This seems a bit low to me, I seem to remember getting 700+ Mb/s prior to this "issue". When I run a second set of tests from two separate "client" X2100 servers, coming in on two different Gig ports on the T5220, each port also does ~600 Mb/s. I have also tried using crossover cables and I only get maybe a 50-75 Mb/s increase. After Googling Solaris network optimizations, I found that if I double tcp_max_buf to 2097152, and set tcp_xmit_hiwat & tcp_recv_hiwat to 524288, it bumps up the speed of a single Gig port to ~920 Mb/s. That's more like it!
    Unfortunately however, even with the TCP tweaks enabled, I still only get a little over 1 Gb/s through the two aggregated Gig ports. It seems as though the aggregation is only using one port, though MRTG graphs of the two switch ports do in fact show that they are both being utilized equally, essentially splitting the 1 Gb/s speed between
    the two ports.
    Problem with the server? switch? Aggregation software? All the above? At any rate, I seem to be missing something.. Any help regarding this issue would be greatly appreciated!
    Regards,
    sundy
    Output of several commands on the T5220:
    uname -a:
    SunOS oitbus1 5.10 Generic_137111-07 sun4v sparc SUNW,SPARC-Enterprise-T5220
    ifconfig -a (IP and broadcast hidden for security):
    lo0: flags=2001000849 mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    aggr1: flags=1000843 mtu 1500 index 2
    inet x.x.x.x netmask ffffff00 broadcast x.x.x.x
    ether 0:14:4f:ec:bc:1e
    dladm show-dev:
    e1000g0 link: unknown speed: 0 Mbps duplex: half
    e1000g1 link: unknown speed: 0 Mbps duplex: half
    e1000g2 link: up speed: 1000 Mbps duplex: full
    e1000g3 link: up speed: 1000 Mbps duplex: full
    dladm show-link:
    e1000g0 type: non-vlan mtu: 1500 device: e1000g0
    e1000g1 type: non-vlan mtu: 1500 device: e1000g1
    e1000g2 type: non-vlan mtu: 1500 device: e1000g2
    e1000g3 type: non-vlan mtu: 1500 device: e1000g3
    aggr1 type: non-vlan mtu: 1500 aggregation: key 1
    dladm show-aggr:
    key: 1 (0x0001) policy: L4 address: 0:14:4f:ec:bc:1e (auto) device address speed
    duplex link state
    e1000g2 0:14:4f:ec:bc:1e 1000 Mbps full up attached
    e1000g3 1000 Mbps full up attached
    dladm show-aggr -L:
    key: 1 (0x0001) policy: L4 address: 0:14:4f:ec:bc:1e (auto) LACP mode: active LACP timer: short
    device activity timeout aggregatable sync coll dist defaulted expired
    e1000g2 active short yes yes yes yes no no
    e1000g3 active short yes yes yes yes no no
    dladm show-aggr -s:
    key: 1 ipackets rbytes opackets obytes %ipkts %opkts
    Total 464982722061215050501612388529872161440848661
    e1000g2 30677028844072327428231142100939796617960694 66.0 59.5
    e1000g3 15821243372049177622000967520476 64822888149 34.0 40.5

    sundy.liu wrote:
    Unfortunately however, even with the TCP tweaks enabled, I still only get a little over 1 Gb/s through the two aggregated Gig ports. It seems as though the aggregation is only using one port, though MRTG graphs of the two switch ports do in fact show that they are both being utilized equally, essentially splitting the 1 Gb/s speed between
    the two ports.
    Problem with the server? switch? Aggregation software? All the above? At any rate, I seem to be missing something.. Any help regarding this issue would be greatly appreciated!If you're only running a single stream, that's all you'll see. Teaming/aggregating doesn't make one stream go faster.
    If you ran two streams simultaneously, then you should see a difference between a single 1G interface and an aggregate of two 1G interfaces.
    Darren

  • How to find out who deleted the archive logs

    Hi All,
    Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
    OS Version :-
    SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
    Database Version:-
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012

    888132 wrote:
    Hi All,
    Recently some archive logs were deleted from one of our servers. Is there any way to find out which user has deleted the archive logs through OS or through database ?
    OS Version :-
    SunOS Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
    Database Version:-
    SQL*Plus: Release 9.2.0.8.0 - Production on Mon Apr 9 01:12:15 2012As explained by others, from oracle database there is no record if they are deleted from OS.
    But you can probably find the history of OS command been run with history command :). You can get the date and time.
    Following link can help
    http://stackoverflow.com/questions/99755/how-do-i-get-the-command-buffer-in-solaris-10
    http://www.cyberciti.biz/faq/unix-linux-bash-history-display-date-time/
    http://www.linuxquestions.org/questions/solaris-opensolaris-20/in-solaris-command-line-how-to-get-the-previous-commands-573814/
    But i suggest you to post in Sun OS forum to get more details as its nothing to do with Database(in this scenario)

  • Automatic Form Feed - Epson LQ - 2180 printer to R12 in Solaris Environment

    Hi
    We are adding a new Epson dot matrix [ Impact] Printer to our system. [Epson LQ - 2180]
    Server OS: Sun OS sun4v sparc SUNW,SPARC-Enterprise-T5120
    R12 Version: 12.1.3
    This is a network printer. This has been added to the printer server via root. We have configured the Printer in the Front end also via Install -=-> Printer in System Administrator REsponsibility.
    Our goal is to print three programs serially one after the other at a time. The paper input feed is continuous sheet.
    When we print from normal windows applications like notepad and MS-word, the page feed / form feed automatically gets set after each request. So that each request gets started in a New page. But this is not the case when we try to do the same from EBS.
    Is there any special setting / value that we need to set in the Printer Drivers like Arguments, Initialization and reset.
    We referred the printer manual but could not find any specific command or value to be set for Solaris.
    Your help is very much appreciated.
    thanks

    Please see if below metalink note helps you:-
    Are Dot Matrix Printers Supported in R12 of Oracle's E-Business Suite? [ID 1118652.1]
    Dot-Matrix Printer in Apps [ID 1121777.1]
    Where Can One Find A List Of Supported Printers For E-Business Suite [ID 353071.1]
    Thanks,
    JD

  • Aggregation issue on a T5220

    I have a Enterprise T5220 server, running Solaris 10 that I am using as a backup server. On this server, I have a Layer 4, LACP-enabled link aggregation set up using two of the server's Gigabit NICs (e1000g2 and e1000g3) and until recently I was getting up to and sometimes over 1.5 Gb/s as desired. However, something has happened recently to where I can now barely get over 1 Gb/s. As far as I know, no patches were applied to the server and no changes were made to the switch that it's connected to (Nortel Passport 8600 Series) and the total amount of backup data sent to the server has stayed fairly constant. I have tried setting up the aggregation multiple times and in multiple ways to no avail. (LACP enabled/disabled, different policies, etc.) I've also tried using different ports on the server and switch to rule out any faulty port problems. Our networking guys assure me that the aggregation is set up correctly on the switch side but I can get more details if needed.
    In order to attempt to better troubleshoot the problem, I run one of several network speed tools (nttcp, nepim, & iperf) as the "server" on the T5220, and I set up a spare X2100 as a "client". Both the server and client are connected to the same switch. The first set of tests with all three tools yields roughly 600 Mb/s. This seems a bit low to me, I seem to remember getting 700+ Mb/s prior to this "issue". When I run a second set of tests from two separate "client" X2100 servers, coming in on two different Gig ports on the T5220, each port also does ~600 Mb/s. I have also tried using crossover cables and I only get maybe a 50-75 Mb/s increase. After Googling Solaris network optimizations, I found that if I double tcp_max_buf to 2097152, and set tcp_xmit_hiwat & tcp_recv_hiwat to 524288, it bumps up the speed of a single Gig port to ~920 Mb/s. That's more like it!
    Unfortunately however, even with the TCP tweaks enabled, I still only get a little over 1 Gb/s through the two aggregated Gig ports. It seems as though the aggregation is only using one port, though MRTG graphs of the two switch ports do in fact show that they are both being utilized equally, essentially splitting the 1 Gb/s speed between
    the two ports.
    Problem with the server? switch? Aggregation software? All the above? At any rate, I seem to be missing something.. Any help regarding this issue would be greatly appreciated!
    Regards,
    Jim
    Output of several commands on the T5220:
    uname -a:
    SunOS oitbus1 5.10 Generic_137111-07 sun4v sparc SUNW,SPARC-Enterprise-T5220
    ifconfig -a (IP and broadcast hidden for security):
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    aggr1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet x.x.x.x netmask ffffff00 broadcast x.x.x.x
    ether 0:14:4f:ec:bc:1e
    dladm show-dev:
    e1000g0 link: unknown speed: 0 Mbps duplex: half
    e1000g1 link: unknown speed: 0 Mbps duplex: half
    e1000g2 link: up speed: 1000 Mbps duplex: full
    e1000g3 link: up speed: 1000 Mbps duplex: full
    dladm show-link:
    e1000g0 type: non-vlan mtu: 1500 device: e1000g0
    e1000g1 type: non-vlan mtu: 1500 device: e1000g1
    e1000g2 type: non-vlan mtu: 1500 device: e1000g2
    e1000g3 type: non-vlan mtu: 1500 device: e1000g3
    aggr1 type: non-vlan mtu: 1500 aggregation: key 1
    dladm show-aggr:
    key: 1 (0x0001) policy: L4 address: 0:14:4f:ec:bc:1e (auto) device address speed
    duplex link state
    e1000g2 0:14:4f:ec:bc:1e 1000 Mbps full up attached
    e1000g3 <unknown> 1000 Mbps full up attached
    dladm show-aggr -L:
    key: 1 (0x0001) policy: L4 address: 0:14:4f:ec:bc:1e (auto) LACP mode: active LACP timer: short
    device activity timeout aggregatable sync coll dist defaulted expired
    e1000g2 active short yes yes yes yes no no
    e1000g3 active short yes yes yes yes no no
    dladm show-aggr -s:
    key: 1 ipackets rbytes opackets obytes %ipkts %opkts
    Total 464982722061215050501612388529872161440848661
    e1000g2 30677028844072327428231142100939796617960694 66.0 59.5
    e1000g3 15821243372049177622000967520476 64822888149 34.0 40.5
    Edited by: JimBuitt on Sep 26, 2008 12:04 PM

    JimBuitt wrote:
    I have a Enterprise T5220 server, running Solaris 10 that I am using as a backup server. On this server, I have a Layer 4, LACP-enabled link aggregation set up using two of the server's Gigabit NICs (e1000g2 and e1000g3) and until recently I was getting up to and sometimes over 1.5 Gb/s as desired. However, something has happened recently to where I can now barely get over 1 Gb/s.Is this with multiple backup streams or just one?
    I would not expect to get higher throughput with a single stream. Only with the aggregate throughput of multiple streams.
    Darren

  • Unable to create RAID on SPARC-Enterprise-T5220

    hi:
    i got the following issue on my SPARC-Enterprise-T5220.
    i have constructed the RAID-1 on 4 disks out of 6.
    i have created RAID-1 on OS Disks using raidctl command on single user mode
    and i have created RADI-1 on other two disks. but i'm unable to create RAID-1 on the rest of the two disks.
    here i s the info i am giving
    # format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
    /pci@0/pci@0/pci@2/scsi@0/sd@0,0
    1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
    /pci@0/pci@0/pci@2/scsi@0/sd@1,0
    2. c1t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
    /pci@0/pci@0/pci@2/scsi@0/sd@2,0
    3. c1t4d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 136>
    /pci@0/pci@0/pci@2/scsi@0/sd@4,0
    disks 2 and 3 are under raid but where as 0 and 1 are not
    i am trying to construct raid on that disks it is giving following error
    # raidctl -c c1t0d0 c1t1d0
    Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? yes
    Too many arrays.
    here is my OS release information
    Solaris 10 5/08 s10s_u5wos_10 SPARC
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 March 2008
    SunOS 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220
    would any body help me on this.
    thanks in advance
    SN

    Hello sir,
    I work for one of Sun's Channel Development Partners and had a partner site the same problem today, but with a T5240.
    If you check with the "Disk Volumes" section of the T5120/T5220 Admin Guide, it tells us that the integrated LSI controller only supports up to two volumes at a time.
    http://docs.sun.com/source/820-2179-10/Volume-man.html#50606103_28600
    If you need more options for hardware RAID configuration of the internal disks, Sun offers an internal PCI-E SAS RAID HBA:
    SGXPCIESAS-R-INT-Z     
    Sun StorageTek (TM) 8-port internal SAS RAID Host Bus Adapter with RAID 0, 1, 1E, 10, 5, 5EE, 50, 6, 60 support, 256MB of onboard memory and 72 hour Battery Backed Write Cache. RoHS 6. X-Option.
    List Price: $599
    You'd also want this cable kit to go with it:
    SEDX9SA2Z     
    Internal SAS Cable Kit required to use Sun RAID Card SG(X)PCIESAS-R-INT-Z for use with the SPARC Enterprise T5220
    List Price: $40
    Here is documentation about the adapter:
    http://docs.sun.com/app/docs/coll/sas-raid-hba-int

  • Import running slow since last days.

    I have a issue where Oracle 9i database import is running very slow since last couple of days. The process used to be completed in 5 hours every day. But since last two days it is taking 10 to 15 hours to complete. I have checked the data-file size, and export dump-file sizes are consistent with what it used to be. There are no any significant changes in the database size no errors reported in the import and alert log files. Please help me Identify and resolve the real cause of this performance degrade.
    Thanks,
    Farhan
    Edited by: 884977 on Dec 2, 2012 11:25 AM

    --Exact OS version
    SunOS dbw01 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T2000
    --Oracle database version
    Oracle9i Release 9.2.0.6.0 - 64bit Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE 9.2.0.6.0 Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    --Lines from import logfile
    Connected to: Oracle9i Release 9.2.0.6.0 - 64bit Production
    JServer Release 9.2.0.6.0 - Production
    Export file created by EXPORT:V09.02.00 via direct path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export client uses AL32UTF8 character set (possible charset conversion)
    . importing CFD_USER's objects into CFD_USER
    . . importing table "CFD_ACCOUNT_POLICY" 613 rows imported
    . . importing table "CFD_ACTIVE_EMPLOYEE_COUNT" 0 rows imported
    . . importing table "CFD_ADDRESS" 1435608 rows imported
    . . importing table "CFD_APPEAL" 1688 rows imported
    . . importing table "CFD_APPEALS_DOCUMENTS_LNK" 5155 rows imported
    . . importing table "CFD_APPEAL_NOTES_LNK" 2564 rows imported
    . . importing table "CFD_CALC_METHOD_CHANGE_HELPER" 38323 rows imported
    . . importing table "CFD_CODE" 379 rows imported
    . . importing table "CFD_CONSTRAINT_CONTEXT" 2823 rows imported
    . . importing table "CFD_CONSTRAINT_CRITERIA" 34070 rows imported
    . . importing table "CFD_CONTACT_INFORMATION_MV" 32018 rows imported
    --Command used
    imp CFDa_user/xxxxxxxx parfile=/export/home/oracle/shells/cfdtables.par file=/oradata/dump/cfdtables.dmp log=/oradata/dump/CFD_tablesimp.log ignore=y recordlength=65535 trace=y
    Thanks,

  • JVM Crash on Solaris 10

    Hi,
    Can anyone help me in debugging this pstack output?
    What I am trying to do?
    1) using a C code to start the JVM and execute a jar, as shown the trace below
    but I get the following core file.
    2) It seems like JVM is trying to access the memory provided by the OS and then throws the signal 11 ( SIGSEGV)
    Other details:
    OS: SunOS t5220x1081 5.10 Generic_127111-06 sun4v sparc SUNW,SPARC-Enterprise-T5220
    Java version:java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
    -Alphy
    ----------------- lwp# 6 / thread# 6 --------------------
    fe9c599c lwpkill (6, 0, fe9f2cb8, fe9a89a8, ffffffff, 6) + 8
    fe9410b8 abort (0, 1, 6d908c, ad354, fe9f1318, 0) + 110
    00420528 __1cRSolarisThreadCoreNsignalHandler6FipnHsiginfo_pv_v_ (0, 73f328, 1, 6d9000, 6, 1) + 2e8
    ff03eccc ???????? (b, 44173f0, fcdf6970, fcdf66b8, 44173e8, 12d2cc) + fec1ea8c
    fee13ff0 JVM_handle_solaris_signal (b, fcdf6970, fcdf66b8, 1, ff185ff0, 441b4a0) + 96c
    fe9c48d4 __sighndlr (b, fcdf6970, fcdf66b8, fee13664, 0, 1) + c
    fe9b98ac call_user_handler (b, ffbffeff, c, ff37, fe2e2200, fcdf66b8) + 3b8
    fe956110 realfree (4473200, 434b4c85, 9824c, 0, 0, 44731f0) + 68
    fe955c80 mallocunlocked (4473128, 434b4d5c, 4473120, 4473128, fffffffc, 2) + 260
    fe955a04 malloc (cc, 1, 98948, 0, fe9ee308, fe9f76f0) + 4c
    fa0c2b20 C_GetMechanismList (fcdf6bac, 0, fcdf6c38, 6, 275ec, 7800) + 114
    fa194c48 meta_mechManager_update_slot (1, 0, 2bb6ad4, 2bb6bac, 2bb6b68, 8) + 54
    fa1948a8 meta_mechManager_get_mechs (0, fcdf6d64, 0, 21784, 2, fa1ed6f4) + 34
    fa19b908 meta_GetMechanismList (2a, 0, fcdf6d64, 1a740, fa19f034, 7) + 50
    fa1d7148 Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetMechanismList (441b55c, fcdf6ed4, 0, 0, 6748, 6548) + 34
    f740bc20 ???????? (441b4a0, fcdf6ed4, fcdf6e50, ffffff80, d28, ff16c000) + fffffffffd234b0c
    f740bbc4 ???????? (cd1042a8, 0, 6548, c, ff185ff8, fcdf6e68) + fffffffffd234ab0
    f7405874 * sun/security/pkcs11/SunPKCS11.initToken(Lsun/security/pkcs11/wrapper/CK_SLOT_INFO;)V+156 (line 572)
    f7405764 ???????? (cd0bc548, 0, 6548, f74148e0, ff185ff8, fcdf6ff0) + fffffffffd22e650
    f7405764 ???????? (c000, 2, 4c00, f74148e0, ff17fcb8, fcdf7070) + fffffffffd22e650
    f7400218 * StubRoutines (1)
    fecdd26c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 441b4a0, fcdf7300, fcdf7170, fcdf7304, 0) + 5b8
    fed0db78 __1cKReflectionGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_inOobjArrayHandle_nJBasicType_4ipnGThread__pnHoopDesc__ (cd7c2d38, e, 4416ed0, 4, fcdf73f8, ff16c000) + 1520
    fed0c49c __1cKReflectionSinvoke_constructor6FpnHoopDesc_nOobjArrayHandle_pnGThread__2_ (4416ec8, fcdf746c, 441b4a0, 4416ed0, 4416ecc, d123d040) + 348
    fed0bf20 JVM_NewInstanceFromConstructor (441b55c, fcdf764c, fcdf7648, ff1869bc, 441b4a0, cd0b7e08) + 1e4
    fd97d32c Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0 (441b55c, fcdf75c8, fcdf764c, fcdf7648, ff1821b0, 0) + c
    f740bc20 ???????? (349, fcdf764c, fcdf75c8, ffffff80, ff188960, 0) + fffffffff9a8e900
    f740bbc4 ???????? (cd0b7e08, b8, fcdf76d0, 8, cd0bb490, fcdf75e0) + fffffffff9a8e8a4
    f7405874 ???????? (cd0b7e18, b6, fcdf7758, f7414a20, f8, fcdf7670) + fffffffff9a88554
    f7405874 ???????? (cd0b7e30, d581ad78, fcdf77e8, f7414760, 580c, fcdf76f0) + fffffffff9a88554
    f7405d3c ???????? (cd0b7dc8, 0, 6548, f7414b40, ff185ff8, fcdf7780) + fffffffff9a88a1c
    f7405874 ???????? (c000, 2, 4c00, f74147b0, ff17fcb8, fcdf7818) + fffffffff9a88554
    f7400218 * StubRoutines (1)
    fecdd26c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 441b4a0, fcdf7a0c, fcdf7910, fcdf7a10, 0) + 5b8
    feced73c JVM_DoPrivileged (441b55c, 1, 4416ec0, 4, c, 4416ebc) + 560
    fd979c24 Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2 (441b55c, fcdf7d28, fcdf7da4, f7414a20, 580c, fcdf80a0) + 14
    f740bc20 ???????? (439, fcdf7da4, fcdf7d28, ffffff80, ff185ff8, 0) + fffffffff9a92010
    f740bbc4 ???????? (cd0362b0, b8, 0, 4, cd03c4d8, fcdf7d40) + fffffffff9a91fb4
    f7405874 ???????? (cd7be278, b7, fcdf7e30, f74148e0, 0, fcdf7dc8) + fffffffff9a8bc64
    f7405874 ???????? (cd7be278, b6, cd7a9bc0, f74148e0, 1, fcdf7e60) + fffffffff9a8bc64
    f7405874 ???????? (cd7de650, b6, fcdf7fdc, f7414760, c, fcdf7ee8) + fffffffff9a8bc64
    f7405874 ???????? (cd7de650, b6, fcdf807c, f74147a8, d5806fe8, fcdf7f78) + fffffffff9a8bc64
    f7405874 ???????? (d5d2d430, b8, fcdf8104, f7414760, e0, fcdf8018) + fffffffff9a8bc64
    f7405874 ???????? (0, b8, 8, f7414a20, 580c, fcdf80a0) + fffffffff9a8bc64
    f7405874 ???????? (3ff86c8, 0, 6548, f7414a20, ff185ff8, fcdf8130) + fffffffff9a8bc64
    f7405874 ???????? (3ff86c8, 0, 6548, f7414a70, ff185ff8, fcdf81f8) + fffffffff9a8bc64
    f74058fc ???????? (3ff86c8, 0, 6548, f7414a20, ff185ff8, fcdf8278) + fffffffff9a8bcec
    f74058fc ???????? (c000, 2, 4c00, f7414a70, ff17fcb8, fcdf8300) + fffffffff9a8bcec
    f7400218 * StubRoutines (1)
    fecdd26c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 441b4a0, fcdf84f4, fcdf83f8, fcdf84f8, 0) + 5b8
    feced73c JVM_DoPrivileged (441b55c, 1, 4416eb8, 4, c, 4416eb4) + 560
    fd979c24 Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2 (441b55c, fcdf8810, fcdf8890, 2, 580c, 5800) + 14
    f740bc20 ???????? (431, fcdf8890, fcdf8810, ffffff80, ff185ff8, 0) + fffffffff9a92010
    f740bbc4 ???????? (cd031d38, b8, 6548, 4, ff185ff8, fcdf8828) + fffffffff9a91fb4
    f7405874 ???????? (cd02b860, b6, 6548, f74148e0, ff185ff8, fcdf88b0) + fffffffff9a8bc64
    f74058fc ???????? (cd02a890, 0, 6548, f74147b0, ff185ff8, fcdf8940) + fffffffff9a8bcec
    f7405764 ???????? (cd023e38, b7, d526d298, f7414928, 40, fcdf89e8) + fffffffff9a8bb54
    f7405874 ???????? (cd023e38, b7, 0, f7414928, cd02bc20, fcdf8a68) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, b7, d526d298, f7414928, 40, fcdf8b10) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, b7, 6548, f7414928, ff185ff8, fcdf8b90) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, 0, 6548, f7414928, ff185ff8, fcdf8c38) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, 0, 6548, f7414928, ff185ff8, fcdf8cb8) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, 0, 6548, f7414928, ff185ff8, fcdf8d50) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, 0, 6548, f7414928, ff185ff8, fcdf8de8) + fffffffff9a8bc64
    f7405874 ???????? (cd023e38, 0, 6548, f7414928, ff185ff8, fcdf8e80) + fffffffff9a8bc64
    f7405874 ???????? (cd1eab10, 0, 6548, f7414760, ff185ff8, fcdf8f10) + fffffffff9a8bc64
    f7405874 ???????? (3ff86c8, 0, 6548, f74147b0, ff185ff8, fcdf8fc0) + fffffffff9a8bc64
    f7405874 ???????? (cd1dfaa0, 0, 6548, f7414a68, ff185ff8, fcdf9038) + fffffffff9a8bc64
    f7405874 ???????? (3ff86c8, 0, 6548, f74147a8, ff185ff8, fcdf90c0) + fffffffff9a8bc64
    f7405874 ???????? (cd1c42e0, 0, 6548, f7414a68, ff185ff8, fcdf9148) + fffffffff9a8bc64
    f7405874 ???????? (3ff86c8, 0, 6548, f74147a8, ff185ff8, fcdf91c8) + fffffffff9a8bc64
    f7405874 ???????? (cd199b40, 0, 6548, f7414a70, ff185ff8, fcdf9248) + fffffffff9a8bc64
    f7405764 ???????? (cd0e36b8, 0, 6548, f74147b0, ff185ff8, fcdf92e8) + fffffffff9a8bb54
    f7405764 ???????? (cd0e36b8, 0, 6548, f74147b0, ff185ff8, fcdf9398) + fffffffff9a8bb54
    f7405764 ???????? (cd0e36b8, 0, 6548, f7414760, ff185ff8, fcdf9440) + fffffffff9a8bb54
    f7405764 ???????? (cd0e36b8, 0, 6548, f74148e0, ff185ff8, fcdf94d0) + fffffffff9a8bb54
    f7405764 ???????? (cd068eb0, 0, 6548, f74148e0, ff185ff8, fcdf9568) + fffffffff9a8bb54
    f7405874 ???????? (cd1f61d0, 0, 6548, f7414760, ff185ff8, fcdf9658) + fffffffff9a8bc64
    f7405874 ???????? (cd1f6168, 0, 6548, f7414760, ff185ff8, fcdf96f0) + fffffffff9a8bc64
    f7405874 * oracle/jdbc/pool/OracleConnectionPoolDataSource.getPhysicalConnection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;+8 (line 109)
    f7405874 * oracle/jdbc/pool/OracleConnectionPoolDataSource.getPooledConnection(Ljava/lang/String;Ljava/lang/String;)Ljavax/sql/PooledConnection;+7 (line 77)
    f7405874 * oracle/jdbc/pool/OracleImplicitConnectionCache.makeCacheConnection(Ljava/lang/String;Ljava/lang/String;)Ljavax/sql/PooledConnection;+35 (line 1212)
    f7405874 * oracle/jdbc/pool/OracleImplicitConnectionCache.getCacheConnection(Ljava/lang/String;Ljava/lang/String;Ljava/util/Properties;)Ljavax/sql/PooledConnection;+27 (line 341)
    f7405874 ???????? (cd1f5150, 0, 6548, f74148e0, ff185ff8, fcdf99b8) + fffffffff9a8bc64
    f7405874 ???????? (cd1d1dc8, 0, 6548, f7414760, ff185ff8, fcdf9a48) + fffffffff9a8bc64
    f7405874 ???????? (cd1d1dc8, 0, 6548, f7414760, ff185ff8, fcdf9ae0) + fffffffff9a8bc64
    f7405874 ???????? (cd1d1dc8, 0, 6548, f74147b0, ff185ff8, fcdf9b68) + fffffffff9a8bc64
    f7405874 * com/ericsson/dws/storage/ConnectionManager.getPooledConnectionInternal(Ljava/lang/String;)Ljava/sql/Connection;+187 (line 85)
    f7405874 ???????? (3ff86c8, 0, 6548, f7414760, ff185ff8, fcdf9c80) + fffffffff9a8bc64
    f7405874 ???????? (cd0ae508, 0, 6548, f7414a70, ff185ff8, fcdf9d58) + fffffffff9a8bc64
    f7405764 ???????? (3ff86c8, 0, 6548, f7414930, ff185ff8, fcdf9de0) + fffffffff9a8bb54
    f7405874 ???????? (c000, 2, 4c00, f7414a20, ff17fcb8, fcdf9e70) + fffffffff9a8bc64
    f7400218 * StubRoutines (1)
    fecdd26c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (1, 441b4a0, fcdfa030, fcdf9f68, fcdfa034, 0) + 5b8
    fecf839c __1cUjni_invoke_nonstatic6FpnHJNIEnv__pnJJavaValue_pnI_jobject_nLJNICallType_pnK_jmethodID_pnSJNI_ArgumentPusher_pnGThread__v_ (441b55c, fcdfa110, 4416ea8, ff18304c, 4491ac0, fcdfa0f4) + 4d4
    fed262a8 jni_NewObjectV (441b55c, ff182ff0, 4492304, fcdfa1d0, ff1869bc, 2b33358) + 420
    003f7de4 __1cHJNIEnv_JNewObject6MpnH_jclass_pnK_jmethodID_E_pnI_jobject__ (441b55c, 2b335b0, 4492304, 2aa8b50, ff182bf0, fed25e88) + 24
    003f72d4 __1cRJavaActivityProxyKinitialize6MnJRWCString_pnPJavaActivityJVM__b_ (2b4a590, 2aa8b5c, 2aa8b5c, 441b55c, 4492304, ff182bf0) + 414
    003f6ca4 __1cRJavaActivityProxy2t5B6MnJRWCString_pnPJavaActivityJVM__v_ (2b4a590, fcdfa358, 44593f0, 9, 7139f0, 713800) + 24
    003f324c __1cQJavaActivityImpl2t6MrknIDataUnit__v_ (0, 2b86754, 2b23b60, 2b23bec, 2b23bdc, fcdfa3d0) + 100c
    0012dea4 __1cQProcessorBuilderWbuildJavaActivityPoint6MrknIDataUnit__pnRIntermediatePoint__ (442d3fc, 2b86754, 0, 0, 0, 2b23b60) + 284
    00115118 __1cQProcessorBuilderTbuildProcessingNode6MrnINodeInfo__pnIOutPoint__ (ce2700, 2b86748, 0, 1, 3443760, 2b86754) + f78
    00115f84 __1cQProcessorBuilderRconnectSuccessors6MrnINodeInfo_pnHInPoint__v_ (ce2700, 2b86710, 3afaea0, 3371f28, 3cb8998, 7e04a0) + c4
    00115650 __1cQProcessorBuilderTbuildProcessingNode6MrnINodeInfo__pnIOutPoint__ (ce2700, 2b86710, 3afaea0, 3afaec8, 1, 2b8671c) + 14b0
    00115f84 __1cQProcessorBuilderRconnectSuccessors6MrnINodeInfo_pnHInPoint__v_ (ce2700, 43957f0, 4269c70, 419cb90, 3cb8988, 0) + c4
    00115650 __1cQProcessorBuilderTbuildProcessingNode6MrnINodeInfo__pnIOutPoint__ (ce2700, 2b866a0, 4269c70, 4269c98, 2, 2b866ac) + 14b0
    00115f84 __1cQProcessorBuilderRconnectSuccessors6MrnINodeInfo_pnHInPoint__v_ (ce2700, 2b86630, 4269ce0, 2c25f00, 3cb8968, 7e04a0) + c4
    00115650 __1cQProcessorBuilderTbuildProcessingNode6MrnINodeInfo__pnIOutPoint__ (ce2700, 2b86630, 4269ce0, 4269d08, 1, 2b8663c) + 14b0
    00115b88 __1cQProcessorBuilderRconnectSuccessors6MrnINodeInfo_pnHInPoint_rnURWTPtrHashDictionary4nJRWCString_nIOutPoint____v_ (ce2700, 6da800, 2bd45a0, fcdfb160, 3cb8958, 7e04a0) + 168
    00111db4 __1cQProcessorBuilderKbuildChain6MrnLRWTPtrSlist4nINodeInfo___pnURWTPtrHashDictionary4nJRWCString_nJPointTree___pnLRWTPtrSlist4nFPoint___pnPProcessorThread_b_v_ (ce2728, ce2788, ce2748, 2bd45a0, fcdfb2f0, ce2768) + 414
    00144e90 __1cPProcessorThreadKbuildChain6MrnLRWTPtrSlist4nINodeInfo___b_i_ (4070100, fcdfb2ec, 0, 0, 6f6400, 1) + 30
    0031e00c __1cSComponentFrameworkKbuildChain6MrnLRWTPtrSlist4nINodeInfo___b_v_ (20446a0, fcdfb2ec, 2044724, 4070100, 0, 3cb8890) + 10c
    0031d7dc __1cSComponentFrameworkOconfigurePaths6MrnIDataUnit_brnLRWTPtrSlist4nINodeInfo___4_v_ (fcdfbb70, 2b86668, 2b86658, fcdfb2ec, 3cb8a90, 20446a0) + 65c
    0031f4f0 __1cSComponentFrameworkOprocessMessage6MrnIDataUnit__v_ (1, 2a50078, 20446a0, fcdfbb70, fcdfbb80, 2) + 11b0
    0010eeec __1cSProcessorFrameworkOprocessMessage6MrnIDataUnit__v_ (4611e0, 2a50078, 20446a0, 0, 2bfde50, 2) + bec
    0033e550 __1cIIfClientEmain6M_v_ (20446a0, 0, 2a50078, 33ef00, 20446b8, 20446c8) + 270
    004225a4 __1cMActiveObjectLexecuteMain6Fp0pv_2_ (20446a0, 1c25248, 7154fc, 421560, 7154fc, 33e2e0) + 44
    00420074 __1cRSolarisThreadCoreLstartThread6FpnNSolarisThread__pv_ (1c2bbc0, fcdfc000, 0, 0, 84e840, 73f400) + 34
    fe9c47a8 lwpstart (0, 0, 0, 0, 0, 0)

    soumikinthesun wrote:
    Yes I am using OCI driver. But can you tell me where is the problem using OCI driver?Nope.
    If you want to spend the time then you do the following.
    1. Reduce the code to the point where you have a small example that fails
    2. Make a bug report to Oracle.
    If you want a solution, since waiting on a Oracle fix is unlikely to be something that you can do (unless you have a service contract and they state that they will fix it) then do one of the following.
    1. Use the thin driver, not the OCI one.
    2. Use a different version of the OCI driver
    3. Determine exactly where the problem occurs and find a different way to structure the code (java and SQL) so the error does not occur.
    I don't think my system is corrupted because the core is comming in customer machine as well as our test machine.
    That doesn't completely eliminate the possibility but it does make it much less likely.
    we are getting core from libjvm.so , so I think it is not the crash of oracle VM. It is the crash of SUN VM
    what do you think?The Oracle and Sun VMs are completely different applications. They are your applications so I can't tell you what you are running. The Oracle VM would, normally, be used for embedded java procs in the database itself. And if you are using OCI in that code then you are doing it wrong.

  • We have a set of oracle clients running on T5220 zones that need some help

    Greetings all -
    We have a set of oracle clients running on T5220 zones that need some help.
    If, for example, I execute the query "select (all) from dba_objects", trace output reports 90% of the elapsed time spent under "SQLNet message from client".
    Here are OS details for the clients: Solaris 10 5/08 s10s_u5wos_10 SPARC
    Running "uname -a" from the client gives:
    (SunOS bmc-ste-app 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5220)
    Here are OS details for the dataserver: Enterprise Linux Enterprise Linux Server release 5.2
    Running "uname -a" from the dataserver gives:
    (2.6.18-92.1.6.0.2.el5 #1 SMP Thu Jun 26 17:44:55 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux)
    The RDBMS is 10.2.0.4
    Again, please note, there is no application in the picture here. We are just running a simple catalog query (select * from dba_objects) from sqlplus. Why the wait on something like this? The wait also occurs when a different query is used (select (all) from SYS.COL$ where rownum < 50000). And it doesn't matter if I used the full client or the instant client. I still get the same high-wait.
    We had thought - maybe this is a network thing - so we put a test client on the same subnet as the dataserver. This helped - but not enough. The wait is still way too high even with firewalls taken out of the equation.
    We've also looked at arraysize, SDU, kernel settings. And we've spent time going over tkprof, truss and sqlnet-tracing.
    Has anyone ever had to solve this HIGH WAIT ON CLIENT issue? Is there a work around or some tweak I'm missing.
    Is anyone configured like we are (linux dataserver, solaris clients)? If so - did you see anything like this?
    tia -
    Jim
    Edited by: jim1768 on Mar 31, 2010 1:47 PM
    Edited by: jim1768 on Mar 31, 2010 2:12 PM
    Edited by: jim1768 on Mar 31, 2010 2:13 PM

    Hello,
    We have the exact same issue. Did you ever solve this issue? We have a t5220 and have just upgraded our 11.5.10.2 11i system on it from 9.2.0.8 32-bit sparc to 11.2.0.1 64-bit sparc. Things should be faster but arent, and our consultant has tracked it down to high wait times when the apps tier using forms connects to the database tier on the same box. So even though the t5220 is both server and client, there is something about the client sql connection.through TNS that his having trouble. Thanks for any information. We've also created an S/R with Oracle.
    Note: I am well aware of the other issues with the CMT server series but this particular issue seems independent of the regular / known issues and remains a mystery to us. Other known issues with the CMT servers for SPARC:
    Metalink Note 781763.1 (Migration from fast single threaded CPU machine to CMT UltraSPARC T1 & T2)
    http://blogs.sun.com/glennf/resource/Optimizing_Oracle_CMT_v1.pdf
    http://blogs.sun.com/glennf/tags/throughput
    http://blogs.sun.com/glennf/entry/getting_past_go_with_sparc
    http://www.oracle.com/apps_benchmark/doc/E-Bus-11i-PAY_ORA_SUN-T5220.pdf (this paper has some oracle init settings at the end. The kernel settings have been included in the OS upgrade)
    http://blogs.sun.com/mandalika/entry/siebel_on_sun_cmt_hardware

  • Why default jdk not 1.6 after a fresh install?

    As a followup to my last post [http://forum.java.sun.com/thread.jspa?threadID=5270493&tstart=0|http://forum.java.sun.com/thread.jspa?threadID=5270493&tstart=0], I installed jdk 1.6.0_04 just now on a solaris box that has this OS:
         SunOS asm03 5.10 Generic_120011-14 sun4v sparc SUNW,SPARC-Enterprise-T5220I followed the instructions here [http://java.sun.com/javase/6/webnotes/install/jdk/install-solaris.html|http://java.sun.com/javase/6/webnotes/install/jdk/install-solaris.html] (decided for now to only install the 32 bit JVM as it is faster than the 64 bit one and I do not immediately need to address > 4 GB).
    I used the tar file approach, instead of the .sh file approach.
    Installation using pkgadd seemed to go off without a hitch.
    But whenever I execute
         java -versionor
         /usr/java/bin/java -fullversionI always pick up the old JDK 1.5, and not my newly installed JDK 1.6, as the installation notes linked to above indicate should have happened.
    Anyone know what went wrong? I did not notice any warnings from the pkgadd process.
    Should I just manually change the /usr/java symbolic link to point to /usr/jdk/jdk1.6.0_04?

    SolarisSAinPA wrote:
    /usr/bin/java is a link and you need to recreate it to point to new jdk
    The install instructions at [http://java.sun.com/javase/6/webnotes/install/jdk/install-solaris.html |http://java.sun.com/javase/6/webnotes/install/jdk/install-solaris.html ] have a section titled: Solaris Package Install - Selecting the Default Java Platform which includes info on updating the link.From those instructions, which I too cited in my original post, I ended up simply manually executing
    ln -s /usr/jdk/jdk1.6.0_04 /usr/javato make my freshly installed jdk the default.
    What I was puzzled about is why the jdk6 installer did not do this itself! From that URL, I was under the impression that an install of jdk6 on a solaris10 box would autoupdate links like that. Evidently, it doesn't (at least if jdk5 is already there).

  • Warning when using -xprofile (C++)

    Hello!
    I experimented with profile feedback optimization in Sun Studio C++ and got tons of warnings when building with -xprofile=use
    warning: Profile feedback data for function <function> is inconsistent. Ignored.
    I also noticed that all functions mentioned in warnings are either:
    - defined in C++ unnamed namespace;
    - member-functions of template classes which use members of unnamed namespace as their parameters.
    I was able to minimize the case to the following:
    $ cat a.cpp
    namespace {
    template<typename T>
    struct P
    T* m_p;
    P(T* p) : m_p(p) {}
    ~P() { delete m_p; }
    T* get() { return m_p; }
    int main()
    P<int> p(new int);
    ++(*p.get());
    return 0;
    $ # compile for collection
    $ CC -xprofile=collect -xO5 a.cpp
    $ # run experiment
    $ ./a.out
    $ ls a.out.profile/
    feedbin.lock feedbin.xprof
    $ # rebuild using profile info
    $ CC -xprofile=use -xO5 a.cpp
    warning: Profile feedback data for function __unnamed_KgMkF5gmoLkTE::P<int>::~P() is inconsistent. Ignored.
    $ CC -V
    CC: Sun C++ 5.10 SunOS_i386 128229-04 2009/11/25
    Usage: CC [ options ] files. Use 'CC -flags' for details
    Any ideas/solutions/workarounds?
    Thanks!

    Sorry, the information I gave in the previous message was misleading.
    You should update the Solaris patch for the profiling library libxprof.so.1
    as well. In general, you should keep all of the patches in the list up to
    date since they are inter-dependent.
    For x86, the current version of the profiler patch is 119961-06:
    % uname -a
    SunOS ... 5.10 Generic_120012-14 i86pc i386 i86pc
    % /opt/sunstudio12.1/bin/version /usr/lib/libxprof.so.1
    version of "/usr/lib/libxprof.so.1": SunOS 5.10 119961-06 Patch 10/07/2009
    For sparc, the current version of the profiler patch is 118683-04:
    % uname -a
    SunOS ... 5.10 Generic_139555-08 sun4u sparc SUNW,SPARC-Enterprise
    % /opt/sunstudio12.1/bin/version /usr/lib/libxprof.so.1
    version of "/usr/lib/libxprof.so.1": SunOS 5.10 118683-04 Patch 10/05/2009
    Note that the Studio compilers use 'fbe' as an assembler, as opposed to using
    the standard Solaris assembler /usr/ccs/bin/as . The patch that includes 'fbe'
    updates the compiler backend components; it does not update the profiling
    support library.

  • Multiple jdk versions on solaris--best practices and advice

    I am a newcomer to solaris system administration (not by choice--I am normally just a Java programmer, but am now responsible for testing code on a new solaris box), so apologies for the newbie questions below.
    #1: is it typical for a brand new solaris install to have multiple versions of Java on it?
    After installation, which left me with this version of solaris:
         SunOS asm03 5.10 Generic_120011-14 sun4v sparc SUNW,SPARC-Enterprise-T5220I find from pkginfo, that their are 2 old versions of java installed:
         SUNWj3dev     J2SDK 1.4 development tools
    SUNWj3dmo     J2SDK 1.4 demo programs
    SUNWj3dvx     J2SDK 1.4 development tools (64-bit)
    SUNWj3irt     JDK 1.4 I18N run time environment
    SUNWj3jmp     J2SDK 1.4 Japanese man pages
    SUNWj3man     J2SDK 1.4 man pages
    SUNWj3rt      J2SDK 1.4 runtime environment
    SUNWj3rtx     J2SDK 1.4 runtime environment (64-bit)
    SUNWj5cfg     JDK 5.0 Host Config. (1.5.0_12)
    SUNWj5dev     JDK 5.0 Dev. Tools (1.5.0_12)
    SUNWj5dmo     JDK 5.0 Demo Programs (1.5.0_12)
    SUNWj5dmx     JDK 5.0 64-bit Demo Programs (1.5.0_12)
    SUNWj5dvx     JDK 5.0 64-bit Dev. Tools (1.5.0_12)
    SUNWj5jmp     JDK 5.0 Man Pages: Japan (1.5.0_12)
    SUNWj5man     JDK 5.0 Man Pages (1.5.0_12)
    SUNWj5rt      JDK 5.0 Runtime Env. (1.5.0_12)
    SUNWj5rtx     JDK 5.0 64-bit Runtime Env. (1.5.0_12)Both of these versions are years old; I am surprised that there is not just a single version of JDK 1.6 installed; it only came out, what, going on 2 years ago? I definitely need JDK 1.6 for all of my software to run.
    On my windows and linux boxes, I never usually have multiple JDKs; I always deinstall the current one before installing a new one. So, I went first to try and deinstall JDK 1.4 by executing
         pkgrm SUNWj3dev SUNWj3dmo SUNWj3dvx SUNWj3irt SUNWj3jmp SUNWj3man SUNWj3rt SUNWj3rtxThe package manager detected dependencies like
    WARNING:
         The <SUNWmccom> package depends on the package currently being removed.
    WARNING:
         The <SUNWmcc> package depends on the package currently being removed.
    [+ 8 more]and I decided to abort deinstallation because I have no diea what all these other programs are, and I do not want to cripple my system.
    If anyone has any idea what programs Sun is shipping that still depend on JDK 1.4, please enlighten me.
    #2: Is there any easy way to not only deinstall, say, JDK 1.4 but also deinstall all packages which depend on it?
    Maybe this is too dangerous.
    #3: Is there at least a way that I can find all the programs which depend on an entire group of packages like
         SUNWj3dev SUNWj3dmo SUNWj3dvx SUNWj3irt SUNWj3jmp SUNWj3man SUNWj3rt SUNWj3rtx?
    The above functionality would have come in real handy if I could have done it before doing what I describe next.
    I next decided to try removing JDK 1.5, so I executed
         pkgrm SUNWj5cfg SUNWj5dev SUNWj5dmo SUNWj5dmx SUNWj5dvx SUNWj5jmp SUNWj5man SUNWj5rt SUNWj5rtxI thought that this command would let me know of any dependencies of ANY of the packages that are listed. It doesn't. Instead, it merely checks the first one, and if no dependencies are found, then removes it before marching down the list. In the case above, it happily removed SUNWj5cfg because there were no dependencies on it. Then it stalled on SUNWj5dev because it found dependencies like:
    WARNING:
         The <SUNWmctag> package depends on the package currently being removed.
    WARNING:
         The <SUNWmcon> package depends on the package currently being removed.
    [+ 3 more]#4: Have I left my JDK 1.5 crippled by removing SUNWj5cfg? Or was this pretty harmless?
    #5: Was I fairly stupid to attempt the deinstallations above in the first place? Do solaris people normally leave old JDKs in place?
    #6: Or is it the case that those dependency warnings are harmless: I can go ahead and remove all old JDKs, because java programs will always find the new JDK and should run just fine with it?
    #7 Whats the deal with solaris and having multiple packages for something like the JDK? With Windows, for instance, the entire JDK has a single installer and deinstaller program. Its much easier to work with that the corresponding Solaris stuff. Do Solaris people simply need that much finer grained control over what gets installed and what doesn't? (Actually, with the Windows JDK, the gui installer program can let you install selected components should you wish; I am just not sure how scriptable this is versus the solaris stuff, which may be more sys admin friendly if you have to administer many machines.)

    The easiest thing to do is to just install the latest into a clean directoryI believe different versions of jdk install into their own separate directory by default. All one needs to do is recreate the symbolic links that point to the version they want to use. The java install documentation has the details.

  • Manual Upgrade

    Hi ,
    My database version is 9.2.0.4.0 on sun solaris with below version:
    $ uname -r
    5.10
    $ uname -a
    SunOS cidcsinfdev01 5.10 Generic_141444-09 sun4u sparc SUNW,SPARC-Enterprise
    $
    My database size is 400 gb.
    Now i want to manually upgrade my database from 9.2.0.4.0 to 10g on different sun solaris server with same version.
    So please let me know difffernet upgarade option with fulll details.
    Thanks in advance.
    Please let me know the best

    At a high level, these are the steps -
    1. Install 10gR2 software on new server, patch it up to 10.2.0.4 and apply the latest CPU patches
    2. Shut down 9i database and optionally take a full cold backup.
    3. Copy configuration and database files from old server to new server.
    4. Perform the upgrade on the new server.
    5. After verifying upgrade is successful, delete 9i ORACLE_HOME and database from old server.
    See the steps detailed here - http://download.oracle.com/docs/cd/B19306_01/server.102/b14238/upgrade.htm#i1011600
    MOS Doc 316889.1 - Complete Checklist for Manual Upgrades to 10gR2
    HTH
    Srini

  • Shell Script gives error when run through cron job.

    Hi,
    The following shell script runs without any problem when executed manulally.
    USED=$(df -h /arch | tail -1 | awk '{print $5}' | cut -d '%' -f 1)
    if [ ${USED} -gt 90 ]
    then
    find /arch/AUBUAT/ -type f -mtime +0 | xargs rm
    find /arch/AUBMIG/ -type f -mtime +0 | xargs rm
    fi
    But the same gives below error when called from a cron job:
    /backup/arch_test.sh: syntax error at line 1: `USED=$' unexpected
    We are running following version:
    bash-3.00$ uname -a
    SunOS uaeaubdbdr01.aub.af 5.10 Generic_141444-09 sun4u sparc SUNW,SPARC-Enterprise
    Kindly assist.
    Thanks
    Edited by: user13362786 on Apr 20, 2011 4:36 AM

    Hi,
    When I used #!/usr/bin/sh now even the manul execution of the script fails with the same err:
    bash-3.00$ ./arch_test.sh
    ./arch_test.sh: syntax error at line 2: `USED=$' unexpected
    And when I used #!/usr/bin/ksh the manual execution runs fine but again when the script is run from cronjob it now give dirrect err:
    /backup/arch_test.sh[2]: df: not found
    /backup/arch_test.sh[2]: tail: not found
    /backup/arch_test.sh[2]: cut: not found
    /backup/arch_test.sh[2]: awk: not found
    /backup/arch_test.sh[3]: test: argument expected

Maybe you are looking for