Make server stop accepting connections for some condition

I have a server accepting connections from clients. We don't know in advance how many clients to accept so the server just keeps accepting connections in an infinite loop:
for( int i = 0; ; ++i)
  server.accept();What needs to happen is some condition has occurred and the server should stop accepting connections. i.e.
for( int i = 0; stop_accepting_connections == false; ++i)
  server.accept();
System.out.println( "No longer accepting connection.");Essentially some external event (actually the first accepted client thread) will set stop_accepting_connections to true and break the loop.
Problem is even when I break out of the loop clients are still accepted. I'm thinking this is caused by server.accept() being a blocking call and even though we've jumped out of the loop the last server.accept() call is still blocking and listening for a single client. I've tried 2 clients connecting when we've broken out of the loop and only the 1st one is accepted, the second just waits.
1. Is there any way to really stop listening when the condition is set (i.e. how to kill the last blocking accept())? I don't want 1 last trailing client.
2. For the rejected clients, how do I stop it from just waiting i.e. print some error msg and let it end?

Problem is even when I break out of the loop clients are still accepted. I'm thinking this is caused by server.accept() being a blocking call and even though we've jumped out of the loop the last server.accept() call is still blocking and listening for a single client.No, it's caused by the TCP 'backlog' queue, which pre-accepts connections even before you call accept().
1. Is there any way to really stop listening when the condition is set (i.e. how to kill the last blocking accept())?Close the ServerSocket. The thread blocked in accept() will get a SocketException: socket closed, which you should trap and proceed acordingly on. At this point you probably just want to exit the accept() thread.
2. For the rejected clients, how do I stop it from just waiting i.e. print some error msg and let it end?See above. Any clients which are in the backlog queue will get some kind of SocketException or IOException, probably 'connection reset'.

