Skip to content

Can't get into the vm with 18.4.0-XE via vagrant ssh #534

Open
@infiniteshi

Description

@infiniteshi

Describe the issue
An older version of this project is being used 18.4.0-XE in this case.
User currently has no issue to bring the Oracle DB up by running vagrant up. We can verify that Oracle DB is up and running by "sqlplus / as sysdba" etc.
After an upgrade of vagrant to 2.4.3 recently, can't connect to the DB with a sql client software AquaData studio. We are trying to get into the vm by vagrant ssh but can't.
Since we know the DB is running, our main focus/question is how to get into the vm. (1)How to make vagrant ssh work and (2) Is there any alternative to vagrant ssh to achieve the same goal.

Environment (please complete the following information):

Additional information
We've tried this command that works in terms of getting us to run sqlplus / as sysdba
ssh -i /<path_to>/vagrant-projects/OracleDatabase/18.4.0-XE/.vagrant/machines/oracle18c-xe-vagrant/virtualbox/private_key vagrant@127.0.0.1 -p 2222

The Vagrantfile is default as in the OracleDatabase/18.4.0-XE project and not modified, so the name of the vm is the defult oracle18c-xe-vagrant

Expected Behavior
After running vagrant up, we run vagrant ssh, what we expect to see is prompt [vagrant@oracle18c-xe-vagrant ~] and then if we would do sudo su - oracle we'd expect to see prompt [oracle@oracle18c-xe-vagrant ~].

Actual Behavior
After running vagrant up, we run vagrant ssh, what we actually see is prompt [vagrant@vbox ~] and then if we did sudo su - oracle anyway and we saw prompt [oracle@vbox ~].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions