Connection Failure: ReadFile on fd=1231 failed with err=64 + JVM_recv in socket input stream read
Hi Guys,
Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
2000 (yes I know not certified there yet) and using jdk1.2.2-001.
I have a pretty standard setup - a connection pool (5) to a sqlserver
(remote) machine.
A pretty standard multithreaded servlet - grabs a connection, does a select,
calls dbkona to dump output, releases connection.
It runs fine - browser returns result. When I push 'reload' on browser, say
10 times very quickly, I get the following errors. It is sometimes a
combination of these:
1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1912 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
accepting connecti on java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
Now I can get rid of (1) by switching off native IO!! This also stopped IO
exceptions that were being raised by the servlet when it tried to output to
the output stream. (2) persists.
I have changed nothing else in the properties.
(1) sounds like I may need to up the number of file descriptors open?
(2) I don't know. Is my server too loaded? I am running on a 600Mhz using
64Mb heap for the server with 300Mb swap available...
Regards,
Jon
More substantial excerpts:
Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
connection
java.net.SocketException: Connection reset by peer: JVM_recv in socket input
stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java, Compiled
Code)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1980 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1760 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1908 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
I have exactly the same problem running on Windows NT 4.0 (SP4) Weblogic 5.1 and
JDK1.2.2-001.
java.net.SocketException: ReadFile on fd=1048 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java, Compiled
Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled
Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Jon Mountjoy wrote:
Hi Guys,
Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
2000 (yes I know not certified there yet) and using jdk1.2.2-001.
I have a pretty standard setup - a connection pool (5) to a sqlserver
(remote) machine.
A pretty standard multithreaded servlet - grabs a connection, does a select,
calls dbkona to dump output, releases connection.
It runs fine - browser returns result. When I push 'reload' on browser, say
10 times very quickly, I get the following errors. It is sometimes a
combination of these:
1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1912 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
accepting connecti on java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
Now I can get rid of (1) by switching off native IO!! This also stopped IO
exceptions that were being raised by the servlet when it tried to output to
the output stream. (2) persists.
I have changed nothing else in the properties.
(1) sounds like I may need to up the number of file descriptors open?
(2) I don't know. Is my server too loaded? I am running on a 600Mhz using
64Mb heap for the server with 300Mb swap available...
Regards,
Jon
More substantial excerpts:
Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
connection
java.net.SocketException: Connection reset by peer: JVM_recv in socket input
stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, Compiled Code)
at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java, Compiled
Code)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1980 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1760 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1908 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Similar Messages
-
Jon,
I believe that this error is similar to a "connection reset by peer". It is
a Window specific error. I believe it indicates that something has happened
on the other end of the socket such that the socket has gone bad.
I think that this should only occur when people reset their connection
before the reply is sent. I don't believe that it is indicative of any
serious problem other than this communication failure caused by the client.
I've opened an issue to catch and squelch these spurious exceptions rather
than logging them. For now I think it is safe to ignore them.
Regards,
Adam
"Jon Mountjoy" <[email protected]> wrote in message
news:[email protected]...
Hi Guys,
Using weblogic 5.1 (downloaded pretty soon after announcement) on windows
2000 (yes I know not certified there yet) and using jdk1.2.2-001.
I have a pretty standard setup - a connection pool (5) to a sqlserver
(remote) machine.
A pretty standard multithreaded servlet - grabs a connection, does aselect,
calls dbkona to dump output, releases connection.
It runs fine - browser returns result. When I push 'reload' on browser,say
10 times very quickly, I get the following errors. It is sometimes a
combination of these:
1- Mon May 08 13:34:41 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1912 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
2- Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem
accepting connecti on java.net.SocketException: Connection reset by peer:
JVM_recv in socket input stream read
Now I can get rid of (1) by switching off native IO!! This also stoppedIO
exceptions that were being raised by the servlet when it tried to outputto
the output stream. (2) persists.
I have changed nothing else in the properties.
(1) sounds like I may need to up the number of file descriptors open?
(2) I don't know. Is my server too loaded? I am running on a 600Mhzusing
64Mb heap for the server with 300Mb swap available...
Regards,
Jon
More substantial excerpts:
Mon May 08 13:40:42 GMT+00:00 2000:<D> <ListenThread> Problem accepting
connection
java.net.SocketException: Connection reset by peer: JVM_recv in socketinput
stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java, Compiled Code)
at weblogic.socket.ResettableSocket.getPrefix(ResettableSocket.java,
Compiled Code)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, CompiledCode)
at weblogic.socket.JVMSocketT3.claimSocket(JVMSocketT3.java, CompiledCode)
at weblogic.socket.JVMSocketManager.accept(JVMSocketManager.java,Compiled
Code)
at
weblogic.t3.srvr.ListenThread$RJVMListenRequest.execute(ListenThread.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1980 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1760 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon May 08 13:35:31 GMT+00:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=1908 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)We are seeing the same error since switching to sp11 (we had been using
sp10). Haven't seen it in Solaris though. What is causing it?
Wed May 08 12:01:48 EDT 2002:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=3640 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java:259)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java:178)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:280)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
"John Slaman" <[email protected]> wrote in message
news:[email protected]..
>
I'm getting a error as follows:
Mon Apr 22 19:04:10 EDT 2002:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=2368 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
I have no idea as to the cause. It's been posted in the archives before -but with
no particular solution.
I'm using WLS 5.1 SP11, JDK 1.2.2_007. Win2000.
Does anybody know the cause/solution?
Thanks.
"Jon Mountjoy" <[email protected]> wrote:
Hi,
I have noticed that applying the service pack helps things quite a bit.
I no longer get NT muxer errors etc etc. just the "connection reset by
peer"
every now and again.
As I am repeatedly hitting the server from one browser, your 'connection
going bad' scenario probably
applies quite well.
(btw. before the SP, the errors seemed to crop up more just before/during
a
GC.)
Jon -
Io exception: Connection reset by peer: JVM_recv in socket input stream read
We are developing a new J2EE app using JDev, OC4J, servlets, and EJBs. We have determined that our firewall is closing database connections that have been idle for 1 hour. This is a security requirement that cannot be changed. When we try to use these idle connections in both stateless and entity beans, we consistently receive this or a similar error message:
"ServletSACategoryList: Error invoking EJB procedure. Exception: java.sql.SQLException: StatelessSysAdminBean::getCategoryList - Io exception: Connection reset by peer: JVM_recv in socket input stream read "
Environment:
Oracle 9iAS 9.0.2.0.0
Database: Oracle 8.1.7
JDBC 8.1.7
JDK 1.3
JDev 9.0.2.829
We are using the ejb-location attribute within data-sources.xml for JNDI lookup of the DataSource. Here is what this file looks like:
<data-sources>
<data-source
class="oracle.jdbc.pool.OracleDataSource"
name="jdbc/OracleDS"
location="jdbc/OracleCoreDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OraclePoolDS"
url="jdbc:oracle:thin:@###.###.#.###:1521:dev1"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="????????"
password="????????"
max-connections="4"
wait-timeout="20"
min-connections="1"
inactivity-timeout="60"
connection-retry-interval="1"
max-connect-attempts="3"
/>
</data-sources>
After calling getConnection() on the Connection object in my stateless bean, I have tried checking if the Connection object is null or isClosed(), I have caught any Exception, and looped to try again, but nothing has worked.
Please respond to [email protected] or directly to this post if you can help in any way.
Thank you,
- RobHi Robert,
If you don't mind, I can only offer a few suggestions for things
to try -- I'm afraid I don't have a solution for you. Of-course,
you may have already tried these things, so please excuse me if
this is the case.
Firstly, your "data-sources.xml" file looks "different". Have
you read the "Data Sources" chapter of the "Oracle9iAS Containers
for J2EE Services Guide, Release 2 (9.0.2)"? It is accessible
from here:
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a95879/ds.htm#1004903
Also, have you tried running OC4J in "debug" mode? This web
page has more details:
http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
I get the impression from the information you have supplied,
that you may not be explicitly closing your database connections
in your code. It looks to me like you are obtaining a database
connection in your session bean, and then keeping it for the
lifetime of that bean. Is that correct? I think it's better
to obtain a connection when you need to interact with the database,
and then close the connection immediately after completing the
interaction with the database (but that's just my opinion).
Lastly, if you haven't already discovered them, these web sites
may also be of help:
http://www.orionserver.com
http://www.orionsupport.com
http://www.elephantwalker.com
Hope this helps you.
Good Luck,
Avi. -
IOException: Connection reset by peer: JVM_recv in socket input stream read
hi
I encountered a problem : a program throw out an exception:java.io.IOException: Io exception:
Connection reset by peer: JVM_recv in socket input stream read.
I tried my best to resolve it ,but unfortunately,i didn't know what caused the exception.
the following is my application environment:
I have two PC(Win2000os),one is a server which installed oracle9.2.0.2 and jdeveloper9.0.3,the another is a
client which only intalled jdeveloper9.0.3.Two days ago,i performed a web application on my client with
jdeveloper,and it includes some JSP and a javabean files.JSP Page finished uploading client xml file to a
folder on server and the javabean finished loading the xml file into a xmltype column.I can make sure the
connection is established and the javabean is OK,beacause my some jsp page can successfully use
<jsp:usebean> tag and use the javabean's some other public interfaces,except the interface that finishs
loading the xml file into a xmltype(clob) column.
Then i do many tests!I changed the javabean to a java class incluse a main method beacause it is easy to
debug.Finally i found the following code caused the exception:
public CLOB writetoClob( CLOB clob, InputStream is )throws SQLException, IOException {
InputStreamReader reader = new InputStreamReader( is );
Writer writer = clob.getCharacterOutputStream( );
char[] buffer = new char[clob.getChunkSize( )];
int charsRead;
for ( charsRead = reader.read( buffer ); charsRead > -1;charsRead = reader.read( buffer ) ) {
writer.write( buffer, 0, charsRead );
writer.close();
return clob;
when it runs to writer.close(),the exception is caused!
Then i copy the java class to the server,it runs ok!
That is to say ,the same code,the different result!
But when i run my web application on server with jdeveloper Embedded OC4J Server and a jsp page loaded javabean
and run to mentioned code ,the same exception occured!
I checked the application log in event viewer,the descriptions was:
The data buffer created for the "AppleTalk" service in the "C:\WINNT\system32\atkctrs.dll" library is not
aligned on an 8-byte boundary. This may cause problems for applications that are trying to read the
performance data buffer. Contact the manufacturer of this library or service to have this problem corrected or
to get a newer version of this library.
I search some some resolution about this exception with web and someone sayed :
This basically means that a network error occurred while the client was receiving data from the server. But
what is really happening is that the server actually accepts the connection, processes the request, and sends a
reply to the client. However, when the server closes the socket, the client believes that the connection has
been terminated abnormally because the socket implementation sends a TCP reset segment telling the client to
throw away the data and report an error.
Sometimes, this problem is caused by not properly closing the input/output streams and the socket connection.
Make sure you close the input/output streams and socket connection properly. If everything is closed properly,
however, and the problem persists, you can work around it by adding Thread.sleep(1000) before closing the
streams and the socket. This technique, however, is not reliable and may not work on all systems.
In general,the following information is conclution:
Web application runs error both on client and on server.
If it was changed to a client java class,it only run ok on server!
i have done anything that i can do now,i feel depressed very much!
how can i resolve the problem!
Any a little help will be appreciated!
regards!
Thanks
Jiawei ZHAOHow can i solve the problem.
Thanks in advance!
Jiawei Zhao -
JDBC Connection reset by peer: JVM_recv in socket input stream read
Hey Guys,
Has anyone seen this issue? We get this error in our Weblogic app logs at times and no one is able to login to our application. Our database server and SQL server seem fine at a high level. Any ideas what is causing this?
com.s1.arch.persistence.exception.PersistenceException weblogic.jdbc.mssqlserver4.TdsException: I/O exception while talking to the server, java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
Thanksplease make sure that there is no Firewall between your servers and DB server. this message usually happen when there is a fire wall between the servers. if yes please make sure that the connection time on fire wall is longer than the time needed to complete an operation another thing that you need to check if you have a fire wall which is to make sure that Oracle DBMS return the request to the same port that it is listening to (1521 default).
-
Connection reset by peer: JVM_recv in socket input stream read
Dear All,
We are facing a very unusual problem. In our application, there is a functionality to transfer files to a FTP server using java FTPClient.
Now while transferring set of files, few times it throws the error:
Connection reset by peer: JVM_recv in socket input stream read
This error comes irregularly.
Can you suggest the reason for this.
Regards,
Akhilwhich platform are you using? which ip stack , ipv4 or ipv6?
try to set -Djava.net.preferIPv4Stack="true" when startup,
it will use ipv4 stack instead of default ipv6 on solaris. -
Summary
Can't print PDF files from Adobe Acrobat Pro 9.3.0 on Mac OS X Snow Leopard (10.6.2) to Brother MFC-7820N Printer (connected via USB). Print queue consistently shows "pstopdffilter/pstocupsraster failed with err number 13".
Steps to reproduce
Launch Acrobat Pro 9.3.0 on Mac OS X Snow Leopard 10.6.2
Open SimpleOnePageDocument.pdf (attached)
From File menu select Print
From Print Dialog select Brother MFC-7820N printer
Click Print Button
Results
Printing immediately fails. Print queue shows "pstopdffilter/pstocupsraster failed with err number 13" (see attached picture)
Expected Results
Document prints
Things I have tried
Downloading latest drivers from Brother for Snow Leopard (fall 2009 drivers)
System Preferences->Print and Fax->Reset Printing Subsystem
Print->Advanced->Postscript Options->Font and Resource Policy - Greyed out so I could not change from Send by Range to Send for each page
Notes
I can print PDF files from the Preview application without any problems.
System Info
Operating System
Mac OS X Snow Leopard 10.6.2
Product
Adobe Acrobat Pro 9.3.0 (installed as part of CS4)
Printer
Brother MFC-7820N connected via USB
Printer Driver
Brother MFC-7820N CUPS version 1.41I have exactly the same problem since I changed my Mac for an Intel one (10.6.2 instead of Power PC 10.4).
My printer is a Canon MP610 but this has nothing to do with the printer and it's software. Adobe seems to be completely deaf to this issue which is very annoying as most of the downloaded documents you need to print are pdf nowadays.
I surrounded the issue by copying/pasting the pdf image in a jpeg file... This is very time consuming and I'm still waiting for a proper answer to this bug by Adobe.
Let's continue to write, hoping Adobe will begin to move on the subject... -
Can't print from Adobe Acrobat 11.0.07 on my MAC OS 10.6 to HP PSC 1350. Error: PSTOPDFFILTER/PSTOCUPSRASTER FAILED WITH ERR NUMBER 13. How do I fix it so I can print?
i am getting the same error, suddenly, on 10.9.5
-
Printing Error - pstopdffilter/pstocupsraster failed with err number -31000
Hi All,
I'm hoping someone could assist me with this. After googling like crazy for a solution I thought I had to post here on the forums. I'm a new Mac user (only a few days now) so please bear with me. I will also post this on the Java Forums because I don't know if this is a problem with my code or with the Mac settings.
Setup
I've got a Java Applet running on the mac (written in Eclipse 64 bit) on a Mac with OS X 10.6.4 on. Also, Java 1.6.0_21 (both 32 bit and 64 bit) is installed on the machine. The printer installed is a ZPL Label Printer (Zebra Technologies ZTC GK420d).
If I use another application such as TextEdit to print, it works fine.
*Problem Description*
Whenever I try print from the Applet nothing comes from the printer, my code does not break or catch any exception at all but the printer queue gives the error: *pstopdffilter/pstocupsraster failed with err number -31000.*
Code
The code I use with this Java Applet works absolutely fine on Windows XP 32 bit (IE 7.0, Google Chrome and Firefox) as well as on Windows 7 64 bit (I.E 8.0, Google Chrome and Firefox) but never on the Mac. For any developers who might be able to help, the code is below:
import java.applet.Applet;
import javax.print.Doc;
import javax.print.DocFlavor;
import javax.print.DocPrintJob;
import javax.print.PrintException;
import javax.print.PrintService;
import javax.print.PrintServiceLookup;
import javax.print.SimpleDoc;
import javax.print.attribute.PrintServiceAttribute;
import javax.print.attribute.standard.PrinterName;
import javax.print.attribute.HashPrintRequestAttributeSet;
import javax.print.attribute.PrintRequestAttributeSet;
import javax.print.attribute.standard.Copies;
public class UKMJavaPrintApplet extends Applet
public void init()
System.out.println("Initialising UK Mail Java Printing Applet...");
public void start()
System.out.println("Starting UK Mail Java Printing Applet...");
PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","Zebra Technologies ZTC GK420d");
public void stop()
System.out.println("Stopping UK Mail Java Printing Applet...");
public void destroy()
System.out.println("Preparing unload of UK Mail Java Printing Applet...");
public int GetPrinterCount()
PrintService[] services = null;
int serviceLength = 0;
try
services = PrintServiceLookup.lookupPrintServices(null, null);
if(services != null && services.length > 0)
serviceLength = services.length;
catch(Exception z)
System.out.println("Failed to get printer count: " + z.getMessage());
z.printStackTrace();
return serviceLength;
public String GetPrinterName(int index)
String sPrinterName = null;
String printerName = "";
PrintService[] services = null;
try
services = PrintServiceLookup.lookupPrintServices(null, null);
for (int k=0; k < services.length; k++)
PrintServiceAttribute attr = services[k].getAttribute(PrinterName.class);
sPrinterName = ((PrinterName) attr).getValue();
if(index == k)
printerName = sPrinterName;
break;
catch(Exception r)
System.out.println("Failed to get printer name: " + r.getMessage());
r.printStackTrace();
return printerName;
public Boolean PrintLabelZPL(String zplString, String printerName)
String errStr = "";
Boolean boolSuccess = false;
try
if(printerName != null && printerName != "")
PrintService psZebra = null;
String sPrinterName = null;
PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
pras.add(new Copies(1));
PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
for (int i = 0; i < services.length; i++)
PrintServiceAttribute attr = services.getAttribute(PrinterName.class);
sPrinterName = ((PrinterName) attr).getValue();
if (printerName.equals(sPrinterName))
psZebra = services;
break;
if (psZebra != null)
DocPrintJob job = psZebra.createPrintJob();
byte[] by = zplString.getBytes();
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
Doc doc = new SimpleDoc(by, flavor, null);
System.out.println("Printing to: " + printerName);
job.print(doc, pras);
boolSuccess = true;
System.out.println("Printing Successful.");
else
errStr = "Zebra printer not found.";
System.out.println(errStr);
boolSuccess = false;
else
errStr = "No printer name was provided.";
System.out.println(errStr);
boolSuccess = false;
catch (PrintException e)
System.out.println("Print Failed with PrintException: " + e.getMessage());
boolSuccess = false;
e.printStackTrace();
catch (Exception f)
System.out.println("Print Failed: " + f.getMessage());
boolSuccess = false;
f.printStackTrace();
return boolSuccess;
Does anyone have any ideas on how I can resolve this and print to the ZPL printer from my Java Applet on the Mac?
Any help would be much appreciated.
Thanks!We managed to solve our own problem. This was not directly a Java Problem, but a problem with the setup of the Zebra printer on the Mac. Printing directly to the ZPL Printer never worked and always gave the error Printing Error - pstopdffilter/pstocupsraster failed with err number -31000.
To solve this, we had to use the CUPS (Common Unix Printing System) interface. CUPS is apparently installed standard with every Mac. Being a new Mac user I didn't even know this a week ago. We had to use CUPS to add the printer, set it to be a "RAW" printer and then add something called a Class. Now when printing from the Java Applet, we DO NOT print to the actual Zebra printer, we print to the Class.
Here are the steps on how to accomplish all this:
1. As an Admin user, log onto Cups using the Safari browser by entering *http://localhost:631* into the Address Bar.
2. Select the Administration tab and click, ‘Add Printer’
3. Select the required local printer and then ‘Continue’
4. Enter a Name, Description, Location and uncheck the ‘Share This Printer’ checkbox, where:
a. Name = Queue Name (e.g. Zebra_RAW)
b. Description = Human Readable Description (e.g. Zebra1)
c. Location = Human Readable Location (e.g. My Mac mini)
5. Click ‘Continue’
6. Click ‘Select Another Make/Manufacturer’ and select ‘Raw’. Click ‘Continue’
7. Click ‘Add Printer’
8. Check that Banners are ‘none’ and Policies are ‘stop-printer’ (Error) and ‘default’ (Operation)
9. Click ‘Set Default Options’
10. Under the Administration tab, click Add Class.
11. Enter a Name, Description, Location and select the Members:
a. Name = Queue Name (e.g. ZebraRAWClass)
b. Description = Human Readable Description (e.g. ZebraRaw)
c. Location = Human Readable Location (e.g. My Mac mini)
d. Members = the Queue Name of the new raw printer
12. The only visible printers on the list then will be your non-raw printer/s and the printer class which you just created.
13. Now when printing from Java Code, you must use the class as the printer in order to print raw ZPL.
So in my example code in the previous post, I would print like this: PrintLabelZPL("^XA^FO100,40^BY3^B3,,30^FD123ABC^XZ","ZebraRaw");
And it works! I hope this can help others with the same / similar problem. -
Pstopdffilter/pstocupsraster failed with err number -31000
Can someone help?
My printer has error message as below:
pstopdffilter/pstocupsraster failed with err number -31000
I have problem in printing out the document from my Mac laptop.
Thanks.help. can anybody fix this problem ? err number 31000 ?
-
Initially, Firefox 4 Beta 8 is installed. Manual Proxy Configuration was used, and worked fine.
After installing Beta 9 using the built-in updater, connecting to internet and intranet fails instantly with Page Not Found error. Restarting Firefox does not fix the problem.
Clean install of Beta 9 also exhibits the same problems.I have this problem too...
about:extension >> http://pastebin.com/txJgvZsq -
Dear Sir,
I am getting the following error sometimes when browsers (using IE5.5) take
a page from my website served up with Weblogic 5.1
The page contains some JavaScript and HTML.
Please note that this does not always happen but when it does it only
happens from PCs on the same sub-network as the server.
It looks like a weblogic error to me. Any ideas?
Thanks,
Spencer
Thu Aug 31 22:38:21 GMT+01:00 2000:<E> <HTTP> Connection failure
java.net.SocketException: ReadFile on fd=536 failed with err=64
at weblogic.socket.NTSocketMuxer.initiateIO(Native Method)
at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled
Code)
at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java,
Compiled Code)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)What would cause a RESET from the server?
I have a situation where a SSL connection through ACE to a server works fine from some workstations and it does not work from others. It is not a network connectivity issue. When it fails I get the message indicating there is a certificate error, then I click continue and get a page cannot be displayed.
This works fine from other workstations. -
DPM Agent Installer Fails with errorcode =0x80070643
I've seen this all over the place. Sometimes it's with DPM 2007 but I'm using an evaluation version of DPM 2010. I'm trying to install the agent on a protected server running Windows
2008 Standard with Service Pack 2. This is our Exchange 2007 server and is also running ForeFront.
I initially tried installing from the DPM server and received the following error code
Install protection agent on PS failed:
Error 313: The agent operation failed because an error occurred while running the installation program on PS.
Error details: Fatal error during installation (0x80070643)
Recommended action: Review the log files on PS: [windir]\temp\msdpm*.log and take appropriate action. Retry the operation, and if the error persists, restart the computer
and then retry the operation again.
I reviewed the error logs but I didn't know exactly what to look for and I don't see anything that jumps out at me.
On other sites I have seen instructions for a manual install on the protected server after disabeling the firewall and so I tried that.
On the protected server I mapped a drive to the folder containing the agent on the DPM server. I ran Net stop mpssvc. Then I launched the installer DPMAgentInstaller_x64.exe. When
I ran that I received a different error.
DPMAgentInstaller failed with errorcode =0x80070643, error says: Fatal error during installation.
Check log files in [WINDIR]temp\MSDPM*.LOG
Press Enter key to close the window
I rebooted and tried again with the same error.
On another page I read that someone asked about the paging file so I verified that there was sufficient space allocated (only 2/3 of the allocated space is being used).
Our primary partition has over 50GB of free space and our data partition has over 370 GB free.
I can post sections of the log files if that would help.
ThanksDan,
This is usually a problem with the installer. I've seen this in DPMRA.msi installation failures when In some instances the default permissions of the scheduled tasks directory altered.
The following is a sample from the failing MSDPMAgentBoostrap0Curr.errlog file.
WARNING Failed: Hr: = [0x80070424] : F: lVal : (HANDLE)(schService = OpenServiceW( schSCManager, strServiceName.PeekStr(), (0x00010000L) | 0x0020 | 0x0004 | 0x0002))
WARNING Failed: Hr: = [0x80070424] DeleteServiceByName for service[DPMClientService] failed
WARNING Failed: Hr: = [0x80070002] : Error while deleting the Scheduled Task [ScheduledDPMClientBackup]
WARNING Failed: Hr: = [0x80070002] DeleteScheduledTaskByName failed
WARNING Failed: Hr: = [0x80070005] : F: lVal : pTaskScheduler->NewWorkItem(pwszClientTaskName, CLSID_CTask, IID_ITask, (IUnknown**)&pTask)
WARNING Failed: Hr: = [0x80070005] AddScheduledTaskForClient failed
The service deletion failure is fine since it fails with 0x80070424 (ERROR_SERVICE_DOES_NOT_EXIST - The specified service does not exist as an installed service). The same goes with the scheduled task deletion with the error 0x80070002 (ERROR_FILE_NOT_FOUND
- The system cannot find the file specified). The installer was removing old services or tasks that may be lingering and if they do not exist we will get the above errors.
The access is denied error on the task creation is the aberration that must be addressed.
The permissions on %windir%\Tasks need to allow write access to the account doing the DPMRA.msi install.
Some have implemented group policies to lock down the permissions on the Tasks directory. This was done to combat the Conficker worm. Please see
KB 962007 Virus alert about the Win32/Conficker worm for more details.
Note: You must reset the default permissions on the Task directory. See the "After the environment is fully cleaned" section of the KB article.
If not this let us know.
/Steve
Steve L [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. -
Hello, I have a sql 2005 server, and I am a developer, with the database on my own machine. It alwayws works for me but after some minutes the other developer cant work in the application
He got this error
Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.1.140]
and When I see the log event after that error, it comes with another error.
SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 192.168.1.140]
He has IIS5 and me too.
I created a user on the domain called ASPSYS with password, then in the IIS on anonymous authentication I put that user with that password, and it works, on both machines.
and in the connection string I have.
<add key="sqlconn" value="Data Source=ESTACION15;Initial Catalog=GescomDefinitiva;Integrated Security=SSPI; Trusted_Connection=true"/>
I go to the profiler, and I see that when he browses a page, the database is accesed with user ASPSYS, but when I browse a page, the database is accesed with user SE\levalencia.
Thats strange.
The only way that the other developer can work again on the project is to restart the whole machine. He has windows xp profession, I have windows 2000.
If you want me to send logs please tellmeWell here's my problem, maybe you can help. Intermittenly I get a login failed when connecting to a db engine through Server Management Studio using Windows authentication. When this happens the following entries are generated on the server's application event log:
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (4)
Event ID: 17806
Date: 1/14/2009
Time: 10:41:31 AM
User: N/A
Computer: <server name>
Description:
SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: <ip address>]
Event Type: Failure Audit
Event Source: MSSQLSERVER
Event Category: (4)
Event ID: 18452
Date: 1/14/2009
Time: 10:41:31 AM
User: N/A
Computer: <server name>
Description:
Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: <ip address>]
I've already ensured that the server is set to mixed authentication mode. Oddly enough, the workaround that I've found is that if I remote desktop into the server, log in and then log back out, Management Studio is suddenly able to connect again. No idea why it works.
As I said before, it is intermitten. Some days it errors on login, other days it doesn't and there are no configuration changes between them. Also, both client and server are in the same domain and same site so there is no VPN or anything in between. I'm really quite stumped. Any help would be great, or if you can point me in the right direction of where to look. Thank you in advance! -
Sccheck fails with connection refused
I have a 2 node cluster that was just upgraded from SC3.0 to SC3.1u4 (8/05). sccheck passes on node aemhrsDV1 and fails with the following message on aemhrsDV2:
root@aemhrsDV2 # sccheck -b -v2 -h aemhrsDV2
sccheck: Requesting explorer data and node report from aemhrsDV2.
sccheck: aemhrsDV2 error: Connection refused
sccheck: Unable to run checks on: aemhrsDV2All SC3.1 patches have been applied. All availble agents were updated using 'scinstall -u update -s all' and re-registered. Test ip addresses were supplied during 'scinstall -u update -S interact'.
Both nodes come up fine individually in cluster (through step 10) but together the log /var/cluster/ucmm/ucmm_reconf.log shows:
Thu Aug 9 21:47:04 EST 2007 SUNWscucm.ucmm_reconf udlm started in cmmstep2
Thu Aug 9 21:48:44 EST 2007 SUNWscucm.ucmm_reconf udlm completed successfully in cmmstep2
Thu Aug 9 21:48:44 EST 2007 SUNWscucm.ucmm_reconf cvm started in cmmstep2
Thu Aug 9 21:48:45 EST 2007 SUNWscucm.ucmm_reconf cvm completed successfully in cmmstep2
Thu Aug 9 21:48:45 EST 2007 SUNWscucm.ucmm_reconf ucmm reconfiguration step 2 completed
Thu Aug 9 21:48:45 EST 2007 SUNWscucm.ucmm_reconf Step: cmmreturn CURRNODES=0 1Running scstat -i hangs forever at IPMP Groups with both nodes in cluster but separately displays the adapters and status.
Node 1
root@aemhrsDV1 # ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.100.30 netmask ffffff00 broadcast 192.168.100.255
ether 0:3:ba:39:f5:62
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.101.30 netmask ffffff00 broadcast 192.168.101.255
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.251.30 netmask ffffff00 broadcast 192.168.251.255
ether 0:3:ba:39:f5:ef
ge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 10.10.3.30 netmask ffffff00 broadcast 10.10.3.255
groupname nafo0
ether 0:3:ba:b:e:8
ge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4
inet 10.10.3.31 netmask ffffff00 broadcast 10.10.3.255
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet 10.10.3.33 netmask ffffff00 broadcast 10.10.3.255
groupname nafo0
ether 0:3:ba:17:97:d5
qfe0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 5
inet 10.10.3.32 netmask ffffff00 broadcast 10.10.3.255
qfe2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 6
inet 192.168.2.112 netmask ffffff00 broadcast 192.168.2.255
ether 0:3:ba:17:97:d7
qfe7: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 7
inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
ether 0:3:ba:17:98:68
qfe3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 8
inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:17:97:d8
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1486 index 9
inet 172.16.193.1 netmask ffffff00 broadcast 172.16.193.255
ether 0:0:0:0:0:1Node 2
root@aemhrsDV2 # ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.100.40 netmask ffffff00 broadcast 192.168.100.255
ether 0:3:ba:39:f5:50
ce0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.101.40 netmask ffffff00 broadcast 192.168.101.255
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.168.251.40 netmask ffffff00 broadcast 192.168.251.255
ether 0:3:ba:39:f5:20
ge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet 10.10.3.40 netmask ffffff00 broadcast 10.10.3.255
groupname nafo0
ether 0:3:ba:b:41:22
ge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 4
inet 10.10.3.41 netmask ffffff00 broadcast 10.10.3.255
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet 10.10.3.43 netmask ffffff00 broadcast 10.10.3.255
groupname nafo0
ether 0:3:ba:17:96:2d
qfe0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 5
inet 10.10.3.42 netmask ffffff00 broadcast 10.10.3.255
qfe0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 5
inet 10.10.3.35 netmask ffffff00 broadcast 10.10.3.255
qfe7: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 6
inet 172.16.1.2 netmask ffffff80 broadcast 172.16.1.127
ether 0:3:ba:17:97:18
qfe3: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 7
inet 172.16.0.130 netmask ffffff80 broadcast 172.16.0.255
ether 0:3:ba:17:96:30
clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1486 index 8
inet 172.16.193.2 netmask ffffff00 broadcast 172.16.193.255
ether 0:0:0:0:0:2
root@aemhrsDV1 # scstat
-- Cluster Nodes --
Node name Status
Cluster node: aemhrsDV1 Online
Cluster node: aemhrsDV2 Online
-- Cluster Transport Paths --
Endpoint Endpoint Status
Transport path: aemhrsDV1:qfe7 aemhrsDV2:qfe7 Path online
Transport path: aemhrsDV1:qfe3 aemhrsDV2:qfe3 Path online
-- Quorum Summary --
Quorum votes possible: 3
Quorum votes needed: 2
Quorum votes present: 3
-- Quorum Votes by Node --
Node Name Present Possible Status
Node votes: aemhrsDV1 1 1 Online
Node votes: aemhrsDV2 1 1 Online
-- Quorum Votes by Device --
Device Name Present Possible Status
Device votes: /dev/did/rdsk/d3s2 1 1 Online
-- Device Group Servers --
Device Group Primary Secondary
Device group servers: rmt/1 - -
Device group servers: rmt/2 - -
-- Device Group Status --
Device Group Status
Device group status: rmt/1 Offline
Device group status: rmt/2 Offline
-- Multi-owner Device Groups --
Device Group Online Status
-- Resource Groups and Resources --
Group Name Resources
Resources: nfs-test aemhrsDVlh
Resources: hastp-aemhrsDV1-rg -
Resources: hastp-aemhrsDV2-rg -
Resources: rac-framework-rg rac_framework rac_udlm rac_cvm
-- Resource Groups --
Group Name Node Name State
Group: nfs-test aemhrsDV1 Offline
Group: nfs-test aemhrsDV2 Online
Group: hastp-aemhrsDV1-rg aemhrsDV1 Online
Group: hastp-aemhrsDV2-rg aemhrsDV2 Online
Group: rac-framework-rg aemhrsDV1 Pending online
Group: rac-framework-rg aemhrsDV2 Online
-- Resources --
Resource Name Node Name State Status Message
Resource: aemhrsDVlh aemhrsDV1 Offline Offline
Resource: aemhrsDVlh aemhrsDV2 Online Online - LogicalHostname online.
Resource: rac_framework aemhrsDV1 Starting Degraded - reconfiguration in progress
Resource: rac_framework aemhrsDV2 Online Online
Resource: rac_udlm aemhrsDV1 Offline Offline
Resource: rac_udlm aemhrsDV2 Online Online
Resource: rac_cvm aemhrsDV1 Offline Offline
Resource: rac_cvm aemhrsDV2 Online Online
-- IPMP Groups --
Node Name Group Status Adapter Status
--------- ----- ------ ------- ------I believe the reconfig is coming from aemhrsDV2 since sccheck will not run.
Suggestions?Also the output from the sccheck commad using 'ksh -x' shows where the error is occurring and exiting with a status of 107.
The line executed is 765 of the script.
# echo "CLASSPATH: ${CLASSPATH}"
${JAVA} -classpath ${CLASSPATH} ${JDEFINES_LIST} ${JAVA_CLIENT} &
JVM_PID=$!
+ JVM_PID=13881
# now wait for java to exit
wait $JVM_PID
+ wait 13881
+ /usr/java/bin/java -classpath /usr/cluster/lib/sccheck:/usr/cluster/lib/sccheck/sccheck.jar:/usr/cluster/lib/sccheck/k
ae/kae.jar:/usr/cluster/lib/sccheck/kae/kae-libs.jar:/usr/cluster/lib/sccheck/kae/eras-common.jar:/usr/cluster/lib/scche
ck/kae/common-libs.jar:/usr/cluster/lib/sccheck/kae/eras-parsers.jar:/usr/cluster/lib/sccheck/kae/explorer-input-source.
jar:/usr/cluster/lib/sccheck/kae/resources:/var/cluster/sccheck/tmp/client.0 -Dcom.sun.eras.common.logging4.config.file=
/usr/cluster/lib/sccheck/sccheck.logging4.properties -Dke.client.log=/var/cluster/logs/sccheck/ke-client.log.0 -Dke.clie
nt.xsldir=/var/cluster/sccheck/tmp/client.0 -Dsccheck.clustername=aemhrsDV -Dsccheck.clustermode=true -Dsccheck.localnam
e=aemhrsDV2 -Dsccheck.privatelocalname=clusternode2-priv -Dsccheck.publicnodenames=aemhrsDV1,aemhrsDV2 -Dsccheck.private
nodenames=clusternode1-priv,clusternode2-priv -Dsccheck.clientnumber=0 -Dsccheck.explorersgzDir=/var/cluster/sccheck/exp
lorers-gz -Dsccheck.explorersUnpackDir=/var/cluster/sccheck/explorers.0 -Dsccheck.gunzip=/usr/bin/gunzip -Dsccheck.tar=/
usr/bin/tar -Dsccheck.brief=true -Dsccheck.vverbose=true -Dsccheck.hostlist=aemhrsDV2 -Dsccheck.outputDir=/var/cluster/s
ccheck/reports.2007-08-10.09:19:37 com.sun.cluster.sccheck.SccheckClient
sccheck: Requesting explorer data and node report from aemhrsDV2.
sccheck: aemhrsDV2 error: Connection refused
sccheck: Unable to run checks on: aemhrsDV2
typeset -i exitstatus=$?
+ typeset -i exitstatus=107
# constuct closing message if reports were created
if ((${exitstatus} > 0)) && ((${exitstatus} < 100)); then
typeset severity=""
printf ""
case "${exitstatus}" in
1) severity=$(gettext '1 (LOW)');;
2) severity=$(gettext '2 (MODERATE)');;
3) severity=$(gettext '3 (HIGH)');;
4) severity=$(gettext '4 (CRITICAL)');;
esac
printf "$(gettext '%s: One or more checks failed.')\n" ${PROG}
printf "$(gettext '%s: The greatest severity of all check failures was %s.')\n" ${PROG} "${severity}"
printf "$(gettext '%s: Reports are in %s.')\n" ${PROG} ${OUTPUTDIR}
fi
+ (( 107 > 0 ))
+ (( 107 < 100 ))
cleanup
+ cleanup
exit ${exitstatus}
+ exit 107
Maybe you are looking for
-
How to create automatically PDF with Adobe OLE/Automation without pop-up?
Hi, I developped an application (langage Windev) which extract datas from PDF documents and split them in many PDF documents. I use Adobe Arcobat Pro (version 10.1.8). I call the method "save" from the object AcroExch.PDDoc and the method "close" f
-
Cannot select buttons in FileMaker after Mountain Lion Install
Because the installer claimed I'd tinkered with my partitions (I haven't, unless accessing BootCamp from Parallels counts), I had to do a clean install of Mountain Lion. That in itself was a pain because I could not successfully create an installer o
-
Has anyone used FCE with a Sony hd-fx7 camcorder
As above, has anyone used FCE with a Sony hd-fx7 camcorder. I have recently got one of these at work and am currently using imovie for basic edits, but would like to step up to FCE, has anyone any experience using the two. THanks
-
Constantly crashes in Macbook Pro
Hi community! I'm having constantly and unexpectedly crashes in my Macbook Pro. It ask me for restart the mac and then, after several intents, it runs fine again (for a few hours, sometimes days). I'm really scared, because in other times when I'm wo
-
I have imported a page from one application to another application int the same workspace. After importing the page it runs very slow in the new application (but all the functions works fine). Do I have to do any change after importing the file? thx,