Question
Daniel McGowan · Mar 13, 2020

Installation on MacOS Catalina - Private web server not started

Hi All, 

So after finally getting cache to install (by enabling root user and disabling the gatekeeper) it tells me that it has started with one alert... that is "Private web server has not started after 5 seconds." - urgh!

Obviously i need access to the management portal to continue setup, I've done lots of googling but i cant find anything on this, does anyone have any ideas?

Many thanks, 

Dan

00
0 10 238 6

Replies

I suppose you going to use it like for local development, not for production, so, I would recommend just use docker images instead. I'm using macOS and have not installed Cache/IRIS locally already for some years.

You did not provide the version you try to install and no cconsole.log. If you add this here, so it may help.

Hi thanks for the reply, yes it’s for development purposes. The production servers are actually on windows servers. 
 

The latest cache version for Mac, 2018 I think? I can confirm tomorrow and add the cconsole.log nothing else was particularly remarkable in the logs though. 
 

any good guides on docker images for cache? I’m not too familiar with that...

thanks for the help so far.

So, to get own docker-running Cache, is quite easy.

You just need docker desktop installed on your mac. Then when it installed, and running. You'll be able to run it from the terminal by command.

docker run -d --name cache \
  -p 1973:1972 \
  -p 57773:57772 \
  -v $HOME/cache.key:/usr/cachesys/mgr/cache.key \
  daimor/intersystems-cache:2018.1

It supposed that you have valid cache.key in your home directory. And that your ports 1973 and 57773 is free to use. If you would like to change the port just change 1973 and 57773 with any you'd like to use.

This command will download the image (daimor/intersystems-cache:2018.1) from the public repository, and run it in the background.

You can control the running container by commands, wherein all subsequent commands cache is the name of the container from the docker run command.

To see cconsole.log of the container.

docker logs cache

To look at the status of the container

docker ps cache

Stop running container

docker stop cache

This is just an empty instance, to look at how it works. In the real case scenario, some more work should be done.

Docker images for Cache or for Ensemble are provided by me, and it is available for different versions.

Nowadays is best to migrate to IRIS, and use official images provided by InterSystems itself.

And the next step for you would be to use an editor that can be run on macOS, instead of Studio which working only on Windows.  

And you can use VSCode editor with an extension VSCode-ObjectScript, developed by me. 

I would recommend reading here articles tagged by Docker. There much more information about how to best use it. 

As well as about using VSCode.

You can contact me directly, if you need any help with establishing development process, with such modern tools as Docker and VSCode. or migrating to IRIS.

Thanks for the tips, much appreciated! I’ll get back to you on my success (hopefully) with this 
 

im using vscode and your plugin already, it’s very good, I’ve been following it for a long time, I don’t care much for eclipse and atelier, so glad you’ve added the intellisense in now too!

I’m not sure we can upgrade to iris with out current licences so for now I’m just trying to create a local dev environment on Mac, mostly because of the whole work from home movement. I had no issues setting it up in Mojave but it seems to have gotten a lot more difficult since!

id love to contribute to the project too if I can, let me know if there’s anything you need.

thanks,

Dan

Hello again, so i got docker set up and cache installed but i don't actually have a licence for red hat, and vs code seems to tip it over the allowed one. 

Hi Dan

Yes, as Dmitry I haven't been installing software for a while on my Mac as I use containers that leave it cleaner.

I know you probably have version constraints but make sure to check-out on the InterSystems Docker Hub and find out the official versions available as community editions (CE) that do not require keys and those available via the InterSystems DC.

All the best with this new technology

Hi Daniel,

Are you up and running with your development environment? Have you given the IRIS container a chance?

Thanks & TTYL

gatekeeper has quarantined your httpd. open a terminal and navigate to {irisinstalldir}/httpd/bin and do this

sudo xattr -d com.apple.quarantine ./httpd. This removes the quarantine flag and will let httpd start.

alternative is to disable gatekeeper completely but I don't advise that as it can be dangerous.

Thanks Patrick,

That's worked for me!!!.

Regards,