This content has been marked as final. Show 4 replies
as you receive this error from "configure", the problem probably doesn't sit in the files you've edited, as they are supposed to be (re)created in that step.
My guess would be you have some problem in your network setup. Probably your primary network interface has your FQDN assigned.
You could try to modify your +/etc/hosts+ such that the first hit on your host isn't the FQDN but just the hostname. This value will be taken by the configure script, no matter what kind of value you've edited manually to the ora-files.
Another option would be not to run "configure" again, but just start the database, either manually as Nikolay suggested, or using the init script
If you want to try the manual approach, the environment variables would be set as follows
Usually there is a script for that: +/u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh+ . But possibly this hasn't been generated on your system properly, as your "configure" didn't work as expected.
export ORACLE_SID=XE export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
So my recommendation would be to fix it from there, i.e., to fix the problems that block the success of "configure".
Thanks for the prompt reply's.
Well as usual I feel like an idiot..!
The problem wasn't with the ORACLE script it was with the initial set up of the VM and the hostname that it was resolving to or that I originally used.
Even though I was modifying the */etc/hostname* for the correct name I wasn't modifying the */etc/sysconfig/network* file and it still had the original name dvrfc.localdomain
So, for anyone in the future who runs into a similar problem change the entry's in */etc/hosts* and */etc/sysconfig/network* to the correct hostname and this will correct the problem, then restart the network services.
After which I was able to run the configure script and it finished successfully: */etc/init.d/oracle-xe configure*
Well as usual I feel like an idiot..!This probably happens to everyone of us now and then.
What actually counts is that you've got your XE up and running.
[...]I wasn't modifying the /etc/sysconfig/network fileRight, I forgot that the RedHat-derivates have that as well. My Ubuntu/Debian doesn't have this extra...
P.S.: If you think any post was helpful, please mark it accordingly, so other users searching the forum for similar issues can spot relevant posts easily. Thanks!