Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl couldn't resolve host #59

Open
mateusguilhermedasilva opened this issue Nov 24, 2014 · 4 comments
Open

curl couldn't resolve host #59

mateusguilhermedasilva opened this issue Nov 24, 2014 · 4 comments

Comments

@mateusguilhermedasilva
Copy link

run command ./zmbkpose -f

..
..
..
..
curl (6) couldn't resolve host

What is the solution ?

@ancientz
Copy link

My zmbkpose is quite old and is also showing this error, I'll be updating it soon and check if It is solved.

@scristopher
Copy link

I am getting this error as well. Not sure if its just cosmetic as of yet, backups complete and I can restore from a user backup so all appears well...

@krokodilerian
Copy link

I have the same issue, the problem is that ldapsearch doesn't sort in the results it gets, so for some results you have

dn: uid=user.1,ou=people,dc=example,dc=org
zimbraMailHost: mail.example.com
zimbraMailDeliveryAddress: [email protected]

and for others
dn: uid=user.2,ou=people,dc=example,dc=org
zimbraMailDeliveryAddress: [email protected]
zimbraMailHost: mail.example.com

This confuses the script and it can't find the proper mail host.

I've done a very quick hack, I added the MAILHOST variable to the config and removed its calculation (for me, it was on lines 191 and 208, for the full backup), which seems to solve the issue.

@mrdsh
Copy link

mrdsh commented Jun 1, 2019

If you have multiple domains how to mention it?
And I am also getting below error.

curl: (6) Couldn't resolve host ''
curl: (6) Couldn't resolve host ''
curl: (6) Couldn't resolve host ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants