Gentoo Archives: gentoo-user

From: pat <pat@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: rc script to start Oracle
Date: Wed, 28 Jun 2006 23:43:08
Message-Id: 20060628232405.M3463@xvalheru.org
In Reply to: [gentoo-user] Re: rc script to start Oracle by Francesco Talamona
1 On Sun, 25 Jun 2006 08:32:41 +0200, Francesco Talamona wrote
2 > On Sunday 25 June 2006 00:20, pat wrote:
3 > > Hi,
4 > >
5 > > I've successfully installed the OracleDB 10gR2 and I want to start it
6 > > at boot. Are there any rc startup scripts ???
7 > >
8 > > Thanks a lot.
9 > >
10 > > Pat
11 >
12 > I adapted the script found on akadia website, to run a 9.2.0.4
13 > inside a chroot. You may need to edit one for your setup.
14 >
15 > This will save you a lot of work:
16 > http://www.akadia.com/services/ora_linux_install_10g.html
17 >
18 > HTH
19 > Francesco
20
21 Thanks for your advice. I've finished the configuration, but I have a problems :-\
22
23 The installation was like this:
24 1) oracle 10gR2 - I've followed the
25 http://www.akadia.com/services/ora_linux_install_10g.html
26 2) I've followed the suggested page
27
28 I'm able to start dbora script and lsnrora like this:
29 *****
30 korin ~ # /etc/init.d/dbora start
31 * Starting Oracle ...
32
33 [ ok ]
34 korin ~ # /etc/init.d/lsnrora start
35 * Start Oracle Listeners ...
36
37 LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-JUN-2006 01:20:17
38
39 Copyright (c) 1991, 2005, Oracle. All rights reserved.
40
41 Starting /opt/oracle/product/10.2.0.1.0/bin/tnslsnr: please wait...
42
43 TNSLSNR for Linux: Version 10.2.0.1.0 - Production
44 System parameter file is /opt/oracle/product/10.2.0.1.0/network/admin/listener.ora
45 Log messages written to /opt/oracle/product/10.2.0.1.0/network/log/listener.log
46 Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
47 Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
48
49 Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
50 STATUS of the LISTENER
51 ------------------------
52 Alias LISTENER
53 Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
54 Start Date 29-JUN-2006 01:20:17
55 Uptime 0 days 0 hr. 0 min. 0 sec
56 Trace Level off
57 Security ON: Local OS Authentication
58 SNMP OFF
59 Listener Parameter File
60 /opt/oracle/product/10.2.0.1.0/network/admin/listener.ora
61 Listener Log File /opt/oracle/product/10.2.0.1.0/network/log/listener.log
62 Listening Endpoints Summary...
63 (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
64 (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
65 Services Summary...
66 Service "PLSExtProc" has 1 instance(s).
67 Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
68 The command completed successfully
69 *****
70
71 But when I try to access the DB I'm receiving this:
72 *****
73 korin ~ # /mnt/data/.home/st0rm $ sqlplus test
74
75 SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 29 01:21:01 2006
76
77 Copyright (c) 1982, 2005, Oracle. All rights reserved.
78
79 Enter password:
80 ERROR:
81 ORA-01034: ORACLE not available
82 ORA-27101: shared memory realm does not exist
83 Linux Error: 2: No such file or directory
84 *****
85
86 Did I missed something ??? When I installed the oracle I was able to create
87 database etc.
88
89 Please, could you help me ???
90
91 Thanks a lot
92
93 Pat
94 --
95 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: rc script to start Oracle Francesco Talamona <ti.liame@×××××.it>