• Регистрация

ISPmanager перестал работать с ошибкой Library libgcrypt linked to /lib/x86_64-linux-gnu/libgcrypt.so.20 conflicting with already loaded one

0 голосов
1,262 просмотров

Обновил Debian 7 с установленным ISPmanager 5 до Debian 8. Панелька отвалилась

В ispmgr.log только циклическая ошибка

Oct 5 15:12:15 [15046:1] err ERROR Error in src/ispapi/module.cpp:191 void* {anonymous}::ModulePrivate::CheckLibLinks(const string&). Library libgcrypt linked to /lib/x86_64-linux-gnu/libgcrypt.so.20 conflicting with already loaded one

При любых действиях с apt, вылазит список пакетов на удаление

The following packages were automatically installed and are no longer required:
  afterlogic-isp augeas-lenses augeas-tools awstats bind9 bind9utils comerr-dev coremanager-pkg-bind coremanager-pkg-mysql dbconfig-common ispmanager-pkg-awstats ispmanager-pkg-bind
  ispmanager-pkg-httpd-itk ispmanager-pkg-logrotate ispmanager-pkg-myadmin ispmanager-pkg-mysql ispmanager-pkg-php ispmanager-pkg-proftpd ispmanager-pkg-roundcube
  ispmanager-pkg-sieve latex-beamer libaio1 libapache2-mod-rpaf libaugeas0 libbind9-80 libblas3gf libc-client2007e libdbd-mysql-perl libdns88 libdrm-nouveau1a libexiv2-12
  libfile-copy-recursive-perl libgcrypt11-dev libgd2-xpm libgmp-dev libgmpxx4ldbl libgnutlsxx27 libgnutlsxx28 libgraphite3 libgssglue1 libgssrpc4 libhtml-template-perl libicu48
  libisc84 libisccc80 libisccfg82 libjs-jquery-ui libjs-sphinxdoc libjs-underscore libkadm5clnt-mit8 libkadm5clnt-mit9 libkadm5srv-mit8 libkdb5-6 liblcms1 liblwres80 libmagickcore5
  libmagickcore5-extra libmagickwand5 libmemcached11 libmemcachedutil2 libneon27-gnutls libnet-xwhois-perl libopenjpeg2 libp11-kit-dev libpango1.0-0 libperl-dev libpoppler19
  librtmp0 libsensors4 libsensors4-dev libsnmp-base libsystemd-login0 libtasn1-3-dev libtcl8.5 libterm-readkey-perl libwrap0-dev libxfont1 luatex mlock mysql-client-5.5 mysql-server
  mysql-server-5.5 mysql-server-core-5.5 nettle-dev openssh-blacklist openssh-blacklist-extra pgf php-auth php-auth-sasl php-gettext php-http-request php-log php-mail php-mail-mime
  php-mail-mimedecode php-mdb2 php-mdb2-driver-mysql php-net-dime php-net-smtp php-net-socket php-net-url php-soap php-tcpdf php5-imap php5-intl php5-pspell php5-sqlite phpmyadmin
  proftpd-basic python-central python-fpconst roundcube roundcube-core roundcube-mysql tcl8.5 texlive-luatex tinymce ttf-dejavu-core ttf-marvosym update-inetd wwwconfig-common
  xfonts-encodings xfonts-utils
Use 'apt-get autoremove' to remove them.

 

 

 

спросил 05 Окт, 15 от аноним

1 Ответ

0 голосов

Все верно. Возникла проблема совместимости библиотек и установленных пакетов ISPmanager.

Если грубо, то требуется их просто переустановить из репозитория jessie

не забыв поправить в файлах на корректные названия текущего дистрибутива

/etc/apt/sources.list.d/ispsystem-base.list

и

/etc/apt/sources.list.d/ispsystem.list

 

Так же в процессе переустановки пакета ispmanager-lite может возникнуть проблема с установкой пакета ispmanager-pkg-afterlogic, который привязан в зависимости к  ispmanager-lite

Setting up ispmanager-pkg-afterlogic (5.40.0-jessie1) ...
/usr/local/mgr5/sbin/pkg_configure_afterlogic.py:82: FutureWarning: This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to './Common'
  common = settings.find("/Common")
/usr/local/mgr5/sbin/pkg_configure_afterlogic.py:91: FutureWarning: This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to './WebMail'
  webmail = settings.find("/WebMail")
/usr/local/mgr5/sbin/pkg_configure_afterlogic.py:99: FutureWarning: This search is broken in 1.3 and earlier, and will be fixed in a future version.  If you rely on the current behaviour, change it to './Calendar'
  calendar = settings.find("/Calendar")
Running command [None, '/usr/local/mgr5/etc/scripts/afterlogic_create_tables']
Traceback (most recent call last):
  File "/usr/local/mgr5/sbin/pkg_configure_afterlogic.py", line 120, in <module>
    afterlogic_configure()
  File "/usr/local/mgr5/sbin/pkg_configure_afterlogic.py", line 108, in afterlogic_configure
    CmdRun([phpbin, CREATE_TABLES_SCRIPT])
  File "/usr/local/mgr5/lib/pkgpython/core_pkg_funcs.py", line 16, in CmdRun
    sp = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
AttributeError: 'NoneType' object has no attribute 'rfind'
dpkg: error processing package ispmanager-pkg-afterlogic (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ispmanager-lite:
 ispmanager-lite depends on ispmanager-pkg-afterlogic; however:
  Package ispmanager-pkg-afterlogic is not configured yet.

dpkg: error processing package ispmanager-lite (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ispmanager-pkg-afterlogic
 ispmanager-lite
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

 

 

  • cd /usr/local/mgr5/www/webmail-afterlogic/webmail
  • php  /usr/local/mgr5/etc/scripts/afterlogic_create_tables
ответил 05 Окт, 15 от vadim s. sabinich (5,440 баллов)
...