Bug#477403: won't start unless /var/cache/sqlrelay structure is manually created

2008-04-22 Thread Aitor Guevara Escalante
Package: sqlrelay Version: 1:0.39.4-1 Severity: normal After installationi of the package and instances configuration, sqlrelay fails to start with the following error: Could not open: /var/cache/sqlrelay/tmp/ipc/my_instance Make sure that the file and directory are readable and writable. In ord

Bug#412852: sqlrelay: ipcrm updated syntax sqlr-ipclean script proposal

2008-04-22 Thread Aitor Guevara Escalante
Package: sqlrelay Version: 1:0.39.4-1 Followup-For: Bug #412852 I'm using the following replacement sqlr-ipclean script to stop sqlrelay: #!/bin/sh ADMIN=sqlrelay DIRTY_S=`ipcs -s | grep $ADMIN | wc -l` DIRTY_M=`ipcs -m | grep $ADMIN | wc -l` if test $DIRTY_S -ne 0 ; then ipcrm -s `ipcs -s