I am trying to install Oracle XE on a OpenVZ container with CentOS template.
At first, the installation reports that there is not enough swap memory (OpenVZ do not allocate any space to swap memory, by default) and then the installation fails at the post-installation tasks. The listener is running, but no Oracle instance seem to be available.
I checked the Oracle environment settings, they seem to correct (I have set them with the sh provided by the installed Oracle XE) but if I try to connect to the DB i get this message:
"ora-01034: oracle not available
ora-27101: shared memory realm does not exit"
I found similar problems with XE installations on OpenVZ, but no solution. It seem there must be a way to bypass the swap memory problem in order to correctly install Oracle XE. Anyone knows how to do this? Anyone done a successful installation of XE on a OpenVZ container?
Because, in practice, IT infrastructure is never a plain Oracle DB installed on a machine. Most of the systems I know, or worked in, are composed on many virtual machines located on just a few physical machines. Using VMWare or other virtualization sotware is a must also in web hosting (virtual private servers are actualy VMWare or OpenVZ containers)...
So don't think I'm doing anything strange or wrong, simply there is not enough Oracle documentation to cover all these scenarios. I found on the web lots of systems like these (Oracle XE on virtual machines), some are simpler to install, some are more difficult, but in each case the install steps differ from the "official" Oracle documentation. All I'm asking is some advice in this particular scenario and I'm sure that solutions exist ... I just haven't found the people who know them :)