public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-server] Errors from cron
@ 2007-06-19 14:17 A. Khattri
  2007-06-21 15:50 ` Daniel Troeder
  0 siblings, 1 reply; 3+ messages in thread
From: A. Khattri @ 2007-06-19 14:17 UTC (permalink / raw
  To: gentoo-server


Every once in awhile I get an email from cron about failed compression of
man pages (?) - any ideas what causes this? See:

Subject: Cron <root@zara> test -x /usr/sbin/run-crons && /usr/sbin/run-crons

bzcat: I/O or other error, bailing out.  Possible reason follows.
bzcat: Broken pipe        Input file = /usr/share/man/man1/./eix.1.bz2,
output file = (stdout)

bzcat: I/O or other error, bailing out.  Possible reason follows.bzcat:
Broken pipe
        Input file = /usr/share/man/man1/./vdir.1.bz2, output file =
(stdout)
bzcat: I/O or other error, bailing out.  Possible reason follows.
bzcat: Broken pipe
        Input file = /usr/share/man/man1/./ntp-keygen.1.bz2, output file =
(stdout)
bzcat: I/O or other error, bailing out.  Possible reason follows.bzcat:
Broken pipe
        Input file = /usr/share/man/man1p/./awk.1p.bz2, output file =
(stdout)
bzcat: I/O or other error, bailing out.  Possible reason follows.bzcat:
Broken pipe
        Input file = /usr/share/man/man1p/./bc.1p.bz2, output file =
(stdout)
bzcat: I/O or other error, bailing out.  Possible reason follows.
bzcat: Broken pipe
        Input file = /usr/share/man/man1p/./c99.1p.bz2, output file =
(stdout)

bzcat: I/O or other error, bailing out.  Possible reason follows.
bzcat: Broken pipe
        Input file = /usr/share/man/man1p/./cp.1p.bz2, output file =
(stdout)

bzcat: I/O or other error, bailing out.  Possible reason follows.
bzcat: Broken pipe
        Input file = /usr/share/man/man1p/./csplit.1p.bz2, output file =
(stdout)


....



-- 
A
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-server] Errors from cron
  2007-06-19 14:17 [gentoo-server] Errors from cron A. Khattri
@ 2007-06-21 15:50 ` Daniel Troeder
  2007-07-25 15:15   ` A. Khattri
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Troeder @ 2007-06-21 15:50 UTC (permalink / raw
  To: gentoo-server

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

A. Khattri wrote:
> Every once in awhile I get an email from cron about failed compression of
> man pages (?) - any ideas what causes this? See:
> 
> Subject: Cron <root@zara> test -x /usr/sbin/run-crons && /usr/sbin/run-crons
> 
> bzcat: I/O or other error, bailing out.  Possible reason follows.
> bzcat: Broken pipe        Input file = /usr/share/man/man1/./eix.1.bz2,
> output file = (stdout)
> 
> bzcat: I/O or other error, bailing out.  Possible reason follows.bzcat:
> Broken pipe
>         Input file = /usr/share/man/man1/./vdir.1.bz2, output file =
> (stdout)
[..]

This is probably caused by /etc/cron.daily/makewhatis trying to
decrompress man-pages to scan them for its database.
* Do these files really exist?
* Have you tried to decompress them to stdout manually (# bzcat <file>)?
* Are they really bzip2-files? (Check with   # file <file>)
* Ist your disk full?
Try reproducing the error by running
# makewhatis -w -v &> makewhatis.log
as root and check the logfile.


Bye,
Daniel

-- 
use PGP key @ http://www.pgp.net/wwwkeys.html
gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-server] Errors from cron
  2007-06-21 15:50 ` Daniel Troeder
@ 2007-07-25 15:15   ` A. Khattri
  0 siblings, 0 replies; 3+ messages in thread
From: A. Khattri @ 2007-07-25 15:15 UTC (permalink / raw
  To: gentoo-server

On Thu, 21 Jun 2007, Daniel Troeder wrote:

> This is probably caused by /etc/cron.daily/makewhatis trying to
> decrompress man-pages to scan them for its database.
> * Do these files really exist?
> * Have you tried to decompress them to stdout manually (# bzcat <file>)?
> * Are they really bzip2-files? (Check with   # file <file>)
> * Ist your disk full?
> Try reproducing the error by running
> # makewhatis -w -v &> makewhatis.log
> as root and check the logfile.


Here's an example email I got today:

> bzcat: I/O or other error, bailing out.  Possible reason follows.
> bzcat: Broken pipe
>       Input file = /usr/share/man/man8/./hdparm.8.bz2, output file =
(stdout)

OK, so let's check that file:

# ls -al /usr/share/man/man8/./hdparm.8.bz2
-rw-r--r-- 1 root root 8569 Jul 24 10:15 /usr/share/man/man8/./hdparm.8.bz2

Looks OK. I ran bunzip -c on the file and it displayed without any errors.

I also ran makewhatis manually and I got no errors at all.


One thing I have noticed is that I get these after an update (there was a
recent update to hdparm).



--
A
-- 
gentoo-server@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-25 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-19 14:17 [gentoo-server] Errors from cron A. Khattri
2007-06-21 15:50 ` Daniel Troeder
2007-07-25 15:15   ` A. Khattri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox