Ubuntu 14.04.2 LTS upgrade error

Discussion in 'Server Operation' started by uteliux, May 21, 2015.

  1. uteliux

    uteliux Member

    Hello, then i`m trying to upgrade server i`m getting this error:

    The user `syslog' is already a member of `adm'.
    invoke-rc.d: initscript rsyslog, action "restart" failed.
    dpkg: error processing package rsyslog (--configure):
    subprocess installed post-installation script returned error exit status 1
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Can someone please guide me how to get rid of this error? :)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to restart rsyslog and then post the errors that you get on the shell or in the syslog file.
  3. uteliux

    uteliux Member

    In shell:
    uttt@******:~$ sudo service rsyslog status
    * rsyslogd is not running
    and syslog file is empty

    When i try to start from shell, i`m not getting any error..
    Last edited: May 21, 2015
  4. uteliux

    uteliux Member

    Last edited: May 26, 2015
  5. uteliux

    uteliux Member

    system was updated from 12.04 to 14.04. Rebooted several times, rsyslog not working..

    dpkg-reconfigure tried before it gives "/usr/sbin/dpkg-reconfigure: rsyslog is broken or not fully installed"

    Spamassassin is not starting to:

    Restarting SpamAssassin Mail Filter Daemon: setlogsock(): type='unix': path not available at /usr/share/perl5/Mail/SpamAssassin/Logger/Syslog.pm line 100.
    setlogsock(): type='tcp': TCP service unavailable at /usr/share/perl5/Mail/SpamAssassin/Logger/Syslog.pm line 121.
    logger: failed to add syslog method: logger: syslog initialization failed

    It is safe to reinstall rsyslog?
    sudo apt-get purge rsyslog
    sudo apt-get install rsyslog

    var/log/syslog is empty [​IMG][​IMG]
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    I would try first:

    sudo apt-get install --reinstall rsyslog
  7. uteliux

    uteliux Member

    The following packages were automatically installed and are no longer required:
    apache2.2-bin comerr-dev g++-4.6 html2text krb5-multidev libanydata-perl
    libapache-ruby1.8 libapr1-dev libaprutil1-dev libboost-iostreams1.46.1
    libcdt4 libclass-inspector-perl libclass-isa-perl libdb4.8 libgd2-xpm
    libgraph4 libgvc5 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev
    liblcms1 libldap2-dev libmagickcore4 libmagickcore4-extra libmagickwand4
    libmpc2 libmysqlclient-dev libpango1.0-0 libpathplan4 libpcre3-dev
    libpcrecpp0 libpq-dev libpq5 libpython3.2 libruby1.8 libsqlite3-dev
    libstdc++6-4.6-dev libsub-uplevel-perl libswitch-perl libt1-5
    libtest-exception-perl libtie-ixhash-perl libtiff4 libxml-twig-perl
    libxml-xpath-perl linux-headers-3.8.0-44 linux-headers-3.8.0-44-generic
    pwgen python-central python3.2 python3.2-dev python3.2-minimal uuid-dev
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 28 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    E: Internal Error, No file name for rsyslog:amd64
  8. muratti66

    muratti66 New Member

    Backup /etc/rsyslog.*
    apt-get purge rsyslog
    apt-get install rsyslog
    service rsyslog start #Have any error?
    restore /etc/rsyslog.*
    service rsyslog restart #Have any error?

Share This Page