You can only administer the calendar database if the
administration utilities are running in the same
locale in which database was created.
If you change your LANG variable,
change the system locale using the
International Settings Manager,
or edit /etc/default/lang,
you cannot administer the calendar.
Also, the calendar server will not start
if the system locale has been changed.
If this is the case,
you may see ``Fatal Error'' messages from the calendar server
when bringing up the machine in multiuser mode.
To work around this problem, you can start the calendar
server with the LANG variable temporarily
defined as it was when the database was created.
Typically, the calendar database is created at
initial system load. To determine what
LANG was set to during initial system load,
examine the file /usr/adm/ISL/iqm_file.
Search for the variable IQM_LANGUAGE. This
will probably be the language that was used when
the calendar database was created.
If you find that you need to restart the calendar
server with the initial LANG setting,
follow these steps as root:
-
Change directories (cd) to /usr/lib/sco/oadb/caldata.
-
Remove all the data files in this directory; they will be
rebuilt by calbuild:
rm ./*
-
Enter cd /etc/rc2.d.
-
Edit the file P95calserver.
-
Go to line 20 (following the comments) and find the line:
DBKEY=6373; export DBKEY
-
Before this line, add:
IQMFILE=/usr/adm/ISL/iqm_file
export IQMFILE
LANG=`grep IQM_LANGUAGE $IQMFILE | awk '{ FS="\"" }{ print $2 }'`
export LANG
This will enable the calendar server to start using the locale
that was set at installation time, regardless of the system locale setting.