aptd crashed with error in connect()

Bug #424793 reported by thiasB
554
This bug affects 64 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: aptdaemon

Ubuntu karmic

ProblemType: Crash
Architecture: amd64
Date: Sat Sep 5 13:16:43 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/aptd
InterpreterPath: /usr/bin/python2.6
Package: aptdaemon 0.10+bzr226-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/aptd
ProcEnviron:

ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
PythonArgs: ['/usr/sbin/aptd']
SourcePackage: aptdaemon
Title: aptd crashed with error in connect()
Uname: Linux 2.6.31-9-generic x86_64
UserGroups:

Revision history for this message
thiasB (thiasb) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Michael Vogt (mvo) wrote :

This is most likely a dupulicated of #428843

visibility: private → public
Changed in aptdaemon (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Michael Vogt (mvo) wrote :

This looks much like a dup of #428843 - could you please check if you have rsyslog installed?

Revision history for this message
Kai Grossjohann (kai-emptydomain) wrote :

The situation is somewhat strange. /etc/init.d/rsyslog and /etc/init.d/sysklogd both exist, but dpkg -l lists the corresponding packages as "rc" in the first two columns.

I am happy to help debugging/testing this. Should I install one of the packages manually to see whether that makes the crash go away? Or should I do nothing to see whether the packaging infrastructure will automatically do the right thing? (It's not clear to me whether I caused this situation myself. If so then I can't expect the packaging infrastructure to fix it obviously.)

I installed slapd manually, and it seems to have an (indirect) dependency on syslog.

I don't recall any other recent action that might have an influence on this.

Revision history for this message
Steve Faulkner (steviefaulkner) wrote : Re: [Bug 424793] Re: aptd crashed with error in connect()

Hi,
Your question sounds on track. rsyslog is not installed. Also the
description of rsyslog rings familiar bells. There have been complaints
when updating gdm that gconf could not be reached because of internal
networking problems, possibly from TCP/ip not being enabled for ORBit. That
complaint also suggested that nfs might have been damaged after a system
crash due to power to the machine being removed during operation: that has
happened.

I'll install rsyslog and report on the outcome.

Thanks for your email and your help.

Steve Faulkner.

2009/10/2 Michael Vogt <email address hidden>

> This looks much like a dup of #428843 - could you please check if you
> have rsyslog installed?
>
> --
> aptd crashed with error in connect()
> https://bugs.launchpad.net/bugs/424793
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “aptdaemon” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: aptdaemon
>
> Ubuntu karmic
>
> ProblemType: Crash
> Architecture: amd64
> Date: Sat Sep 5 13:16:43 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/sbin/aptd
> InterpreterPath: /usr/bin/python2.6
> Package: aptdaemon 0.10+bzr226-0ubuntu1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python /usr/sbin/aptd
> ProcEnviron:
>
> ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
> PythonArgs: ['/usr/sbin/aptd']
> SourcePackage: aptdaemon
> Title: aptd crashed with error in connect()
> Uname: Linux 2.6.31-9-generic x86_64
> UserGroups:
>

--
Steve Faulkner
webpage: Foundations for The Quantum Logic:
http://steviefaulkner.wordpress.com/

Revision history for this message
Steve Faulkner (steviefaulkner) wrote :
Download full text (3.2 KiB)

Have now installed rsyslog and there is now evidence of new logs being
written. The gnome services editor is still not working. Attempting to run
it from a terminal:
 steve@diddy:~$ su
Password:
root@diddy:/home/steve# services-admin
The program 'services-admin' is currently not installed. You can install it
by typing:
apt-get install gnome-system-tools
services-admin: command not found
root@diddy:/home/steve#
root@diddy:/home/steve#
root@diddy:/home/steve#
root@diddy:/home/steve# aptitude -v install gnome-system-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done
gnome-system-tools is already installed at the requested version
(2.28.0-0ubuntu1)
gnome-system-tools is already installed at the requested version
(2.28.0-0ubuntu1)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initialising package states... Done

Current status: 0 broken [+0], 0 updates [+0], 154 new [+0].
root@diddy:/home/steve#

Best wishes, Steve.

2009/10/2 Steve Faulkner <email address hidden>

> Hi,
> Your question sounds on track. rsyslog is not installed. Also the
> description of rsyslog rings familiar bells. There have been complaints
> when updating gdm that gconf could not be reached because of internal
> networking problems, possibly from TCP/ip not being enabled for ORBit. That
> complaint also suggested that nfs might have been damaged after a system
> crash due to power to the machine being removed during operation: that has
> happened.
>
> I'll install rsyslog and report on the outcome.
>
> Thanks for your email and your help.
>
> Steve Faulkner.
>
> 2009/10/2 Michael Vogt <email address hidden>
>
> This looks much like a dup of #428843 - could you please check if you
>> have rsyslog installed?
>>
>> --
>> aptd crashed with error in connect()
>> https://bugs.launchpad.net/bugs/424793
>> You received this bug notification because you are a direct subscriber
>> of a duplicate bug.
>>
>> Status in “aptdaemon” package in Ubuntu: Confirmed
>>
>> Bug description:
>> Binary package hint: aptdaemon
>>
>> Ubuntu karmic
>>
>> ProblemType: Crash
>> Architecture: amd64
>> Date: Sat Sep 5 13:16:43 2009
>> DistroRelease: Ubuntu 9.10
>> ExecutablePath: /usr/sbin/aptd
>> InterpreterPath: /usr/bin/python2.6
>> Package: aptdaemon 0.10+bzr226-0ubuntu1
>> PackageArchitecture: all
>> ProcCmdline: /usr/bin/python /usr/sbin/aptd
>> ProcEnviron:
>>
>> ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
>> PythonArgs: ['/usr/sbin/aptd']
>> SourcePackage: aptdaemon
>> Title: aptd crashed with error in connect()
>> Uname: Linux 2.6.31-9-generic x86_64
>> UserGroups:
>>
>
>
>
> --
> Steve Faulkner
> webpage: Foundations for The Quantum Logic:
> http://steviefaulkner.wordpress.com/
>
>
>
>

--
Steve Faulkner
webpage: Foundations for The Quantum Logic:
http...

Read more...

Revision history for this message
Marco Rodrigues (gothicx) wrote :

$ dpkg -L rsyslog
Package `rsyslog' is not installed.

Revision history for this message
AnthonyC (capone) wrote :

Originally I didn't have it installed. Then I read on another bug, with the Software Center crashing, that if you install rsyslog, it will fix that bug. So, I do have it install now.

But I can't be sure that aptd hasn't crashed since installing rsyslog.

Revision history for this message
Steve Faulkner (steviefaulkner) wrote :

I notice if I do a search via the gnome-search-tool, for services-admin, it
returns:
Name: services-admin-nl.omf
Folder: /usr/share/omf/gnome-system-tools
Size: 64 bytes
Type: link (broken)
Date Modified: Wed 30 Sep 2009 00:37:16 BST

Nevertheless at the terminal, the ls command does not return this link as
broken:

root@diddy:/home/steve# ls -l
/usr/share/omf/gnome-system-tools/services-admin-nl.omf
lrwxrwxrwx 1 root root 64 2009-09-30 00:37
/usr/share/omf/gnome-system-tools/services-admin-nl.omf ->
/usr/share/omf-langpack/gnome-system-tools/services-admin-nl.omf
root@diddy:/home/steve#

2009/10/2 Marco Rodrigues
<email address hidden><file:///usr/share/omf/gnome-system-tools/services-admin-nl.omf>

> $ dpkg -L rsyslog
> Package `rsyslog' is not installed.
>
> --
> aptd crashed with error in connect()
> https://bugs.launchpad.net/bugs/424793
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “aptdaemon” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: aptdaemon
>
> Ubuntu karmic
>
> ProblemType: Crash
> Architecture: amd64
> Date: Sat Sep 5 13:16:43 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/sbin/aptd
> InterpreterPath: /usr/bin/python2.6
> Package: aptdaemon 0.10+bzr226-0ubuntu1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python /usr/sbin/aptd
> ProcEnviron:
>
> ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
> PythonArgs: ['/usr/sbin/aptd']
> SourcePackage: aptdaemon
> Title: aptd crashed with error in connect()
> Uname: Linux 2.6.31-9-generic x86_64
> UserGroups:
>

--
Steve Faulkner
webpage: Foundations for The Quantum Logic:
http://steviefaulkner.wordpress.com/

Revision history for this message
milensk1 (milky-way) wrote :

The situation with me is the same as with AnthonyC - I didn't have rsyslog installed at the time the issue occurred. rsyslog remained in "Residual Config" as it was impossible to be removed (another ticket). Instead of removing it I've installed it and the problem did not appear again.
Hope that info helps.

Changed in aptdaemon (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Steve Faulkner (steviefaulkner) wrote : Invitation to connect on LinkedIn

Bug,

I'd like to add you to my professional network on LinkedIn.

- Steve

Steve Faulkner
Independent Researcher
Northampton, United Kingdom

Confirm that you know Steve Faulkner:
https://www.linkedin.com/e/9o51mt-gtn6pcrl-n/isd/4525860113/d-vQv5e6/?hs=false&tok=1IU-ZD7KlIhAY1

--
You are receiving Invitation to Connect emails. Click to unsubscribe:
http://www.linkedin.com/e/9o51mt-gtn6pcrl-n/GFAb2-dD7LM90Lke0bvRpqODKpfBTizPUHC4CA1/goo/424793%40bugs%2Elaunchpad%2Enet/20061/I1567783121_1/?hs=false&tok=2CgFaZ9KtIhAY1

(c) 2011 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA.

To post a comment you must log in.