[GRLUG] apache and mysql run at startup

Christopher House chouse at gmail.com
Sun Sep 18 00:36:57 EDT 2011


On Sat, Sep 17, 2011 at 11:31 PM, Eric Beversluis <
ebever at researchintegration.org> wrote:

> (Running Ubuntu 11.04 with classic Gnome desktop.)
>
> I've installed Ubuntu versions of apache and mysql on 11.04. But they
> won't run at startup. I've tried re-installing a couple of times, but
> that didn't help.
>
> Stuff I've looked at seems to suggest that the Ubuntu installations are
> supposed to be set to run at startup.
>
> According to what I saw at help.ubuntu.com, there's also supposed to be,
> in the main menu, a "System->Administration->Services" item for
> congfiguring services, but it's missing from mine.
>
> The same page suggests two commands for enabling a service at boot, but
> neither works for me:
>
>   eric at x120e:~$ sudo sysv-rc-conf apache on
>   [sudo] password for eric:
>   sudo: sysv-rc-conf: command not found
>   eric at x120e:~$ update-rc.d apache defaults
>   update-rc.d: /etc/init.d/apache: file does not exist
>   eric at x120e:~$ update-rc.d apache2 defaults
>   System start/stop links for /etc/init.d/apache2 already exist.
>   Died at /usr/sbin/update-rc.d line 57.
>

sysv-rc-conf has to be installed via apt-get, but should help.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20110918/979f8974/attachment.html>


More information about the grlug mailing list