Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 11g database startup problems

675165Dec 26 2008 — edited Dec 27 2008
Hi guys,

first of all - merry Christmas everyone!
Like a real geek i'm spending my christmas trying to get a grip with oracle :)

I had oracle XE running on my server, now am trying oracle 11g. (Oracle XE was uninstalled after the installation of 11g)
Installed 11g according to http://www.pythian.com/blogs/654/installing-oracle-11g-on-ubuntu-linux-710-gutsy-gibbon (ubuntu 7,10), it was running perfectly (sqlplus, enterprise manager via web), but restarted the server and can't get the oracle db back:(
A situation is as follows: all the processes of user oracle are killed (brute force:)
All the tries to connect to start up/connect to db are being made from the server itself.

i execute (as user oracle) $startdb $ORACLE_HOME
Processing Database instance "orcl": log file /mnt/home/oracle/app/oracle/product/111.0/db_1/startup.log

And $cat /mnt/home/oracle/app/oracle/product/11.1.0/db_1/startup.log is:
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Dec 27 00:45:36 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> ERROR:
ORA-01031: insufficient privileges
SQL> ORA-01031: insufficient privileges
SQL>
/mnt/home/oracle/app/oracle/product/11.1.0/db_1/bin/dbstart: Database instance "orcl" warm started.
oracle@ip-xx:xx:xx:xx:~/app/oracle/product/11.1.0/db_1$

all the /mnt/home/oracle is owned by user oracle.

$id oracle
uid=1002(oracle) gid=1003(oinstall) groups=1003(oinstall),1002(dba)

so i gets that a problem nr #1 - something's wrong with permissions.

the problem #2, i guess, is connected with wrong description of listener in listener.ora.
=======
$lsnrctl start
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 27-DEC-2008 01:09:23

Copyright (c) 1991, 2007, Oracle. All rights reserved.

Starting /mnt/home/oracle/app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.1.0.6.0 - Production
System parameter file is /mnt/home/oracle/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Log messages written to /mnt/home/oracle/app/oracle/product/11.1.0/db_1/log/diag/tnslsnr/ip-xx-xx-xx-xx/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ip-xx-xx-xx-xx.ec2.internal)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 27-DEC-2008 01:09:25
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /mnt/home/oracle/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /mnt/home/oracle/app/oracle/product/11.1.0/db_1/log/diag/tnslsnr/ip-xx-xx-xx-xx/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ip-xx-xx-xx-xx.ec2.internal)(PORT=1521)))
The listener supports no services
The command completed successfully
======
the key message here i guess is "The listener supports no services".
and yes i've did googled a lot, and tried various configs of listerner.ora, but all of them failed in one way or another.
To specify - the oracle listener is being started (nmap -sT -O localhost shows that listener is listening on the 1521 port),but it it doesn't direct to anything,
of course, cause non of the db instances are started. Or, maybe, if the db would be runing, maybe it would discover it automatically and there's everything
fine with the listerner's config? it's as follows:

========
# listener.ora Network Configuration File: /mnt/home/oracle/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = ip-xx-xx-xx-xx.ec2.internal)(PORT = 1521))
)
)
======

and tnsnames.ora
====

LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip-xx-xx-xx-xx.ec2.internal)(PORT = 1521))


ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip-xx-xx-xx-xx.ec2.internal)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.ec2.internal)
)
)
====

Do not know if that's useful, but ORACLE_SID=orcl emctl start dbconsole ends up listening on the 1158 port, but i can't connect to 127.0.0.1:1158/em - the page simply doesn't respond.

So as i said, my goal is to get the db back on running state, hopefully with enterprise manager later on.
I do understant it's just a huge mix of debug info i've gave here, but i really tried for 6-7 hours to work that out, but it doesn't.
any guidelines, info, or anything else leading to solving this is more than welcome.

Thank You!

james
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2009
Added on Dec 26 2008
9 comments
12,368 views