How to completely scratch a previously existing Caché installation?

Hello!

I am trying to install Caché 2016 on a Debian Jessie machine; so I downloaded the latest release from WRC, OS RHEL x86_64, in tarball format.

I untarred it, then launched cinstall; unfortunately a library was missing. I then elected to kill all the processes (which wasn't easy), remove the two users created, and start again.

Unfortunately, for some reason, when I relaunch the install again, the install process still detects the old instance which I installed previously... And I cannot find where this information came from (I removed the install directory by hand entirely).

Where is this information located?

  • 0
  • 0
  • 757
  • 2
  • 4

Answers

You can use ccontrol delete command to remove instance from list of available instances.

See documentation on cache uninstall at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...

This command worked...

However this does not answer my initial question: how come the install found the instance despite the fact that I completely removed the install directory?

strace ccontrol list on my Ubuntu shows that ccontrol looks in file /usr/local/etc/cachesys/cache.reg

Nice one! I didn't know about the ccontrol command, but indeed it is in there...

Not sure about Debian Jessie, but for Ubuntu you should use SUSE_x86_64 (rather than RHEL_x86_64) tarball.

Hi Francis

if you just want to test things, develop or even go into production without all these issues, why not give Docker containers a try?

You'll never be pulling your hair again for these type of issues. You container comes installed (Dockerfile); you just spin it up and when you're done you just dispose of it.

However, you'll have other hair-pulling moments for other things but by then you'll be so deep into DevOps, learning and collaboration that you won't notice it :-)

Seriously, though, it's a great technology for some perfectly fitting use cases, even production if you embrace microservices and you'll be able to run a CentOS, RH, SUSE or Ubuntu container on your Debian Jessie without a glitch.

HTH