Timeout with DBaaS PuTTY

The putty session with configured tunnel, guard time to less than 10 minutes.

Not very practical when we are developing a lot of research between the two. A few tips on how to extend this?

Extend your SSH session timeout *.

This should be only a temporary change...

Log in to your VM cloud like opc

then change directory to the ssh directory

CD/etc/ssh

Make a copy of the ssh configuration file

sudo cp sshd_config.save sshd_config

Edit the file as root

sudo vi sshd_config

change the settings at the end of the file or replace them with the following text

TCPKeepAlive Yes
ClientAliveCountMax 99999
ClientAliveInterval 30
TCPKeepAlive Yes

Save the file and restart ssh

sudo service sshd restart

Tags: Database

Similar Questions

  • How to connect with DBA role

    Hello
    I installed my own server Oracle 10 g on my computer, but I can only connect as SCOTT/TIGER. This account has only the connect and resource roles, but I want to connect to the database as a user with the DBA role. Could you get it someone please let me know how to do this? Thank you!

    Hello

    "conn / as sysdba". connect like that, you'll be logined with DBA privilege as user sys.

  • How to increase the speed of work and avoid the "Server timeouts" with VPN and?

    Hello!

    I am faced with slow work and delays in Thunderbird to my Linux.

    I have 4 accounts (3 are connected via IMAP) and two of them runs very slowly. Fear that every time I see annoying message at end of the period of the server and each message (same old) opens very slowly and sometimes doesn't open.

    It maybe the problem in services postal themselves, or illustrated by the 4th account is Exchange (which work much faster in fact), but I need to manage that somehow. I think I had a fast enough internet connection.

    I know that the server timeout could be increased, but I have not found this option in the settings. I have 31 TB, and all the settings, I found in Google seems to be linked to the old version with the old interfaces. I went to advanced settings, I'm not sure that it's settings and what value it must contain.

    In addition, has something like 'caching 'mail TB? I mean, during the reception of the new letter - it is "cached" locally, so when I try to read - local version is used until "cache" is cleaned. But when I delete or move the letter to another folder - happening also at the level of the server. I think that if TB could sync all mails and store their values locally this will work much faster.

    Thanks for any possible solution to this.

    It seems to me that I found the root cause of the problem)

    Problem is not in TB, but in these 2 mail services itself. They work poorly when vpn works.

    Will address this issue for messaging services.

  • Timeout with instrument ethernet error

    Hello

    I'm having a hard time communicating with a Tektronix DMM4050 via Ethernet.

    I added the device in MAX by adding manual entry of Raw Socket (automatic and manual input of the instrument of LAN didn't work).

    What works:

    I have provided the stop character activate in settings/o, I can send the * IDN? \n query to the instrument, which translates into a beautiful "TEKTRONIX, DMM4050, 2199203, 02/08/10 - 11:53\r\n" string.

    What does not work:

    The simple code below

    Translates a VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete. error.

    Any suggestions would be greatly appreciated

    Boris

    What display format you use for your string constant?  Set it on ' display Codes «--------»»  Then you should have "* IDN? \n ».  I think if you switch the display will read "* IDN? \\n"who did not finish the command for the application and therefore, it does not recognize the command.

  • IMAQdx timeout with camera JAI multicast

    We have a JAI camera connected to a GigE card, displaying the image in a LabVIEW program, and it has worked reliably for months.  We would now like to save the image for short periods of time as well.  We have added a second computer on the GigE network to capture and save the image with a dedicated software stream.  We put the camera JAI multicast so that both computers receive the same image.  Now, we're getting timeout errors in the LabVIEW program: error-1074360293 to IMAQdx to Image.vi.  Increase the length of the timeout to 10 seconds (default is 5) has not helped.  No idea why IMAQdx does not multicast, but works correctly in unicast?  Y at - it a setting I missed?

    Hi nathand.

    It seems IMAQdx 3.9 added a bug that will leave multicast mode not working correctly (the camera is silently configured for unicast in some cases mode - Interior CAR # 318906). Can you confirm if you use this version, or if you use an earlier version? If you say it works for a little while but fails, I guess it's _not_ this bug.

    Do you know what type of switch you use between the camera and the two PC? If it is a managed switch he may use IGMP snooping to determine which of your interfaces is listening for multicast addresses. It is possible that a bug in implementation of this Protocol switch can cause the association to give up after a while. You may disable this Snooping and either assign manually multicast addresses are transmitted or move it to all ports.

    Eric

  • ACS RADIUS timeout with WLC 7.0 5.0

    Hi guys,.

    I'm setting up a device Cisco Secure ACS 1120 running 5.0.0.21 ACS to manage the RADIUS of a Cisco WLC 5508 device query running the 7.0.116.0 version.

    • These devices have open communication on all ports - no firewall or ACL
    • they have successful ping communication

    The following statements illustrate some but not all debugging I did to make sure that each device works properly in isolation.

    • Using the simple windows (radserv2.exe) instead of the Cisco ACS RADIUS server

      • This works and the WLC gets answer my fortune Server RADIUS
    • Using a simple windows EAP client to query the ACS using the RADIUS protocol
      • This works and the FAC processes the RADIUS request and sends a response
    • Placed a customer wireshark on the network to inspect the time-out.
      • Wireshark saves the package to the WLC for GBA using port 1812 but does not see responses to GBA package

    At the moment I have the

    1. WLC accepting wireless client association and
    2. sending the query RADIUS (EAP - TLS, PEAP and EAP-FAST) for GBA,
    3. the WLC receives no answer and generates a timeout message and separates the client.
      1. Note this is not a rejection or a similar message, the simple ACS does not even the package. i.e. There is absolutely nothing in the logs of ACS to suggest that he had even received a package of radius of the WLC.

    In summary the WLC and GBA properly operate independently, but they do not communicate via radius.

    Any help appreciated thanks

    It seems that you use ACS 5.0 without tasks.

    For your information, the version of the product is now up to 5.2 and 5.3 ACS should soon be released

    I recall there was a problem with ACS 5.0 with WLC operations that has been resolved in patch for 5.0

    I'm not sure of the specific CDETS but can be:

    CSCsy17858 Any manipulation of Tunnel-Type & Tunnel-Client-Endpoint uploading incorrect

    ACS 5.0 has a rollup with all the patches being accumulated approach

    My recommendation would be to download the patch 8 for ACS 5.0: 5.0.0.21.8

    Patch can be downloaded from CEC

    To install a patch set a repository on ACS (cumulative patches are larger than 32 MB, you can not use TFTP to it), copy the patch file in the repository, click ACS CLI:

    # acs patch installs repository

  • Why need Session timeout with the public user for public portal?

    Hi all

    I use WebCenter Portal 11.1.1.8 and I found that with the user public space WebCenter show still expire page and redirect them to the login page. I did not understand why Oracle do? If Oracle cannot remove the public user session timeout, but they must not give this event for public user. The end user, they don't care in this respect, it just feel discomfortable.

    I really want a solution for this problem of Oracle. If the session is out of time, they only auto refresh page when the user doing anything on the new page (exp: moving the mouse, the key... event event) and the user will never know on this subject.

    You have an idea about this?

    Thank you!

    Hello.

    The patch allows just to use in file configuration web.xml depending the context-param:

    
         oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_TIMEOUT
         0
    
    

    This feature is STANDARD in newer versions.

    He added the Web.XML WebCenter Portal (spaces).

    I recommend that you add by using the project of PortalExtension instead of change manyally web.xml because when you apply patches manually changes in the web.xml file are lost.

    Managing file web.xml in the WebCenter Portal (previously the WebCenter spaces) | VASSIT | UK

    Kind regards.

  • Error handling/Session Timeout with APEX & Ajax / Javascript

    In our project, we have the problem, what a session timeout can occur when the user stays on the same page and a jQuery/JavaScript/ajax process is used.

    If a request for action called in a popup ajax without an active session process the HTML for the login page is the user.

    How a management capable errors that no html will be displayed in the pop-up window?


    Further there are external JavaScript files which need to read the content of elements of the application.
    Is there an elegant/small/reusable way to get the value of the elements of the application?
    The & APP_ID. The syntax does not work in external JS files.

    Hi Oliver

    Personally, I think that if you get a timeout that the popup is closed and your parent page is redirected to the login page. By using a cheque as a reminder of the success/error during an AJAX call you inspect the xhr.responseText to work if you have received a timeout would be recommendation and if found close the context menu, and then assign him the login page window.location.

    However for AJAX calls not you will face a problem. In this case, you need a script in your login page that checks the window.opener and if so close the popup and sets the window.location opener to your login page. for example, I would like to add something like this to your header login page or login page model header.

      
    

    Note: only tested on FF. In addition, the javascript above is just a very basic example and will close all popup which displays the login page and reload the parent with the login page. It can lead to an undesirable feature for web pages open your app in a popup, since it will be automatically shut down and recharge the calling page that could frustrate people. In this case, you will need to add more conditional logic in the script to check the current window.opener.location to check if the URL is for your application and then perform the close and reload action.

    Of course, there are other ways to manage what is happening it is just an option I would like to Explorer.

    If you need to read the values of the elements of application not page elements in javascript, you need to add a script to your page footer that defines these example

    
    

    To get the value of an element of the application:

    apex.appItem('MY_APP_ITEM1');
    

    In the script above the request item values are secure prevent changes since they are accessible through the service such that they are defined as local variables to the breast. The only issue you will face access the value of an element of application which is been updated in session state by a process of AJAX. With the help of local values printed on the page rendered as it can get out of sync. If your item applciation values include line breaks or double quotes then you must escape them, if you need this support use a region of page PLSQL and escape the output after JSON script item values.

    In the example I use apex Namespace, some people may argue it's a bad habit, but for me, I like to keep everything apex linked together. He has pro of / jerks to the argument, if the decision is yours.

    Note: the reason to add the script to your footer must ensure that the values of point of application have been in session state, before they are issued.

    The previous post of VC is the right way to access the elements of the entry page and DOM values.

    See you soon
    Matt

  • User with DBA privilege can not display dba_indexes in pl/sql

    I have a user with the DBA privilege. The user can select any table in this role. However, when I create a cursor selection dba_indexes, Oracle complained that its unable to see this table. Any ideas?

    create or replace procedure
    AS
    exec_stmnt varchar2 (500);

    Cursor cur_all IS
    Select index_name dba_indexes;

    Start

    For cur_rec in cur_all loop
    dbms_output.put_line (cur_rec.index_name);
    End loop;


    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (SQLERRM);

    end;
    /
    See the err

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    6/5 PL/SQL: statement ignored
    6/28 PL/SQL: ORA-00942: table or view does not exist

    Hello

    DBA is a role.
    Roles do not count in the AUTHID DEFINE stored (including functions) procedures.
    Give the user the necessary privileges directly.

  • How to use Oracle 10g (LOGMINER) consistent with DBA privileges JKM

    Hi gurus,

    Transposition of the CDC, we are checking out JKM Oracle 10g coherent (LOGMINER).
    Only restriction is that we can have no privilege DBA granted to the user of the ODI.

    So far, I did the following

    JKM Oracle 10g compatible (LOGMINER) uesed with

    ASYNCHRONOUS_MODE = NO
    AUTO_CONFIG = NO
    JOURNAL_TABLE_OPTIONS: USERS


    1 source schema: test
    2. There are 2 tables (DEPT_CDC_SRC and EMP_CDC_SRC) in the schema of the TRIAL, the two were added to the process of the CDC
    3 schema work: cdc

    4. from SYS schema the following grants were given to ODI work shema user.

    Grant connect, the cdc resources
    GRANT SELECT ANY TABLE OF CDC
    Grant EXECUTE ON dbms_stats to cdc
    Grant execute on DBMS_CDC_PUBLISH at CDC
    Grant execute on DBMS_CDC_UTILITY to CDC
    Grant execute on DBMS_CDC_SUBSCRIBE at CDC
    Grant execute on DBMS_STREAMS_CDC_ADM to CDC
    Grant execute on DBMS_CDC_IPUBLISH to CDC
    Grant execute on DBMS_CDC_SYS_IPUBLISH to CDC
    Grant execute on DBMS_CDC_ISUBSCRIBE at CDC
    Grant execute on DBMS_CDC_DPUTIL to CDC
    Grant execute on DBMS_CDC_EXPDP to CDC
    Grant execute on DBMS_CDC_EXPVDP to CDC
    Grant execute on DBMS_CDC_IMPDP to CDC

    5. as a user SYSDBA has done the following:
    ====================================
    SHUTDOWN IMMEDIATE;
    BOOTABLE MEDIA;
    ALTER DATABASE ARCHIVELOG;
    ALTER DATABASE OPEN;
    ALTER SYSTEM ARCHIVE LOG START;
    ALTER SYSTEM SWITCH LOGFILE;
    ===================================

    6 start journal... it fails to create the stage newspaper.
    with the following error
    ORA-06512: at "SYS." DBMS_CDC_PUBLISH.

    7. for the goal conceded role DBA to CDC test and start the log it is successful

    8 revoked of CDC DBA and restart the log. It still fails to form newspaper market.
    with the same error i.e.
    ORA-06512: at "SYS." DBMS_CDC_PUBLISH.

    How to solve this problem without any DBA privilege to the scheme of ODI work?

    Kind regards
    Frédéric

    Published by: 804400 on November 24, 2010 02:39

    Hello

    http://www.DBA-Oracle.com/t_insifficient_privileges_create_view_grant.htm said

    You must have the privileges of the object that you made from tables

    Privileges required to create views

    To create a view, you must meet the following requirements:

    You must have been granted the CREATE VIEW (to create views in your schema) or CREATE ANY VIEW (to create a view of another user schema) system privilege, either explicitly, or by a role.

    You need to explicitly obtain the SELECT, INSERT, UPDATE, or DELETE privileges object on all underlying base objects in the view or system privileges SELECT ANY TABLE, INSERT a WHOLE TABLE, UPDATE ANY TABLE or DELETE ANY TABLE. You may not have gotten these privileges through roles.

    I hope this helps.

    Thank you
    Fati

  • Compilation of scrip in currently with DBA privilege

    Hi gurus,

    I am compiling two procedures with the aid of a user of the application in the database. These two procedures are in a valid state in production.
    I was in the test environment.
    The user of the application under test env is the same as in production withh all the privileges appropriate.

    In the script a single procedure, v$ sqltext, v$ session and v$ process are used and other DBA_USERS is used.
    I tried several times to the build script but error was like table or view does not exist.

    But same user was able to interview on these views.
    To solve the problem, I gave right to select on v_$ < < 3 > > the user application and then compiled and I managed.

    But my question is user has DBA privileges and capable of questioning over the views, but the procedure was not created?

    oramnts wrote:
    My problem happened that the block was dba_users, v$... s

    I mentioed I compiled all the procedures but these procedures have dba_ v$.

    Thank you & best regards

    When you grant the role table and grant the user role.

    This user can query... But on pl/sql, no find table.

    http://surachartopun.com/2008/09/ORA-00942-table-or-view-does-not-exist.html

    If you need pl/sql... for query v$ or tables + views in any case. YOU MUST GRANT DIRECTLY!

    Roles are not intended to be used by application developers, because the privileges to access the schema objects in the stored programming constructs must be granted directly.

  • None detected Fax (00:43 dry timeout) with M1319f MFP

    I use a LaserJet M1319f MFP.  I can receive faxes, for example of HP testing service.  However I have several "No fax detected" errors each week.  The duration is always 00:43 seconds.  The firmware is updated, none of these recent changes.  The MFP is autonomous, so I don't think that operating system is a problem.  (I'm running Vista, but I'm not connected).  I changed the slower speed setting.  No idea what could happen?

    Something to consider too is that there may be nothing wrong with your machine, if you have no problems receiving with the fax service or in sending faxes, there is a good chance the issue that you are experiencing is not a problem with your fax.

    Just as I explained you may have problems to send depending on your configuration, this applies also to people sending faxes for you. There is a possibility that their configuration is not optimal and their faxes are partially transmitted.

    I hope this helps!

  • Difference between Shell ESXi and active with SSH PuTTY?

    Hello

    We used to activate SSH and PuTTY to connect to 5.5 ESXi host.

    However, a consultant suggested allow ESXi Shell and access it via DCUI.

    Would just like to ask you what is the difference between these 2 methods of access?

    Thank you

    Accusing Shell of ESXi is available by using two different ways.

    (1) local access to the shell of ESXi is available turning and by using directly from DCUI (Alt + F1), safer, since it is connected locally

    (2) remove access to the shell of ESXi is available by activating SSH Shell and using the SSH Client such as PUTTY etc to access. Since it is remote access, security is a bit of a cause for concern.

    This is the reason, the suggestion to use locally DCUI is given.

  • NET8 timeout with ODBC gateway

    Local:
    Database: Oracle XE 11 GR 2
    ODBC Oracle 11g gateway
    Windows 7
    Customer Sybase SQL light 12

    Distance:
    Database: Sybase SQL Anywhere 10
    Windows Server 2008 R2
    ====================

    SQL:
    Select * from mytable@dblink:

    Error returned:
    ERROR on line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Cannot retrieve the text of the message NETWORK/NCR 65535
    ORA-02063: preceding 2 lines of dblink

    Files:
    ---------------
    initdlink.ora
    ---------------

    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = dblink
    #HS_FDS_TRACE_LEVEL = 255

    HS_LANGUAGE = AMERICAN_AMERICA. WE8ISO8859P1
    HS_NLS_NCHAR = UTF-8

    ----------------
    Listener.ora
    ----------------

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    )
    (SID_DESC =
    (SID_NAME = dblink)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\gtw)
    (PROGRAM = dg4odbc)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    )
    )

    DEFAULT_SERVICE_LISTENER = (XE)

    ------------------
    tnsnames.ora
    ------------------

    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    dblink =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = localhost)
    (PORT = 1521)
    )
    (CONNECT_DATA =
    (SID = dblink))
    (HS=OK))

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    ==========================
    (1) mounting similar works well under Linux, remote Sybase on Windows. But getting the below error when running on Windows 7.
    (2) similar editing of Windows7 to Windows 2008 R2 works very well when ODBC gateway on remote Windows 2008 Server.
    (3) ODBC connectivity has been verified as ok for a remote Sybase database on Windows 2008 server.
    (4) dblink tnsping checked ok.

    Problems started when you move the ODBC gateway to local system where the target Oracle database.

    Please notify.

    Added to initdblink.ora (no change in the results):

    HS_KEEP_REMOTE_COLUMN_SIZE = ALL
    HS_NLS_LENGTH_SEMANTICS = CHAR

    Published by: user601798 on December 4, 2012 11:59

    You are mixing of different OH in your earpiece. The entry door is located in C:\oraclexe\app\oracle\product\11.2.0\gtw, but the database and listener in: C:\oraclexe\app\oracle\product\11.2.0\server

    When you use DG4ODBC, you can use the gateway that is automatically installed in the database Home-> you will find also a HS directory and the executable dg4odbc. The other option is to use separate listeners for both facilities. For example, use the listener to Oracle database on port 1521 for database connections and 1522 for the gateway.

    If you really want to use a listener (who is not the preferred solution), then you must also specify the location of the file executable, similar to:

    (SID_DESC =
    (SID_NAME = dblink)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\gtw)
    (PROGRAM = C:\oraclexe\app\oracle\product\11.2.0\gtw\dg4odbc)
    )

    After you change the listener.ora file, please STOP and STAT the listener using lsnrctl utility and provide its output. Also provide output of tnsping dblink.

    -Klaus

  • Why is a user with the DBA privilege necessary side SQL Server to migrate?

    Greetings

    Project to migrate a SQL database to Oracle using SQL Developer.

    The docs say that a user with DBA privileges is required in the SQL Server database when you run the migration of the side Oracle.

    Why?

    Why a user with only READ access to SQL Server data would be necessary?

    Thank you very much!!

    -gary

    The DBA privilege at the source database is required because SQL Dev Migration is also collect information from SQL Server system tables, which a normal user is not always possible to query. It is mandatory that the migration is trying to build an Oracle schema which corresponds as much as possible the source database.
    But this requires having become DBA in the foreign database to avoid permission problems. If you SQL Server admin does not want the DBA privilege, you can also do a Migration offline - here the ADMINISTRATOR must run the generated scripts offline in-> Migration-> 3rd capture in the database offline party

Maybe you are looking for

  • Virus/Malware removal

    I use Chrome and getting persistent pop - ups of type 'update of flash".  I think I have met in Safari as well, but have not been able to confirm that for the purpose of this post.  I frequently meet URLS include: CDN.freefarcy onlineupgrade.alwaysne

  • How can I automatically have mail be categorized in the subfolders contained in the incoming mail?

    How do I train incoming emails to automatically placed in certain subcategories of incoming mail created such as ads, work and family? In Outloook I create rules of message for some e-mails from certain senders.

  • Download Skype foutmelding

    Hallo, IK heb zopas Skype willen maar squeeze pages next foutmelding downloaden: users is not a valid user or group, this could be a problem with the package or a problem connecting to the domain controller from the network... IK heb wel setting puts

  • Cannot install software OfficeJet 6500 on Windows 7

    The printer has been on my home network to a XP installation.  My new Win 7 PC recognizes the printer and print to it, but I need to complete (including the centre of Solution) of scanning software, etc.  So I downloaded the software Win7 OJ6500vE709

  • My computer shuts down when not used how can I stop this?

    What should I do to keep my computer of shuttting down when it is not used for a while? Vista is what I have.