Results 1 to 5 of 5

Thread: 12.04 (server) Problems with Apache2 not starting after reboot

  1. #1
    Join Date
    Jul 2009
    Location
    Shropshire England
    Beans
    218
    Distro
    Ubuntu 12.04 Precise Pangolin

    12.04 (server) Problems with Apache2 not starting after reboot

    SOLVED

    After I start apache2 I don't expect it to stop even after a reboot but it does

    Code:
    ~$ uname -a
    
    Linux freds-server 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux
    
    
    ~$ sudo chkconfig --list | grep apache
    
    apache2                   0:off  1:off  2:on   3:on   4:on   5:on   6:off
    
    :~$ who -r
             run-level 2  2012-07-02 06:02
    
    $ sudo service apache2 status
    Apache2 is NOT running.
    
    $ sudo service apache2 start
     * Starting web server apache2        [ OK ]
    what should i check to see the apache2 startup?
    Last edited by Neill_R; July 2nd, 2012 at 10:55 AM. Reason: SOLVED

  2. #2
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: 12.04 (server) Problems with Apache2 not starting after reboot

    Code:
    sudo update-rc.d apache2 defaults

  3. #3
    Join Date
    Jul 2009
    Location
    Shropshire England
    Beans
    218
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 (server) Problems with Apache2 not starting after reboot

    This worked

    sudo update-rc.d -f apache2 remove
    sudo update-rc.d apache2 defaults
    reboot

  4. #4
    Join Date
    Jul 2009
    Location
    Shropshire England
    Beans
    218
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 (server) Problems with Apache2 not starting after reboot

    Thank you SlugSlug

  5. #5
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: 12.04 (server) Problems with Apache2 not starting after reboot

    no prob

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •