How to reconfigure Oracle 10g xe on Linux

Mohammad Kotb picture Mohammad Kotb · Mar 25, 2011 · Viewed 40.7k times · Source

I have installed Oracle 10g xe from a deb file on linux, and then started to configure it using this terminal command

sudo /etc/init.d/oracle-xe configure

but after finishing configuration I forgot the password, so how can I reconfigure it again after reinstallation as now when I use the previous command I receive

Oracle Database 10g Express Edition is already configured

Thanks,

Answer

myset picture myset · Sep 11, 2012

Remove /etc/sysconfig/oracle-xe
and then /etc/init.d/oracle-xe configure