My oracle is installed in a virtual machine, so the environment variable to determine the correct configuration, has been reported above error when you log on using the following method.
The Internet to find a lot of methods are ineffective, said that the listener most documents wrong, in fact, not the last column in the database that can add a virtual machine ip successful login.
database: 192.168.248.128/ORCL
Solution: