Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


vestacp installer keeps saying apache2 is installed..
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

vestacp installer keeps saying apache2 is installed..

akzakz Member

so I am trying to load vestacp on a ubuntu 12.04 64bit box and when I run the installer I keep getting the error that apache2 is installed. I can force the install however never ran into that error before is it a known issue with ubuntu and I should just force the install?

Comments

  • Remove apache2 first and then if try installing.

    apt-get remove apache2

    If removing it still wont work, just force it through.

  • larslars Member

    I had the same problem, but with installing it on Debian. Even after killing, removing, purging and deleting all apache2 related files I still had the same error. I ended up reinstalling my VPS with the minimal 64 bit version of Debian, luckily RamNode had that template.

    Maybe try restarting your VPS?

  • nerouxneroux Member

    Whats the exact error message? Have you contacted their support?

  • akzakz Member
    edited May 2014

    apache2 is removed tried running above command and the following from a post back on LET previously. I ran the remove code again and it shows that apache2 isnt installed on the system. Even tried rebooting as well after removing the packages.

    if bind installed remove:
    apt-get remove bind9 bind9* && apt-get remove --purge bind9

    if apache installed remove:
    apt-get remove apache2 apache2* && apt-get remove --purge apache2

    the error im getting is:

    --2014-05-29 23:06:11-- http://vestacp.com/pub/vst-install-ubuntu.sh
    Resolving vestacp.com (vestacp.com)... 50.22.60.3
    Connecting to vestacp.com (vestacp.com)|50.22.60.3|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 25654 (25K) [text/plain]
    Saving to: `vst-install-ubuntu.sh'

    >

    100%[======================================>] 25,654 --.-K/s >in 0.04s

    >

    2014-05-29 23:06:12 (657 KB/s) - `vst-install-ubuntu.sh' saved [25654/25654]

    >

    !! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

    Following packages are already installed:
    apache2

    >

    It is highly recommended to remove them before proceeding.
    If you want to force installation run this script with -f option:
    Example: bash vst-install-ubuntu.sh --force

    >

    !! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

  • FalzoFalzo Member

    have you tried to simply look which processes are running and maybe something like 'dpkg -l |grep apache' to see what packages might be installed though?

    at last you might try as vestacp-script suggests by forcing install via 'bash vst-install-ubuntu.sh --force'

    Thanked by 1gagah
  • nerouxneroux Member

    I wouldnt say it is an error. It simply found Apache already installed and seems to prefer its own version. Whether this is necessary is something which is best clarified with their support.

  • akzakz Member
    edited May 2014

    @Falzo said:
    have you tried to simply look which processes are running and maybe something like 'dpkg -l |grep apache' to see what packages might be installed though?

    at last you might try as vestacp-script suggests by forcing install via 'bash vst-install-ubuntu.sh --force'

    running that gets me the following:

    ~# dpkg -l |grep apache rc apache2-doc 2.2.22-1ubuntu1 Apache HTTP Server documentation rc apache2.2-common 2.2.22-1ubuntu1 Apache HTTP Server common files

    yeah i know that I can force it but would rather have a clean install.

  • cassacassa Member

    apt-get remove --purge apache2*

    Thanked by 2akz jp26jp
  • raindog308raindog308 Administrator, Veteran
    edited May 2014

    This is from the installer...looks like it simply check dpkg:

    # Check installed packages
    tmpfile=$(mktemp -p /tmp)
    dpkg --get-selections > $tmpfile
    for pkg in exim4 mysql-server apache2 nginx vesta; do
        if [ ! -z "$(grep $pkg $tmpfile)" ]; then
            conflicts="$pkg $conflicts"
        fi
    done
    rm -f $tmpfile
    if [ ! -z "$conflicts" ] && [ -z "$force" ]; then
        echo '!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!'
        echo
        echo 'Following packages are already installed:'
        echo "$conflicts"
        echo
        echo 'It is highly recommended to remove them before proceeding.'
        echo 'If you want to force installation run this script with -f option:'
        echo "Example: bash $0 --force"
        echo
        echo '!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!'
        echo
        exit 1
    fi
    

    lars said: I ended up reinstalling my VPS with the minimal 64 bit version

    Yep, the docs say:

    The Vesta Control panel can be installed on a RHEL, CentOS, Debian and Ubuntu server.     
    For a smooth installation you will need clean system "minimal install base".
    
    Thanked by 1akz
  • akzakz Member
    edited May 2014

    @cassa said:
    apt-get remove --purge apache2*

    ahh so it was the common files, as @raindog308 confirmed its checking dpkg which found them. After I purged apache2* the installer ran without issue. Thanks @cassa

  • cassacassa Member

    @akz said:
    ahh so it was the common files, as raindog308 confirmed its checking dpkg which found them. After I purged apache2* the installer ran without issue.

    No problem ::)

Sign In or Register to comment.