Hi Nick,

Yes sorry I did mean apache2ctl - there are no errors during restart.

However the /etc/apache2/sites-enabled contains no symlinks.

Apache does restart correctly as it brings up a 404 page.





On Aug 27, 1:06 pm, Nickolas Toursky <[email protected]> wrote:
> What error do you get during apachectl restart (BTW, apache2ctl is the
> correct utility name)?
>
> /etc/apache2/sites-enabled should contain symlinks to enabled virtual
> host configs under sites-available (if any).
>
> 2009/8/27 dessol <[email protected]>:
>
>
>
> > I have populate the scalr web interface with the contents of the vhost
> > file and removed the line in /etc/rc.local
>
> > Upon instance reboot  / rebundle it all works fine - however using
> > anything like apachectl restart brings my site down.  It isn't loading
> > up the vhost file or doesn't know about it.  There are no files in /
> > etc/apache2/sites-enabled - is this where scalr should be putting its
> > vhost info?
>
> > On Aug 27, 11:24 am, dessol <[email protected]> wrote:
> >> It worked for about 7 months without any problems............
>
> >> Now scalr is out of beta - will that mean more or less changes in
> >> things?
>
> >> On Aug 27, 10:30 am, Nickolas Toursky <[email protected]> wrote:
>
> >> > Hi,
>
> >> > /etc/apache2/sites-enabled directory is managed by Scalr for virtual
> >> > hosts (applications). You should manage Scalr virtual hosts instead of
> >> > editing files in this directory manually.
>
> >> > Nick
>
> >> > 2009/8/27 dessol <[email protected]>:
>
> >> > > Hi,
>
> >> > > Some sort of update must have broken a few things on one of my
> >> > > instances (I didn't run it!)
>
> >> > > and as a result there seems to be a problem with my apache config
> >> > > files constantly getting overwritten.
>
> >> > > On a ubuntu instance based upon the standard scalr one from early this
> >> > > year
> >> > > /etc/apache2/sites-enabled/mysite
>
> >> > > is constantly blank - it should be a symlink to /etc/apache2/sites-
> >> > > available/mysite
>
> >> > > I've tried adding the symlink again and sync my instance - no joy.
>
> >> > > I've even added a ln -s statement into /etc/rc.local
>
> >> > > This is causing many many problems for me  - it works fine when the
> >> > > instance is first started - but things like log rotate break it (at
> >> > > the most inconvenient  hours).
>
> >> > > Im unsure how apache even starts when there is no config file for my
> >> > > vhost.

--~--~---------~--~----~------------~-------~--~----~
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