Hi,
Didn't really know where to put this, so sorry if posting it to the wrong place.
There's a typo in scalix script placed in /etc/init.d
Distribution:
CentOS 4.1
Syptoms:
Unable to get status of scalix.
Syntax:
service scalix status
Result:
[root@scalix ~]# service scalix status
/etc/init.d/scalix: line 121: [: missing `]'
Expected behaviour:
[root@scalix ~]# service scalix status
*** scalix
PC Monitor Started NON-STOP 0
Directory Relay Server Started 15:28:52
Notification Server Started 15:28:52 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Started 15:28:56
Database Monitor Started 15:28:52
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 15:28:52
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 15:28:52
SMTP Relay Started 15:28:52
Mime Browser Controller Started 15:28:52
Service Router Started 15:28:52 0
Local Delivery Started 15:28:52 0
Internet Mail Gateway Started 15:28:52 0
Local Client Interface Enabled 15:28:52 0
Remote Client Interface Enabled 15:28:52 0
Test Server Started 15:28:52 0
Request Server Started 15:28:52 0
Print Server Started 15:28:52 0
Bulletin Board Server Started 15:28:52 0
Background Search Service Started 15:28:52 0
CDA Server Started 15:28:53 0
POP3 interface Started 15:28:53 0
Omscan Server Started 15:28:53 0
Archiver Started 15:28:53 0
In line 121 there is
if [ -f $(omrealpath '~/sys/sysdata')
and it should be:
if test -f $(omrealpath '~/sys/sysdata')
Bruno Guerreiro