Similar Messages

  • Flash media server stops accepting connection.

    We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.
    Port number 1935 and 1111 of the particular system where FMS has placed are working fine.
    Does anybody have any idea why we are facing this problem?

    That's a pretty old version, have you thought of upgrading?
    There are a few reasons this could be happening. You could be reaching the limit for connections or bandwidth.
    There could be a problem in your server side coding that is stalling the app.
    There could be a problem with the service itself and it's maxing out on memory or CPU. I don't know why you are getting a white screen for anything, the management console has never been white for me and I suspect that it's more of a local computer problem unless it's the same computer you are running the service on..
    Any more information on the license, server hardware or environment?

  • ICloud isn't connecting to the server to accept the terms and conditions

    iCloud isn't connecting to the server to accept the terms and conditions. When I hit the button to see the terms and conditions, it says it can't connect with the server. Does that mean I need to connect the phone to the computer to accept it or how can I change it.

    Try the following steps :
    1. Keep the review file closed and remove the review enty from the Tracker. For this "Go to View->Tracker. Choose the review file under the Review->Joined node and from right click options choose 'Remove review from Tracker'."
    Note: Do not remove the reviews which you had initiated i.e. those under Sent node. Otherwise, the review will be removed from the server also.
    Alternatively, you can delete the Collab and Synchronizer folder from the following location(applicable for initiator also):
    For mac :
         /users/+username+/Library/Application Support/Adobe/Acrobat/+version+/
    For win:
           %AppData%\Adobe\Acrobat\+version+\Collab
    2. Re-open the review file again and now click on "check for new comments".
    Hope, this will resolve your issue.

  • FMS 3.0 stops accepting connections after 1-3 days, restart required

    Hi,
    We have a custom application that is running on FMS. Server is dedicated  just for fms, there is only one application running on the server, with  more instances, average traffic is 3-15 simultaneous users. The problem  is, server suddenly stops accepting connections (after 1-3 days from  restart), from this point it is impossible to connect to any instance,  and fms server must be restarted. When the server crashes, the admin  console can see all open instances, can close instances, can restart  fms. There is nothing logged, that would explain this sudden failure.
    Second problem is, cores are connected and disconnected too often,  causing client to reconnect (takes 2-5 seconds).
    Do you have any idea what is causing these problems?
    Hardware: 4 x quadcore Intel(R) Xeon(R) CPU E7440 @ 2.40GHz, 32 GB ram
    OS: CentOS release 5.3 (Final), kernel: 2.6.18-128.4.1.el5
    cpu and mem usage: 1-5% max
    FMS:
    version: Adobe Flash Media Server 3.0.1 r123
    license: valid, unlimited
    configuration: default, changed in Application.xml:
        <AutoCloseIdleClients enable="true">
    - just communication throught objects, strings, int, shared objects
    - no streaming used
    - Mbits in/out: 50/350 (48 hours from restart)
    - Msgs in/out/drop: 4.000.000/21.000.000/0 (48 hours from restart)
    - no problems with connection, no lags
    LOGS:
    admin.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:30    4816    (i)2581242    Core (8684) disconnected :  _defaultRoot_:_defaultVHost_:::_1.    -
    2009-10-07    00:03:31    4816    (i)2581241    Connection to admin received.    -
    2009-10-07    00:03:31    4816    (i)2581243    Connection from core 10772 received.    -
    2009-10-07    00:03:31    4816    (i)2581244    Connection from core 10772 accepted.    -
    ... repeating (10 minutes - 1 hour period)
    master.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:31    24962    (i)2581223    Core (8684) is no longer active.    -
    2009-10-07    00:03:31    24962    (w)2581256    Core (8684)  _defaultRoot_:_defaultVHost_:::_1 experienced 1 failure[s]!    -
    2009-10-07    00:03:31    24962    (i)2581221    Core (10772) started, arguments :  -adaptor "_defaultRoot_" -vhost "_defaultVHost_" -app  -inst  -tag "_1"  -conf "./conf/Server.xml" -name "_defaultRoot_:_defaultVHost_:::_1".    -
    ... repeating (10 minutes - 1 hour period)
    edge.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:08    24982    (w)2641213    Connection rejected by server.  Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) :  Application (doodletoostats) is not defined.    -
    2009-10-07    00:03:30    24982    (i)2581250    Edge disconnected from core (8684).    -
    2009-10-07    00:03:31    24982    (i)2581252    Registering core (10772).    -
    ... repeating (1 - 3 hours period)
    core.log
    #Fields: date    time    x-pid    x-status    x-ctx    x-comment
    2009-10-07    00:03:31    10772    (i)2581237    Starting admin app on core (10772).    -
    2009-10-07    00:03:31    10772    (i)2581238    Core (10772) connecting to admin.    -
    2009-10-07    00:03:31    10772    (i)2581231    Core (10772) connected to admin.    -
    2009-10-07    00:03:31    10772    (i)2581234    Core (10772) connection to admin  accepted.    -
    2009-10-07    00:03:31    10772    (i)2581246    Core (10772) sending register cmd  to edge.    -
    2009-10-07    00:54:22    11329    (i)2581247    Core (11329) disconnected from edge.    -
    2009-10-07    00:54:22    11329    (i)2581233    Core (11329) disconnecting from  admin.    -
    ... repeating

    We have seen similar issues and the best work around is to have your clients connect on alternate cores/servers. The way to accomplish this really depends on your type of application.

  • How to stop the process for some time

    I want to stop the process for some time can any one give the package or keyword or example for the same
    For suppose two programs A and B.. .B will run based on output of A. What i need is... When A is executed the process will stop for 5mins then B has to execute...

    You can use signals with DBMS_ALERT to "wake up" a procedure.
    Procedure A is something like this:
    DBMS_ALERT.REGISTER('B_FINISHED');
    do logic...
    when finished - send a signal
    DBMS_ALERT.SIGNAL('A_FINISHED','B you can start');
    now wait until B is finished
    DBMS_ALERT.WAITANY(...)
    continue logic hereAnd Procedure B is
    DBMS_ALERT.REGISTER('A_FINISHED');
    wait for a to finish
    DBMS_ALERT.WAITANY(...);
    do logic...
    when finished, signal A it can continue
    DBMS_ALERT.SIGNAL('B_FINISHED','A can continue');This is useful if u they need to wait for each other within the code. if they just need to wait - call B from A.
    Hope this helps.
    Edited by: Pyrocks on Nov 8, 2010 8:50 AM

  • Condition recordscoz for some condition type4s

    hi all,
    how can we maintain condition records for some condition types,For eg...
    MWST
    SKTO
    FRA1
    ZA01
    RA01
    HB01
    RB00..etc..apart from MEK1..coz for some condition types this t.code dose`nt work
    Edited by: MANI ROOPA SD/MM on Feb 28, 2008 12:06 PM

    Hi,
    The condition types you have mentioned are supplimentary conditon types and they afre dependent on the main conditons ( Like PB00 ), so they don not have any access sequence.
    Regards
    Reward Points if useful

  • Issue regarding condition pricing date as system date for some condition types in sales order

    Hi
    I have already created a sales order on 30.04.2014. Today I am adding new line item to sales order in VA02 transaction. in this order new line items condition pricing date for conditions JEX2,JECX should show as 12.06.2014. But currently it is showing as 30.04.2014. I need condition pricing date as system date for above conditions.
    Regards
    prashant

    Hi
    When I am changing pricing date VBKD-PRSDT in sales order header . It is changing the condition pricing date for all. Sales order is created on 04.06.2014. I have added line item 150 on 14.06.2014.
    After adding line item 150 , there I have changed the pricing date as 14.06.2014. in sales A tab of item 150. But still it is taking from Sales order header date as 04.06.2014 for all conditions. But my requirement is for line item it should take as system date for some conditions like JEX2,JECX& JA1Y but for other conditions it will take as Order creation date. Please suggest. I have also attached screen shot below. please go through it.
    Regards
    PK
    Sales order header change mode VA02
    Here pricing date VBKD-PRSDT = 04.06.2016
    Item change mode
    I have added new line item 150 on 14.06.2014
    Changed the condition pricing date to 14.06.2014 & saved
    After saving I have gone to Va02 screen of line item 150
    & there I have gone to condition pricing date field from item condition tab
    for JEX2 condition type but still here condition pricing date is showing as
    04.06.2014 as below.
    Condition pricing date
    My requirement is like this
    For some particular conditions like JEX2  condition pricing date will take as system
    date instead sales order creation date when I will add a new item 150 on
    14.06.2014.but for other conditions it will show as order creation date for the
    same line item 150 .

  • I have a macbook pro. The wireless is always conected but it keeps stopping uring browsing for some minutes. However i am using teh same wireless on my iphone and it wok normaly without any stop or cut. Any help please?

    I have a macbook pro. The wireless is always conected but it keeps stopping uring browsing for some minutes. However i am using teh same wireless on my iphone and it wok normaly without any stop or cut. Any help please?

    I'm having the same issue. Different programs though, it's mostly browsers and adobe products. I thought maybe it was heat related but it's not. It seems that as soon as Lion was about to be released, the updates were updating in preparation for Lion. I delayed updating the software updates because Adobe (my career) isn't totally compatible with Lion yet. Before I even started getting update notifications, though, within the recent week, it's freezing up constantly. I don't know what to do. It seems to be happening with my brower choice, I'm using Firefox and Chrome as my main browsers. I keep alot of sessions open but that shouldn't cause (and has never caused) this constant freezing issue. I did install some extensions in Chrome and Firefox, maybe that's the problem... The issues began after those were installed though, 3 weeks to a month later... Maybe the software updates (that I installed thinking it would correct the freezing issue), maybe they are preventing other browsers ? Maybe Apple is getting rid of Chrome and Firefox ? I'm not having issues with Safari (yet) though I just opened it for the first time in 2 months... only because the macbook is freezing (and it's also rebooting while asleep, closing all of my projects and not saving them)...
    My Macbook Pro is the same year and the HDD is a year new. The manufacture recall had the video whatever replaced a few months ago.
    I've never had these kinds of problems with an Apple computer. I'm using Snow Leopard and I'm very attached to this laptop ! It's configured perfectly.
    Why oh why does it freeze constantly within the recent 1-2 weeks ?
    Someone please help us !

  • Stop the execution for Some seconds

    I want to stop the execution for some second , Basically
    i want some funtion which will wait for specified period .
    it should work like Inkey() in foxpro .
    I have tried timer , pause but that does not solve the problem
    Thank you
    Regards
    Farukh

    find the library d2kwutil.pll (probably in c:\orawin95\tools\devdem60\demo\forms) and copy it and d2kwut32.dll to your application directory. Attach the pll to your form; now you can "interface" with windows. So for pausing you application use this in you form:
    win_api_utility.sleep(1000);
    the parameter takes milliseconds. so in the example it's 1000 milliseconds or 1 second.
    good luck!
    Tim

  • Can Java make server side socket connections?

    I plan on placing a java file (application or applet I don't know) on a website and have my application connect to the java file and tell it to connect to another host (outside of the website's domain) and send and receive data. Is this possible? If not why? If so, then should it be an applet or an application? Would I need to have it listen on a specific port or what?
    I read this (http://java.sun.com/sfaq/):
    "How can an applet open a network connection to a computer on the internet?
    Applets are not allowed to open network connections to any computer, except for the host that provided the .class files. This is either the host where the html page came from, or the host specified in the codebase parameter in the applet tag, with codebase taking precendence.
    For example, if you try to do this from an applet that did not originate from the machine foo.com, it will fail with a security exception:
    Socket s = new Socket("foo.com", 80, true);"
    - sun
    And it through me for a loop.

    Think about this:
    Any webpage may contain an applet.
    Imagine the security implications if an applet could do whatever the developer wanted (erase your hard-drive, read your data, run your programs) without your permission.
    Network connections are another example of the same thing.
    Imagine you visit a webpage and an applet pops up that uses your computer to make a connection to government websites in an attempt to hack them.
    Yikes.
    So basically what happens (by default) is an applet starts of with a reduced set of permissions to protect the end user.
    An application (by default) starts with more permissions you'd expect an application to have.
    This is all configurable by the person who will be running the Applet or application. If someone trusts you, they can set up their runtime to give your applet all permissions, or give it a particular set of permissions. Or you can sign the applet with a digital signature, and if the end user trusts the certificate, and trusts you they can give your applet permissions that way.
    Java Security, however, is not something that can be covered in one post on the forums.
    You should probably look for some online tutorials/documentation or get a good book.

  • How to make a region mandatory based on some conditions using CO Extension?

    Dear All,
    I want to make Attachments region in a seeded page mandatory, based on some conditions. I am able to make fields mandatory using CO Extension, but i am not able to make the attachments region mandatory. Please help.
    Thanks
    Raj

    Raj,
    I have not tried but check if you could get the rowcount which shows how many attachment are upload or not. Then by checking this throw exception if the rowcount is o.
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • How can we stop generating spools for some batch jobs?

    HI guys,
    Is memory will be occupied in SAP  during spool generation from batch jobs ?
    If yes, to reduce occupied memory, we want to stop generating spools for few batch jobs. Please suggest me the way how we can acheive this.(Step details)
    Please help me.
    Thanks in Advance.
    Regards,
    Sahil

    Stopping the spool generation for background jobs will not help you to reduce the memory load.
    First check what is the total memory utilization and type of processes where the memory is being utilized more.
    EWA can give you better idea to get the above details.
    Spooling concept doesn't eat that much of memory what you are expecting.
    Regards,
    Nick Loy

  • VPN Server in Snow Leopard Server not accepting connections

    I've got some issues with a new Snow Leopard Server, running on a Mac mini Server, and VPN.
    I have a Linksys WRT310N performing router duties. I have enabled the VPN Passthrough in the router's configuration pages (IPSec, PPTP and L2TP all Enabled). In the Applications and Gaming section, I have enabled ports 1723 (TCP and UDP) and 1701 (TCP and UDP) to go through to the mini Server. In order to have the VPN Passthrough enabled, I have to have the SPI Firewall enabled on the router.
    I have both PPTP and L2TP enabled on the Server. When I first tested it, everything worked.
    Within 24 hours, it stopped working, and I can't work out why.
    On the Server, I can see in the logs the following messages: (server name and IPs changed to protect the guilty)
    ---BEGIN vpnd.log---
    2009-11-03 20:03:32 EST Incoming call... Address given to client = 192.168.0.213
    Tue Nov 3 20:03:32 2009 : Directory Services Authentication plugin initialized
    Tue Nov 3 20:03:32 2009 : Directory Services Authorization plugin initialized
    Tue Nov 3 20:03:32 2009 : PPTP incoming call in progress from '123.456.789.123'...
    Tue Nov 3 20:03:33 2009 : PPTP connection established.
    Tue Nov 3 20:03:33 2009 : using link 0
    Tue Nov 3 20:03:33 2009 : Using interface ppp0
    Tue Nov 3 20:03:33 2009 : Connect: ppp0 <--> socket[34:17]
    Tue Nov 3 20:03:33 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:33 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:33 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:33 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:36 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:36 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:36 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:36 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:39 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:39 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:39 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:39 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:42 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:42 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:42 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:42 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:45 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:45 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:45 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:45 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:48 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:48 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:48 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:48 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:51 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:51 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:51 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:51 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:54 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:54 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:54 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:54 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:57 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:03:57 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:03:57 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:03:57 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:04:00 2009 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x38278225> <pcomp> <accomp>]
    Tue Nov 3 20:04:00 2009 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:04:00 2009 : lcp_reqci: returning CONFACK.
    Tue Nov 3 20:04:00 2009 : sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x4e96b584> <pcomp> <accomp>]
    Tue Nov 3 20:04:03 2009 : LCP: timeout sending Config-Requests
    Tue Nov 3 20:04:03 2009 : Connection terminated.
    Tue Nov 3 20:04:03 2009 : PPTP disconnecting...
    Tue Nov 3 20:04:03 2009 : PPTP disconnected
    2009-11-03 20:04:03 EST --> Client with address = 192.168.0.213 has hungup
    ---END vpnd.log---
    On the client I'm seeing this in the logs
    --- BEGIN ---
    3/11/09 8:03:32 PM pppd[12074] pppd 2.4.2 (Apple version 314.0.2) started by root, uid 502
    3/11/09 8:03:32 PM pppd[12074] PPTP connecting to server 'server.example.com' (10.0.1.1)...
    3/11/09 8:03:33 PM pppd[12074] PPTP connection established.
    3/11/09 8:03:33 PM pppd[12074] Connect: ppp0 <--> socket[34:17]
    3/11/09 8:04:03 PM pppd[12074] LCP: timeout sending Config-Requests
    3/11/09 8:04:03 PM pppd[12074] Connection terminated.
    3/11/09 8:04:03 PM pppd[12074] PPTP disconnecting...
    3/11/09 8:04:03 PM pppd[12074] PPTP disconnected
    3/11/09 8:04:03 PM pppd[12074] PPTP disconnected
    3/11/09 8:04:03 PM pppd[12074] PPTP disconnected
    --- END ---
    Any ideas?

    Well, this didn't last long. The VPN is already down. Cannot connect to it again.Very Frustrating.
    I know the actual server is receiving the requests (Server Log):
    Jan 7 10:26:33 SnowServer racoon[118]: Connecting.
    Jan 7 10:26:33 SnowServer racoon[118]: IKE Packet: receive success. (Responder, Main-Mode message 1).
    Jan 7 10:26:33 SnowServer racoon[118]: IKE Packet: transmit success. (Responder, Main-Mode message 2).
    Jan 7 10:26:33 SnowServer racoon[118]: IKE Packet: receive success. (Responder, Main-Mode message 3).
    Jan 7 10:26:33 SnowServer racoon[118]: IKE Packet: transmit success. (Responder, Main-Mode message 4).
    Jan 7 10:26:36 SnowServer racoon[118]: IKE Packet: transmit success. (Phase1 Retransmit).
    Jan 7 10:26:55: --- last message repeated 6 times ---
    Jan 7 10:26:55 SnowServer servermgrd[67]: servermgr_jabber[W]: detailed service status not available until network configuration completed
    Jan 7 10:26:57 SnowServer racoon[118]: IKE Packet: transmit success. (Phase1 Retransmit).
    Jan 7 10:27:03: --- last message repeated 1 time ---
    Jan 7 10:27:03 SnowServer racoon[118]: IKEv1 Phase1: maximum retransmits. (Phase1 Maximum Retransmits).
    Jan 7 10:27:03 SnowServer racoon[118]: Disconnecting. (Connection tried to negotiate for, 30.655020 seconds).
    Jan 7 10:27:03 SnowServer racoon[118]: IKE Phase1 Failure-Rate Statistic. (Failure-Rate = 100.000).
    Jan 7 10:27:57 SnowServer racoon[118]: Connecting.
    Jan 7 10:27:57 SnowServer racoon[118]: IKE Packet: receive success. (Responder, Main-Mode message 1).
    Jan 7 10:27:57 SnowServer racoon[118]: IKE Packet: transmit success. (Responder, Main-Mode message 2).
    Jan 7 10:27:58 SnowServer racoon[118]: IKE Packet: receive success. (Responder, Main-Mode message 3).
    Jan 7 10:27:58 SnowServer racoon[118]: IKE Packet: transmit success. (Responder, Main-Mode message 4).
    Jan 7 10:28:01 SnowServer racoon[118]: IKE Packet: transmit success. (Phase1 Retransmit).
    Jan 7 10:28:28: --- last message repeated 8 times ---
    Jan 7 10:28:28 SnowServer racoon[118]: IKEv1 Phase1: maximum retransmits. (Phase1 Maximum Retransmits).
    Jan 7 10:28:28 SnowServer racoon[118]: Disconnecting. (Connection tried to negotiate for, 30.993122 seconds).
    Jan 7 10:28:28 SnowServer racoon[118]: IKE Phase1 Failure-Rate Statistic. (Failure-Rate = 100.000).
    But the VPN Server never gets the connection request (VPN Log):
    2010-01-07 10:12:13 EST Loading plugin /System/Library/Extensions/L2TP.ppp
    2010-01-07 10:12:13 EST Listening for connections...
    2010-01-07 10:12:13 EST Listening for connections...
    I have a call with Apple Support this afternoon. Hopefully it will be fruitful. If I get anywhere, I will post it. If anyone has any bright ideas, they would be greatly appreciated.
    Message was edited by: AeroJet

  • Server manager not connecting for Oracle 8i

    I am not able to connect to SVRMGR30 on Windows NT 4.0 ....ERROR 12560 - TNS error in Adaptor ...This is URGENT ...Can any1 help ?

    There is an 8.1.7.4 patchset for Windows.
    If you take a look at the Instant Client forum, there are some discussions on this where one of the Oracle product managers (Mr. Jue) has chimed in. At present, only connections to 8.1.7.4 and higher are supported. It is expected that the first 10g patchset will fix this bug and allow connections to 8.1.7.0 and above databases.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Question about index for some condition

    Hello expert,
    I have following condition in the where subclause, will you please tell if it will use index for transaction_log_fk ?
    pp.transaction_log_fk < p_transaction_log_fk
    Many Thanks,

    You'll have to check out the execution plan if you want to know if Oracle's Optimizer will use the index.
    It depends on the selectivity of your data, table statistics etc.
    If your query returns a lot of records then a FTS would be obvious, for example.
    Here's some more:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:9422487749968
    And you should read these links from the SQL and PL/SQL FAQ:
    SQL and PL/SQL FAQ
    Read the following threads from there:
    - When your query takes too long...
    - How to post a SQL statement tuning request
    They explain it all.
    Edited by: hoek on Jun 24, 2011 4:48 PM

Maybe you are looking for

  • TimesTen Crash by directly connection app

    Env: aix5300-06 64bit + tt704 + oracle 9208 sys.odbc.ini: [abm1] Driver=/home/tt/TimesTen/abm_inst1/lib/libtten.a DataStore=/data01/tt/ds/abm1 LogDir=/home/tt/ds DatabaseCharacterSet=ZHS16GBK ConnectionCharacterSet=ZHS16GBK PermSize=16000 TempSize=10

  • Populating column based on source value

    Hi, I have a following requirement : Source table has one column type (values can be- type1 or type2) target table has 2 columns - type1 and type2. If the source table has following values then the transformation should be like the following source t

  • Authorization issue with new hardware install

    I recently had a motherboard go bad. I replaced the MB and processor and installed the original HD which had survived the failure. After setting up the machine with its new hardware, I turned on Itunes. It asked for a password to authorize the comput

  • Can we re-name the stocks?

    can we either rename the stocks or just have them show their real names instead of the symbols? for exmaple, i would like to see nasdaq instead of ^IXIC, or S&P instead of ^GSPC is that possible?

  • Finder won't copy at 1000Mbps

    Hi, I guess this isn't a huge problem, but I'd sure like to figure out what's going on. I can't seem to copy files at 1000Mbps to and from my linux server using Finder. Finder is only giving me 100Mbps. If I just use the Terminal, I do get the full 1