Menu

Installed, but no workie.

Help
2003-10-17
2013-03-22
  • Karsten Elliott

    Karsten Elliott - 2003-10-17

    Greetings.

    HW config: Slackware 9.1, MySQL 4.1.

    I installed Node Runner, according to INSTALL instructions, created the DB, copied the PHP/HTML files to /var/www/htdocs/node-runner ,and all the prerequisites. The issue i'm having now is accessing index.php.

    When I point my web browser at http://localhost/node-runner

    I get immediately forwarded to recent-failures.php. no login page at all. Any ideas?

     
    • Brad Fears

      Brad Fears - 2003-10-21

      It defaults to point to recent-failures as an index to the web interface.  If you are not logged in, you will be prompted to login, otherwise you will have all menu selections and access to the rest of the web interface.

      --Brad Fears

       
      • Nobody/Anonymous

        Sorry, I should have explained this better.

        I see the default to that page in my address box, but there is no login prompt at all. The browser is literally blank. White sheet. when I look at it, I think "gee i must have this installed correctly", but there must be something im missing

        root@daemon:/var/www/htdocs# ls -l

        drwxrwxr-x    8 501      501          4096 Oct  5 13:34 drupal-4.2.0
        drwxr-xr-x    3 root     root         4096 Sep 29 15:02 dvddb-0.6
        -rw-r--r--    1 root     root         1456 May  3  2001 index.html.end
        rwxrwxrwx    4 root     users        4096 Oct 17 12:48 node-runner
        root@daemon:/var/www/htdocs#

        the node.start script and the remainder of the files sit in /usr/local/etc:

        root@daemon:/usr/local/node-runner# ls -l
        total 112
        -rwxr-xr-x    1 root     root        19655 Oct 17 12:51 CHANGELOG
        -rwxr-xr-x    1 root     root        11755 Oct 17 12:51 INSTALL
        -rwxr-xr-x    1 root     root        18009 Oct 17 12:51 LICENSE
        -rwxr-xr-x    1 root     root         2477 Oct 17 12:51 README
        drwxr-xr-x    2 root     root         4096 Oct 17 12:51 etc
        drwxr-xr-x    3 root     root         4096 Oct 17 12:51 html
        -rwxr-xr-x    1 root     root        16609 Oct 17 13:18 node.start
        -rwxr-xr-x    1 root     root         2730 Oct 17 14:19 nr-mysql-setup.sql
        -rwxr-xr-x    1 root     root          357 Oct 17 12:51 update-nr-to-v0.2.sql
        -rwxr-xr-x    1 root     root          716 Oct 17 12:51 update-nr-to-v0.3.sql
        -rwxr-xr-x    1 root     root          622 Oct 17 12:51 update-nr-to-v0.4.2.sql
        -rwxr-xr-x    1 root     root          331 Oct 17 12:51 update-nr-to-v0.4.sql
        -rwxr-xr-x    1 root     root          972 Oct 17 12:51 update-nr-to-v0.5.0.sql
        -rwxr-xr-x    1 root     root          419 Oct 17 12:51 update-nr-to-v0.5.1.sql
        root@daemon:/usr/local/node-runner#

        This is the node.start file part i modified:

        #!/usr/bin/php -q
        <?
        require ("etc/nr.inc");
        if ($debug == 1) { $start_time = mktime(); }
        switch (strtolower($dbtype)) {
            case ("mysql"):
              require ("etc/mysql.inc");
              break;
            /* //not implemented yet
            case ("postgresql"):
              require ("etc/postgresql.inc");
              break;
            case ("oracle8"):
              require ("etc/oracle8.inc");
              break;
            case ("msql"):
              require ("etc/msql.inc");
              break;
            case ("mssql"):
              require ("etc/mssql.inc");
              break;
            */ //not implemented yet
        }

        This is the nr.incfile parts ive changed:

        (nr.inc)

        <?
        # Standard configuration file for Node Runner
        # Should be stored somewhere safe

        $nr_ver = "0.5.2";     # Node Runner version number
        $dbtype = "mysql";     # database type (Currently only supports MySQL)
        $dbhost = "daemon.metaphyzx.net"; # database host
        $db = "noderunner";              # database name
        $dbuser = "noderunner";          # database username
        $dbpass = "noderunner";          # database password
        $sender = "root";          # Email address to receive alerts from

         
    • Brad Fears

      Brad Fears - 2003-10-29

      Sorry I didn't respond sooner.  I'm supposed to be getting email notifications when someone posts to this forum, but obviously, that's not happening.

      Anyway, the problem you are having with the web interface is completely independent of the node.start script.  You can almost think of them as two separate applications connecting to the same database.

      Are you seeing any PHP errors when you try to bring up the web interface?  What version of PHP are you running?  Are you able to view the 'status-monitor.php' file in a browser?  That doesn't require any authorization...

      --Brad Fears

       
    • Nobody/Anonymous

      I am having the same problem, and I can't see the 'status-monitor.php' file in a browser any help ???

       
    • Nobody/Anonymous

      I have the same problem I am running Fedora Core 2 and the samething happens and I am unable to pull up the 'status-monitor.php' page.

      Please help !!!

       
    • the_gh0st

      the_gh0st - 2004-07-29

      Yeah it seems that the new versions of mysql / php are not working well. samething happening here.

       
      • Brad Fears

        Brad Fears - 2004-07-29

        PHP is working properly for other apps, though?  What version of php?  You might try setting the E_WARNING parameter in your php.ini to E_ALL so it displays something indicative of the problem.

        --Brad Fears

         
        • the_gh0st

          the_gh0st - 2004-07-30

          I am using php version 4.3.8 php works fine for all the other apps I am running. I will try setting the E_WARNING parameter to E_ALL

           
    • Nobody/Anonymous

      For those having trouble with blank php pages; also double check that you have 'php-mysql' installed.

      I just went through the headache trying to figure out what was wrong for a while, only to find that it wasn't installed like I thought.

      After installing it and restarting the httpd service it worked like a charm.

       

Log in to post a comment.

Auth0 Logo