Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
Subject: ora 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Subject: Re: ORA 01722 invalid number
 
AW: [suse-oracle] Different environment in initscripts?

AW: [suse-oracle] Different environment in initscripts?

2007-12-05       - By Klier, Martin (A.T.U)

 Back
Reply:     1     2  

Hi,

the /etc/profile construct is not sourced by init scripts.

Do it manually by
". /etc/profile"
so you invoke /etc/init.d/oracle.sh automatically, too. But have care, by
default (out of orarun package) it's only valid for the login of the oracle
user. It's almost everytime a good ideat to extend that to the root user, too.

Regards
--
Freundliche Gr??e

i.A. Martin Klier
Systemadministration / Datenbanken


A.T.U Auto-Teile-Unger
Handels GmbH & Co. KG
Dr.-Kilian-Str. 4
92637 Weiden i. d. OPf.

Tel.: +49 961 - 306 5663
Fax:  +49 961 - 306 5982

martin.klier@(protected)
www.atu.eu

-- --Urspr?ngliche Nachricht-- --
Von: Silviu Marin-Caea [mailto:silviu_marin-caea@(protected)]
Gesendet: Mittwoch, 5. Dezember 2007 12:29
An: suse-oracle@(protected)
Betreff: [suse-oracle] Different environment in initscripts?

If I give this command as root, from the prompt
su - oracle --command "srvctl stop instance -d prod -i prod1 -o immediate"
it works as expected, no problem.

If I use it in an initscript, it will give the error: prod1 wrong instance
name.  Obviously, there's something wrong with the environment.  But
shouldn't it be the same, specifically the login environment of the oracle
user?  Isn't su - oracle supposed to do that?  What is different for
initscripts at shutdown?

Also, for RAC, if I give /etc/init.d/init.crs stop at the prompt, it goes down
almost immediately.

Observing the server while it reboots I have noticed that the CRS shutdown is
much slower, and it leaves two ons processes running.  How can the difference
be explained?

Thanks


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting


--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting