Plesk files are deleted, Apache cannot start

Created:

2016-11-16 13:22:01 UTC

Modified:

2017-08-16 16:00:03 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk files are deleted, Apache cannot start

Applicable to:

  • Plesk 11.x for Linux

Symptoms

  1. Critical Plesk files are deleted, Apache cannot start.

  2. The following entries is found in /var/log/yum.log :

    May 18 12:49:23 Updated: glibc-2.12-1.166.el6_7.7.x86_64
    May 18 12:49:37 Updated: glibc-common-2.12-1.166.el6_7.7.x86_64
    May 18 12:49:37 Updated: krb5-libs-1.10.3-42z1.el6_7.x86_64
    May 18 12:49:39 Updated: pam-1.1.1-20.el6_7.1.x86_64
    May 18 12:49:40 Updated: krb5-devel-1.10.3-42z1.el6_7.x86_64
    May 18 12:49:40 Updated: openssl-1.0.1e-42.el6_7.4.x86_64
    May 18 12:49:41 Updated: glibc-headers-2.12-1.166.el6_7.7.x86_64
    May 18 12:49:42 Updated: glibc-devel-2.12-1.166.el6_7.7.x86_64
    May 18 12:49:44 Updated: openssl-devel-1.0.1e-42.el6_7.4.x86_64
    May 18 12:49:44 Updated: pam-devel-1.1.1-20.el6_7.1.x86_64
    May 18 12:49:44 Updated: krb5-workstation-1.10.3-42z1.el6_7.x86_64
    May 18 12:49:46 Updated: glibc-2.12-1.166.el6_7.7.i686
    May 18 12:53:54 Erased: openssh-server
    May 18 13:01:39 Erased: psa-mimp
    May 18 13:01:40 Erased: psa-mnemo
    May 18 13:01:40 Erased: psa-passwd
    May 18 13:01:40 Erased: psa-turba
    May 18 13:01:41 Erased: psa-kronolith
    May 18 13:01:41 Erased: psa-ingo
    May 18 13:01:59 Erased: psa-imp
    May 18 13:02:05 Erased: psa-horde
    May 18 13:02:06 Erased: psa-updates
    May 18 13:02:06 Erased: psa
    May 18 13:02:06 Erased: psa-vhost
    May 18 13:02:11 Erased: pp-sitebuilder
    May 18 13:02:17 Erased: psa-health-monitor
    May 18 13:02:28 Erased: psa-watchdog
    May 18 13:02:31 Erased: plesk-l10n
    May 18 13:02:32 Erased: psa-migration-agents
    May 18 13:02:32 Erased: psa-migration-manager
    May 18 13:02:32 Erased: psa-backup-manager
    May 18 13:02:32 Erased: psa-libxml-proxy
    May 18 13:02:36 Erased: plesk-core
    May 18 13:02:36 Erased: openssh-clients
  3. CentOS system repository is disabled

    [root@plesk yum.repos.d]# grep enabled CentOS-Base.repo
    [root@plesk yum.repos.d]#
  4. Fedora Epel repository is enabled, but not accessible. The following errors appear during packages installation:

    http://mirrors.ucr.ac.cr/epel/6/x86_64/repodata/065033bef5abbdb32ee50c66f30224b8b17ed608cfbed10c6d25b08f9e5306e9-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    http://epel.mirror.freedomvoice.com/6/x86_64/repodata/065033bef5abbdb32ee50c66f30224b8b17ed608cfbed10c6d25b08f9e5306e9-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"

Cause

Repository misconfiguration caused Plesk packages removal during system packages update.

Resolution

  1. Enable system repository at /etc/yum.repos.d/CentOS-Base.repo :

    [base]
    name=CentOS-$releasever - Base
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
    enabled=1 <---------------------------------------------------------
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
    enabled=1 <---------------------------------------------------------
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
  2. Disable Fedora repository in the same location.

  3. Install the required Plesk packages using instructions from article .

Have more questions? Submit a request
Please sign in to leave a comment.