Hi All,

Working through the install of scalr. Everything works except that on
creation of a new farm/app the following error comes up

BIND is not running on 123.123.123.123

bind is most definetly running and answering queries
rndc status returns
version: 9.6.1-P2
CPUs found: 4
worker threads: 4
number of zones: 15
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

ssh connection was tested with the following code
<?php
if (!function_exists("ssh2_connect")) die("function ssh2_connect
doesn't exist");
// log in at server1.example.com on port 22
if(!($con = ssh2_connect("server1.example.com", 22))){
    echo "fail: unable to establish connection\n";
} else {
    // try to authenticate with username root, password secretpassword
    if(!ssh2_auth_password($con, "root", "secretpassword")) {
        echo "fail: unable to authenticate\n";
    } else {
        // allright, we're in!
        echo "okay: logged in...\n";

        // execute a command
        if(!($stream = ssh2_exec($con, "ls -al" )) ){
            echo "fail: unable to execute command\n";
        } else{
            // collect returning data from command
            stream_set_blocking( $stream, true );
            $data = "";
            while( $buf = fread($stream,4096) ){
                $data .= $buf;
            }
            fclose($stream);
        }
    }
}
?>

The error seems to be in the rdncstatus() fucntion.

Tehe backtrace is below. Any ideas?

Thanks,
Bert


    *  /var/scalr/app/src/class.LoggerAppenderScalr.php:182
      Debug::Backtrace()
    * /var/scalr/app/src/Lib/IO/Logging/log4php/src/main/php/
LoggerAppenderSkeleton.php:254
      LoggerAppenderScalr->append(Object(LoggerLoggingEvent))
    * /var/scalr/app/src/Lib/IO/Logging/log4php/src/main/php/
Logger.php:131
      LoggerAppenderSkeleton->doAppend(Object(LoggerLoggingEvent))
    * /var/scalr/app/src/Lib/IO/Logging/log4php/src/main/php/
Logger.php:135
      Logger->callAppenders(Object(LoggerLoggingEvent))
    * /var/scalr/app/src/Lib/IO/Logging/log4php/src/main/php/
Logger.php:217
      Logger->callAppenders(Object(LoggerLoggingEvent))
    * /var/scalr/app/src/Lib/IO/Logging/log4php/src/main/php/
Logger.php:169
      Logger->forcedLog("LoggerCategory", Null, Object(LoggerLevel),
"BIND is not running on 123.123.123.123")
    * /var/scalr/app/src/LibWebta/library/NET/API/BIND/
class.RemoteBIND.php:173
      Logger->error("BIND is not running on 209.20.94.250")
    * /var/scalr/app/src/LibWebta/library/NET/API/BIND/
class.RemoteBIND.php:132
      RemoteBIND->InitTransport()
    * /var/scalr/app/src/class.DNSZoneController.php:228
      RemoteBIND->__construct("123.123.123.123", "22", Array(3), "/usr/
sbin/rndc", "/etc/bind/named.conf.local", "/etc/bind", "zone
"{zone}" { type master; file "{db_filename}"; a...")
    * /var/scalr/app/www/sites_add.php:438
      DNSZoneControler->Update("4")

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to