mrj wrote: > hello, > hope someone can help me. basically i'm new to all this and never setup this > freebsd box (with spam assassin and clam av). we use this box to filter mail > before it is sent to our exchange box, and now i broke it. > > i was running out of space and normally i clear up the /var/spool/mqueue > folder, but this time i did something and forgot to backup before hand and > deleted these items (i'm not sure if that's what broke it). > > 1) > /var/log/-l there was this wierd 72MB file that was named '-l' and the > only way to remove it was rm -- -l > Is this (dash L) file any important log that needs to be there? > No.. looks like someone screwed up trying to use the cp command with the -l flag.
> 2) > /var/log/messages i moved these off to another server.. to clear up space. > it seems it has recreated > That works in a pinch, but generally you should use a tool to do this automatically, such as logrotate. Also, if you don't use a tool to do this, it is advisable to send a HUP signal to your syslogd so it knows to recreate the file. > 3) > /var/spool/MD-Quarantine -- i deleted all the subfolders and files in here, > but i'm guessing i wasn't supposed to and now in the message log i'm getting > an error all the time: > > mimedefang uid 26 on /var ... out of inodes. > Generally 3) should actually HELP with the problem your having, not hurt it. Out of inodes basically means there's too many files on the particular filesystem for the filesystem to track. This is usually caused by directories with lots of small files You might try looking for directories under /var that have lots of small files.. this should work if memory serves me correctly: *find /var -size -3 -print*