[LUNI] Is mqueue a valid subdir???Seva Epsteyn seva at sevatech.comThu Jun 5 11:36:46 CDT 2003
> drwxr-xr-x 2 root mail 1884160 Jun 4 01:39 mqueue > > Any ideas what I should do??? > > 1. Is mqueue a valid subdir on redhat? Yes, # rpm -qf /var/spool/mqueue/ sendmail-8.11.6-15 The 'mailq' commands can tell you, in human readable format about the contents of that dir (if it's not empy), for exaple: # mailq /var/spool/mqueue (14 requests) ----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------ h55F9We01295 246 Thu Jun 5 10:09 <luni-bounces at luni.org> (Deferred: Connection timed out with punt-2.mail.demon.net.) ... or # mailq /var/spool/mqueue is empty > 2. How would the directory get so large??? If it has or had a lot of entries (files, directories, etc). > 3. Do I fix it by just cd mqueue; rm -f * No, if I recall, on most filesystems (like ext2/ext3) the directory size will never get smaller, even if all the contents have been removed: # ls | wc -l 1361 # ls -ld . drwxrwxr-x 2 root root 20480 Jun 5 10:30 . # rm -rf * # ls -ld . drwxrwxr-x 2 root root 20480 Jun 5 10:31 . So you could delete the directory itself, and make a new one.. you'd want to get the permissions/ownership right: 755, root/mail. > 4. Anything else I should investigate??? Yeah, you should reinstall the system, did you see the recent thread on reinstalling parts of debian? "Subject: Re: [LUNI] Regenerate all binaries?" /Seva
More information about the luni mailing list |