Cannot set up on Virtuozzo
Hi,
I'm using a Virtuozzo VPS and am unable to go past the first page on the set up page because:
- it says that the available disk space is 0GB (it's around 18GB)
- whatever value for the RAM I put in, it says it's either too high or too low
It asks me to input a RAM value between 256MB and 0MB (in that order).
Anything >= 256 is too high.
Anything < 256 is too low.
I've successfully set up and run Couchbase on Xen- and OpenVZ-based VPS systems, but am having trouble now with a Virtuozzo-based one.
I've tried dev-preview 3 and 4, both with the same results.
Thanks.
I've now switched to a different VPS package that doesn't use Virtuozzo and no longer have access to a Virtuozzo-based system, so right now I'll not be able to help you track down the source I'm afraid.
Okay, thanks for letting us know. The thread will help someone else if they run into the same issue.
Thanks for letting us know-- sorry for the trouble!
The Couchbase cluster checks for space available in it's default directory using common syscalls. It sounds like some of those are coming back saying there is no space. I don't know enough about Virtuozzo to be able to say for certain where the issue is. What does "df /opt/couchbase/var/lib/couchbase/" say? That should approximate what the Couchbase cluster is doing when it checks for available space.
Another thing to try is run the tests from libsigar on that platform. Couchbase uses it for gathering some of the data on the system. If those tests don't run under Virtuozzo for some reason, then the VM doesn't approximate enough of a real system and Couchbase will have trouble running there.
If you find what's causing the issue, we might be able to help come up with a workaround.