New install issue-unable to connect to DB server from a remote client.

Hi experts,
I am new to setting up oracle server so pls bear with me...
I setup a db server (11g on top of 64bit Oracle Linux) at home (static 192.168.1.90). I verified that db, listener are up and running. However, I tried to connect to the server from a different client machine (192.168.1.108) within my home network but the server cannot be reached. I was able to ping both client and server using the IP addresses and hostnames. I followed the following steps to perform troubleshooting but was unable to move on beyond step 3, telnet-ing the server on port 1521. Can someone help me out what I should do make the port # (1521) is reachable by the client?
1. Check with "ping" using the IP address ("ping 198.11.34.43"
2. Check with "ping" using DNS name (e.g. "tnsping uranus")
3. Try telnet to the IP on port 1521 (telnet 1.2.3.4 1521)
4. Check with "tnsping" using TNS service name
5. Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
6. Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name"
7. Within SQL*Plus, try a select from table@remote_db_link
thanks a lot in advance.

user6391746 wrote:
Hi experts,
I am new to setting up oracle server so pls bear with me...
I setup a db server (11g on top of 64bit Oracle Linux) at home (static 192.168.1.90). I verified that db, listener are up and running. However, I tried to connect to the server from a different client machine (192.168.1.108) within my home network but the server cannot be reached. I was able to ping both client and server using the IP addresses and hostnames. I followed the following steps to perform troubleshooting but was unable to move on beyond step 3, telnet-ing the server on port 1521. Can someone help me out what I should do make the port # (1521) is reachable by the client?
1. Check with "ping" using the IP address ("ping 198.11.34.43"
2. Check with "ping" using DNS name (e.g. "tnsping uranus")
3. Try telnet to the IP on port 1521 (telnet 1.2.3.4 1521)
4. Check with "tnsping" using TNS service name
5. Invoke SQL*Plus from the OS command line "sqlplus fred@flintstone". If this fails, check to ensure that your listener is the flintstone service defined.
6. Sign-on to SQL*Plus and connect with the TNS name ("connect fred/flintstome@service_name"
7. Within SQL*Plus, try a select from table@remote_db_link
thanks a lot in advance.solution depends upon which ERROR is thrown.
Is COPY & PASTE broken for you?
It is really, Really, REALLY difficult to fix a problem that can not be seen.
use COPY & PASTE so we can see what you do & how Oracle responds.

Similar Messages

  • Unable to connect to administration server from essbase console,

    Hi All..
    After successfully completely installation and configuration of essbase 11.1.2.3 iam unable to connect to administration server from essbase console,
    and also while connecting to oracle database it says "oracle not found".
    essbase 11.1.2.3 is installed in windows 2008 server R1.
    kindly help us.

    Hi John 
    and thanks again for the reply
    These log files has following  information
    and rest of files are empty in the specified path.
            HyS9RaFrameworkAgentOut :
    Java App Loader V1.3 (C)2006 by Hyperion Inc.
    $> java -cp . -Dloader.application=xxx.app com.brio.one.common.utils.Loader [arguments]
    > Reading application file 'C:\Oracle\Middleware\EPMSystem11R1\common\raframeworkrt\11.1.2.0\bin\agent.app'...
    > Loading classes...
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/wksagent.jar ...OK
      file:C:/Oracle/Middleware/modules/javax.activation_1.1.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/foundation.jar ..........OK
      file:C:/Oracle/Middleware/oracle_common/lib/java/shared/jsch/0.1.37/jsch-0.1.37.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/iona63.jar ..................OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/comutil1_01.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/eiengine.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/misc/11.1.2.0/servlet-api.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/JakartaCommons/jakarta-commons.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/logJavaUtil.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/javax.zip ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/bqservice.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/bcel-5.1.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/scorecard-search-api.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/waservices.jar ...OK
      file:C:/Oracle/Middleware/EPMSystem11R1/common/jlib/11.1.2.0/epm_j2se.jar ...OK
      file:C:/Oracle/Middleware/modules/com.bea.core.apache.velocity.dep_1.4.jar ...OK
      file:C:/Oracle/Middleware/modules/com.bea.core.apache.velocity_1.4.jar ...OK
      file:C:/Oracle/Middleware/modules/javax.mail_1.4.jar ...OK
    > Creating URLClassLoader...
    > Setting New Context ClassLoader...
    > Loading Main class 'com.oracle.cmc.Agent'...
    > Getting 'main' method...
    > Starting application...
           HyS9EssbaseStudio_epmsystem1-syserr:
    INFO    Server configuration file: C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseStudio\Server\server.properties.
    06:38:01 07/05/13 INFO    Logger configuration file: C:\Oracle\Middleware\user_projects\epmsystem1\BPMS\bin\logging.xml.
    06:38:01 07/05/13 INFO    Starting up.
    06:38:01 07/05/13 INFO    Oracle Essbase Studio Server. Version 11.1.2.3.000, Build 4386, March 26 2013. Copyright © 2008 - 2013, Oracle. All rights reserved
    06:38:14 07/05/13 (system) INFO    Root folder for flat datasource files has been created: `C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseStudio\Server\.\datafiles`.
    06:38:14 07/05/13 (system) WARNING Failed to load driver for sap.
    06:38:14 07/05/13 (system) WARNING Failed to load driver for teradata.
    06:38:14 07/05/13 (system) WARNING Failed to load driver for netezza.
    06:38:17 07/05/13 (system) SEVERE  Unable to establish connection to MySQL server: Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server..
    06:38:19 07/05/13 (system) SEVERE  Unable to establish connection to MySQL server: Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server..
    06:38:19 07/05/13 (system) SEVERE  Catalog.CannotInitializeStorage=Cannot initialize catalog storage. Make sure the server.properties file contains the correct information.
       -------------- Exception --------------
       com.hyperion.cp.catalog.exceptions.CatalogInitializationException: Cannot initialize data storage engine.
      at com.hyperion.cp.catalog.storage.StorageFactory.initialize(StorageFactory.java:91)
      at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:104)
      at com.hyperion.cp.catalog.Catalog.initialize(Catalog.java:198)
      at com.hyperion.cp.catalog.Catalog.<clinit>(Catalog.java:81)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:169)
      at com.hyperion.cp.catalog.CatalogInitializer.run(CatalogInitializer.java:71)
      at com.hyperion.cp.server.RequestListener$SystemTask.run(RequestListener.java:1507)
      at com.hyperion.cp.server.RequestListener.runSystemTask(RequestListener.java:233)
      at com.hyperion.cp.server.RequestListener.init(RequestListener.java:174)
      at com.hyperion.cp.server.ServerMain.initServer(ServerMain.java:214)
      at com.hyperion.cp.server.ServerMain.main(ServerMain.java:296)
    Caused by: com.hyperion.cp.driver.util.DriverConnectionException: Cannot establish connection to MySQL server.
      at com.hyperion.cp.driver.adapters.sql.mysql.MySQLConnection.createSQLConnection(MySQLConnection.java:130)
      at com.hyperion.cp.driver.adapters.sql.SQLConnection$ConnectionPool.<init>(SQLConnection.java:1229)
      at com.hyperion.cp.driver.adapters.sql.SQLConnection.construct(SQLConnection.java:450)
      at com.hyperion.cp.driver.ConnectionManager.getConnection(ConnectionManager.java:113)
      at com.hyperion.cp.driver.DriverEngine.getConnection(DriverEngine.java:60)
      at com.hyperion.cp.server.QueueableTask.setMetadataConnection(QueueableTask.java:53)
      at com.hyperion.cp.catalog.storage.StorageFactory.initialize(StorageFactory.java:73)
      ... 11 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
      at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
      at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)
      at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2333)
      at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2370)
      at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2154)
      at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
      at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
      at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
      at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
      at java.sql.DriverManager.getConnection(DriverManager.java:582)
      at java.sql.DriverManager.getConnection(DriverManager.java:207)
      at com.hyperion.cp.driver.adapters.sql.mysql.MySQLConnection.createSQLConnection(MySQLConnection.java:123)
      ... 17 more
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:529)
      at java.net.Socket.connect(Socket.java:478)
      at java.net.Socket.<init>(Socket.java:375)
      at java.net.Socket.<init>(Socket.java:218)
      at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)
      at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)
      ... 32 more

  • Unable to connect to WSUS server from the console

    I am not able to connect to WSUS server from WSUS console any more suddenly! "please verify that IIS on the server is correctly configured and is running'. I find out that Windows Process Activation Service is stuck in starting.
    I killed it with taskkill command but I am not able to restart it. It gives 'Error 1053: the service did not respond to the start or control request in a timely fashion'.
    There are some suggestion online but I am not comfortable with those solutions, I prefer to be guided by Microsoft TechNet, thanks.
    Thang Mo

    Hi,
    are there any relevant entries in the system log viewer?
    If you find the answer of assistance please "Vote as Helpful"and/or "Mark as Answer" where applicable. This helps others to find solutions for there issues, and recognises contributions made to the community :)

  • Unable to connect to Admin Server from second machine using WLST

    Hello,
    PROBLEM
    Can't get WLST to connect to admin server from 2nd host to register the domain.
    SETUP
    I have 2 Centos VMs running on Oracle Virtual box in a single laptop. Both the VMs use "Bridged Networking".
    VM-1 CONFIG
    cat /etc/hosts
    192.168.1.17
    dom1 dom1.my mac1
    192.168.1.51
    centos2 mac2
    VM-1 hosts admin server & one managed server
    VM-2 CONFIG
    192.168.1.51
    mac2
    192.168.1.17
    centos1 mac1
    VM-2 hosts just one managed server
    I can start up admin on VM-1 fine. The node manager is reachable too. Both the VMs are can be pinged from each other. I can also telnet to the admin server's port ( telnet 192.168.1.17 7001) from the second server.
    My HOST OS is Windows 7. I can ping from windows to both the VM IPs too. The reverse is working fine as well.
    I've tried both mechanisms of copying the whole domain from machine 1 over to machine2 & also using the pack.sh/unpack.sh combinations to transfer the domains.
    When I invoke WLST, this is what happens
    ./wlst.sh
    CLASSPATH=/apps/prod/appservers/weblogic/wls_10_3_6/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/apps/prod/appservers/weblogic/wls_10_3_6/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/lib/tools.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic_sp.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/weblogic.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/features/weblogic.server.modules_10.3.6.0.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/server/lib/webservices.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/apps/prod/appservers/weblogic/wls_10_3_6/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/apps/prod/appservers/weblogic/wls_10_3_6/utils/config/10.3/config-launch.jar::/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbynet.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbyclient.jar:/apps/prod/appservers/weblogic/wls_10_3_6/wlserver_10.3/common/derby/lib/derbytools.jar::
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> connect('weblogic','weblogic123','t3://192.168.1.17:7001')
    Connecting to t3://192.168.1.17:7001 with userid weblogic ...
    Traceback (innermost last):
      File "<console>", line 1, in ?
      File "<iostream>", line 22, in connect
      File "<iostream>", line 648, in raiseWLSTException
    WLSTException: Error occured while performing connect : Error connecting to the server : Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    Use dumpStack() to view the full stacktrace
    wls:/offline> dumpStack()
    This Exception occurred at Fri Oct 11 17:11:07 NZDT 2013.
    java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    wls:/offline>
    Also, I can't invoke weblogic.Admin from the second VM despite setting the environment using "setWLSEnv.sh". i get the error "Error: Could not find or load main class weblogic.Admin".
    Please could you help me fix this? I've spent 3 days now trying numerous things without much luck :-(
    Kind Regards

    Hi Raj,
    Issue is with NM registry with domain home. Please follow the below steps and let us know the status.
    1 . Check whether the node manager port ( default 5556 ) is opened for communication on both Admin and Managed server.
    2 . After opening the port - We would need to enroll the node manager home with domain home to establish the communication between Admin and Managed server.
       a .  Start the Administration Server.
       b .  Using the Administration Console update the Node Manager credentials from the Advanced options under domain_nameArrow symbolSecurityArrow symbolGeneral.
       c .  Invoke WLST and connect to an Administration Server using the connect command. See Using the WebLogic Scripting Tool in WebLogic Scripting Tool.
       d .  Run nmEnroll using the following syntax:
            nmEnroll([domainDir], [nmHome])
    Running nmEnroll() ensures that the correct Node Manager user and password token are supplied to each Managed Server. Once these are available for each Managed Server, you can use nmConnect() in a production environment.
    Note:     You must run nmEnroll() on each machine that is running a Managed Server. Additionally, you should run nmEnroll() for each domain directory on each machine.
    For more info : General Node Manager Configuration
    Thanks
    Lakshman

  • Query a List of Open WMI connections on a server from a remote system

    We are monitoring a specific windows service on a server using Sitescope remote monitoring. The sitescope system uses a WMI method to Check if the service on a specific server is up or not. Initially it works like a charm but over time the WMI connections from
    sitescope time out and we have been told that Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
    I am looking for a way to list open WMI connections to a specific service and/or server from a remote system and a way to kill those connections via a scheduled PowerShell (or batch/perl) script. I was able to list specific classes by -list parameter
    of the Get-WmiObject cmdlet
    but am unable to determine which class will give me the information that I require and the method to kill those connections.

    Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
    1. It's not clear what "not closing the WMI connection it opens gracefully" means. WMI is a management technology that uses DCOM to connect to remote computers. (Is it really a question about DCOM?)
    2. It's not clear what specifically "open connections pile up" means and what problem(s) it causes.
    3. This is really a support question for that software's developer, not a question about WMI.
    -- Bill Stewart [Bill_Stewart]

  • Connection to a tuxedo server from a  remote client

    How do we connect from a remote client to a Tuxedo server?
    When we tried to build a workstation client using buildtuxedo 8.0,it is unable
    to link "libnwi.lib" file.But there is no "libnwi.lib" file in the system
    please resolve this error

    subhash,
    You should be able to build a workstation client using buildclient -w
    {other options}
    If this isn't woking, you should contact BEA support.
    Regards,
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, and BEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness of
    the
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    subhash wrote:
    How do we connect from a remote client to a Tuxedo server?
    When we tried to build a workstation client using buildtuxedo 8.0,it is unable
    to link "libnwi.lib" file.But there is no "libnwi.lib" file in the system
    please resolve this error

  • Unable to connect to iCloud server from iPhone

    My contacts list has disappeared. I have tried logging into iCloud via my iPhone. When I attempt login it states unable to connect to server. Does anyone know how to fix

    Are you trying to sign into iCloud in Settings>iCloud when you get this error?  If so, you might try turning off wifi to see if you can connect over the cellular data network.

  • Error while connecting to SAP Server from Windows XP Client.

    Hi,
    I am facing the problem while i am trying to connect my Windows XP Clients( With Service Pack 3, DI-API Installed and Microsoft SQL Server Native Client Installed) to SAP server i got follwoing Error.
    Connection Failed :
    SQL State : '08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]Named Pipe Provider Could not open the connection SQL Server [233].
    Connection Failed :
    SQL State : "HYT00"
    SQL Server Error : 0
    [Microsoft][SQL Native Client]Login Timeout Expired
    Connection Failed:
    SQL State :'08001'
    SQL Server Error : 233
    [Microsoft][SQL Native Client]An Error has occured while establishing new connection to the server.
    When connecting SQL Server 2005, this failure may caused by the fact that under the default setting SQL Server does not allow remote connection.
    Regards,
    Arpit Shah

    Hi Arpit,
    Solution of Error in starting B1 after installation should help here too.
    Kind regards
    Mario
    SAP Business One Forums team

  • Error connection to Telnet Server from a Java client GUI

    Hi,
    I have developed a GUI in Swing to get the server ip address, user is and password and then connect to the telnet server. When I enter the above details and hit the "Connect" button, The application hangs. I am ot sure, if the application conencts to the server and then hangs or hanging for some other reason. I have given some System.out.printl statements to keep track.
    Below is my code. I would appreciate any help in this regards.
    Thanks in advance.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class Login
    private JFrame frm;
    private JTextField serField;
    private JTextField idField;
    private JPasswordField pwdField;
    public static void main(String[] str)
    new Login();
    public Login()
    frm = new JFrame("Login Screen");
         frm.setSize(500,200);
         frm.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent we)
              System.exit(0);
         frm.getContentPane().setLayout(new FlowLayout());
         addLoginFields();
         frm.setVisible(true);
    private void addLoginFields()
    JPanel idPanel1 = new JPanel();
    JPanel idPanel2 = new JPanel();
    JPanel serverPanel1 = new JPanel();
    JPanel serverPanel2 = new JPanel();
    JPanel pwdPanel1 = new JPanel();
    JPanel pwdPanel2 = new JPanel();
    JPanel connectPanel = new JPanel();
    JPanel cancelPanel = new JPanel();
    JPanel labelPanel = new JPanel(new GridLayout(3,1));
    JPanel fieldPanel = new JPanel(new GridLayout(3,1));
    JPanel buttonPanel = new JPanel();
    JButton connectButton = new JButton("Connect");
    JButton cancelButton = new JButton("Cancel");
    serverPanel1.add(new JLabel("Server "));
    serField = new JTextField("rhosp035",10);
    serverPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    serverPanel2.add(serField);
    idPanel1.add(new JLabel("User ID"));
    idField = new JTextField(30);
    idPanel2.add(idField);
    pwdPanel1.add(new JLabel("Password"));
    pwdPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    pwdField = new JPasswordField(10);
    pwdPanel2.add(pwdField);
    labelPanel.add(serverPanel1);
    labelPanel.add(idPanel1);
    labelPanel.add(pwdPanel1);
    fieldPanel.add(serverPanel2);
    fieldPanel.add(idPanel2);
    fieldPanel.add(pwdPanel2);
    connectPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    connectPanel.add(connectButton);
    cancelPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
    cancelPanel.add(cancelButton);
    buttonPanel.setSize(500,50);
    buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    buttonPanel.add(connectPanel);
    buttonPanel.add(cancelPanel);
    JPanel infoPanel = new JPanel();
    infoPanel.setSize(500,100);
    infoPanel.add(labelPanel);
    infoPanel.add(fieldPanel);
    frm.getContentPane().add(infoPanel);
    frm.getContentPane().add(buttonPanel);
    connectButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    connectToUnix();
    cancelButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    System.out.println("Connection to Unix cancelled");
    System.exit(0);
    private void connectToUnix()
    System.out.println("Connection to Unix to be added");
    Socket clientSocket = null;
    PrintWriter writer = null;
    BufferedReader reader =null;
    int code = 0;
    try{
         clientSocket = new Socket(InetAddress.getByName(serField.getText()),23);
    reader = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
    writer = new PrintWriter(new OutputStreamWriter(clientSocket.getOutputStream()));
    while((code = reader.read()) != 243)
    System.out.println("Server Response : " + code);
    switch(code)
    case 37:
    //System.out.println("user id : " + idField.getText());
         writer.print(idField.getText());
    break;
    case 24:
              //System.out.println("password : " + pwdField.getText());
    writer.print(pwdField.getText());
              System.out.println("code : " + code);
    break;
         case 251:
              System.out.println("********* Login required again code : " + code);
    break;
    default:
    System.out.println("--------------Default option code : " + code);
    break;
    writer.print(132);
    catch(IOException ie)
    System.out.println(ie.toString());
    catch(Exception e)
         System.out.println("Exception : " + e.toString());
    finally
         try{
    reader.close();
    clientSocket.close();
         catch(IOException ie)
    System.out.println("While closing : " + ie.toString());

    Also,
    I would like to know I to check if the user id and password are valid.
    How to disconnect from the client GUI?
    Thanks.

  • Unable to connect to ifolder server?

    Hello all,
    I am trying to connect the ifolder server from the ifolder client, i am getting the below error while connecting, please suggest
    Msg System.ArgumentNullException: null key
    Parameter name: key
    at System.Collections.Hashtable.Find (System.Object key) [0x00000]
    at System.Collections.Hashtable.Contains (System.Object key) [0x00000]
    at System.Collections.Hashtable.ContainsKey (System.Object key) [0x00000]
    at Simias.WebState..ctor (System.String DomainID) [0x00000]
    at Simias.DomainServices.DomainAgent.Login (System.Uri host, System.String domainID, System.Net.NetworkCredential networkCredential, Boolean calledRecursive) [0x00000]
    at Simias.DomainServices.DomainAgent.Attach (System.String host, System.String user, System.String password) [0x00000]
    at Simias.Web.SimiasService.ConnectToDomain (System.String UserName, System.String Password, System.String Host) [0x00000]
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
    Stack at System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReceiveResponse (System.Net.WebResponse response, System.Web.Services.Protocols.SoapClientMessage message, System.Web.Services.Protocols.SoapExtension[] extensions) [0x00000]
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke (System.String method_name, System.Object[] parameters) [0x00000]
    at SimiasWebService.ConnectToDomain (System.String UserName, System.String Password, System.String Host) [0x00000]
    at (wrapper remoting-invoke-with-check) SimiasWebService:ConnectToDomain (string,string,string)
    at Novell.iFolder.Controller.DomainController.AddDoma in (System.String host, System.String username, System.String password, Boolean bSavePassword, Boolean bSetAsDefault) [0x00000]
    Looking forward for your kind reply.
    Regards
    Rohit Singh

    Could you rename simias folder and start the ifolder client again. On Windows it is in %APDDATA% folder and Linux it is on $HOME/.local/share/. Please note this will need you to provide all ifolder information again.
    Let us know the result.
    >>> rohit100<[email protected]> 7/5/2011 12:06 PM >>>
    Hello,
    details of ifolder are as below:
    OS: OpenSuse
    Ifolder version: 3.8.0
    The Ifolder features such as creating ifolder, sharing docs with co
    members are working on web side, but we are unable to connect from any
    ifolder client remotely, please suggest what to do?
    We will be grateful to you?
    Regards
    Rohit Singh
    rohit100
    rohit100's Profile: http://forums.novell.com/member.php?userid=113027
    View this thread: http://forums.novell.com/showthread.php?t=441408

  • Why can't I update or load new apps on my iPhone and iPad. It does not ask me for my password. I tried to sync from my laptop now I am unable to connect to any sites from internet explorer. When I try to update or load any app it tells me it is corrupt

    Why can't I update or load new apps on my iPhone and iPad. It does not ask me for my password. I tried to sync from my laptop now I am unable to connect to any sites from internet explorer. When I try to update or load any app it tells me it is corrupt

    You need to ask Apple for assistance with getting back into your old ID. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to resolve this issue through the Account Security team, fill out and submit this form.
    (118441)

  • [Forum FAQ] "Unable to connect to the server by using Windows PowerShell Remoting" error while installing RDS roles on Server 2012 R2

    When you try to install RDS role on server 2012 R2 using standard deployment, this issue may occur (Figure 1).
    “Unable to connect to the server by using Windows PowerShell remoting”.
    Figure 1: Unable to connect to the server by using Windows PowerShell remoting
    First of all, we need to verify the configurations as it suggested:
    1. The server must be available by using Windows PowerShell remotely.
    2. The server must be joined to a domain.
    3. The server must be running at least Windows Server 2012 R2.
    4. The currently logged on user must be a member of the local Administrators group on the server.
    5. Remote Desktop Services connections must be enabled by using Group Policy.
    In addition, we need to check if the “Windows Remote Management “service is running and related firewall exceptions have been created for WinRM listener.
    To enabling PowerShell remoting, we can run this PowerShell command as administrator (Figure 2).
    Enable-PSRemoting -Force
    Figure 2: Enable PowerShell Remoting
    However, if issue persists, we need to check whether it has enough memory to work.
    By default, remote shell allots only 150 MB of memory. If we have IIS or SharePoint App pool, 150 MB of memory is not sufficient to perform the remoting task. Therefore, we need to increase
    the memory via the PowerShell command below:
    Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000
    Then, you need to restart the server and the issue should be resolved.
    You can get more information regarding Remote Troubleshooting by below link:
    about_Remote_Troubleshooting
    If you need further assistance, welcome to post your questions in the
    RDS forum.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    i found another possible reason, this solution worked for me:
    http://oyvindnilsen.com/solution-for-powershell-remoting-error-it-cannot-determine-the-content-type-of-the-http-response-from-the-destination-computer/
    I tried to set up powershell remoting on a server and kept getting this error:
    Enter-PSSession : Connecting to remote server failed with the following error message : The WinRM client cann
    ot process the request. It cannot determine the content type of the HTTP response from the destination comput
    er. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help to
    pic.
    After a bit of troubleshooting I discovered that the problem was that the authentication packets was to big (over 16k), this will cause WinRM to reject the request. The reason for authentication packets getting too big can be because the user is member of very
    many security groups or in my case because of the SidHistory attribute.
    The solution was to increase the MaxFieldLength and MaxRequestBytes keys in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters
    If the keys does not exists you can create them, be sure to use the DWORD type.
    I sat MaxFieldLength to DEC value 40000 and MaxRequestBytes to DEC value 32768 and rebooted the server. Problem solved.

  • New ipad 2 unable to connect to server

    bought a new ipad today and set up in the school but now home unable to connect to the server is the error even though I have got the radar signal and wifi account accepted unable to open safari, receive email etc. Have also done a network reset.

    The 169 address means that your WiFi router DHCP service did not provide a local network address when your iPad requested one, hence the 169 address.
    Try restarting your router by removing power to it for 30 seconds. On your iPad choose Settings > General > > Reset > Reset network settings. Then try to connect.
    If this does not work look for a firmware update on the router manufacturer's support web pages.
    If you need more help then provide your router make, model, and version. Also give details on how you have your router configured (DHCP on?, MAC address filtering on? Security type?, etc.)

  • TS3899 I have a hotmail account set up on my ipod, but in the past two weeks I have had issues trying to pull up mail.  I get a "unable to connect to the server" message.  Any Ideas?

    I have a 4th gen ipod toch.  As of the past two weeks I have been unable to receive my hotmail on the ipod.  I get a "unable to connect to the server" message and all older emails are now gone.

    I have a 4th gen ipod toch.  As of the past two weeks I have been unable to receive my hotmail on the ipod.  I get a "unable to connect to the server" message and all older emails are now gone.

  • [Solved] Samba log spam: Unable to connect to CUPS server

    Hi everyone,
    I'm running into an annoying issue with samba. I don't have any printers installed, and probably won't. However smbd complains to no end in /var/log/errors.log about not being able to connect to a cups server:
    Apr 18 12:30:05 asakura nmbd[4361]: *****
    Apr 18 12:30:05 asakura nmbd[4361]:
    Apr 18 12:30:05 asakura nmbd[4361]: Samba name server ASAKURA is now a local master browser for workgroup MYGROUP on subnet 192.168.1.121
    Apr 18 12:30:05 asakura nmbd[4361]:
    Apr 18 12:30:05 asakura nmbd[4361]: *****
    Apr 18 12:32:22 asakura smbd[4552]: [2009/04/18 12:32:22, 0] printing/print_cups.c:cups_connect(103)
    Apr 18 12:32:22 asakura smbd[4552]: Unable to connect to CUPS server localhost:631 - Connection refused
    Apr 18 12:32:22 asakura smbd[4553]: [2009/04/18 12:32:22, 0] printing/print_cups.c:cups_connect(103)
    Apr 18 12:32:22 asakura smbd[4553]: Unable to connect to CUPS server localhost:631 - Connection refused
    Those last two lines get spammed constantly.
    I've done a little bit of research into the matter, and followed the steps here to try to resolve the problem: http://www.davekb.com/browse_computer_t … server:txt
    Unfortunately it doesn't appear to make any difference.
    Here is my /etc/samba/smb.conf:
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = MYGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = user
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = no
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    ; [homes]
    ; comment = Home Directories
    ; browseable = no
    ; writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    ; [printers]
    ; comment = All Printers
    ; path = /var/spool/samba
    ; browseable = no
    # Set public = yes to allow user 'guest account' to print
    ; guest ok = no
    ; writable = no
    ; printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = yes
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    [shared]
    path = /media/shared
    valid users = foosoft
    public = no
    writable = yes
    [tomato]
    path = /media/data1/tomato
    valid users = foosoft
    public = no
    writable = yes
    show add printer wizard = no
    printing = none
    printcap name = /dev/null
    disable spoolss = yes
    I'm totally out of ideas here, anyone have a tip on what I could try next?
    Last edited by FooSoft (2009-04-18 19:52:28)

    glad you posted it first i had the same problem.
    However, samba was complaining that
    printing = none
    was invalid. I removed that line and it works great.
    thanks
    Last edited by lio (2009-10-16 00:20:14)

Maybe you are looking for

  • How to delete pix/albums in iPhoto for iOS.?

    I created two Journals in iPhoto for iOS. When uploading to the iCloud I constantly run into "Storage almost full" problems. I have already deleted many apps to create space, but iPhoto seems to consistently grow in size (iPad > Settings>General> Usa

  • Issue in MIRO for inventorized excise tax code

    Hi,   I have created a PO with excise tax code, but the excise amount to be inventorized, PO price   : 100 EXCISE         10 ECESS          0.20 SECESS        0.10 VAT              13.79 Total net amount   100  and tax amount  24.09    now as the exc

  • Finder does not show EPS PICT or TIF previews in column view in 10.4

    It seems in the upgrade between 10.3 and 10.4 they dropped the ability to see the low res PICT or TIF image that is stored in the EPS file. In other apps, InDesign, Quark I can see it in column view open dialogue box but no such luck with Finder wind

  • Creating an attribute editor like panel from Interface Builder

    The Attributes Inspector from Interface Builder presents the user with a great set of options that are neatly organized in folding panels. I really want to do something like this for a project I'm working on to help organize a large set of options th

  • Any way to convert a PDF to PowerPoint?

    Is there a way to convert a PowerPoint-generated PDF back into the original PowerPoint presentation, or something like it - a completely editable presentation?