I have checked the rndc path once again and it is correct
I edited log4php.xml and changed it to read
<root>
<level value="INFO" />
<appender_ref ref="default" />
</root>
at the bottom
I do not however get the log entries below in the system logs in Admin
CP. I still only get the error whose backtrace I put above.
Bert
On Feb 17, 2:03 am, "Igor V. Savchenko (DicsyDel)"
<[email protected]> wrote:
> If you're sure that path to RNDC configured properly, please open
> System Logs in Admin CP and find 2 log entries:
>
> 1. Execute rndc status
> 2. Result: %some_text%
>
> And provide it to this thread.
>
> P.S. Logging level INFO should be enabled in etc/log4php.xml
>
> Thanks,
> Igor
>
> On Feb 16, 11:36 pm, "Jasonjunkmail.misc"
>
> <[email protected]> wrote:
> > Running ubuntu by any chance?
>
> > -Jason
>
> > On Feb 16, 2010, at 12:59 PM, Bertand <[email protected]> wrote:
>
> > > Hi Nick,
>
> > > Thanks for the quick reply.
>
> > > SSH is configured properly, I tested it with the code attached below.
> > > I also have a succesful ssh auth from scalr host in my log files on
> > > the dns server.
> > > Creating a zone works fine once logged in
> > > It really does seem to hang on the rndcstatus() fucntion which should
> > > not be problem based on the output of rndc status attached below.
>
> > > Bert
>
> > > On Feb 16, 1:02 am, Nickolas Toursky <[email protected]> wrote:
> > >> Hi Bert,
>
> > >> If you look at the backtrace, you'll see Scalr cannot write zone data
> > >> to bind configuration.
>
> > >> This could happen due to numerous reasons: no connect to port 22,
> > >> wrong user password, wrong path to BIND config files or wrong
> > >> permissions. Please check you are able to do this by hands (ssh into
> > >> the server with user/pass configured, add zone definition to the
> > >> named.conf, create zone file, execute 'rndc reload').
>
> > >> Regards,
> > >> Nick
>
> > >> On 16 February 2010 10:06, Bertand <[email protected]> wrote:
>
> > >>> 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 athttp://groups.google.com/
> > >>> group/scalr-discuss?hl=en.
>
> > > --
> > > 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
> > > athttp://groups.google.com/group/scalr-discuss?hl=en
> > > .- Hide quoted text -
>
> > - Show quoted text -
--
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.