• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Update plesk onyx

Tjerk Visser

New Pleskian
HI There,
I am new on this forum. I am renting a dedicated server With Plesk from Strato. I upgraded plesk 12.5 tp Onyx.
All went well. But now several updates are being refused and produce this error.

Bijwerken is mislukt.
  • 2016-12-09 11:09:10 INFO: pum is called with arguments: ['--update', '--json', '--', 'ghostscript', 'init-system-helpers', 'libgs9', 'libgs9-common', 'libgudev-1.0-0', 'libpam-systemd', 'libsystemd-daemon0', 'libsystemd-login0', 'libudev1', 'linux-libc-dev', 'python3-distupgrade', 'systemd-services', 'tzdata', 'tzdata-java', 'ubuntu-release-upgrader-core', 'udev']
  • 2016-12-09 11:09:14 INFO: updating packages: libsystemd-login0 systemd-services libsystemd-daemon0 libgudev-1.0-0 libgs9-common tzdata-java libpam-systemd udev libudev1 python3-distupgrade libgs9 init-system-helpers tzdata ubuntu-release-upgrader-core linux-libc-dev ghostscript
  • Current default time zone: 'Europe/Amsterdam'
  • Local time is now: Fri Dec 9 11:09:27 CET 2016.
  • Universal Time is now: Fri Dec 9 10:09:27 UTC 2016.
  • Run 'dpkg-reconfigure tzdata' if you wish to change it.
  • * Starting domain name service... bind9
  • ...fail!
  • invoke-rc.d: initscript bind9, action "start" failed.
  • dpkg: error processing package bind9 (--configure):
  • subprocess installed post-installation script returned error exit status 1
  • pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating.
  • pam-auth-update: Run pam-auth-update --force to override.
  • Errors were encountered while processing:
  • bind9
  • Error in function:
  • SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
  • 2016-12-09 11:09:41 ERROR: installArchives() failed
  • 2016-12-09 11:09:41 ERROR: Exited with returncode 1.
Pagina opnieuw laden

I am no linux specialist. So if anyone could help me out with this error i would be very gratefull

Regards
Tjerk Visser
 
Hi Tjerk Visser,

pls. log in to your server over ssh ( as user "root" ) and use the following commands:
Code:
apt-get install -f bind9
If, for what ever reason, your issue isn't solved afterwards, pls. consider to provide informations from your log "/var/log/syslog" and pls. make sure, that the port 53 is opened in your firewall and no other service is using this port already ( hint: Pls. use "netstat -tulpn | grep :53", to check your port - usage ). Consider as well to check, that "apparmor" or/and "SELinux" don't interfere during your installation and IF they do, you will find an article in the Plesk Knowledge - Base, how to ( temporary or constantly ) disable "apparmor". A temporary solution to disable SELinux is:
Code:
setenforce 0


 
HI there,
Thx for your reply.
I did try to install bind9 in console. it failed
I stopped apparmor an did a teardown

After this the bind9 was installed as jou can see in log from putty beneath:

To set a process to complain mode, use the command line tool
'aa-complain'. To really tear down all profiles, run the init script
with the 'teardown' option."
root@h2520107:~# /etc/init.d/apparmor teardown
* Unloading AppArmor profiles
...done.
root@**********:~# apt-get install -f bind9
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De status informatie wordt gelezen... Klaar
bind9 is al de nieuwste versie.
0 pakketten opgewaardeerd, 0 pakketten nieuw geïnstalleerd, 0 te verwijderen en 3 niet opgewaardeerd.
1 pakketten niet volledig geïnstalleerd of verwijderd.
Door deze operatie zal er 0 B extra schijfruimte gebruikt worden.
Wilt u doorgaan? [J/n] J
Instellen van bind9 (1:9.9.5.dfsg-3ubuntu0.10) ...
* Starting domain name service... bind9
...done.
root@*********:~# /etc/init.d/apparmor start
* Starting AppArmor profiles
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
...done.
root@**********:~#

So now i will wait if the remaining apps will install overnight automatically. If i still have problems i will contact again.

Thank you!
 
Back
Top