Yep, I got bitten by this too. Thanks for the fix.
On Monday, August 13, 2012 9:07:31 PM UTC+10, Paul Rysevets wrote:
> I've modified.. ~3 files including core.js and it seems to be working.. with
>
> BIND in CONFIG-Class
>
>
>
> But.. if you create an EMPTY zones.include file...
>
> The PHP check for FALSEness does not work.
>
> In scalr/app/src/Scalr/Net/Dns/Bind/Transports/LocalFs.php
>
>
>
> So this
>
> -----
>
> $retval = @file_get_contents("{$this->zonesPath}/zones.include");
>
> if (!$retval)
>
> throw new Exception("Cannot load {$this->zonesPath}/zones.include file");
>
> .....
>
> -----
>
> Should be this
>
> -----
>
> $retval = @file_get_contents("{$this->zonesPath}/zones.include");
>
> if ($retval === false)
>
> throw new Exception("Cannot load {$this->zonesPath}/zones.include file");
>
> ....
>
> -----
>
>
>
> Ppl,.. I'm considering ... Fixing your bugs for Premium support of me Barter
>
> Program ;)
>
>
>
> --
>
> Best regards, Paul -Spawn- Rysevets
>
> SpAwN_gUy.aka.WAREZMasta
>
>
>
> -----Original Message-----
>
> From: [email protected] [mailto:[email protected]]
>
> On Behalf Of Igor Savchenko
>
> Sent: Thursday, August 09, 2012 19:09
>
> To: [email protected]
>
> Subject: Re: Installing scalr
>
>
>
> This is a long story, and basically we had no time to refactor this when
>
> we've released code to opensource. So not everything is in configs.
>
> In one of the future releases, of course this will be refactored.
>
>
>
> Regards,
>
> Igor
>
>
>
> On 9 August 2012 18:07, Paul Rysevets <[email protected]> wrote:
>
> > Question: why BIND-paths are hardcoded in php code? (in few places)
>
> >
>
> > Why are they not in CONFIG?
>
> >
>
> > Okay, I can deal with /usr/sbin/rndc binary.. but client_zones?
>
> >
>
> >
>
> >
>
> > If I move the setting(-s) to CONFIG.. will this somehow affect
>
> "satellites"?
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > From: [email protected]
>
> > [mailto:[email protected]]
>
> > On Behalf Of Sebastian Stadil
>
> > Sent: Wednesday, August 08, 2012 21:46
>
> >
>
> >
>
> > To: [email protected]
>
> > Subject: Re: Installing scalr
>
> >
>
> >
>
> >
>
> > Correct, you now have about the same install as we have at scalr.net.
>
> >
>
> > On Wed, Aug 8, 2012 at 7:43 AM, Paul Rysevets <[email protected]>
>
> wrote:
>
> >
>
> > Okay, i'm back.
>
> >
>
> >
>
> >
>
> > The setup is almost finished.. no bind and snmp daemon (which seems to
>
> > be needed, but not listed in Installation guide)
>
> >
>
> >
>
> >
>
> > i've been able to run manually all cron-jobs.. and got a question
>
> >
>
> > cron.php --RotateLogs
>
> >
>
> > shows only 1 log line.. and nothing happnes. i've waited for a few
>
> minutes.
>
> > and terminated it.
>
> >
>
> > Q: is it a "normal" behavior?
>
> >
>
> >
>
> >
>
> > and as i've been able to login to scalr dashboard...
>
> >
>
> > Have i just installed a multi-user scalr on my host??? Like, every
>
> > account that i create with "admin" is a "separate" Scalr account. Is that
>
> so?
>
> >
>
> > or i'm seeing "enter your AWS Credentials" just at first user's first
>
> > login, and later all users will be "sub-users" to 1 big AWS-Account.
>
> >
>
> >
>
> >
>
> > as a side-note: i now have nginx rewrite-rules for scalr ;) i'll show
>
> > them later
>
> >
>
> > --
>
> > 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.
>
>
>
> --
>
> 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.
--
You received this message because you are subscribed to the Google Groups
"scalr-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/scalr-discuss/-/rHpuCzPi7J8J.
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.