Restore of backup to new Linode - Varnish problems

I use easyDNS for my DNS, and it has a rollover feature so that if one IP host goes down, it flips to another.

So I have setup a 2nd Linode to contain a mirror of my 1st Linode. I've done a restore from backup.

it all seems to work, except for Varnish.

On localhost, I can lynx http://localhost:8080 and it hits my Nginx server … so Nginx is running fine.

But http://localhost generates:

Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/

And if I do /etc/init.d/varnishd stop, it reports a Fail!

But /etc/init.d/varnishd/start does show it starting up.

I don't see anywhere that I've got a network IP hard coded …. so I'm thinking it might have something to do with the file /etc/varnish/secret

But I'm mystified. Anyone have any thoughts on this?

jc

1 Reply

Never mind. Resolved it. Had to change the IP in /etc/defaults/varnish

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct