Why are you using @comdata service name, when u haven't created any? check the Oracle_sid with the command echo $ORACLE_SID [should be specified in the .bash_profile or .bash_rc] which will result in the DB name as an output. Use sys@orcl as sysdba as this is ur service name and also do check listener status whether its running or not. lsnrctl is the CLI. commands as follows: lsnrctl status lsnrctl start ( this will start the listener if configured properly) Also try using Tnsping utility with the service name orcl and not comdata. commnad as follows: tnsping orcl tnsping comdata If you want to user comdata as the service name then create the service with the name
comdata first!!! Netca or netmgr are the tools to create the services in Oracle Net layer of DB. Regards, Pulin --- On Tue, 14/12/10, Jay Maheshkar <jay.ma...@gmail.com> wrote: |
|
Best Regards,
Dhwanil Raval
Oracle DBA
On 12/14/10, Ashok Kumaran <ashokku...@gmail.com> wrote:
> Hi Jay,
>
> Set ORACLE_SID=orcl and export it
> then start *sqlplus / as sysdba*
>
> then type *startup*
>
> it may work u can try it.
>
> Regds,
> Ashok
>
> On Tue, Dec 14, 2010 at 1:28 PM, Jay Maheshkar
> <jay.ma...@gmail.com>wrote:
>
>> Thanks Mr. Pulin for your help
>> Let me try, then i will get back to you
>>
>> On Tue, Dec 14, 2010 at 12:02 PM, pulin patel <puli...@yahoo.co.in>wrote:
>>
>>>
>>> Why are you using @comdata service name, when u haven't created any?
>>> check the Oracle_sid with the command echo $ORACLE_SID [should be
>>> specified in the .bash_profile or .bash_rc] which will result in the DB
>>> name
>>> as an output.
>>>
>>> Use *sys@orcl as sysdba* as this is ur service name and also do check
>>> listener status whether its running or not.
>>> lsnrctl is the CLI.
>>> commands as follows:
>>> lsnrctl status
>>> lsnrctl start ( this will start the listener if configured properly)
>>>
>>> Also try using Tnsping utility with the service name orcl and not
>>> comdata.
>>> commnad as follows:
>>> tnsping orcl
>>> tnsping comdata
>>>
>>> If you want to user comdata as the service name then create the service
>>> with the name comdata first!!!
>>> Netca or netmgr are the tools to create the services in Oracle Net layer
>>> of DB.
>>>
>>
>>
>>
>>>
>>> Regards,
>>> Pulin
>>> http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html>before
>>> posting.
>>> You received this message because you are subscribed to the "Vibrant
>>> GNU/Linux User Group".
>>> To stop receiving emails from this group, mail to
>>> VGLUG+un...@googlegroups.com <VGLUG%2Bunsu...@googlegroups.com>
>>> To post to this group, send email to VG...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/VGLUG
>>>
>>>
>>> --
>>> Please read
>>> http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html>before
>>> posting.
>>> You received this message because you are subscribed to the "Vibrant
>>> GNU/Linux User Group".
>>> To stop receiving emails from this group, mail to
>>> VGLUG+un...@googlegroups.com <VGLUG%2Bunsu...@googlegroups.com>
>>> To post to this group, send email to VG...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/VGLUG
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Jay Maheshkar
>> ( MCA, RHCE )
>> (M)+91 972.583.67.33
>>
>>
>> https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010775851036
>>
>> --
>> Please read
>> http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html>before
>> posting.
>> You received this message because you are subscribed to the "Vibrant
>> GNU/Linux User Group".
>> To stop receiving emails from this group, mail to
>> VGLUG+un...@googlegroups.com <VGLUG%2Bunsu...@googlegroups.com>