Sunday, February 14, 2010

Synergy connection problems

Symptoms:
$ ccm start -d /data/synergydb/mydb -h myhost -m -nogui -rc
Starting Telelogic Synergy...
Telelogic Synergy server starting on host myhost, using database /data/synergydb/mydb
Warning: Engine startup failed.
Warning: Telelogic Synergy startup failed.
cat ~/ccm_eng.log
Permission denied.
Permission denied.
cat ~/ccm_ui.log
02/15 07:32:58 Telelogic Synergy server starting on host myhost, using database /data/synergydb/mydb
02/15 07:32:59 Warning: Engine startup failed.
What gives? - Wrong syntax of the following line:
WRONG: engine_daemon=TRUE;
RIGHT: engine_daemon = TRUE
(remove semicolon, spaces do not matter).

Thursday, February 11, 2010

Version name length limit

is 32 characters. So do not try to enter anything longer - it won't work and what's worse - it won't tell the reason.
Be warned.

Tuesday, February 9, 2010

How to delete task and its objects

Note: this operation is not reversible. Exercise caution when using this procedure.
The operation is only available to ccm_admin role.
> ccm set role ccm_admin
First delete the objects associated with a task:
ccm task -show objs
e.g.
> ccm task -show objs 223541
will return a list of all objects associated with the task.
Then collapse objects listed in the previous step:

> ccm collapse @
Once the objects are gone, delete the task itself:
ccm query -type task "name='taskXXXXX'"
ccm delete @
e.g.
>ccm query -type task "name='task223541'"
> ccm delete @

That's it.