• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Error installing Nginx Debian7

TarasS

Basic Pleskian
I'm getting error while trying to install Nginx on Debian version 7.8

Installing packages
Reading package lists...
Building dependency tree...
Reading state information...
php5-fpm is already the newest version.
psa-kav8:i386 is already the newest version.
The following packages were automatically installed and are no longer required:
librdbmspp platform-runtime sw-libboost-date-time1.49.0
sw-libboost-filesystem1.49.0 sw-libboost-regex1.49.0
sw-libboost-serialization1.49.0 sw-libboost-system1.49.0
sw-libboost-thread1.49.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
sw-nginx
0 upgraded, 1 newly installed, 0 to remove and 58 not upgraded.
1 not fully installed or removed.
Need to get 0 B/327 kB of archives.
After this operation, 813 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
sw-nginx
Authentication warning overridden.
Selecting previously unselected package sw-nginx.
(Reading database ... 123227 files and directories currently installed.)
Unpacking sw-nginx (from .../sw-nginx_1.6.0-1.14051516.debian70_amd64.deb) ...
Processing triggers for man-db ...
Setting up php5-fpm (5.4.39-0+deb7u2) ...
insserv: warning: script 'kavehost' missing LSB tags and overrides
insserv: There is a loop between service monit and kavehost if stopped
insserv: loop involving service kavehost at depth 2
insserv: loop involving service monit at depth 1
insserv: Stopping kavehost depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing php5-fpm (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up sw-nginx (1.6.0-1.14051516.debian70) ...
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'kavehost' missing LSB tags and overrides
insserv: There is a loop between service monit and kavehost if stopped
insserv: loop involving service kavehost at depth 2
insserv: loop involving service monit at depth 1
insserv: Stopping kavehost depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
Errors were encountered while processing:
php5-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Synchronizing the Debian APT package index files...

ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
I've solved this problem using commands:
# mv -fv /etc/init.d/monit /root/backup/
# update-rc.d -f monit remove
# apt-get remove monit
And then I was able to run Plesk installer normally
# ./parallels_installer
I've installed both Nginx + PHP-FPM normally.
 
Back
Top