Plesk administrator gets email notifications: run-parts: /etc/cron.daily/asl exited with return code 127

Follow

Comments

8 comments

  • Avatar
    LIcon (Edited )

    My system is emailing me the error, but appears to be running the current version. (I recently updated from Debian 8 to 9.x):

    root@servername /home/workingdir # apt-get install --only-upgrade aum
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    aum is already the newest version (5.0-0.6).
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
    libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-geoip : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-image-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    nginx : Depends: nginx-full (< 1.10.3-1+deb9u2.1~) but it is not going to be installed or
    nginx-light (< 1.10.3-1+deb9u2.1~) but it is not going to be installed or
    nginx-extras (< 1.10.3-1+deb9u2.1~) but it is not going to be installed
    Depends: nginx-full (>= 1.10.3-1+deb9u2) but it is not going to be installed or
    nginx-light (>= 1.10.3-1+deb9u2) but it is not going to be installed or
    nginx-extras (>= 1.10.3-1+deb9u2) but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

    root@servername/home/workingdir # apt --fix-broken install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    libasprintf0c2 libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libmail-dkim-perl libperl4-corelibs-perl libxapian22
    Use 'apt autoremove' to remove them.
    The following additional packages will be installed:
    nginx-common nginx-full
    Suggested packages:
    fcgiwrap nginx-doc
    The following NEW packages will be installed:
    nginx-common nginx-full
    0 upgraded, 2 newly installed, 0 to remove and 163 not upgraded.
    11 not fully installed or removed.
    Need to get 0 B/563 kB of archives.
    After this operation, 1,390 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Preconfiguring packages ...
    (Reading database ... 151786 files and directories currently installed.)
    Preparing to unpack .../nginx-common_1.10.3-1+deb9u2_all.deb ...
    Unpacking nginx-common (1.10.3-1+deb9u2) ...
    dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.10.3-1+deb9u2_all.deb (--unpack):
    trying to overwrite '/etc/default/nginx', which is also in package sw-nginx 1.14.2-debian8.0.19022720
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Preparing to unpack .../nginx-full_1.10.3-1+deb9u2_amd64.deb ...
    Unpacking nginx-full (1.10.3-1+deb9u2) ...
    dpkg: error processing archive /var/cache/apt/archives/nginx-full_1.10.3-1+deb9u2_amd64.deb (--unpack):
    trying to overwrite '/usr/sbin/nginx', which is also in package sw-nginx 1.14.2-debian8.0.19022720
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/nginx-common_1.10.3-1+deb9u2_all.deb
    /var/cache/apt/archives/nginx-full_1.10.3-1+deb9u2_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Avatar
    Alisa Kasyanova

    @LIcon
    Seems that some of the packages were not upgraded properly. Try doing the following (backup the nginx configuration /etc/nginx/plesk.conf.d/ files before that):
    1) Check nginx packages with "dpkg-query -l *nginx*" command;
    2) If there are some not-installed packages, purge them with this (along with nginx):
    # dpkg --purge nginx libnginx-mod-http-geoip libnginx-mod-http-image-filter .....
    3) Install missing Plesk packages with "plesk installer update";
    4) Reinstall nginx completely:
    # plesk installer --select-release-current --remove-component nginx
    # plesk installer --select-release-current --install-component nginx
    It should resolve the dependency issues.

  • Avatar
    LIcon (Edited )

    I don't think that worked. I got a bunch of errors:

     

    root@servername /home/workingdir # dpkg --purge nginx libnginx-mod-http-geoip libnginx-mod-http-image-filter
    (Reading database ... 151785 files and directories currently installed.)
    Removing nginx (1.10.3-1+deb9u2) ...
    Removing libnginx-mod-http-geoip (1.10.3-1+deb9u2) ...
    Purging configuration files for libnginx-mod-http-geoip (1.10.3-1+deb9u2) ...
    Removing libnginx-mod-http-image-filter (1.10.3-1+deb9u2) ...
    Purging configuration files for libnginx-mod-http-image-filter (1.10.3-1+deb9u2) ...

    root@servername /home/workingdir # plesk installer update
    Unable to create compatibility symlink in /tmp for : /var/log/plesk/install/autoinstaller3.log

    ...

    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
    libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed

    Not all packages were installed.
    Please contact product technical support.
    exit status 1

  • Avatar
    Alisa Kasyanova

    @LIcon
    Please note that in step 2 it was needed to specify all broken nginx-related packages. From the output I can see that there are these packages as well:

    libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed
    libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed

    Purge them as well and proceed with other steps.

  • Avatar
    LIcon

    Hi,

    After completing those steps, all of my sites are now offline. There seems to be something wrong with Apache now.

    In [ https://server.tld:8443/smb/web/view ] I'm seeing this error:

    New configuration files for the Apache web server were not created due to the errors in configuration templates: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_fcgi.load: Cannot load /usr/lib/apache2/modules/mod_proxy_fcgi.so into server: /usr/lib/apache2/modules/mod_proxy_fcgi.so: undefined symbol: ap_proxy_check_connection . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter

  • Avatar
    LIcon

    I also got this error email:

    Unable to generate the web server configuration file on the host <server.tld> because of the following errors:

    Template_Exception: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_fcgi.load: Cannot load /usr/lib/apache2/modules/mod_proxy_fcgi.so into server: /usr/lib/apache2/modules/mod_proxy_fcgi.so: undefined symbol: ap_proxy_check_connection

    file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
    line: 75
    code: 0

    Please resolve the errors in web server configuration templates and generate the file again.

  • Avatar
    LIcon

    When I click "Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files." in the Plesk control panel, I get "Warning: Permission denied."

  • Avatar
    Alisa Kasyanova

    @LIcon
    I don't see any errors during the installation, however, there is a misconfiguration of Apache. Please check this article:
    https://support.plesk.com/hc/en-us/articles/360003474193-Unable-to-start-Apache-after-dist-upgrade-on-Plesk-server-usr-lib-apache2-modules-mod-proxy-http-so-undefined-symbol
    Please also note that it is better to submit a request to our support as per https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support- in case of such emergencies, the issue would be resolved faster. And such troubleshooting is more efficient in the scope of the ticket as well.

Please sign in to leave a comment.

Have more questions? Submit a request