apport-collect fails on headless server

Bug #1476224 reported by Steve Holton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Attempting to run command:
   apport-collect 1473200
on a headless Ubuntu server I received the following error:

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
...No packages found matching linux.
ERROR: hook /usr/share/apport/general-hooks/cloud_archive.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 729, in add_hooks_info
    symb['add_info'](self, ui)
  File "/usr/share/apport/general-hooks/cloud_archive.py", line 18, in add_info
    if '~cloud' in packaging.get_version(package) and \
  File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 95, in get_version
    raise ValueError('package does not exist')
ValueError: package does not exist
.....

*** Send problem report to the developers?

At this point the terminal interface becomes garbled and since we're already off into exception processing (while logged-in as root on a production server) I cancelled the process.
---
AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116, 1 Jun 27 00:56 seq
 crw-rw---T 1 root audio 116, 33 Jun 27 00:56 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
 dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release i386 (20120424.1)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MarkForUpload: True
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-74-generic root=UUID=f683df2b-5513-4e3c-92a3-a6a1d4afdc32 ro cli console=ttyS0,115200
ProcVersionSignature: Ubuntu 3.2.0-74.109-generic 3.2.64
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.2.0-74-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo
WifiSyslog:

dmi.bios.date: 11/11/2002
dmi.bios.vendor: Intel Corporation
dmi.bios.version: SBR20.86B.0041.P01.0211111022
dmi.board.name: SE7501BR2
dmi.board.vendor: Intel
dmi.board.version: A95686-502
dmi.chassis.type: 23
dmi.chassis.vendor: Intel Corporation
dmi.modalias: dmi:bvnIntelCorporation:bvrSBR20.86B.0041.P01.0211111022:bd11/11/2002:svnIntel:pn:pvr:rvnIntel:rnSE7501BR2:rvrA95686-502:cvnIntelCorporation:ct23:cvr:
dmi.sys.vendor: Intel

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1476224

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Holton (sph0lt0n) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Steve Holton (sph0lt0n) wrote : IwConfig.txt

apport information

Revision history for this message
Steve Holton (sph0lt0n) wrote : Lspci.txt

apport information

Revision history for this message
Steve Holton (sph0lt0n) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Steve Holton (sph0lt0n) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Steve Holton (sph0lt0n) wrote : ProcModules.txt

apport information

Revision history for this message
Steve Holton (sph0lt0n) wrote : UdevDb.txt

apport information

Revision history for this message
Steve Holton (sph0lt0n) wrote : UdevLog.txt

apport information

affects: linux (Ubuntu) → apport (Ubuntu)
Changed in apport (Ubuntu):
status: Incomplete → New
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in apport (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

Changed in apport (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.