dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Startup problem - Oracle Server

This is a discussion on Startup problem - Oracle Server ; > > Does your server have a fixed IP address? (I hope so...) Thanx for answering, yes I have a fixed IP address... And I'm still clueless... Thanx Paolo...



Reply

 

LinkBack Thread Tools Display Modes
  #11  
Old 11-14-2006, 08:56 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem

>
> Does your server have a fixed IP address? (I hope so...)


Thanx for answering, yes I have a fixed IP address... And I'm still
clueless...

Thanx
Paolo



Reply With Quote
  #12  
Old 11-14-2006, 09:45 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem



On Nov 14, 1:55 pm, "QDL" wrote:
> > Does your server have a fixed IP address? (I hope so...)Thanx for answering, yes I have a fixed IP address... And I'm still

> clueless...
>
> Thanx
> Paolo


Does the database actually open? Did you examine the alert log?
There have been many cases in the past the service does start, but the
database didn't open, usually because there was a mismatch between the
SYS password and the password of the password file.
The database registers itself when it opens.
Alternatively, if you change service_name= in sid= in
tnsnames.ora, which error do you get?

--
Sybrand Bakker
Senior Oracle DBA

Reply With Quote
  #13  
Old 11-14-2006, 09:45 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem



On Nov 14, 1:55 pm, "QDL" wrote:
> > Does your server have a fixed IP address? (I hope so...)Thanx for answering, yes I have a fixed IP address... And I'm still

> clueless...
>
> Thanx
> Paolo


Does the database actually open? Did you examine the alert log?
There have been many cases in the past the service does start, but the
database didn't open, usually because there was a mismatch between the
SYS password and the password of the password file.
The database registers itself when it opens.
Alternatively, if you change service_name= in sid= in
tnsnames.ora, which error do you get?

--
Sybrand Bakker
Senior Oracle DBA

Reply With Quote
  #14  
Old 11-14-2006, 10:21 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem

> Does the database actually open?
I'm a *real* beginner with Oracle... How can I check this?

> Did you examine the alert log?

No... You mean the Windows log or Oracle's

> There have been many cases in the past the service does start, but the
> database didn't open, usually because there was a mismatch between the
> SYS password and the password of the password file.

I used the standard installer and I keyed in the password for SYS and SYSTEM
there, so I guess this is not the problem. Also if I stop and restart the DB
it works.

> The database registers itself when it opens.
> Alternatively, if you change service_name= in sid= in
> tnsnames.ora, which error do you get?

How can I retrieve the SID... I told you I'm a real beginner...

I think this problem is about some other service starting very slow
(Network?) and Oracle not being able to start propertly. As I told before,
after booting if I stop and restart Oracle DB, it start working ok...

I forgot to mention I have also Oracle Application Server installed on the
same machine...

> --
> Sybrand Bakker
> Senior Oracle DBA
>


Thanx again
Paolo


Reply With Quote
  #15  
Old 11-14-2006, 10:21 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem

> Does the database actually open?
I'm a *real* beginner with Oracle... How can I check this?

> Did you examine the alert log?

No... You mean the Windows log or Oracle's

> There have been many cases in the past the service does start, but the
> database didn't open, usually because there was a mismatch between the
> SYS password and the password of the password file.

I used the standard installer and I keyed in the password for SYS and SYSTEM
there, so I guess this is not the problem. Also if I stop and restart the DB
it works.

> The database registers itself when it opens.
> Alternatively, if you change service_name= in sid= in
> tnsnames.ora, which error do you get?

How can I retrieve the SID... I told you I'm a real beginner...

I think this problem is about some other service starting very slow
(Network?) and Oracle not being able to start propertly. As I told before,
after booting if I stop and restart Oracle DB, it start working ok...

I forgot to mention I have also Oracle Application Server installed on the
same machine...

> --
> Sybrand Bakker
> Senior Oracle DBA
>


Thanx again
Paolo


Reply With Quote
  #16  
Old 11-14-2006, 10:37 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem

[CUT]
> Alternatively, if you change service_name= in sid= in
> tnsnames.ora, which error do you get?

[CUT]

Get the same error, thanx.

>
> --
> Sybrand Bakker
> Senior Oracle DBA
>



Reply With Quote
  #17  
Old 11-14-2006, 10:37 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem

[CUT]
> Alternatively, if you change service_name= in sid= in
> tnsnames.ora, which error do you get?

[CUT]

Get the same error, thanx.

>
> --
> Sybrand Bakker
> Senior Oracle DBA
>



Reply With Quote
  #18  
Old 11-14-2006, 11:44 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem



