Monday 26 January 2009

Mac OS X Webmail

Re-enabled a webmail account on the OS X server, not all worked.

It is apparently very important that you set a user name and an email address in the 'options' section for the users email account. I you do not do this the name will be "SERVER_NAME" and the email address will be @getenv.example.com instead of @example.com (or whatever).

Tuesday 13 January 2009

Endless loop for Xlib zoneminder viewer & logging feature

It seems that now and then 'something' goes wrong with the xlib_shm viewer. When we turn on the LCD in the morning the GDM login screen is shown instead of the cameras.

We altered the .xsession file for the auto login user to endlessly re-run the xlib script. The .xsession file now looks like this:

#!/bin/sh

while ( true )
do
/usr/sbin/xlib_shm-script
sleep 1
done


To try and find out what's going wrong we changed /usr/sbin/xlib_shm-script from this:

xlib_shm -m 1 -m 23 -m 11 -m 12 -k 0x07a6d0000 -d 40000


To this:

xlib_shm -m 1 -m 23 -m 11 -m 12 -k 0x07a6d0000 -d 40000 >> /tmp/xlib-log 2> /tmp/xlib-log-dinges


This way we may get some output of errors in the log files.