Raidctl - Sun T5240 Solaris 10 Problem
I tried using raidctl earlier today to use my 2 disks in a RAID1 setup and I totally destroyed my OS install. I'm sure I did something funky and it freaked out. No big deal...right?
This is what I was seeing after a reboot.
Quote:
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
Corrupt label - bad geometry
Label says 286718976 blocks; Drive says 286607360 blocks
I decided to just reinstall the OS. It let me go through all of the setup stuff and when it wanted to start installing the OS files I got this message.
Quote:
One or more disks are found, but one of the
following problems exists:
Hardware failure
Unformatted disk.
The server then dropped me to a # command line. I ran format command and saw only one disk showing as a volume, which I believe is what I needed to do for RAID1 setup anyway (create a volume). So I ran format selected the volume and format again to wipe the drive and its been formatting for over 4 hours and all i keep seeing is an incrementing number that started at 0/0/0 but it has taken 4 hours to get from 0/0/0 to 23,000ish/0/0. Is this normal? Have I totally destroyed the disks? Should I be doing something else? I have read a ton of posts and I'm pretty lost at this point. I'm going to let the drive format overnight but I'm scared it will still be doing this in the morning or something crazy.
Any help would be great...
Well I think I got it working now, so I will just post what I had to do for anyone else who needs it.
I came in this morning and the server was still scrolling the numbers like I posted above about my format command. It got to like 47000/12/112 and I decided to just power down the server and take my chances. I've never seen those numbers scroll like that on a Solaris format before. I have no clue what the heck that was, but it obviously wasn't formatting since I let it do it's thing for about 18 hours.
Power cycled and it brought me back to -> prompt (which was odd)
start SYS
start /SP/consoleat ok prompt
boot cdrom -sOnce I got to single user mode I checked to see if my drives still said formatted and they did which was good. I then deleted my raid volume.
raidctl -d c1t0d0It said successfully deleted but when I did a format I was expecting to see both disk show up as they normally would but it still said it was in a raid volume (i have on idea why). I just decided to try and create the raid over again...
raidctl -c -r 1 c1t0d0 c1t1d0It said successfully created and when I went in to format it... it was there as it was before. But this time it let me format>type>0 and it also then me format>label>yes before I deleted the raid it wouldn't let me label the drive saying the VTOC was all messed up.
format>type>0
format>label>yesI forgot to check the raid and make sure it said RAID1 and it was sync'd but I got kind of excited it let me label the volume and just rebooted like an moron. I would def check the raid before continuing to make sure its setup the way you want it.
raidctl -l
raidctl -SI then rebooted and started boot cdrom - nowin
rebootat -> prompt
start /SP/consoleat ok
boot cdrom - nowinI went through the entire disk install and it's now installing the files, so I'm assuming it is now working fine if it doesn't I will post what I see.
Edited by: kingdbag on Apr 29, 2010 9:06 AM
Edited by: kingdbag on Apr 29, 2010 9:07 AM
Similar Messages
-
Hello all. I am currently a Sr. System Administrator right now for IBM AIX and SCO UNIX OS systems and I am wanting to start learning the Sun Solaris OS and getting familiar with that in hopes to become a System Administrator for those OS as well. I know zero about Solaris or Sun right now other than what I have read about.
Anybody have suggestions on how I start learning Sun Solaris? I see Solaris 10 is a free download for x86 platforms. I was going to install that on my laptop as a dual boot for Solaris 10 and my current laptop Windows XP OS. Would that be a good start in learning Sun Solaris system? Would anybody recommend taking the training courses that Sun provides or would that be a waste of time? Most of the AIX and SCO UNIX OS I come to know and master is from learning on my own and later on taking some advanced admin courses in that.
My company is thinking changing to Sun Solaris OS and servers to replace the SCO UNIX servers so I just wanted to know any suggestions on how to get familiar with where I can get to the point of install, setup, admin Solaris servers. Thanks!hi " mmitguy "
while I can't comment on
in hopes to become a System Administrator for those OS as well
part but I would like to respond on dual boot part, as I've installed Solaris 10 with Win XP recently on a single HD of my Dell 9150 Desktop. First I backed up all my data & tried to resize (using Partition Magic 8) existing Win XP partition (there was only one) & create new partition but it failed & I had to re-install Win XP.
So I would recommend first to make sure that u have Win XP installation disk & driver / utility installation disk available. And after backing all ur data from ur laptop re-install Win XP & while re-installing create 2 partitions. Install Win XP & install display / graphics card, modem, network etc drivers.
Installing Solaris 10: I downloaded Solaris 10 11/06 from Sun & burnt a DVD & ran into lots of problems so i posted this:
http://forum.java.sun.com/thread.jspa?threadID=5137821&tstart=15
After that, some one from this same forum suggested to install Solaris Express Developers Edition 02/07 instead. ( http://developers.sun.com/solaris/downloads/solexpdev/download.jsp )
I re-installed Solaris, this time Dev Edition 02/07 and that was very, very simple compare to Solaris 10 11/06.
Good Luck!
- Jags Desai -
Oracle 8.1.6 on Sun Sparc Solaris 8
Any successful story of Oracle 8.1.6 runs on Sun Sparc Solaris 8?
The documentation of Oracle 8.1.6 mentions that it can run on Solaris 2.6 and 7. But how about Solaris 8?
Thanks.Could you tell us how to do that????
We all met the ORA-01034 problem!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Wile E. Coyote:
Yes, that's no problem
I've installed 8.1.6 on several machines running Solaris 8 without any problem<HR></BLOCKQUOTE>
null -
Please any one tel me about Sun Java security problems
with Desktop applicationHi.
If you're using SSGD 4.41, please download the Admin guide from here:
http://docs.sun.com/app/docs/doc/820-4907
There, at page #41 you'll find useful info concerning "Client Connections and Security Warnings".
Hope this helps,
Rob -
Oracle Forms Developer/Services 6i Release 2 for Sun SPARC Solaris
Exist? :
Oracle Forms Developer/Services 6i Release 2 for Sun SPARC Solaris
6i Release 2 ,it's product or patch ?
I want to know then Software Product CD Part number, Part # ????? Release 2 , not Release 1!!I'm getting the page not found error on trying to download the setup Oracle Forms Developer 6i Release 2 for 95/98/NT/2000/XP from:
http://www.oracle.com/technology/software/products/forms/htdocs/winsoft.html -
Management Agent 10.2.0.3 on Sun SPARC Solaris
Hi all,
can anyone tell me what are the requirements (software,hardware) for installing the management agent 10.2.0.3 on Sun SPARC Solaris??
Thanks,
in advancehttp://download-west.oracle.com/docs/cd/B16240_01/doc/install.102/b25949/toc.htm
-
Book for Sun Certified Solaris Associate (SCSAS)
Hi All,
I plan to take my first certification in Solaris Sun Certified Solaris Associate (SCSAS). Is this certification has a value.
Please help me to identify what book to refer.
What is the cost of this exam in India?
Regards,
KalaiHi Kalai,
1. Any Sun/Oracle Certification has a value and yes, keep updating urself with the next level of certifications too.
2. U can check for offers in Prometric Centers like NIIT (if you are in Chennai). U get really cheap Sun vouchers (approx 4500 or 5000 Rs) and appear for exams even after 3-4 months. -
Sun Ray / DHCP problems on Solaris 10
All,
I have a Sun v240 running Solaris 10 (03/05) with patches current as of late December 2005. I cannot configure DHCP using the "utadm -a bge1" command as I get the following message:
### Warning: DHCP Service is in the maintenance mode
There could be a problem with the DHCP configuration
### It is strongly recommended to fix the problem and then use:
### "/usr/sbin/svcadm clear svc:/network/dhcp-server:default"
### to get DHCP service out of the maintenance mode before running utadm
Do you want to Continue? (Y/[N]):
I type "n" and than from the command line enter:
svcadm clear svc:/network/dhcp-server:default
But when I run the command "svcs -v" I see the following:
maintenance - 13:48:47 - svc:/network/dhcp-server:default
The output from "svcs -x" is the following:
# svcs -x
svc:/application/print/server:default (LP print server)
State: disabled since Sun Jan 22 13:45:48 2006
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: lpsched(1M)
Impact: 2 dependent services are not running. (Use -v for list.)
svc:/network/dhcp-server:default (DHCP server)
State: maintenance since Sun Jan 22 16:46:52 2006
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: in.dhcpd(1M)
See: /var/svc/log/network-dhcp-server:default.log
Impact: This service is not running.
In the log mentioned I get the following repeating error:
[ Jan 22 13:46:21 Executing start method ("/usr/lib/inet/in.dhcpd") ]
Datastore status error: Location does not exist
[ Jan 22 13:46:21 Method "start" exited with status 1 ]
[ Jan 22 13:48:47 Leaving maintenance because clear requested. ]
[ Jan 22 13:48:47 Enabled. ]
I cannot get dhcp out of maintenance. I don't know what this "Datastore" status error means. Any ideas?
BobDHCP server has two or three different data store types, normally its a plain text files or binary data files. Its store info of clients connected and some other stuff. Maybe files path is incorrect, just try to unconfig the dhcp server. I dont know the exact comand, but im using grafical tool on my opensolaris box, its under /usr/sadm/admin/bin/ directory, dhcpmgr.
-
Sun Update Manager problem in Solaris 10/08
Since installing Solaris 10 x86 10/08 on my AMD Sempron system, Sun Update Manager doesn't work. It starts and gives me a "Warning" window with no text and a yellow triangle icon with an exclamation point. That's it. This worked fine on this box in the last Solaris release.
Any ideas?Hi , I'm getting the similar issue. I've around 20 machines in my lab which are SunBlade 1500 and running solaris 10. While running the update manager I'm getting the pop up window with empty string and only exclamation mark. I tried to check the java version also which is 1.5 and also update the files
/usr/sbin/pprosvc
JAVACMD="/usr/jdk/latest/bin/java -version:1.5+"
To:
JAVACMD="/usr/jdk/latest/bin/java -version:1.5*"
And in /usr/bin/updatemanager, if you use it (around line 37):
Change:
JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5+"
To:
JAVA_EXEC="/usr/jdk/latest/bin/java -version:1.5*"
But still no effect .
After running suc.sh , I get the following message in one of my machine.
User: root
Logname: root
Sun Jun 14 20:18:05 CDT 2009
kong.cs.lamar.edu
smpatch settings:
patchpro.backout.directory - ""
patchpro.baseline.directory - /var/sadm/spool
patchpro.download.directory - /var/sadm/spool
patchpro.install.types - rebootafter:reconfigafter:standard
patchpro.patch.source - https://getupdates1.sun.com/
patchpro.patchset - current
patchpro.proxy.host - ""
patchpro.proxy.passwd **** ****
patchpro.proxy.port - 8080
patchpro.proxy.user - ""
smpatch analyze:
Failure: Cannot connect to retrieve detectors.jar: You are not authorized to access this service.
Entitlement:
Sun UC patch revision:
120335-04
121081-06
121118-13
121453-02
122231-01
123003-03
123005-07
123630-03
123893-05
124171-07
Solaris release:
Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
Solaris Kernel: Generic_137137-09
Machine Type: sun4u
Platform: SUNW,Sun-Blade-1500
Java -version:
java version "1.5.0_16"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Cacao Java version:
java-home=/usr/jdk/jdk1.5.0_16
Software Cluster:
CLUSTER=SUNWCall
All ccr properties:
18:
cns.assetid:
qPFdLvNg0uTHuMUwNHnb9ews6gM=
cns.br.SunUCenabled:
true
cns.ccr.keyGenPath:
/usr/lib/cc-ccr/bin/ccrKeyGen
cns.clientid:
c370997b-59d3-48da-b9ac-e9251ae87108
cns.httpproxy.auth:
cns.httpproxy.ipaddr:
cns.httpproxy.port:
cns.regtoken:
c9ebd9f4-4168-4c88-bf95-377c93f47ae7:1276387200000:T
cns.security.password:
2byvHFVGm8bGG+JYdi1ctiIUXY5LI+FhMH7Dt5XzpQ3p
cns.security.privatekey:
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQI9Oc+gk8EUewCAggA
MBQGCCqGSIb3DQMHBAjzj2XqdwMdewSCAoARhjQ/SahncN8Mg/budKR6lpwZW+c3
0xv+hShG+qrA3jxC/281lst4Z39QK9kMlFbjyyQYLi2NViTe8FpO4c/NVH0C/vMe
ZVYBDJBsC258JBo2zU+zlOVcbHlfJfMEr2ZcYXXa/joi/sTslwPk0g/tFubXKNm0
T9+vo1teNGvyWj+yCXheTRePUtkjDU713A7tJG6WnaR/p7PM84tuJU8ce6PJc9Qj
ZtlLcQPZuoy3u3QcvN3aPnT7DGhTvBzKcMEUWZt1kudeNOfl2JDie0pHgDM6vIuR
IPhDJbLXluurlHmGfP/mywP8mVW4lNDM64ZM+WK+yWm05kjd95tl7gMWrXgkXIjM
sA/X2+K1ELwTyy7uT7bEPzzqiGy/fjAiKje5ni0gDkQBDRRdd81wlc5mr5sdY+eW
CEz3h88Wst6qCKpv6civ+GAqGtFHyA03XLkSgdkwTTWDoFilBrY3Ijqo6pKycq2P
+6t9SPr3IjvgkjrPonURBuAiK+hnDfHnbyXD4YE8YmqyBp8r9H8d4QVV5CbBLevu
CAd5F0a+WCXzsMyLX5u9yzOlXJ753mtxK3PY3euBazkf49Qu/lX4Z/q0xnMGl+X+
F3RFsh7vFeoCYlWWenzgcZATSG3PP2Ks/vsLsfqgZ5IANkuYiLqStg767c5QgaXB
B1PKLC4iCaDd6EhH31AebzkgCoxd3Z4PwFVuEJBZklHvUn+c8gJsUPExjiQdewLk
F8vps/MGukbAL+fcXoB0hfaQylIvlmSFOSSlXfrslLqwh9oAc6cgjrXep7Eygk/F
c7wqBMwrO3PbB28ydo8v++z6zqD8JCAIewJlvjnS+0zpDTqz77M4DXGL
-----END ENCRYPTED PRIVATE KEY-----
cns.security.publickey:
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC49EggsyicYSTIqmIIQR2QEu+c
dXdSPf+2lV/OCCvQF8+cgoHzcy4HupvhtZKnfDxS871pDbUwAsteLMbrrSp6XB/D
qpBicxn5vmNF4t7GLGbR84jUr/Gw8Utnn1UcmviOMNw+4thJqSH9PHjBcQ70bpFB
QXCFW0m+4eF/r2fBxwIDAQAB
-----END PUBLIC KEY-----
cns.swup.UMautolaunch:
false
cns.swup.autoAnalysis.enabled:
true
cns.swup.checkinInterval:
2
cns.swup.lastCheckin:
0
cns.swup.patchbaseline:
current
cns.swup.regRequired:
true
cns.transport.serverurl:
https://cns-transport.sun.com
patchsvr not installed.
Sun UC package status:
SUNWbreg not installed
SUNWdc not installed
Please attach /tmp/kong.cs.lamar.edu-140609-suc-out.Z in your reply to the Sun Update Connection Technical Support Team.
Thanks
Prem -
Hello
I need help configuring the Sun studio debugger to work in fedora 8. The project is loaded from a make file, compiles fine, and runs fine. However, I can not place break points, and when I start the visual debugger, it gives a message box titled progress, and hangs on saying: starting debugger: /lib/libc.so.6
Running from the command line gives me:
$dbx <my program>
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
Reading <my program>
Reading ld-linux.so.2
Reading libm.so.6
Reading libmpich.so.1.1
Reading libpthread.so.0
Reading librt.so.1
Reading libc.so.6
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: warning: unknown location expression code (0xe0)
dbx: panic: "ThreadAgent::setup_helper"(): Assertion (ta_td_agent) failed - "thread.cc":2674
I have another problem in debugging an mpi problem in another installation of Sun Studio on Solaris 10 on a Sun machine. The visual debugger is working fine there, however, I need to debug with mpirun
to decide the number of processors, because by default it loads the application on one processor. Iwill need to do this as well later on the linux machine I am using now, which doesn't even start the debugger on a sequential code so far.
I appreciate your help a lot.
Thank you very much in advance.
Manalmhelal wrote:
Hi
Thank you for your reply. you said 2 problems,Yes, basically I meant these two:
1. dbx: warning: unknown location expression code (0xe0)
2. dbx: panic: "ThreadAgent::setup_helper"(): Assertion (ta_td_agent) failed - "thread.cc":2674
First one should be fixed in dbx itself, but the second looks like an incompatibility between Fedora's libc and dbx; unless distros in "supported" list upgrade to the same version of libc, dbx can't be changed to match it.
In other words, I'm sorry to say that you will probably not succeed in using dbx on Fedora 8 for the time being. -
Broken pipe - Sun T2000, Solaris 10
Hi,
I have some problems..
So, there's one system I'm working with. It's made of 2 parts (both written in Java):
- "normal" application, that works as a business logic server,
- web application (build on Turbine framework, running on a Resin Application Server) - it works as a presentation layer,
These 2 parts are connected via TCP/IP socket connection - we use an ObjectOutputStream.
It normally works just fine (it's running on several different systems), but recenlty it has been installed on a new server machine and it's started to throw strange exceptions. Below there are informations about server machine, exceptions and code making connections.
We think, that It may be a problem with configuration of Solaris kernel or TCP/IP stack, but have no idea how to fix it.
SERVER CONFIGURATION:
Machine: Sun T2000
System: Solaris 10
JVM: 1.4 or 1.5 (both were tested)
EXCEPTION:
ERROR 2006-11-28 11:28:59,377 [pl.com.ttsoft.vixen.currentday.server.ClientServiceThread] - IOException while sending data to the client. Closing output stream.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1591)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1401)
at java.io.ObjectOutputStream.writeUnshared(ObjectOutputStream.java:371)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendMessageToClient(ClientServiceThread.java:679)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendModificationData(ClientServiceThread.java:432)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.serveDataModification(ClientServiceThread.java:308)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.run(ClientServiceThread.java:185)
ERROR 2006-11-28 11:28:59,400 [pl.com.ttsoft.vixen.currentday.server.ClientServiceThread] - IOException while closing client connection.
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1682)
at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1627)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
at java.io.ObjectOutputStream.close(ObjectOutputStream.java:687)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.closeClientConnection(ClientServiceThread.java:706)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendMessageToClient(ClientServiceThread.java:691)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.sendModificationData(ClientServiceThread.java:432)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.serveDataModification(ClientServiceThread.java:308)
at pl.com.ttsoft.vixen.currentday.server.ClientServiceThread.run(ClientServiceThread.java:185)
STANDALONE APPLICATION CODE:
/* i've simplified it */
/* OPENING CONNECITON */
Socket socket = = new Socket(hostName, hostPort);
ObjectOutputStream outStream = new ObjectOutputStream( socket.getOutputStream() );
ClientDescriptor clientDescriptor =
new ClientDescriptor(socket, outStream, info.getLogin(), info.getSystem(),
info.getDay(), info.getCurrentDaySessionId());
/* SENDING DATA */
private boolean sendMessageToClient( MessageDTO messageDTO, ClientDescriptor clientDescriptor )
throws CurrentDayException {
logger.info( "sendMessageToClient " + messageDTO.getClientId() );
ObjectOutputStream outputStream = clientDescriptor.getOutputStream();
try {
outputStream.writeUnshared( messageDTO ); // THIS WRITE THROWS EXCEPTIONS
outputStream.flush();
} catch ( IOException exc ) {
logger.error( " IOException while sending data to the client. Closing output stream. ", exc );
// close client connection
closeClientConnection( clientDescriptor );
return false;
return true;
private void closeClientConnection( ClientDescriptor clientDescriptor ) {
try {
synchronized ( clientDescriptorMap ) {
clientDescriptor.setState( ClientDescriptor.TO_REMOVE );
clientDescriptor.getOutputStream().close();
clientDescriptor.getSocket().close();
} catch ( IOException exc ) {
logger.error( " IOException while closing client connection. ", exc );
/* WEB APPLICATION */
/* RECIEVING DATA */
/* it routes this data to 3-rd party applet */
SocketChannel vixenSocket = (SocketChannel)key.channel();
Socket clientSocket = (Socket)objClientServers.get(key);
// read the information from the socket....
ByteBuffer buffer = ByteBuffer.allocate(16 * 1024);
while (vixenSocket.read(buffer) > 0) {
buffer.flip();
byte[] bytespassed = new byte[buffer.remaining()];
logger.debug("buffer.remaining() (1)=" + buffer.remaining());
buffer.get(bytespassed, 0, bytespassed.length);
clientSocket.getOutputStream().write(bytespassed);
buffer.compact();
buffer.flip();
while (buffer.hasRemaining()) { // make sure the buffer is fully readed.
byte[] bytespassed = new byte[buffer.remaining()];
logger.debug("buffer.remaining() (2)=" + buffer.remaining());
buffer.get(bytespassed, 0, bytespassed.length);
clientSocket.getOutputStream().write(bytespassed);
buffer.clear();We think, that It may be a problem with configuration of Solaris kernel or TCP/IP stack, but have no idea how to fix it.
Thanks for help,
Ziemek Obel.Hi,
well I'm not sure if it isn't a hardware problem - you see, this system works just fine on a Solaris 10 working on the other servers, but tends to throw exceptions on Sun T2000 machine - so I guess It may be hardware issue and someone here could help me.
Ziemek. -
Sun Ultra 60 - Problems to install patch 119850-21
Hi,
I'm running Solaris 10 on my Ultra 60. I've been using for many months - without any problems - Sun Update Manager in order to keep the system updated. Lately it always tells me that patch 119850-21 is available, but when it tries to install it fails. I also tried to download and install that patch manually in single mode with patchadd, and also tried smpatch. Both of them fail to install this patch, reporting problems in checkinstall, saying that the patch is already installed - which is not true according to 'patchadd -p'.
Thanks for any input on this issue.Of course. Here you have it:
# cat /etc/release
Solaris 10 1/06 s10s_u1wos_19a SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 December 2005
# uname -a
SunOS popcorn 5.10 Generic_118833-24 sun4u sparc SUNW,Ultra-60
# showrev -p | egrep '119850|118822|118833'
Patch: 118822-25 Obsoletes: 118548-01, 118550-04, 119719-01, 119205-03, 119207-02, 119564-01, 119215-02, 119334-02, 119566-01, 119831-01, 119682-02, 118859-01, 118992-03, 119858-02, 120197-01, 118850-03, 119589-03, 118551-03, 118835-04, 118846-02, 118923-04, 119075-14, 119577-01, 119683-02, 119832-02, 119945-02, 119951-01, 119949-02, 119983-01, 119990-01, 120017-02, 120302-01, 120304-05, 119947-02, 120066-01, 118553-04, 119591-03, 119979-01, 120537-05 Requires: 119578-10 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWcnetr, SUNWckr, SUNWcakr, SUNWcsd, SUNWtoo, SUNWib, SUNWusb, SUNWopenssl-libraries, SUNWnfsckr, SUNWxge, SUNWrcmdc, SUNWmdb, FJSVmdb, SUNWpiclu, FJSVpiclu, SUNWcslr, SUNWmdr, SUNWmdu, SUNWintgige, SUNWipfr, SUNWipfu, SUNWcti2, SUNWefc, SUNWdrcr, SUNWdrr, SUNWidn, SUNWkey, SUNWluxl, SUNWdtrc, SUNWdtrp, SUNWpcmci, SUNWsndmr, SUNWsndmu, SUNWscpu, SUNWmdbr, FJSVmdbr, SUNW1394, SUNWcpr, SUNWqos, SUNWopenssl-commands, FJSVhea, SUNWhea, SUNWarcr, SUNWwrsm, SUNWwrsd, SUNWdfbh, SUNWmddr, SUNWftdur, SUNWpl5v
Patch: 118874-02 Obsoletes: Requires: 118822-14 Incompatibles: Packages: SUNWcsu, SUNWhea
Patch: 120986-02 Obsoletes: Requires: 121414-01, 119374-09, 118822-24 Incompatibles: Packages: SUNWcsu
Patch: 118822-30 Obsoletes: 118548-01, 118550-04, 119719-01, 119205-03, 119207-02, 119564-01, 119215-02, 119334-02, 119566-01, 119831-01, 119682-02, 118859-01, 118992-03, 119858-02, 120197-01, 118850-03, 119589-03, 118551-03, 118835-04, 118846-02, 118923-04, 119075-14, 119577-01, 119683-02, 119832-02, 119945-02, 119951-01, 119949-02, 119983-01, 119990-01, 120017-02, 120302-01, 120304-05, 119947-02, 120066-01, 118553-04, 119591-03, 119979-01, 120537-05, 120013-02, 120471-02 Requires: 119578-15 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWcnetr, SUNWckr, SUNWcakr, SUNWcsd, SUNWtoo, SUNWib, SUNWusb, SUNWopenssl-libraries, SUNWnfsckr, SUNWxge, SUNWrcmdc, SUNWmdb, FJSVmdb, SUNWpiclu, FJSVpiclu, SUNWcslr, SUNWmdr, SUNWmdu, SUNWintgige, SUNWipfr, SUNWipfu, SUNWcti2, SUNWefc, SUNWdrcr, SUNWdrr, SUNWidn, SUNWkey, SUNWluxl, SUNWdtrc, SUNWdtrp, SUNWpcmci, SUNWsndmr, SUNWsndmu, SUNWscpu, SUNWmdbr, FJSVmdbr, SUNW1394, SUNWcpr, SUNWqos, SUNWopenssl-commands, FJSVhea, SUNWhea, SUNWarcr, SUNWwrsm, SUNWwrsd, SUNWdfbh, SUNWmddr, SUNWftdur, SUNWpl5v
Patch: 118833-03 Obsoletes: 119715-10, 120054-02, 120362-02 Requires: 118822-30, 119578-16 Incompatibles: Packages: SUNWcsu, SUNWckr, SUNWcakr, SUNWtoo, SUNWcslr, SUNWintgige, SUNWmdbr, FJSVmdbr, FJSVhea, SUNWhea
Patch: 119850-14 Obsoletes: 118915-01, 119560-02, 119561-03 Requires: 118822-20 Incompatibles: Packages: SUNWcsu, SUNWkvm, SUNWcar, SUNWcsd, SUNWpiclu, SUNWpd, SUNWfruip, SUNWhea, SUNWpdu
Patch: 118833-20 Obsoletes: 117170-01, 117461-08, 118370-04, 118375-07, 118852-07, 118874-02, 118911-01, 118913-02, 118927-02, 118996-04, 119216-02, 119218-02, 119374-13, 119444-03, 119557-09, 119568-02, 119569-02, 119572-01, 119596-03, 119681-08, 119687-02, 119689-08, 119715-10, 119828-05, 119939-01, 119941-03, 119992-02, 119994-01, 119996-01, 120009-01, 120030-03, 120034-01, 120054-02, 120083-01, 120251-02, 120254-03, 120258-02, 120300-01, 120362-02, 120627-01, 121237-01, 121266-01, 121268-01, 121276-03, 121280-01, 121301-02, 121777-01, 121784-01, 121788-02, 121790-01, 121792-01, 121794-02, 121796-01, 121798-01, 121800-01, 121802-01, 121804-01, 121806-01, 121808-01, 121810-01, 121812-01, 121814-01, 121816-01, 121818-01, 121820-01, 121822-01, 121824-01, 121826-01, 121832-01, 121834-01, 121836-01, 121838-01, 121840-01, 121842-01, 121844-01, 121846-01, 121848-01, 121850-01, 121852-01, 121854-01, 121894-01, 122079-01, 122081-01, 122176-01, 122235-01, 122237-02, 122241-01, 122242-01, 122243-01, 122294-01, 122296-01, 122298-01, 122302-01, 122304-01, 122306-01, 122314-01, 122316-01, 122318-01, 122320-01, 122322-01, 122324-01, 122334-01, 122336-01, 122338-01, 122339-01, 122342-01, 122344-01, 122346-01, 122348-01, 122350-01, 122644-01 Requires: 119254-14, 118822-30, 119578-24 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWckr, SUNWkvm, SUNWcakr, SUNWcsd, SUNWesu, SUNWkrbr, SUNWkrbu, SUNWtoo, SUNWib, SUNWipoib, SUNWtavor, SUNWudapltu, SUNWudapltr, SUNWudfr, SUNWusb, SUNWusbs, SUNWuedg, SUNWugen, SUNWwbsup, SUNWnfsckr, SUNWnfscr, SUNWxge, SUNWmdb, SUNWcslr, SUNWmdr, SUNWses, SUNWssad, SUNWnisu, SUNWintgige, SUNWipfr, SUNWipfu, SUNWcti2, SUNWefc, SUNWdrcr, SUNWdrr, SUNWidn, SUNWatfsu, SUNWnfssu, SUNWkey, SUNWdtrc, SUNWdtrp, SUNWnfsskr, SUNWpcmem, SUNWrpcib, SUNWvolu, SUNWxcu4, SUNWmdbr, FJSVmdbr, SUNWcpr, SUNWsmapi, SUNWsbp2, SUNWscsa1394, FJSVhea, SUNWusbu, SUNWhea, SUNWbtool, SUNWarcr, SUNWftdur, SUNWpppdu
Patch: 123304-02 Obsoletes: Requires: 118918-13, 118822-30 Incompatibles: Packages: SUNWcsu, SUNWckr
Patch: 123334-02 Obsoletes: Requires: 118833-18 Incompatibles: Packages: SUNWcsu
Patch: 118833-24 Obsoletes: 117170-01, 117461-08, 118370-04, 118375-07, 118852-07, 118874-02, 118911-01, 118913-02, 118927-02, 118996-04, 119216-02, 119218-02, 119374-13, 119444-03, 119557-09, 119568-02, 119569-02, 119572-01, 119596-03, 119681-08, 119687-02, 119689-08, 119715-10, 119828-05, 119939-01, 119941-03, 119992-02, 119994-01, 119996-01, 120009-01, 120030-03, 120034-01, 120054-02, 120083-01, 120251-02, 120254-03, 120258-02, 120300-01, 120362-02, 120627-01, 121237-01, 121266-01, 121268-01, 121276-03, 121280-01, 121301-02, 121777-01, 121784-01, 121788-02, 121790-01, 121792-01, 121794-02, 121796-01, 121798-01, 121800-01, 121802-01, 121804-01, 121806-01, 121808-01, 121810-01, 121812-01, 121814-01, 121816-01, 121818-01, 121820-01, 121822-01, 121824-01, 121826-01, 121832-01, 121834-01, 121836-01, 121838-01, 121840-01, 121842-01, 121844-01, 121846-01, 121848-01, 121850-01, 121852-01, 121854-01, 121894-01, 122079-01, 122081-01, 122176-01, 122235-01, 122237-02, 122241-01, 122242-01, 122243-01, 122294-01, 122296-01, 122298-01, 122302-01, 122304-01, 122306-01, 122314-01, 122316-01, 122318-01, 122320-01, 122322-01, 122324-01, 122334-01, 122336-01, 122338-01, 122339-01, 122342-01, 122344-01, 122346-01, 122348-01, 122350-01, 122644-01, 120661-04, 121694-01 Requires: 119254-14, 118822-30, 119578-24 Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcsl, SUNWckr, SUNWkvm, SUNWcakr, SUNWcsd, SUNWesu, SUNWkrbr, SUNWkrbu, SUNWtoo, SUNWib, SUNWipoib, SUNWtavor, SUNWudapltu, SUNWudapltr, SUNWudfr, SUNWusb, SUNWusbs, SUNWuedg, SUNWugen, SUNWwbsup, SUNWnfsckr, SUNWnfscr, SUNWxge, SUNWmdb, SUNWcslr, SUNWmdr, SUNWses, SUNWssad, SUNWnisu, SUNWintgige, SUNWipfr, SUNWipfu, SUNWcti2, SUNWefc, SUNWdrcr, SUNWdrr, SUNWidn, SUNWatfsu, SUNWnfssu, SUNWkey, SUNWdtrc, SUNWdtrp, SUNWnfsskr, SUNWpcmem, SUNWrpcib, SUNWvolu, SUNWxcu4, SUNWmdbr, FJSVmdbr, SUNWcpr, SUNWsmapi, SUNWsbp2, SUNWscsa1394, FJSVhea, SUNWusbu, SUNWhea, SUNWbtool, SUNWarcr, SUNWftdur, SUNWpppdu
Patch: 121474-01 Obsoletes: Requires: 118822-29 Incompatibles: Packages: SUNWcsr
Patch: 119596-01 Obsoletes: Requires: 118822-14 Incompatibles: Packages: SUNWckr
Patch: 120661-04 Obsoletes: Requires: 118822-23 Incompatibles: Packages: SUNWckr
Patch: 121337-01 Obsoletes: Requires: 118822-23 Incompatibles: Packages: SUNWckr
Patch: 119596-03 Obsoletes: Requires: 118822-14 Incompatibles: Packages: SUNWckr, SUNWhea
Patch: 122081-01 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWckr, SUNWcakr
Patch: 119981-06 Obsoletes: Requires: 118822-23 Incompatibles: Packages: SUNWkvm, SUNWcar, SUNWcakr, SUNWpiclu, SUNWfruip, SUNWhea
Patch: 119981-09 Obsoletes: Requires: 118822-23 Incompatibles: Packages: SUNWkvm, SUNWcar, SUNWcakr, SUNWpiclu, SUNWfruip, SUNWhea
Patch: 122517-02 Obsoletes: 122356-01 Requires: 118833-04 Incompatibles: Packages: SUNWcar, SUNWcakr, SUNWhea
Patch: 119568-02 Obsoletes: 119216-02 Requires: 118822-04 Incompatibles: Packages: SUNWcakr
Patch: 121302-01 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWcakr
Patch: 122027-03 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWcakr, SUNWcsd
Patch: 122525-02 Obsoletes: 122358-01 Requires: 118833-04 Incompatibles: Packages: SUNWcakr, SUNWhea
Patch: 122027-04 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWcakr, SUNWcsd
Patch: 122027-08 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWcakr, SUNWcsd
Patch: 118929-03 Obsoletes: Requires: 118822-15 Incompatibles: Packages: SUNWcsd
Patch: 119850-08 Obsoletes: Requires: 118822-15 Incompatibles: Packages: SUNWcsd, SUNWpd, SUNWpdu
Patch: 121693-02 Obsoletes: Requires: 118822-25 Incompatibles: Packages: SUNWaudd, SUNWaudh
Patch: 121693-03 Obsoletes: Requires: 118822-25 Incompatibles: Packages: SUNWaudd, SUNWaudh
Patch: 118375-06 Obsoletes: Requires: 118822-23 Incompatibles: Packages: SUNWnfsckr
Patch: 122856-01 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWsndmr, SUNWsndmu
Patch: 122856-02 Obsoletes: Requires: 118822-30 Incompatibles: Packages: SUNWsndmr, SUNWsndmu
Patch: 122856-03 Obsoletes: 123952-01 Requires: 118822-30 Incompatibles: Packages: SUNWsndmr, SUNWsndmu
Patch: 119580-02 Obsoletes: 119332-01 Requires: 118822-03 Incompatibles: Packages: SUNWcpcu
Patch: 119583-01 Obsoletes: Requires: 118822-16 Incompatibles: Packages: FJSVhea, SUNWhea
Patch: 120362-02 Obsoletes: Requires: 118822-12 Incompatibles: Packages: FJSVhea, SUNWhea
Patch: 118927-02 Obsoletes: Requires: 118822-15 Incompatibles: Packages: SUNWhea
Patch: 119852-02 Obsoletes: 119943-01 Requires: 118822-21 Incompatibles: Packages: SUNWhea
Patch: 121237-01 Obsoletes: Requires: 118822-23 Incompatibles: Packages: SUNWhea
Patch: 121394-01 Obsoletes: Requires: 118822-24 Incompatibles: Packages: SUNWhea
Thanks for helping me :-) -
Need Oracle 8.1.5 for Sun SPARC Solaris
I need this version of Oracle to use a vendor package that was developed and certified on this platform. Does anyone know where I can download this from? I cannot find it anywhere in the Oracle site.
Oracle 8i Enterprise Edition Release 8.1.5.0.0 was in the sun solaris 8 distribution.
-
MySQL & Sun ONE studio problem
hello all,
It seemed like I've got the data source & database driver stuff setup to work with MySQL database in Sun ONE studio. However, when I tried to run the helloworld_TestApp (CMP App), I've got the SQL syntax error. I tried to look at the sun-j2ee-ri.xml, and it looked just fine to me.. please help.
Here is the XML descriptor
<?xml version="1.0" encoding="UTF-8"?>
<j2ee-ri-specific-information>
<server-name></server-name>
<rolemapping/>
<web>
<display-name>helloworld_TestApp</display-name>
<servlet>
<servlet-name>dispatch</servlet-name>
</servlet>
<servlet>
<servlet-name>error</servlet-name>
</servlet>
<servlet>
<servlet-name>viewer</servlet-name>
</servlet>
<context-root>helloworld_TestApp</context-root>
<ejb-ref>
<ejb-ref-name>ejb/TestedEJB</ejb-ref-name>
<jndi-name>helloworld</jndi-name>
</ejb-ref>
</web>
<enterprise-beans>
<unique-id>1</unique-id>
<ejb>
<ejb-name>helloworld</ejb-name>
<jndi-name>helloworld</jndi-name>
<ejb20-cmp>
<sql-statement>
<operation>loadRow</operation>
<sql>SELECT "lastname" FROM "helloworld" WHERE "firstname" = ? </sql>
</sql-statement>
<sql-statement>
<operation>storeRow</operation>
<sql>UPDATE "helloworld" SET "lastname" = ? WHERE "firstname" = ? </sql>
</sql-statement>
<sql-statement>
<operation>deleteRow</operation>
<sql>DELETE FROM "helloworld" WHERE "firstname" = ? </sql>
</sql-statement>
<sql-statement>
<operation>deleteTable</operation>
<sql>DROP TABLE "helloworld"</sql>
</sql-statement>
<sql-statement>
<operation>findByPrimaryKey</operation>
<sql>SELECT "firstname" FROM "helloworld" WHERE "firstname" = ? </sql>
</sql-statement>
<sql-statement>
<operation>createRow</operation>
<sql>INSERT INTO "helloworld" ( "firstname" , "lastname" ) VALUES ( ? , ? )</sql>
</sql-statement>
<sql-statement>
<operation>createTable</operation>
<sql>CREATE TABLE "helloworld" ("firstname" VARCHAR(255) NOT NULL , "lastname" VARCHAR(255), CONSTRAINT "pk_helloworl" PRIMARY KEY ("firstname") )</sql>
</sql-statement>
<create-table-deploy>true</create-table-deploy>
<delete-table-undeploy>false</delete-table-undeploy>
</ejb20-cmp>
<principal>
<name></name>
</principal>
<ior-security-config>
<transport-config>
<integrity>supported</integrity>
<confidentiality>supported</confidentiality>
<establish-trust-in-target>supported</establish-trust-in-target>
<establish-trust-in-client>supported</establish-trust-in-client>
</transport-config>
<as-context>
<auth-method>username_password</auth-method>
<realm>default</realm>
<required>true</required>
</as-context>
<sas-context>
<caller-propagation>supported</caller-propagation>
</sas-context>
</ior-security-config>
</ejb>
<cmpresource>
<ds-jndi-name>jdbc/MySQL</ds-jndi-name>
<default-resource-principal>
<name>root</name>
<password>root</password>
</default-resource-principal>
</cmpresource>
</enterprise-beans>
</j2ee-ri-specific-information>
And here is the error message:
The exception java.rmi.ServerException was thrown when invoking findByPrimaryKey with parameters:
thinh
Following is the stack trace:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: nested exception is: java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"helloworld" WHERE "firstname" = 'thinh'' at line 1; nested exception is: java.sql.SQLException: Syntax error or access violation: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"helloworld" WHERE "firstname" = 'thinh'' at line 1 at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:345) at javax.rmi.CORBA.Util.wrapException(Util.java:277) at ..
...more and more..Where are you running your application? I assume you
are running your application on RI. Are you running
on RI or S1AS?I am running my application on R1, is there a problem with it? can the S1AS solve the problem?
Thanks & regards,
Tim -
Sun app server problem using asadmin tool
I have installed sun app server and trying to do the simplemessage tutorial. When I run the
ant create-cfcommand I get the following
[exec] Invalid user or password
[exec] CLI137 Command create-jms-resource failed.I have put an echo line in app-server-ant.xml to see what the command is and it is.
[echo] c:/Sun2/SDK/bin/asadmin.bat create-jms-resource --user admin --passwordfile C:/Sun2/SDK/javaee-5-doc-tutorial-1.0_03/javaeetutorial5/examples/common/admin-password.txt --host localhost --port 4850 --restype javax.jms.ConnectionFactory --enabled=true jms/ConnectionFactoryI have checked the password file and it is
AS_ADMIN_PASSWORD=adminadminAny ideas?
I have checked around about using parameter password but when running this I get an error saying this is not valid and that I should use passwordfile
KelvinYou haven;t specified the exceptions you r getting ........while starting your default server.
if u r getting exception about InetClass then connect your system with LAN/Internet then your problem will be solved becoz i m using same location address as you specified, space doesn't matter at all - i think so, it is running fine........
Maybe you are looking for
-
Changing operations work center during creation of PM order
Hi all, I am looking for BADI or EXIT in order to change operationS work center which created from maintenance calls. Does anyone know such possibility? Assaf
-
Replacement for FM DOCFILE_CLIENT_TO_SERVER
HI, In ECC 6.0 version the function module DOCFILE_CLIENT_TO_SERVER is obselete. I need to replace the function module with new one. Please suggest me with respective one. CONCATENATE 'KOST_' SY-DATUM '_' SY-UZEIT INTO W_UNIXFIL. WS_FIL = P_WSF
-
I puchised IdeaPad Flex 2 14 a few months ago and recently have problem with audio - the sound starts lagging, especially if I am doing something else on laptop. Also it is getting very slow in general, which is quite weird for a brand new laptop. An
-
I have a macbook pro that was bought in 2009, it has been updated with mac os x 10.6.8 and I am trying to "mirror" image to apple tv 6.0.2.. Is it even possible with a older mac? If it is how do i go about doing it? Any help would be nice thanks.
-
Error WLS8.1 SP6 Patch9 and Jrockit 3.1 - BEA-000355 libmuxer.so on Sol10
Hi people! We are facing some weird problems with WLS 8.1 SP6 Patch9 and Jrockit 3.1 (jre1.4). We run the PeopleSoft WL server on a Solaris 10 sparc configuration. The problem is as follow: --------LOG---------------- <Error> <Socket> <BEA-000438> <U