Error in Setting Auto Start for Oracle DB on Sun Solaris 10
Hi Gurus,
I am trying to set my DB to auto start when server reboots. Fllowing is my setting and the error. The issue is that the DB starts but LISTENER is not running...
Please please help me...
This is what I used for setting the auto start.
Thanks,
Jayant
SETTING:
=======
#!/sbin/sh
#Match ORACLE_HOME with whatever is in ~oracle/.profile!!!
ORACLE_HOME=<whatever is Orcale home is>
case $1 in
start)
su - oracle -c $ORACLE_HOME/bin/dbstart
su - oracle -c "$ORACLE_HOME/bin/lsnrctl start"
exit 0
stop)
su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"
su - oracle -c $ORACLE_HOME/bin/dbshut
esac
You're not done yet! You now have to dl
ln -s ../init.d/oracle /etc/rc3.d/S95oracle
ln -s ../init.d/oracle /etc/rc0.d/K15oracle
chmod 0755 /etc/init.d/oracle
ERROR:
======
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 02-DEC-2006 10:09:24
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
Solaris Error: 2: No such file or directory
root@zngds1gk #
Bingo.... I got it.
Thanks for your hint about the ./.profile. I was setting env variables in .cshrc file and my default shell for "oracle" user was sh.
Then I changed the default shell for oracle user to csh and viola..... it works.
root@zngds1gk # su - oracle
$ id
uid=100(oracle) gid=101(dba)
$ setenv
HOME=/space/oracle
PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
LOGNAME=oracle
HZ=100
TERM=xterm
SHELL=/bin/sh
$ exit
root@zngds1gk # usermod -u 100 -s /bin/csh oracle
root@zngds1gk # su - oracle
zngds1gk%
zngds1gk% setenv
HOME=/space/oracle
PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
LOGNAME=oracle
HZ=100
TERM=xterm
SHELL=/bin/csh
zngds1gk% cat .cshrc
umask 022
setenv ORACLE_BASE /space/oracle/app/oracle
setenv ORACLE_SID adm
setenv DISPLAY 47.102.212.108:0.0
setenv ORACLE_HOME /space/oracle/app/oracle/product/10.2.0/Db_2
setenv PATH /space/oracle/app/oracle/product/10.2.0/Db_2/bin:$PATH
And now it works...
Thanks.
~Jayant
Similar Messages
-
HI
in sharepoint 2013 WFE servers event viewer i receive following error many times
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Date: 4/14/2015 2:23:56 PM
Event ID: 2303
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: TSharepint2013.test.com
Description:
There was an error during processing of the managed application service auto-start for application pool: 'SecurityTokenServiceApplicationPool'. Some application services may not have been processed correctly. Please check the configuration for application
service auto-start for the application(s) assigned to this application pool. The data field contains the error code.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
<EventID Qualifiers="32768">2303</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-04-14T11:23:56.000000000Z" />
<EventRecordID>183840</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>TSharepint2013.test.com</Computer>
<Security />
</System>
<EventData>
<Data Name="ApplicationPool">SecurityTokenServiceApplicationPool</Data>
<Binary>02000780</Binary>
</EventData>
</Event>
adilHI
in sharepoint 2013 WFE servers event viewer i receive following error many times
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Date: 4/14/2015 2:23:56 PM
Event ID: 2303
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: TSharepint2013.test.com
Description:
There was an error during processing of the managed application service auto-start for application pool: 'SecurityTokenServiceApplicationPool'. Some application services may not have been processed correctly. Please check the configuration for application
service auto-start for the application(s) assigned to this application pool. The data field contains the error code.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
<EventID Qualifiers="32768">2303</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-04-14T11:23:56.000000000Z" />
<EventRecordID>183840</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>TSharepint2013.test.com</Computer>
<Security />
</System>
<EventData>
<Data Name="ApplicationPool">SecurityTokenServiceApplicationPool</Data>
<Binary>02000780</Binary>
</EventData>
</Event>
adil -
ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss
Hi,
I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="es-ES">
<head><title>Sistema de Seguridad</title><meta name="generator" content="Oracle ADF Faces"><!-- ERROR: could not create stylesheet for oracle-desktop.xss --><script type="text/javascript" src="/fmv/adf/jsLibs/Commonea6.js"></script><script type="text/javascript">_defaultTZ()</script></head>
Please note the comment: <!-- ERROR: could not create stylesheet for oracle-desktop.xss -->
Does somebody know the reason?
TIA,
BrianIf everything is set up properly the css will get generated if it doesn't exist. You do not have to be running in the IDE for the css to be correctly generated. Running the app first is generating the css before you deploy, so you've taken away the symptom but not solved the problem. If you try running on another browser, for example, you'll probably run into the same problem.
Does your ear get unzipped when you deploy? Do you have a writable file system for the css to get written to? There is a known issue with WebLogic where it doesn't expand the EAR.
Please check to see if there are errors in the logs. -
"Error while accessing porting layer for ORACLE database via getSessionId()
Hi,
My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 moreActually, now (after the GRANT described in my reply before) the Exception has changed to:
Caused by: com.sap.sql.log.OpenSQLException: Error while
accessing porting layer for ORACLE database via
<b>getDatabaseHost</b>().
at com.sap.sql.log.Syslog.createAndLogOpenSQLException
(Syslog.java:148)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createPooledConnection(DirectConnectionFactory.java:527)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:158)
at com.sap.sql.jdbc.direct.DirectConnectionFactory.
createDirectPooledConnection(DirectConnectionFactory.java:118)
at com.sap.sql.connect.factory.PooledConnectionFactory.
createPooledConnection(PooledConnectionFactory.java:119)
at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
getPooledConnection(DriverPooledConnectionFactory.java:38)
at com.sap.sql.connect.datasource.DBDataSourceImpl.
createPooledConnection(DBDataSourceImpl.java:685)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPool(DBDataSourcePoolImpl.java:1081)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
matchPooledConnection(DBDataSourcePoolImpl.java:919)
at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
getConnection(DBDataSourcePoolImpl.java:67)
at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
getConnection(DatabaseDataSourceImpl.java:36)
at com.sap.engine.services.dbpool.spi.
ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
... 90 more -
Error while setting up enviroment for the application
Hi,
Im getting a popup box displaying the error message
C:\WINDOWS\system32\ntvdm.exe
Error while setting up enviroment for the application. Choose 'Close' to terminate the application.
When I try to excute an external exe, why am I getting this error? and is there a way of getting this exe to execute properly without the error?
Here my code for excuting the external exe
String[] cmd = {"C:/gen.exe", "C:/a.zip"};
Process p = Runtime.getRuntime().exec(cmd);
p.waitFor(); "gen.exe" is the program i wish to execute and "a.zip" is the parameter i wish to excute it with.class ExecRuntime {
public static void main(String args[]) throws Exception {
String[] cmd = {"C:\\gen.exe", "C:\\a.zip"};
Process p = Runtime.getRuntime().exec(cmd);
p.waitFor();
} Here we need to use backslashes, because the command is passed to the OS as is.
If you need to be in C:\ to execute from command line, you will also need to use the
exec() version that allows you to specify the 'current directory'
Edited by: baftos on Mar 7, 2008 12:13 PM -
Hi,
This is Sathish, I am trying to create a report and retrieve data through stored procedure using ODBC Connection. When connecting to the Stored Procedure it is showing Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax error or access violation' Error.
CRXI R2, Oracle 9i.
What do i do to solve this issue.
Regards,
SathishHi Satish
It could be an issue with the driver.
You can try with the OLEDB n Oracle native connection to test if the issue persists.
Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
Hope this helps!!
Regards
Sourashree -
ICal server set auto schedule for users
Does anyone know how or if it's possible to set the auto accept state for a user?
Using calendarservermanageprincipals you can do it for locations for example and you can --get-auto-schedule for a user, but when you try to --set-auto-schedule for a user it says it's not allowed. Anyone know of a workaround or if it's possible?
--sysdevNevermind, figured it out. you can manually edit the database these values are set in. /CalendarServer/Data/resourceinfo.sqlite
-
Hi,
while uploading new rpd getting error message in enterpriise manger
Error in getting process status for oracle instance: instance12- component: coreapplication_obisch1,chekced in the dignostic log found above mentioned error
what can be cause of the probelm
thanksHi,
1.Try using the sample rpd of it works, then the problem with the new rpd.
2. Restart the service once then upload the new rpd.
Regards,
VG -
How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform
Hi
How to start Oracle Enterprise Manager(Oracle 9i) on Sun Solaris 9 platform and Oracle Enterprise Manager(Oracle 10G) on Sun Solaris 10 platform?
Thanks.
RJ.I need to use it to unlock some accounts.There is a SQL command to do that
SQL> alter user <username> account unlock;
Anyway...
$ export ORACLE_SID=chucky
$ emctl start dbconsole -
How to install oracle 8i on sun solaris OS.
Dear all,
how to install oracle 8i on sun solaris OS.
please guide in detail.
Thanks
Muhammad NadeemOTN has much to offer including installation guides:
http://www.oracle.com/technology/documentation/oracle8i.html
Werner -
Auto Start/Stop Oracle Database Lintener DBConslone on Linux
Dear all
I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
it try with following scrip / process but database not starting automatically.
Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
TSH1:/u01/app/oracle/product/10.2.0:Y
Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
#!/bin/bash
#chkconfig: 345 95 10
#description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
case $1 in
start)
su - oracle -c 'lsnrctl start'
su - oracle -c 'dbstart'
su - ora10g -c 'isqlplusctl start'
su - oracle -c 'emctl start dbconsole'
stop)
su - oracle -c 'emctl stop dbconsole'
su - oracle -c 'isqlplusctl stop'
su - oracle -c 'dbshut'
su - oracle -c 'lsnrctl stop'
restart)
su - oracle -c 'emctl stop dbconsole'
su - oracle -c 'isqlplusctl stop'
su - oracle -c 'dbshut'
su - oracle -c 'lsnrctl stop'
su - oracle -c 'lsnrctl start'
su - oracle -c 'dbstart'
su - ora10g -c 'isqlplusctl start'
su - oracle -c 'emctl start dbconsole'
esac
create service on linux
Actions >> System Settings >> Server Settings >> Services Then
Actions >> Add Service Then
Service Name = dbora Then Press Ok
chmod a+x /etc/init.d/dbora
Check is it running this service properly
service dbora stop
service dbora start
showing error
:bad interperter : no such file or directory
Please forward me process/steps for auto start/stop oracel services:bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
most probably this is caused by the shebang (#!/bin/bash)
the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
can you make the shebang:
#!/bin/bash -xso shelltracing is put on and execute script again?
this will make clear if it is the shebang in your script, or in another script. -
Error in the Auto Start Script
Hi all,
I am implementing the procedure in Note ID 281912.1. to configure a RHEL 5.2 x86 Box for Oracle 11g R2 DB Auto Start.
I got an error as shown below.
Thanks in advance.
[root@srv100] head /etc/init.d/dbora
#!/bin/bash
# oracle Start/Stop the Databases...
# chkconfig: 2345 99 10
# processname: oracle
# config: /etc/oratab
# pidfile: /var/run/oracle.pid
[root@srv100] cat /etc/init.d/dbora
#!/bin/bash
# oracle Start/Stop the Databases...
# chkconfig: 2345 99 10
# processname: oracle
# config: /etc/oratab
# pidfile: /var/run/oracle.pid
# Source function library.
. /etc/init.d/functions
RETVAL=0
ORA_OWNER="oracle"
ORA_HOME="/u01/app/oracle/product/11.2.0/db_1"
prog="oracle"
start() {
echo -n $"Starting $prog: "
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart"
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dbora
return $RETVAL
stop() {
echo -n $"Stopping $prog: "
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut"
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -r /var/lock/subsys/dbora
return $RETVAL
restart() {
stop
start
case "$1" in
start)
start
stop)
stop
restart)
restart
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
#"FOLLOWING IS THE ERROR I GOT"
[root@srv100] chkconfig --add dbora
service dbora does not support chkconfigThe issue was resolved by adding the following to the script:
# description: Start/Stop the Databases..It seems for the config command to succeed, the script should comply with specific strucutre.
Script provided in Oracle Note 281912.1 doesn't comply with the required structure and needed that little change. -
Error on Create Database command for Oracle 9i on Red Hat 9
Error on Create Database command
CREATE DATABASE ora9i
LOGFILE
GROUP 1 ('$HOME/ORADATA/log_01_01_ora9i.rdo') SIZE 10M,
GROUP 2 ('$HOME/ORADATA/log_02_01_ora9i.rdo') SIZE 10M
DATAFILE '$HOME/ORADATA/system_01_ora9i.dbf' SIZE 100M
AUTOEXTEND ON NEXT 50M MAXSIZE 150M
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE '$HOME/ORADATA/temp_01_ora9i.dbf' SIZE 15M
AUTOEXTEND ON NEXT 5M MAXSIZE 30M
CHARACTER SET WE81SO8859P1
NATIONAL CHARACTER SET AL16UTF16
CREATE DATABASE ora9i
ERROR at line 1:
ORA-01092:ORACLE instance terminated. Disconnection forced.
initora9i.ora file contents :
background_dump_dest=$HOME/ADMIN/BDUMP
core_dump_dest=$HOME/ADMIN/CDUMP
db_name=ora9i
db_files= 80
db_file_multiblock_read_count=8
db_block_buffers=100
shared_pool_size = 3500000
log_checkpoint_interval = 10000
processes=50
parallel_max_servers=5
log_buffer = 32768
max_dump_file_size = 10240
global_name = TRUE
control_files=$HOME/ORADATA/ctrl01.ctl
undo_management=AUTO
user_dump_dest=$HOME/ADMIN/UDUMP
-------------------------------------------------Pleae include REUSE keyword at the end of each file location as shown below...
CREATE DATABASE ora9i
LOGFILE
GROUP 1 ('$HOME/ORADATA/log_01_01_ora9i.rdo') SIZE 10M REUSE,
GROUP 2 ('$HOME/ORADATA/log_02_01_ora9i.rdo') SIZE 10M REUSE
DATAFILE '$HOME/ORADATA/system_01_ora9i.dbf' SIZE 100M REUSE
AUTOEXTEND ON NEXT 50M MAXSIZE 150M
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE '$HOME/ORADATA/temp_01_ora9i.dbf' SIZE 15M REUSE
AUTOEXTEND ON NEXT 5M MAXSIZE 30M
CHARACTER SET WE81SO8859P1
NATIONAL CHARACTER SET AL16UTF16 -
Auto start for all services under solaris 10 ?
Hi,
Can I set the oracle auto start ? include listener, sqlplus...etc.
Thanks.Hi,
Yes I am using oracle as id.
here is the output:
solaris10% pwd
/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/bin
solaris10% sh -x ./dbstart
+ :
LOGMSG=logger -puser.alert -s
+ trap exit 1 2 3
SAVE_LLP=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/lib:/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/network/lib
ORACLE_HOME_LISTNER=
+ [ ! ]
./dbstart: test: argument expected
solaris10%
By the way, here is my environment variables setting:
solaris10% env
HOME=/export/home/oracle
PATH=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/bin:/usr/bin:LOGNAME=oracle
HZ=
TERM=xterm
SHELL=/bin/csh
MAIL=/var/mail/oracle
LANG=C
LC_CTYPE=C
LC_ALL=C
TZ=Hongkong
PWD=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/bin
USER=oracle
DISPLAY=solaris10:0.0
ORACLE_BASE=/export/home/oracle/u01/app/oracle
ORACLE_SID=orclnew
TMP=/export/home/oracle/tmp
TMPDIR=/export/home/oracle/tmp
ORACLE_HOME=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3
LD_LIBRARY_PATH=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/lib:/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/network/lib
ORATAB=/var/opt/oracle/oratab
solaris10%
Thanks. -
Error in setting the linenum for new expenses document
Hi all,
I have created an add-on procedure to add a new expenses document to a selected service call. Although the code compiles without any errors, when I go back and check the expenses tab in the service call form, the new document doesnt appear in the expenses grid. I also checked whether the data was saved into the corresponding SCL2 and SCL4 tables. The new stock transaction is not saved into the service call. My current code is:
Public Sub add_StockTransaction(ByVal strGRJobID As String, ByVal srtSTDocNo As String)
Dim oServiceCall As SAPbobsCOM.ServiceCalls
Dim oExp As SAPbobsCOM.ServiceCallInventoryExpenses
Dim bRetVal As Boolean
Dim errcode As Long
Dim errmsg As String
Try
oServiceCall = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oServiceCalls)
bRetVal = oServiceCall.GetByKey(strGRJobID)
If Not bRetVal Then
SBO_Application.MessageBox("Failed to Retrieve the record.")
Exit Sub
End If
oExp = oServiceCall.Expenses
oExp.Add()
oExp.DocumentType = "67"
oExp.DocumentNumber = strSTDocNo
oExp.DocEntry = strSTDocNo - 99999
SBO_Application.MessageBox(oExp.LineNum)
oExp.SetCurrentLine(oExp.LineNum + 1)
oExp.StockTransferDirection = 1
oExp.Add()
oServiceCall.Update()
bRetVal = oServiceCall.Update()
If bRetVal = False Then
oCompany.GetLastError(errcode, errmsg)
SBO_Application.MessageBox(errmsg)
Else
SBO_Application.MessageBox("Successfully added stock transaction to Service Call.")
End If
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
end sub
I would appreciate any help as I tried so many ways of solving the problem but couldn't find a solution. Thank you all in advance.Bingo.... I got it.
Thanks for your hint about the ./.profile. I was setting env variables in .cshrc file and my default shell for "oracle" user was sh.
Then I changed the default shell for oracle user to csh and viola..... it works.
root@zngds1gk # su - oracle
$ id
uid=100(oracle) gid=101(dba)
$ setenv
HOME=/space/oracle
PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
LOGNAME=oracle
HZ=100
TERM=xterm
SHELL=/bin/sh
$ exit
root@zngds1gk # usermod -u 100 -s /bin/csh oracle
root@zngds1gk # su - oracle
zngds1gk%
zngds1gk% setenv
HOME=/space/oracle
PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
LOGNAME=oracle
HZ=100
TERM=xterm
SHELL=/bin/csh
zngds1gk% cat .cshrc
umask 022
setenv ORACLE_BASE /space/oracle/app/oracle
setenv ORACLE_SID adm
setenv DISPLAY 47.102.212.108:0.0
setenv ORACLE_HOME /space/oracle/app/oracle/product/10.2.0/Db_2
setenv PATH /space/oracle/app/oracle/product/10.2.0/Db_2/bin:$PATH
And now it works...
Thanks.
~Jayant
Maybe you are looking for
-
The MainStage 2 manual is available: http://manuals.info.apple.com/enUS/Exploring_MainStage2.pdf
-
I have an image that I took in RAW with a Canon 5D. I then masked a large portion of the image using the adjustments brush. The result was what I wanted but the image is now very large. I exported the image to a DNG to retain editability. The resulti
-
If I download bootcamp will i need to buy windows 7 before I can install a PC game?
I want to buy the new star wars old republic game when it comes out. But its a pc game. I heard i could download a program called bootcamp. I just want to know if i will have to buy and install windows 7 in order to play a pc game on my macbook or
-
Do I have a registry problem? Every time I open a PDF file my local Adobe Acrobat (6.0) installation opens AND the file displays in Firefox (v. 4.0.1). When I close the PDF file it tells me other PDF files are open and asks if I'm sure I want to clos
-
Inverted layer mask not working
I havent used PS much of late but in CS6 when layer masking the technique I used to use doesnt seem to work anymore. I would have two layers. The top layer I would put a layer mask. Then I would select all and delete hit the delete button so the m