Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File size limit exceeded

28 views
Skip to first unread message

Miguel Obliviemo

unread,
May 30, 2009, 1:50:12 AM5/30/09
to
I have a problem with Postfix not working but manual SMTP works. So
I'm at the point of uninstalling and reinstalling Postfix the Debian
way and can't do a thing because of this error.

"File size limit exceeded"

I've seen the message in other contexts. I forget the details, but
just walking away, switching to another user and doing something else,
is as far as I've got.

Now it says run dpkg --configure -a

but when I do that it aborts with this message.

There's nothing relevant immediately after in /var/log/syslog or
/var/log/messages.

I.e. totally baffled.

The following outpout starts halfway through the apt-get message flow
on attempting apt-get remove postfix:

debian-keyring libtest-pod-perl libmail-box-perl dctrl-tools dput
debian-maintainers libpod-coverage-perl html2text
libobject-realize-later-perl libuser-identity-perl
libnet-libidn-perl
libconvert-binhex-perl libmail-sendmail-perl libio-socket-ssl-perl
libossp-uuid15 libsys-hostname-long-perl libdigest-hmac-perl
libparse-debcontrol-perl wdiff
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
at bsd-mailx postfix
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 3805kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 127685 files and directories currently
installed.)
Removing at ...
Stopping deferred execution scheduler: atd.
Removing bsd-mailx ...
Removing postfix ...
Stopping Postfix Mail Transport Agent: postfix.
Processing triggers for man-db ...
/var/lib/dpkg/info/man-db.postinst: line 3: 6289 File size limit
exceededperl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $>
= $pwd[2];
exec "/usr/bin/mandb", @ARGV' -- "$@"
E: Sub-process /usr/bin/dpkg exited unexpectedly
so-called:/etc#
so-called:/etc# apt-get purge postfix
E: dpkg was interrupted, you must manually run 'dpkg --configure -a'
to correct
the problem.
so-called:/etc#
so-called:/etc# dpkg --configure -a
File size limit exceeded
so-called:/etc#

-rwxr-xr-x 1 root root 4410 2009-01-25 13:38 man-db.postinst


so-called:/var/lib/dpkg/info# apt-get remove man-db
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
so-called:/var/lib/dpkg/info# dkpkg --configure -a
File size limit exceeded
so-called:/var/lib/dpkg/info# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 15377852 9970276 4626416 69% /
tmpfs 900480 0 900480 0% /lib/init/rw
udev 10240 152 10088 2% /dev
tmpfs 900480 0 900480 0% /dev/shm
/dev/sda12 15385852 13354824 1249468 92% /u2
/dev/sda13 15385852 604776 13999516 5% /u3
/dev/sdb1 3866116 986428 2683296 27% /mnt
/dev/scd0 4586566 4586566 0 100% /media/cdrom0
so-called:/var/lib/dpkg/info#


--
Miguel


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Boyd Stephen Smith Jr.

unread,
May 30, 2009, 1:50:10 AM5/30/09
to
In <Pine.LNX.4.64.09...@calypso.view.net.au>, Miguel Obliviemo
wrote:
>apt-get remove postfix:

>Processing triggers for man-db ...
>/var/lib/dpkg/info/man-db.postinst: line 3: 6289 File size limit
> exceededperl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $>
> = $pwd[2];
> exec "/usr/bin/mandb", @ARGV' -- "$@"
>E: Sub-process /usr/bin/dpkg exited unexpectedly

How big is /etc/passwd?
Do you have any manpages (I think /usr/share/man contains most of them) that
are overly large?
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/

signature.asc

Miguel Obliviemo

unread,
May 30, 2009, 8:30:11 AM5/30/09
to
On Sat, 30 May 2009, Boyd Stephen Smith Jr. wrote:

> In <Pine.LNX.4.64.09...@calypso.view.net.au>, Miguel Obliviemo
> wrote:
>> apt-get remove postfix:
>> Processing triggers for man-db ...
>> /var/lib/dpkg/info/man-db.postinst: line 3: 6289 File size limit
>> exceededperl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $>
>> = $pwd[2];
>> exec "/usr/bin/mandb", @ARGV' -- "$@"
>> E: Sub-process /usr/bin/dpkg exited unexpectedly
>
> How big is /etc/passwd?

Tiny. It's a personal system.

> Do you have any manpages (I think /usr/share/man contains most of them) that
> are overly large?
>

The largest is of fvwm2 at 120k.

du -sk says

124 cs
328 de
172 es
36 fi
888 fr
28 fr.ISO8859-1
28 fr.UTF-8
12 gl
60 hu
24 id
236 it
28 it.ISO8859-1
28 it.UTF-8
352 ja
60 ko
6644 man1
8 man2
7736 man3
304 man4
1336 man5
148 man6
568 man7
2056 man8
10408 man9
32 nl
312 pl
28 pl.ISO8859-2
28 pl.UTF-8
48 pt
72 pt_BR
340 ru
20 sk
268 sv
72 tr
40 vi
64 zh_CN
64 zh_TW

Frank Lin PIAT

unread,
May 30, 2009, 11:50:12 AM5/30/09
to
On Sat, 2009-05-30 at 21:52 +0930, Miguel Obliviemo wrote:
> On Sat, 30 May 2009, Boyd Stephen Smith Jr. wrote:
> > In <Pine.LNX.4.64.09...@calypso.view.net.au>, Miguel Obliviemo
> > wrote:
> >> apt-get remove postfix:
> >> Processing triggers for man-db ...
> >> /var/lib/dpkg/info/man-db.postinst:
> >> line 3: 6289 File size limit exceeded

Modify the file /var/lib/dpkg/info/man-db.postinst (usual disclamier: be
careful, make a copy, etc..): add "set -x" as the second line to get a
verbose output of what the posinst script is actually running.

> >> perl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $> = $pwd[2];
> >> exec "/usr/bin/mandb", @ARGV' -- "$@"

Can you try running the command manually (slightly modified):

perl -e '@pwd = getpwnam("man"); print "gid:$pwd[3]\nuid:$pwd[2]\n";'

Then

perl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $> = $pwd[2];

exec "/usr/bin/id"'


> >> E: Sub-process /usr/bin/dpkg exited unexpectedly
> >
> > How big is /etc/passwd?
>
> Tiny. It's a personal system.

Have you enabled some NSS (/etc/nsswitch.conf) or PAM extension
(/etc/pam.d/*) ?

Franklin

Miguel Obliviemo

unread,
May 31, 2009, 2:00:19 PM5/31/09
to
Thanks to all who helped with this. I don't think it's a Debian
thing, but something closer to the metal. I'm sometimes getting this
message with cp.

But certainly, the Debian way won't work on this computer at present.
I'll probably do a virgin install on another partition, and in the
meantime, or afterwards, compile Postfix from source and install. I
hope.

--
Miguel

0 new messages