NFS client test program

I'm trying to write a test program that behaves like an NFS client. The code uses the standard RPC calls to talk to the NFS server. It compiles and runs fine on Linux. On Solaris though I have a problem establishing an RPC client initially.
The test program performs the following operations:
1. Uses the portmapper service on the server to establish the remote port associated with the MOUNT service
1. Creates a socket, sockfd.
2. Uses bindresvport to bind a reserved port to the socket. The port number is in the reserved range (ie 600 to 1000ish).
3. Connects this socket to the server
3. Creates a struct sockadd_in with the appropriate address information for the server in addr
4. Calls clnttcp_create
The following code
client = clnttcp_create(addr, <------- points at the server
program, <-------- MOUNT RPC program number
program_version, <--------- MOUNT RPC program version
&sockfd, <------- connected socket using a reserved port on the local client
0,
0);
if (client == NULL) {
clnt_pcreateerror("clnttcp_create");
returns "clnttcp_create: RPC: Remote system error - Address already in use".
So it looks like port 688 (the local port selected say by bindresvport) is already in use ? But that's the whole point, I need to provide cnttcp_create() with a socket that already has a port bound to it.
The same code runs fines on a Suse 11 client talking to Open Solaris 11 server. The same code run as a client on Solaris 11 fails with the above message when talking to either a Suse 11 server or a Solaris 11 server.
Any suggestions what I'm doing wrong? Is this the right forum in which to ask?
many thanks

Make sure you have the sub-folder com, and then another sub-folder underneath it, mastertech and another sub-folder underneath this called sample. This is how packages are structured. They should be in your ep workspace directory structure if you're using Eclipse. In JBoss, you do not have to have the packages or any source code structure. Just jar your compiled code and save in JBoss's deploy folder which only accepts jar's, war's and ear's.

Similar Messages

  • [solved] NFS client will not work correctly

    I have all my $HOME on an NFS Server. So long I used suse and debian, now I want switch to arch but the nfs-client ist not working correctly:
    I start "portmap nfslock nfsd netfs" over rc.conf. When I do a "rpcinfo -p <ip-arch-system>" I got the following
    stefan:/home/stefan # rpcinfo -p 192.168.123.3
       Program Vers Proto   Port
        100000    2   tcp    111  portmapper
        100000    2   udp    111  portmapper
        100021    1   udp  32768  nlockmgr
        100021    3   udp  32768  nlockmgr
        100021    4   udp  32768  nlockmgr
        100003    2   udp   2049  nfs
        100003    3   udp   2049  nfs
        100003    4   udp   2049  nfs
        100021    1   tcp  48988  nlockmgr
        100021    3   tcp  48988  nlockmgr
        100021    4   tcp  48988  nlockmgr
        100003    2   tcp   2049  nfs
        100003    3   tcp   2049  nfs
        100003    4   tcp   2049  nfs
        100005    3   udp    891  mountd
        100005    3   tcp    894  mountd
    As you see "status" is missing, so the statd is not running. It sould look like the result on my suse box:
    stefan:/home/stefan # rpcinfo -p 192.168.123.2
       Program Vers Proto   Port
        100000    2   tcp    111  portmapper
        100000    2   udp    111  portmapper
        100024    1   udp  32768  status
        100021    1   udp  32768  nlockmgr
        100021    3   udp  32768  nlockmgr
        100021    4   udp  32768  nlockmgr
        100024    1   tcp  35804  status
        100021    1   tcp  35804  nlockmgr
        100021    3   tcp  35804  nlockmgr
        100021    4   tcp  35804  nlockmgr
    There is the "status" line and so the statd is running.
    How can I fix that problem, so that statd ist running on my arch box too?
    Last edited by stka (2007-06-10 15:59:48)

    The Problem ist solved.
    I use ldap for authentication. During the setup of the ldapclient I copied the nsswitch.ldap to nsswitch.conf. But the line for "hosts:" was:
    hosts:          dns ldap
    but in my dns ist no localhost entry. After I changed this line to:
    hosts:          files dns ldap
    everything was ok. The statd is now running and I can start to migrate to archlinux ;-)

  • Simple client host program

    I have 3 classes:
    - A server
    - A client
    - A program which start a new server and a new client in seperate threads.
    I'm wondering why the client doesn't receive messages like "message", "hello", "knock knock".
    I'm also wondering whether the threads correctly terminate and whether my code is safe.
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.net.ServerSocket;
    import java.net.Socket;
    import java.util.Scanner;
    public class Server {
         public Server() throws IOException {
              ServerSocket server = new ServerSocket(4321);
              System.out.println("Server created");
              Socket client = server.accept();
              System.out.println("Server: connected to " + client);
              Scanner in =  new Scanner(client.getInputStream());
              PrintWriter out = new PrintWriter(client.getOutputStream());
              while(true) {
                   System.out.println("sending messages");
                   out.println("message");
                   out.println("hello");
                   out.println("knock knock");
                   out.println("I love you");
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.net.Socket;
    import java.util.Scanner;
    public class TestClient {
         public TestClient() throws IOException {
              Scanner stdIn = new Scanner(System.in);
              Socket socket = new Socket("127.0.0.1", 4321); //
              System.out.println("Client created");
              Scanner in = new Scanner(socket.getInputStream());
              PrintWriter out = new PrintWriter(socket.getOutputStream());
              System.out.println("ready for input:");
              while (true) {
                   System.out.println("Enter exit to exit");
                   String message = stdIn.next();
                   if (message.equals("exit"))
                        break;
                   System.out.println("Client receives: " + in.nextLine());
              out.close();
              in.close();
              socket.close();
              System.out.println("Client: is closed");
    mport java.io.IOException;
    public class Runner {
         public static void main(String[] args) throws IOException{
              (new Thread() {
                   @Override
                   public void run() {
                        try {
                             new Server();
                        } catch (IOException e) {
                             System.err.println(e);
              }).start();
              (new Thread() {
                   @Override
                   public void run() {
                        try {
                             new TestClient();;
                        } catch (IOException e) {
                             System.err.println(e);
              }).start();
              System.out.println("Runner is done.");
    }It's current output says:
    Runner is done.
    Client created
    java.net.SocketException: Unrecognized Windows Sockets error: 2: JVM_Bind
    ready for input:
    Exception in thread "Thread-1" java.util.NoSuchElementException
         at java.util.Scanner.throwFor(Unknown Source)
         at java.util.Scanner.next(Unknown Source)
         at TestClient.<init>(TestClient.java:21)
         at Runner$2.run(Runner.java:21)

    Somelauw wrote:
    tschodt wrote:
    Somelauw wrote:
    If you want to use a PrintWriter, at least check for errors.I would rather get an exception raised giving me some information then a boolean telling me that there is something wrong.So don't use a PrintWriter.What should I use instead? I do want high-level stuff like println.You could use
    BufferedWriter
    [write(String)|http://java.sun.com/javase/6/docs/api/java/io/Writer.html#write%28java.lang.String%29]
    [newLine()|http://java.sun.com/javase/6/docs/api/java/io/BufferedWriter.html#newLine%28%29]
    >>
    I guess you think my client needs to rest for 99 milliseconds every cycle.I put that in after testing your code and noticing that the client telling me
    "Enter exit to exit"
    was scrolling up out of view by the server telling me
    "sending messages".If I comment out that line my code works.When using the code I suggested in [reply #1|http://forums.sun.com/thread.jspa?messageID=10891212#10891212] it becomes evident that the server goes though umpteen iterations of sending messages to the client.
    >>
    With that delay the last text on the screen is the client prompt.
    Should my server rest too?What do you think?I don't see a problem, but your question suggests I shouldn't.Was that an answer? If so, can you clarify
    as it is not clear what you think.

  • Error message encounter in ODBC 32bit test program

    I am using the Oracle ODBC 32 Bit test program (from Oracle 8i client) to test my ODBC connection. I did this: Press Connect, Choose my desire ODBC connection, a screen pops up asking for service name, user name and password, I filled in the boxes with the correct value, then the following error comes up:
    [Start quote]
    SQLSTATE: 01000
    Native Error Code:444
    Driver Message: The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER: 03.51
    Need Any suggestions to avoid error?
    [End quote]
    Does anyone have any idea what this is all about? I tried to follow the suggestions but the suggestions doesn't work. It seems outdated already.
    Thanks very much!

    I'm guessing that your version of the MDAC (Microsoft Data Access Components) is out of date & doesn't realize that the ODBC 3.51 spec exists. You can download the updated version at <http://www.microsoft.com/data>. The README that comes with your ODBC driver should indicate which version of the MDAC to install.
    Justin

  • Wrong atime created by iMac as a NFS client

    We have iMac computers in classrooms, and they are running as an NFS client. We have found that the wrong access time (atime) is created by Mac OS 10.5 and 10.6.
    A file that is opened by using O_CREATE on the NFS-mounted directory will have the wrong atime. For example, the year will appear as 1920 or 2037 depending on the IP address of the NFS client.
    This problem can also be found with Solaris NFS server and EMC Celerra.
    The following program will create a file having the wrong atime on an NFS-mounted directory:
    #include <fcntl.h>
    #include <stdlib.h>
    #include <string.h>
    #include <stddef.h>
    main() {
    int fd;
    /* O_EXCL option will cause wrong atime */
    fd = open("AIZU", O_CREAT | O_EXCL | O_RDWR, 0644);
    /* fd = open("AIZU", O_CREAT | O_RDWR, 0644); */
    close(fd);
    exit(0);
    The phenomenon is quite similar to the following problems on FreeBSD reported in 2001:
    http://www.mail-arch...g/msg22084.html
    If anyone knows a solution to this problem, we would greatly appreciate your advice. Thanks in advance.

    The solution shown in
    http://www.mail-archive.com/[email protected]/msg22084.html
    should be applied to the current NFS modules of Snow Leopard.

  • NFS client question ... do I need rpc?

    Hi All!
    I am in the process of doing some security auditing and in the process I came across open rpc ports that I believe I don't actually need. I would like to solicit thoughts on this:
    I have solaris 8 and 10 machines importing NFS filesystems from a solaris 8 server. For the client machines, is there any reason to have rpc running?
    I tested this with a solaris 8 machine, turned off both lockd/statd (/etc/init.d/nfs.client stop) and rpc (/etc/init.d/rpc stop), made sure that the daemons were not running and tried to nfsmount a share on the client:
    mount -F nfs server:/share /mnt/tmp
    which seemed to work fine. So do I need lockd/statd and rpc or not?
    Rudolf

    As I said, I tested the ability to connect to NFS even in the absence of rpc / lockd / statd on the client. However, it seems mAbrante is right about these services being at least advisable on the client to allow file locking. This is an excerpt from the lockd manpage that I should have spotted before even asking this question:
    State information kept by the lock manager about these locking requests can be lost if the lockd is killed or the operating system is rebooted. Some of this information can be recovered as follows. When the server lock manager restarts, it waits for a grace period for all client-site lock managers to submit reclaim requests. Client-site lock managers, on the other hand, are notified by the status monitor daemon, statd(1M), of the restart and promptly resubmit previously granted lock requests. If the lock daemon fails to secure a previously granted lock at the server site, then it sends SIGLOST to a process.
    So I guess you don't need the rpc / lockd / statd but you will lose functionality ... you might be able to get away with it if the exported filesystem is read only ...
    Rudolf

  • About the communication issues in the client-server program

    About the communication issues in the client-server program
    Hi, I have some questions about the communication issues in a java project, which is basically the client and server architecture. In brief, the client, written in java, can be deployed anywhere, and in the following part, assume it is in the LAN (Local Area Network) which is connnected to the internet through the firewall and/or proxy, and the server, written in
    java too, simply provides the listening service on a port in a remote machine. And assume the server is connected to the internet directly so that the scenario can be simple to focus on the core questions.
    My questions are as follows:
    1 About the relationship between the communication port and protocol
    Generally, protocols at the application level like HTTP, FTP have their own default port, e.g., HTTP is corresponding to 80,
    FTP is to 25. But it is NOT necessary for the web server to provide the HTTP listening service at port 80, right? E.g, Tomcat provides the HTTP listening service at 8080. So it means the default relationship between the application protocl and their port is some routine, which is not necessary to follow, right?
    2 Assume a LAN connected to the internet through a proxy, which only allows HTTP protocol, then questions are:
    2.1 Does the proxy recognize the HTTP request from the client by the port number (carried in the request string)? For example, when the server provides the HTTP listening service at 80, then the request from the client will include the port number 80, then the proxy will parse such info and decide if or not the request can be out.
    2.2 Does the proxy recognize the HTTP request from the client by protocol (carried in the request string)? For example, the protocol used in the communicatin should be included in the request, then the proxy can parse it to make the decision.
    3 In java programm, if using the HTTP protcol, then on the client: the corresponding API is java.net.URLConnection, right?
    If using the TCP protocol directly, then on the client:the corresponding API is java.net.Socket, right? In both cases, the server side use the same API, java.net.ServerSocket?
    Is it correct to say that the communication by Socket is faster than URLConnection?
    4 Take MSN messenger for example, which protocol does it use? Since proxy configure is only the possible option, so I guess generally the TCP protocol is used directly so that the better perfomrance can be achieved, right?
    5 Given 3 computers within the same LAN, can the client, proxy, server environment above be correctly simulated? If so, can
    you recommend me some typical proxy program so that I can install it to configure such an enviroment to perform some test?
    6 I guess there should be some software to find out which port number a given program/process is going through to connect to
    the remote machine, and which port number a given program/process is listening on? Also, what protocl is used in the given
    communication.
    7 Finally, regarding each of the above questions, it will be highly appreciated that if you can recommed some references,
    tutorials, books etc. In summary, what I care about is how to enable the java client behind the proxy and firewall to
    communicate with the remote server without problems, so if you know some good tutorials plz let me know and thx in advance!
    Finally, thanks for your attention so such long questions =).

    FTP is to 25. But it is NOT necessary for the web
    server to provide the HTTP listening service at port
    80, right? E.g, Tomcat provides the HTTP listening
    service at 8080. So it means the default relationship
    between the application protocl and their port is
    some routine, which is not necessary to follow,
    right?Not sure what you're saying here.
    There must be a server listening on some port. The client must know what port that is. If you open the connection using the Socket class, you'll explicitly specify the port. If you use some higher level class like URLConnection or something in the commons Net package, there's probably a default port that will be used if you don't explicitly specify another.
    There's no way for the client to know that the HTTP request will go to port 80 instead of port 8080. If you think the the client contacts the server without explicitly naming a port, and then asks the server "get me your HTTP server", and the port is determined from that, you're mistaken.
    Not sure if you're thinking that, but it sounded like you might be.
    2 Assume a LAN connected to the internet through
    a proxy, which only allows HTTP protocol, then
    questions are:
    2.1 Does the proxy recognize the HTTP request
    from the client by the port number (carried in the
    request string)? For example, when the server
    provides the HTTP listening service at 80, then the
    request from the client will include the port number
    80, then the proxy will parse such info and decide if
    or not the request can be out. I'm not sure, but I think most proxies and firewalls are configured by ports. I thought I'd heard of more sophisticated, higher-level ones that could understand the content to some degree, but I don't know anything about those.
    3 In java programm, if using the HTTP protcol,
    then on the client: the corresponding API is
    java.net.URLConnection, right?That's one way.
    You might want to look into this:
    http://jakarta.apache.org/commons/httpclient/
    If using the TCP protocol directly, then on the
    client:the corresponding API is java.net.Socket,
    right? In both cases, the server side use the same
    API, java.net.ServerSocket? A Java client will user Socket, and a Java server will use ServerSocket and Socket.
    Is it correct to say that the communication by Socket
    is faster than URLConnection?Probably not.

  • XDC error while running test program FP_CHECK_DESTINATION_SERVICE

    Hi, all.
    We are on ECC 6.0 backend single stack and EP6 on NW04 SP17. I have installed the ADS on the java stack on EP6. However, I could not get the XDC working. Note that I am just using http for the ADS, not https.
    When I run the test programs like FP_TEST_00, FP_CHECK_DESTINATION_SERVICE and FP_CHECK_HTTP_DATA_TRANSFER on the ABAP side, it keeps giving me error:
    #1.5#000802104262006000000015000005F0000453556EDC6093#1217526304263#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUser#226#SAP J2EE Engine JTA Transaction : [045ffffffc4ffffffbe0006]###67a637e05f2811dda73c000802104262#SAPEngine_Application_Thread[impl:3]_6##0#0#Error#1#/System/Server#Plain###Processing exception during a "Render" operation.
    Request start time: Thu Jul 31 13:45:03 EDT 2008
    com.adobe.ProcessingError: No <Render><Output><XDC> specified
    However, other checks like http://<server>:<port>/AdobeDocumentServices/Config, FP_PDF_TEST_00 and http://<server>:<port>/sap/bc/fp/form/layout/fp_test_00.xdp, are successful.
    I noticed that the AdobeDocumentServices is missing on the ECC6 since it is single stack. But the folder exists on the EP6 server. From my readings, the XDC is called via RFC against the  FP_ICF_DATA_<SID> destination which I have already setup in EP6.
    So I am really out of idea. Can you please help?
    Thanks,
    Jonathan.

    Well, I am pretty familiar with the ADS config guide now.
    The RFC connection used by Adobe is ADS on sm59. I can run connection test without a problem.
    By the way, the AdobeDocumentServices directory under SYS\global has the following sub-dir:
    DataManagerService
    DestProtoService
    FontManagerService
    lib
    LicenseSupportService
    PDFManipulation
    RenderErrorlog
    ServicesNatives2
    TrustManagerService
    XMLFormService
    I have to create the RenderErrorlog manually. Also, the folders DataManagerService and DestProtoService, RenderErrorlog are empty. Can you check your server and see if you have files underneath these folders?
    I am suspecting something is corrupted on the system because I took over the system from someone.
    Thanks,
    Jonathan.

  • Problem with the JNDI properties while executing a client test

    Hello Everybody,
    I'm trying to learn Jdeveloper, and I have followed the tutoriel " Learn Oracle Fronn Oracle" Volum 2, so i am trying to create a simple oriented bean message with EJB 3.0, and a client test to deliver a message, and the problem is that i can't display my message in the Embedded OC4J WINDOW.
    This is the errors displayed:
    Line:-----
    D:\jdevstudio10132\jdk\bin\javaw.exe -client -classpath D:\jdevstudio10132\EJB30MDB\SimpleMDB\classes;D:\jdevstudio10132\j2ee\home\lib\ejb30.jar;D:\jdevstudio10132\j2ee\home\lib\activation.jar;D:\jdevstudio10132\j2ee\home\lib\ejb.jar;D:\jdevstudio10132\j2ee\home\lib\jms.jar;D:\jdevstudio10132\j2ee\home\lib\jta.jar;D:\jdevstudio10132\j2ee\home\lib\mail.jar;D:\jdevstudio10132\j2ee\home\lib\servlet.jar;D:\jdevstudio10132\rdbms\jlib\aqapi.jar;D:\jdevstudio10132\toplink\jlib\toplink-essentials.jar;D:\jdevstudio10132\j2ee\home\oc4j.jar;D:\jdevstudio10132\j2ee\home\oc4jclient.jar;D:\jdevstudio10132\j2ee\home\lib\javax77.jar -Dhttp.proxyHost=10.0.0.99 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|127.0.0.1|doi-sonia -Dhttps.proxyHost=10.0.0.99 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=localhost|127.0.0.1|doi-sonia oracle.mdb.jmsclient.TestJMSClient
    Looking up TCF
    javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at com.evermind.naming.FilterContext.lookup(FilterContext.java:126)
         at com.evermind.server.ApplicationClientContext.lookup(ApplicationClientContext.java:63)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at oracle.mdb.jmsclient.TestJMSClient.main(TestJMSClient.java:20)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 5 more
    Process exited with exit code 0.
    Line:-----
    and and there is the TestJMSClient code:
    Line:-----
    package oracle.mdb.jmsclient;
    import javax.jms.Connection;
    import javax.jms.ConnectionFactory;
    import javax.jms.Destination;
    import javax.jms.Message;
    import javax.jms.MessageProducer;
    import javax.jms.Session;
    import javax.jms.Topic;
    import javax.naming.InitialContext;
    public class TestJMSClient {
    public static void main(String[] args) {
    try {
    System.out.println("Looking up TCF");
    ConnectionFactory connectionFactory =
    (ConnectionFactory) new InitialContext()
    .lookup("jms/TopicConnectionFactory");
    Connection connection = connectionFactory.createConnection();
    connection.start();
    System.out.println("Starting Topic Session");
    Session topicSession = connection.createSession(false,
    Session.AUTO_ACKNOWLEDGE);
    Destination topic = (Destination)new InitialContext().lookup("jms/demoTopic");
    MessageProducer publisher = topicSession.createProducer(topic);
    Message message = topicSession.createMessage();
    message.setJMSType("theMessage");
    message.setLongProperty("time", System.currentTimeMillis());
    message.setStringProperty("subject", "Test EJB 3.0 MDB");
    message.setStringProperty("message",
    "Test message Send to first EJB 3.0 MDB");
    publisher.send(message);
    System.out
    .println("Message Sent to JMS Topic, Check Server Console to See whether MDB got activated!");
    publisher.close();
    topicSession.close();
    connection.close();
    }catch (Throwable ex) {
    ex.printStackTrace();
    Line:-----
    I am not sure if the JNDI properties should have a correct configuration to make this application work:
    Line:-----
    java.naming.factory.initial=oracle.j2ee.naming.ApplicationClientInitialContextFactory
    java.naming.provider.url=ormi://localhost:23891/current-workspace-app
    java.naming.security.principal=oc4jconn
    java.naming.security.credentials=welcome
    Line:-----
    Above, it's the code given by the tutoriel, i change welcome by my pass word, but the problem still existing.
    Any idea or help would be greatful
    Thanks

    I use Oracle Jdeveloper 10.1.3.2.0 , Oracle 10g(10.2) Express Edition and PL/SQL Developer V: 7.1.0.13337, XP as OS .
    this is my netstat-a cmd, i expect you can answer, if you want any information about my system, ask me and i will answer you, thanks a lot:
    Connexions actives
    Proto Adresse locale Adresse distante Etat
    TCP est-tatia:epmap est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:microsoft-ds est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1053 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1110 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1521 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:8888 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:9127 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:19780 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:23791 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:23943 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:netbios-ssn est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1056 est-tatia.ABL.local:1521 ESTABLISHED
    TCP est-tatia:1059 10.0.0.101:13000 ESTABLISHED
    TCP est-tatia:1387 10.0.0.101:epmap TIME_WAIT
    TCP est-tatia:1388 10.0.0.101:1026 TIME_WAIT
    TCP est-tatia:1390 10.0.0.101:epmap TIME_WAIT
    TCP est-tatia:1391 10.0.0.101:1026 TIME_WAIT
    TCP est-tatia:1521 est-tatia.ABL.local:1056 ESTABLISHED
    TCP est-tatia:1038 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1044 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:1132 localhost:1521 ESTABLISHED
    TCP est-tatia:1137 localhost:1138 ESTABLISHED
    TCP est-tatia:1138 localhost:1137 ESTABLISHED
    TCP est-tatia:1139 localhost:1140 ESTABLISHED
    TCP est-tatia:1140 localhost:1139 ESTABLISHED
    TCP est-tatia:1385 localhost:1386 ESTABLISHED
    TCP est-tatia:1386 localhost:1385 ESTABLISHED
    TCP est-tatia:1389 localhost:23791 ESTABLISHED
    TCP est-tatia:1521 localhost:1132 ESTABLISHED
    TCP est-tatia:8080 est-tatia.ABL.local:0 LISTENING
    TCP est-tatia:23791 localhost:1389 ESTABLISHED
    TCP est-tatia:30523 est-tatia.ABL.local:0 LISTENING
    UDP est-tatia:microsoft-ds *:*
    UDP est-tatia:isakmp *:*
    UDP est-tatia:1025 *:*
    UDP est-tatia:1026 *:*
    UDP est-tatia:1151 *:*
    UDP est-tatia:4500 *:*
    UDP est-tatia:15000 *:*
    UDP est-tatia:15001 *:*
    UDP est-tatia:ntp *:*
    UDP est-tatia:netbios-ns *:*
    UDP est-tatia:netbios-dgm *:*
    UDP est-tatia:1900 *:*
    UDP est-tatia:ntp *:*
    UDP est-tatia:1027 *:*
    UDP est-tatia:1048 *:*
    UDP est-tatia:1287 *:*
    UDP est-tatia:1289 *:*
    UDP est-tatia:1900 *:*
    **************************************************************************

  • Svc:/network/nfs/client problem in Solaris 10

    Hi,
    I`ve been trying to figure out what is the problem with the below scenario for so long and till now i`m not able to.
    i have a X4100 SunFire system with solaris 10 installed.
    most of the services are not coming up (ssh,ftp,etc....) each time i reboot the server, and after approximately 3 hours everything comes fine by it self.
    i noticed that the service :/network/nfs/client is taking too long while starting. This might be related to the problem.
    See below the svcs command : hope this will be usefull :)
    bash-3.00# svcs -xv ssh
    svc:/network/ssh:default (SSH server)
    State: offline since Wed May 20 16:37:45 2009
    Reason: Service svc:/network/nfs/client:default is starting.
    See: http://sun.com/msg/SMF-8000-GE
    Path: svc:/network/ssh:default
    svc:/system/filesystem/autofs:default
    svc:/network/nfs/client:default
    See: man -M /usr/share/man -s 1M sshd
    Impact: 3 dependent services are not running:
    svc:/milestone/multi-user-server:default
    svc:/system/basicreg:default
    svc:/system/zones:default
    any advise on this ?
    Appreciate your help,

    hi all
    issue resolved actually port was conflicting in /etc/services i have readded the entry in /etc/service
    Thanks

  • Sending a pdf file using submit without client email program.

    I need a solution on sending a completed pdf file to my email address without the clients email program poping up.  My website has a small pdf file that users can complete and return to me.  I get many complaints from users stating it requires them to save the file first and then they are unsure were it saved or how to attach it to a email.  To make this easer on my users I want the submit button to simply send me the file using some method from my website.  I use iPage to host the site now.  I was looking for a script to call or some way to do this automaticly.  I was woundering if urs/sbin/sendmail might work.  I am simply at a loss on this.

    Using a sendmail type script will send you the form data in the body of an email message, if the form is set up to submit as "HTML". You can create your own script to attach the form data as an FDF, XFDF, or even the complete PDF, but it's unlikely your provider supplies a script for this, so you'd have some custom programming to do.
    Sending just the form data also avoids the licensing restrictions for Reader-enabled forms. You can easily import an FDF or XFDF into a blank form to create a filled-in form.

  • NFS client problem "The document X could not be saved"

    Hi,
    Briefly: Debian Linux server (Lenny), OS X 10.5.7 client. NFS server config is simple enough:
    /global 192.168.72.0/255.255.255.0(rw,rootsquash,sync,insecure,no_subtreecheck)
    This works well without our Linux clients, and generally it is Ok with my OS X iMac. OS X NFS client is configured through Directory Utility, with no "Advanced" options. Client can authenticate with NIS nicely, and NFS, on the whole, works. I can manipulate files with Finder, and create files on the commandline with the usual tools.
    The problem is TextEdit, iWork and other Cocoa apps (not all). They can save a file once, but subsequently saving a file produces a "The document X.txt cannot be saved" error dialog. If I remove the file on the commandline and re-save, then the save succeeds. It is as if re-saving the document with the same name as an existing file causes issues. There seems to be no problem with file permissions. When I save in a non NFS exported directory everything is fine.
    Has anyone spotted this problem before?
    Lawrence

    I doubt that "OS X NFS is fundamentally broken" seeing as how many people use it successfully.
    tcpdump (or more preferably: wireshark) might be useful in tracking down what's happening between the NFS client and NFS server. Sometimes utilities like fs_usage can be useful in tracking down the application/filesystem interaction.
    It's usually a good idea to check the logs (e.g. /var/log/system.log) for possible clues in case an error/warning is getting logged around the same time as the failure. And if you can't reproduce the problem from the command line, then that can be a good indication that the issue is with the higher layers of the system.
    Oh, and if you think there's a bug in the OS, it never hurts to officially tell Apple that via a bug report:
    http://developer.apple.com/bugreporter/
    Even if it isn't a bug, they should still be able to work with you to help you figure out what's going on. They'll likely want know details about what exactly isn't working and will probably ask for things like a tcpdump capture file and/or an fs_usage trace.
    HTH
    --macko

  • [Solved]NFS Client Not Mounting Shares

    Here is my setup:
    I have two Arch boxes that I am attempting to setup NFS shares on.  The box that is going to be the server is headless FYI.  So far, I have installed nfs-utils, started `rpc-idmapd` and `rpc-mountd` successfully on the server, and started `rpc-gssd` successfully on the client.
    The folder I am trying to share is the /exports folder.
    ls -l /exports
    produces
    total 8
    drwxrwxrw-+ 110 daniel 1004 4096 Dec 6 17:26 Movies
    drwxrwxrwx+ 13 daniel users 4096 Jan 8 19:12 TV-Shows
    On the server:
    /etc/exports
    # /etc/exports
    # List of directories exported to NFS clients. See exports(5).
    # Use exportfs -arv to reread.
    # Example for NFSv2 and NFSv3:
    # /srv/home hostname1(rw,sync) hostname2(ro,sync)
    # Example for NFSv4:
    # /srv/nfs4 hostname1(rw,sync,fsid=0)
    # /srv/nfs4/home hostname1(rw,sync,nohide)
    # Using Kerberos and integrity checking:
    # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
    # /srv/nfs4/home gss/krb5i(rw,sync,nohide)
    /exports 192.168.1.10(rw,fsid=0)
    On the client:
    showmount -e 192.168.1.91
    Export list for 192.168.1.91:
    /exports 192.168.1.10
    Everything is looking hunky-dory.  However, I go to mount using
    sudo mount -t nfs4 192.168.1.91:/exports /mnt/Media
    and the mount never takes place.  It sits there and does nothing.  I CAN, however, kill the process with Ctrl-c.
    So does anybody have ANY idea why my shares aren't working.
    EDIT: Just thought I should mention that all of the data in the /exports folder is a mount --bind from /mnt/media.  All of the /mnt/media is contained on a USB external hard drive.  I did notice that there is an ACL.
    getfacl /exports
    getfacl: Removing leading '/' from absolute path names
    # file: exports/
    # owner: root
    # group: root
    user::rwx
    group::r-x
    other::r-x
    Last edited by DaBungalow (2014-01-10 03:18:05)

    I found what the problem was.  Apparently rpc_gssd was causing a problem.  Stopping it fixed everything.

  • Where's the surround sound test program gone?

    With  HD surround sound problems still ongoing for me, i need to run the test program again to try something, but I just can't find it anymore.
    I've looked in all the obvious places - has it been erased?

    Hi Spec_d,
    To change the audio settings on the vision box please try the following:
    Press BT Vision on the remote
    Scroll right to Settings
    Press Select
    Select general settings
    Highlight and select 'Digital audio output' from the options
    Current Audio output is shown by the tick displayed next to the appropriate option
    To change the audio output type, navigate to 'Stereo'. A tick will move to the desired audio output method selected. To confirm the changes made, highlight 'Save' and press select.
    Let me know if this has helped you at all.
    Cheers
    Paddy,
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Test program running taking much more time on high end server T5440 than low end server  T5220

    Hi all,
    I have written the following program and run on both T5440  [1.4 GHz, 95 GB RAM, 32 cores(s), 256 logical (virtual) processor(s),] and  T5220 [(UltraSPARC-T2 (chipid 0, clock 1165 MH) , 8GB RAM, 1 core, 8 virtual processors )] on same OS version.  I found that T5540 server takes more time than T5220. Please find below the details.
    test1.cpp
    #include <iostream>
    #include <pthread.h>
    using namespace std;
    #define NUM_OF_THREADS 20
    struct ABCDEF {
    char A[1024];
    char B[1024];
    void *start_func(void *)
        long long i = 6000;
        while(i--)
                    ABCDEF*             sdf = new ABCDEF;
                    delete sdf;
                    sdf = NULL;
        return NULL;
    int main(int argc, char* argv[])
        pthread_t tid[50];
        for(int i=0; i<NUM_OF_THREADS; i++)
                    pthread_create(&tid[i], NULL, start_func, NULL);
                    cout<<"Creating thread " << i <<endl;
        for(int i=0; i<NUM_OF_THREADS; i++)
                    pthread_join(tid[i], NULL);
                    cout<<"Waiting for thread " << i <<endl;
    After executing the above program on T5440 takes :
    real 0.78
    user 3.94s
    sys 0.05
    After executing the above program on T5220 takes :
    real 0.23
    user 1.43s
    sys 0.03
    It seems that T5440 which is high end server takes almost 3 times more time than T5220 which is low end server.  
    However, I have one more observation. I tried the following program :
    test2.cpp
    #include <iostream>
    #include <pthread.h>
    using namespace std;
    #define NUM_OF_THREADS 20
    struct ABCDEF {
    char A[1024];
    char B[1024];
    int main(int argc, char* argv[])
        long long i = 6000000;
        while(i--)
            ABCDEF*  sdf = new ABCDEF;
            delete sdf;
            sdf = NULL;
        return 0;
    It seems that T5440 server is fast in this case as compaired to T5220 server.
    Could anyone please help me out the exact reason for this behaviour as my application is slow as well on this T5440 server. I have posted earlier as well for the same issue. 
    Thanks in advance !!!
    regards,
    Sanjay

    You already asked this question...
    48 hours earlier, and in the same Solaris forum space
    Repeating the post isn't going to get you a response any faster, and actually now have people NOT respond because you are not showing any patience.
    These are end-user community forums, not a place to expect Oracle Technical Support.   There is no obligation that there be a response.
    If you have a business-critical issue and hope to get accurate and timely response, then use your service contract credentials to open a Support request.
    This new redundant post is locked.
    Edit:
    It appears that at the same time the O.P. posted this redundant thread, they also posted the same question to at least one other forum web site:
    http://www.unix.com/solaris/229269-test-program-running-taking-much-more-time-high-end-server-t5440-than-low-end-server-t5220.html

Maybe you are looking for

  • Excessive noise from disc burner

    I am hearing what sounds like excessive fan noise(?) when burning a DVD. I haven't noticed this until today. I have used the system quite a lot over the two years I've had the 24". I also hear it when playing a disc on VLC media player, but strangely

  • ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed during migration.

    Hello Experts , We are in process of migration and after 90% of migration we are getting the following error as mentioned in MIGRATE_DT_XXXXX_IMP.log.: ERROR exec_ddl_stmt: (DB) ERROR: DDL statement failed (  ALTER TABLE "EDID4" ADD PRIMARY KEY(     

  • Dynamic field in where clause

    Hi all, I have a requirement to dynamically select some data into an internal table using table name,table field as parameter and a select option for that field.I am using field symbols for this. Now , i am not able to formulate my select query based

  • UCM11g - trace - unable to rename file

    Hi, I have problem with tracing in UCM11g. I checked Full Verbose Tracing on the page System Audit Information. And now. If I restart UCM a get error: at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: intradoc.common.ServiceExcept

  • OO4O & VC++ Access Violation with large sql statement  - REPOST

    This is a repost - my email address was incorrect on the previous message OO4O & VC++ Access Violation with large sql statement Using Oracle C++ Class Library OO4O for Oracle9i Version 9.0.1.4.3 for Windows 98/NT/2000/XP. Open a dynaset with a large