FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 08-16-2010, 02:25 PM
Kaushal Shriyan
 
Default collectd E: Sub-process /usr/bin/dpkg returned an error code (1)

Hi,

can some one please guide me about the below issue

#apt-get install collectd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libart-2.0-2 librrd2
Suggested packages:
collectd-dev hddtemp httpd-cgi libregexp-common-perl librrds-perl mbmon
Recommended packages:
libhal1 liboping0 rrdtool
The following NEW packages will be installed:
collectd libart-2.0-2 librrd2
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 680kB of archives.
After this operation, 2011kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Fetched 680kB in 0s (33.5MB/s)
Preconfiguring packages ...
Selecting previously deselected package libart-2.0-2.
(Reading database ... 31792 files and directories currently installed.)
Unpacking libart-2.0-2 (from .../libart-2.0-2_2.3.20-1_amd64.deb) ...
Selecting previously deselected package librrd2.
Unpacking librrd2 (from .../librrd2_1.2.19-1ubuntu1_amd64.deb) ...
Selecting previously deselected package collectd.
Unpacking collectd (from .../collectd_4.3.0-1_amd64.deb) ...
Setting up libart-2.0-2 (2.3.20-1) ...

Setting up librrd2 (1.2.19-1ubuntu1) ...

Setting up collectd (4.3.0-1) ...
Starting statistics collection and monitoring daemon:
collectdinvoke-rc.d: initscript collectd, action "start" failed.
dpkg: error processing collectd (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
collectd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am on Ubuntu Server 8.04
i followed the suggestion as mentioned here --->
https://answers.launchpad.net/ubuntu/+source/dpkg/+question/50778 but
it didnot work for me

Thanks

Kaushal

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-16-2010, 02:42 PM
"Serge E. Hallyn"
 
Default collectd E: Sub-process /usr/bin/dpkg returned an error code (1)

Quoting Kaushal Shriyan (kaushalshriyan@gmail.com):
> Hi,
>
> can some one please guide me about the below issue

I think we'd need to see dpkg.log, so opening a bug on launchpad is
best. But perhaps see https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/297288
Do you need to add your hostname to /etc/hosts?

-serge

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-16-2010, 02:50 PM
Kaushal Shriyan
 
Default collectd E: Sub-process /usr/bin/dpkg returned an error code (1)

On Mon, Aug 16, 2010 at 8:12 PM, Serge E. Hallyn
<serge.hallyn@canonical.com> wrote:
> Quoting Kaushal Shriyan (kaushalshriyan@gmail.com):
>> Hi,
>>
>> can some one please guide me *about the below issue
>
> I think we'd need to see dpkg.log, so opening a bug on launchpad is
> best. *But perhaps see https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/297288
> Do you need to add your hostname to /etc/hosts?
>
> -serge
Hi Serge

I see the below in dpkg.log

2010-08-16 07:16:38 install collectd <none> 4.3.0-1
2010-08-16 07:16:38 status half-installed collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status unpacked collectd 4.3.0-1
2010-08-16 07:16:38 status half-configured collectd 4.3.0-1
2010-08-16 07:21:54 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:21:54 status half-configured collectd 4.3.0-1
2010-08-16 07:22:04 status half-configured collectd 4.3.0-1
2010-08-16 07:22:04 remove collectd 4.3.0-1 4.3.0-1
2010-08-16 07:22:04 status half-configured collectd 4.3.0-1
2010-08-16 07:22:05 status half-installed collectd 4.3.0-1
2010-08-16 07:22:05 status config-files collectd 4.3.0-1
2010-08-16 07:22:05 purge collectd 4.3.0-1 4.3.0-1
2010-08-16 07:22:05 status config-files collectd 4.3.0-1
2010-08-16 07:22:05 status config-files collectd 4.3.0-1
2010-08-16 07:22:05 status config-files collectd 4.3.0-1
2010-08-16 07:22:05 status config-files collectd 4.3.0-1
2010-08-16 07:22:05 status config-files collectd 4.3.0-1
2010-08-16 07:22:05 status not-installed collectd <none>
2010-08-16 07:22:19 install collectd <none> 4.3.0-1
2010-08-16 07:22:19 status half-installed collectd 4.3.0-1
2010-08-16 07:22:19 status unpacked collectd 4.3.0-1
2010-08-16 07:22:19 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:22:20 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 status unpacked collectd 4.3.0-1
2010-08-16 07:22:20 status half-configured collectd 4.3.0-1
2010-08-16 07:42:54 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:42:54 status half-configured collectd 4.3.0-1
2010-08-16 07:43:32 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:43:32 status half-configured collectd 4.3.0-1
2010-08-16 07:43:45 status half-configured collectd 4.3.0-1
2010-08-16 07:43:45 remove collectd 4.3.0-1 4.3.0-1
2010-08-16 07:43:45 status half-configured collectd 4.3.0-1
2010-08-16 07:43:46 status half-installed collectd 4.3.0-1
2010-08-16 07:43:46 status config-files collectd 4.3.0-1
2010-08-16 07:43:46 purge collectd 4.3.0-1 4.3.0-1
2010-08-16 07:43:46 status config-files collectd 4.3.0-1
2010-08-16 07:43:46 status config-files collectd 4.3.0-1
2010-08-16 07:43:46 status config-files collectd 4.3.0-1
2010-08-16 07:43:46 status config-files collectd 4.3.0-1
2010-08-16 07:43:46 status config-files collectd 4.3.0-1
2010-08-16 07:43:46 status not-installed collectd <none>
2010-08-16 07:43:54 install collectd <none> 4.3.0-1
2010-08-16 07:43:54 status half-installed collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status unpacked collectd 4.3.0-1
2010-08-16 07:43:54 status half-configured collectd 4.3.0-1
2010-08-16 07:44:14 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:44:14 status half-configured collectd 4.3.0-1
2010-08-16 07:47:23 status half-configured collectd 4.3.0-1
2010-08-16 07:47:23 remove collectd 4.3.0-1 4.3.0-1
2010-08-16 07:47:23 status half-configured collectd 4.3.0-1
2010-08-16 07:47:24 status half-installed collectd 4.3.0-1
2010-08-16 07:47:24 status config-files collectd 4.3.0-1
2010-08-16 07:47:24 purge collectd 4.3.0-1 4.3.0-1
2010-08-16 07:47:24 status config-files collectd 4.3.0-1
2010-08-16 07:47:24 status config-files collectd 4.3.0-1
2010-08-16 07:47:24 status config-files collectd 4.3.0-1
2010-08-16 07:47:24 status config-files collectd 4.3.0-1
2010-08-16 07:47:24 status config-files collectd 4.3.0-1
2010-08-16 07:47:24 status not-installed collectd <none>
2010-08-16 07:47:38 install collectd <none> 4.3.0-1
2010-08-16 07:47:38 status half-installed collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 configure collectd 4.3.0-1 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status unpacked collectd 4.3.0-1
2010-08-16 07:47:38 status half-configured collectd 4.3.0-1

I have added the hostname too in /etc/hosts and followed suggestion as
https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/297288
did not worked for me

Please suggest further

Thanks

Kaushal

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 08-19-2010, 08:13 PM
"Serge E. Hallyn"
 
Default collectd E: Sub-process /usr/bin/dpkg returned an error code (1)

Quoting Kaushal Shriyan (kaushalshriyan@gmail.com):
> On Mon, Aug 16, 2010 at 8:12 PM, Serge E. Hallyn
> <serge.hallyn@canonical.com> wrote:
> > Quoting Kaushal Shriyan (kaushalshriyan@gmail.com):
> >> Hi,
> >>
> >> can some one please guide me *about the below issue
> >
> > I think we'd need to see dpkg.log, so opening a bug on launchpad is
> > best. *But perhaps see https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/297288
> > Do you need to add your hostname to /etc/hosts?
> >
> > -serge
> Hi Serge
>
> I see the below in dpkg.log

If you haven't yet, please do file a bug.

-serge

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 03:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org