Menu

Pb running Node runner on Windows 2K

Help
Alain
2004-08-24
2004-08-25
  • Alain

    Alain - 2004-08-24

    Hi all,

    I installed NR on W2K with Easyphp. Everything's gone perfect but the status shows me all the servers running, including the dummy server I created for test...

    Does somebody have an idea ?

    thank's a lot

    Alain

     
    • Brad Fears

      Brad Fears - 2004-08-24

      What does your debugging show?  Did you turn on debugging?

      --Brad Fears

       
      • Alain

        Alain - 2004-08-25

        Hi,

        I guess that, for enter indebug mode, I have to modify nr.inc :
        $debug = 1;            # Set to 1 for script output (see README)

        After this, I don't find any log file created.

         
        • Brad Fears

          Brad Fears - 2004-08-25

          Did you read the documentation?  It explains how debugging works and how to use it.

          --Brad Fears

           
          • Alain

            Alain - 2004-08-25

            I may be silly or tired but I didn't find anything about debugging in the readme file and I also didn't find documentation

             
            • Brad Fears

              Brad Fears - 2004-08-25

              It was in the INSTALL file.  You'll find that a lot of open source software is documented by simply including README and INSTALL files with the program files.

              Here is the relevant section (from INSTALL) on debugging:

              9. The 'node.start' script is intended to be executed as a cron job,
                 allowing for the customization of schedules.  Unfortunately,
                 there is no way to run a PHP script as a daemon, so this is the
                 best method I've found to get the job done.

                 # crontab -e

                 Insert a line similar to:
                 0,2,4,6...58 * * * * /path/to/nr/node.start >> /tmp/nrdebug.txt

                 And save the changes.  This will create a cron job that executes
                 every 2 minutes to query servers.  If you are not familiar with
                 the format of cron jobs, see the web interface, as it points to
                 a tutorial on setting up cron jobs.

                 The trailing ">> /tmp/nrdebug.txt" is only necessary if you need
                 to debug the output of the node.start script.  It does not harm
                 anything to add it, and output is only generated to the file if
                 the $debug option (nr.inc) is set to 1.

                 NOTE: You might need to change the first line of 'node.start' script
                       to reflect the location of PHP on your system.
                       (Default: /usr/local/bin/php)

               

Log in to post a comment.

Auth0 Logo