ewolff / SCS-ESI

Demo for Self-contained Systems (SCS) using ESI (Edge Side Includes) with Varnish for Frontend Integration
Apache License 2.0
44 stars 15 forks source link

unable to start varnish , see logs #2

Closed javaspects closed 5 years ago

javaspects commented 5 years ago

that's what I always get, when trying to start the demo....(logs of container) :

vagrant@vagrant:/repos/ztestdir/SCS-ESI/docker$ docker logs scsesi_varnish1 Can't open VSM file (Cannot open /var/lib/varnish/2a32d6799caa/.vsm: No such file or directory )

I imagine that in default.vcl I have to replace the >host< by 127.0.0.1 if I run it in my vagrant-box ?

ewolff commented 5 years ago

I just tried to run the demo on a freshly installed system and had no problems. It works and I don't get the log entry you are seeing.

The host entries in default.vcl are host names that are resolved by Docker Compose. I.e. order and commonare correct.

Actually I am not sure what you are trying to do as there is no Vagrant in this demo. However, the demo should just work on a system whether it is Linux or anything else.

javaspects commented 5 years ago

Hello Eberhard, thank you for the quick answer. I installed Vagrant on my Windows machine. Therein I installed docker (compose) and, well, I faced the issue... I'll try on my colleagues machine to verify if it's reproduceable...

Best regards, Esteban

Eberhard Wolff notifications@github.com schrieb am Fr., 12. Okt. 2018, 20:18:

I just tried to run the demo on a freshly installed system and had no problems. It works and I don't get the log entry you are seeing.

The host entries in default.vcl are host names that are resolved by Docker Compose. I.e. order and commonare correct.

Actually I am not sure what you are trying to do as there is no Vagrant in this demo. However, the demo should just work on a system whether it is Linux or anything else.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ewolff/SCS-ESI/issues/2#issuecomment-429414778, or mute the thread https://github.com/notifications/unsubscribe-auth/AQVBRe7QH9j3SeRCDmk_A3Cos1fkyLwRks5ukNz8gaJpZM4XZ2Ug .

ewolff commented 5 years ago

I am not sure what is going on here. As I said I tried it on a different machine with a fresh Docker installation and wasn't able to reproduce it. Maybe if you send the full log and also the log for the build of the container, things could be clearer.

What you can try:

javaspects commented 5 years ago

Hallo Eberhard, ich habe das Problem gelöst, d.h. das Problem lag zwischen Stuhl und Monitor :-)

I had Proxy, network problems. Thank you very much ! Esteban.

ewolff commented 5 years ago

Excellent - glad it works for you! 👍🙂