Archive

Archive for June, 2007

Argument List Too Long in linux shell

June 27, 2007 Leave a comment

This is a problem we’ve run into repeatedly with asterisk recordings files. The directories get so full of files that rm, ls, cp, etc cannot deal with them.


for x in *; do rm -f "$x"; done

or


for x in *; do cp "$x" "/<Destination Directory>/$x"; done

Linux / UNIX : Argument list too long error in shell and solution | Frequently Asked Questions

Categories: linux, ubuntu

Board Not Posting? Identify Processor Models

Categories: DIY

IPP printing with Linux and Windows

June 19, 2007 Leave a comment

How to make Windows use CUPS IPP

This worked really well to get Windows Server 2003 to use a HP Laserjet printer local to a Ubuntu feisty machine. My OSX machine saw it right away once I turned on the printer sharing on in CUPS. Windows took a little more trickery.

Powered by ScribeFire.

Clear Scalix IMAP Cache for a user

June 16, 2007 Leave a comment

Problems with the IMAP Cache can cause messages not to appear or other mailbox weirdness. I had this happen with several of our local users after an accidental power disruption.

Scalix Community Forums :: View topic – SWA doesn’t show “new” mails

Follow the steps below to clear IMAP cache:

1. make sure the user is logged out, i.e.

Code:
omstat -u all



should not show any more sessions for any user.

2. determine the user folder directory, i.e.

Code:
omshowu -n <lastname> -f



Note: <lastname> should be the lastname of the user in question.

3. Go there (the so-called g-directory of the user)

Code:
cd /var/opt/scalix/??/s/user/????????/



4. This should have a subdirectory called imap-cache. delete that:

Code:
rm -r imap-cache



5.
Restart IMAP service:
    omoff -d 0 -a IMAP & omon IMAP

6. Try accessing the user’s mailbox using IMAP again.

Powered by ScribeFire.

Categories: scalix