On Nov 14, 3:21 pm, "QDL" wrote:
> > Does the database actually open?I'm a *real* beginner with Oracle... How can I check this?

>
> > Did you examine the alert log?No... You mean the Windows log or Oracle's

>
> > There have been many cases in the past the service does start, but the
> > database didn't open, usually because there was a mismatch between the
> > SYS password and the password of the password file.I used the standard installer and I keyed in the password for SYS and SYSTEM

> there, so I guess this is not the problem. Also if I stop and restart the DB
> it works.
>
> > The database registers itself when it opens.
> > Alternatively, if you change service_name= in sid= in
> > tnsnames.ora, which error do you get?How can I retrieve the SID... I told you I'm a real beginner...

>
> I think this problem is about some other service starting very slow
> (Network?) and Oracle not being able to start propertly. As I told before,
> after booting if I stop and restart Oracle DB, it start working ok...
>
> I forgot to mention I have also Oracle Application Server installed on the
> same machine...
>
> > --
> > Sybrand Bakker
> > Senior Oracle DBAThanx again

> Paolo




1 I meant the alert log of Oracle, probably something like alert_xe.log
If this is a default install, it should be in the directory
%ORACLE_HOME%\database.
There should be a file called oradim.log in the same directory. This
tracks down service problems.
2 Oracle is implemented as a service. You have a service called
OracleService on your system. SID can be anything, but for Oracle
Express it is always XE.
3 If you fire up a DOS box, and issuse
set ORACLE_SID=XE
sqlplus /nolog
connect / as sysdba
what happens (right after rebooting, that is)?

--
Sybrand Bakker
Senior Oracle DBA

Reply With Quote
  #19  
Old 11-14-2006, 11:44 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem



On Nov 14, 3:21 pm, "QDL" wrote:
> > Does the database actually open?I'm a *real* beginner with Oracle... How can I check this?

>
> > Did you examine the alert log?No... You mean the Windows log or Oracle's

>
> > There have been many cases in the past the service does start, but the
> > database didn't open, usually because there was a mismatch between the
> > SYS password and the password of the password file.I used the standard installer and I keyed in the password for SYS and SYSTEM

> there, so I guess this is not the problem. Also if I stop and restart the DB
> it works.
>
> > The database registers itself when it opens.
> > Alternatively, if you change service_name= in sid= in
> > tnsnames.ora, which error do you get?How can I retrieve the SID... I told you I'm a real beginner...

>
> I think this problem is about some other service starting very slow
> (Network?) and Oracle not being able to start propertly. As I told before,
> after booting if I stop and restart Oracle DB, it start working ok...
>
> I forgot to mention I have also Oracle Application Server installed on the
> same machine...
>
> > --
> > Sybrand Bakker
> > Senior Oracle DBAThanx again

> Paolo




1 I meant the alert log of Oracle, probably something like alert_xe.log
If this is a default install, it should be in the directory
%ORACLE_HOME%\database.
There should be a file called oradim.log in the same directory. This
tracks down service problems.
2 Oracle is implemented as a service. You have a service called
OracleService on your system. SID can be anything, but for Oracle
Express it is always XE.
3 If you fire up a DOS box, and issuse
set ORACLE_SID=XE
sqlplus /nolog
connect / as sysdba
what happens (right after rebooting, that is)?

--
Sybrand Bakker
Senior Oracle DBA

Reply With Quote
  #20  
Old 11-14-2006, 11:47 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Startup problem


QDL wrote:
> [CUT]
> > Alternatively, if you change service_name= in sid= in
> > tnsnames.ora, which error do you get?

> [CUT]
>
> Get the same error, thanx.
>
> >
> > --
> > Sybrand Bakker
> > Senior Oracle DBA
> >


It is possible the listener service is starting *after* the database
service starts due, in part, to the service naming; you may want to set
both services to Manual and write a .bat file to start them in the
proper sequence using the 'net start' command syntax:

net start
net start

As an example the startdb.bat file would be (presuming your Oracle home
is named OracleXE_home):

net start OracleXE_homeTNSListener
net start OracleServiceXE

Doing this will start the listener first, then start the database,
which will allow the db to register with the listener. As it appears
your system is probably starting the OracleServiceXE first, then
starting the OracleXE_homeTNSListener, causing the database to not
register automatically, and this is why you can stop and restart the
database service and all works as expected.

You might also be able to put these commands into your autoexec.bat
file (usually found in the root directory of the C drive) so everything
will start automatically. (I'm presuming that is an option even with
the more recent releases of Windows.)



David Fitzjarrell

Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 04:26 PM.