Coder Social home page Coder Social logo

Comments (2)

Nielk1 avatar Nielk1 commented on June 24, 2024

Note: An attempt was made for the server to auto-detect this state in the restart2 script which is run every 5 min to restart the server if it is offline and correct it. A special program syntest2 will attempt a SYN, SYN-ACK, ACK handshake with the server and if it fails, trigger a restart. Like the daily2 script, this fails to start the server in a functional state when run via CRON but works when executed by user. This script does however properly detect the server is in this inaccessible state in both cases.

from anet.

Nielk1 avatar Nielk1 commented on June 24, 2024

This is caused by the CRON not properly keeping shell variable scope. The scripts can be adjusted to work around this, but it is only an issue if using shell vars to work around automatic IP detection issues.

from anet.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.