Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: cant start lsnrctl from cron
I guess this is due to you have a wrong environment. Remember that cron
environment is not the same as your normal shell environment.
To test this, make a cron entry, where you display your environment, eg. using 'set'. Compare this to your normal shell environment.
Then modify the command script in which you start your listener, som the environment is the same.
God luck
Karsten Weikop
Make IT
John Antony skrev i meddelelsen <7j9ms5$7qg_at_journal.concentric.net>...
>Set the environment variables TNS_ADMIN and ORACLE_HOME.
>
>regards
>John Antony
>
>>
>>When I start lsnrctl from cron, I get this output:
>>
>>Message 1070 not found; No message file for product=NETWORK,
>>facility=TNSTNS-125
>>45: 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
>> IBM/AIX RISC System/6000 Error: 2: No such file or directory
>>It works fine from command line.
>>
>>Thanks for the help
>>
>>BA
Received on Sat Jun 05 1999 - 05:41:48 CDT