Hi,

On Wed, Oct 31, 2012 at 12:37:03PM +0800, alonerhu wrote:
> I can start the LSNRCTL Manually,but can't it with ocf:heartbeat:oralsnr .
> 
> [oracle@node16 ~]$ lsnrctl start
> 
> LSNRCTL for Linux: Version 10.2.0.5.0 - Production on 31-OCT-2012 12:25:30
> 
> Copyright (c) 1991, 2010, Oracle.  All rights reserved.
> 
> Starting /oracle/db/10.2/exec/bin/tnslsnr: please wait...
> 
> TNSLSNR for Linux: Version 10.2.0.5.0 - Production
> System parameter file is /oracle/db/10.2/exec/network/admin/listener.ora
> Log messages written to /oracle/db/10.2/exec/network/log/listener.log
> Listening on: 
> (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.20.17)(PORT=1521)))
> 
> Connecting to 
> (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vip_oracle)(PORT=1521)))
> STATUS of the LISTENER
> ------------------------
> Alias                     LISTENER
> Version                   TNSLSNR for Linux: Version 10.2.0.5.0 - Production
> Start Date                31-OCT-2012 12:25:30
> Uptime                    0 days 0 hr. 0 min. 0 sec
> Trace Level               off
> Security                  ON: Local OS Authentication
> SNMP                      OFF
> Listener Parameter File   /oracle/db/10.2/exec/network/admin/listener.ora
> Listener Log File         /oracle/db/10.2/exec/network/log/listener.log
> Listening Endpoints Summary...
>   (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.20.17)(PORT=1521)))
> Services Summary...
> Service "PLSExtProc" has 1 instance(s).
>   Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
> Service "oral" has 1 instance(s).
>   Instance "oral", status UNKNOWN, has 1 handler(s) for this service...
> The command completed successfully
> 
> Oct 31 12:01:36 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:probe:stderr) 2012/10/31_12:01:36 INFO: LISTENER status failed:
> Oct 31 12:01:36 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:probe:stderr) 2012/10/31_12:01:36 INFO: Listener LISTENER not 
> running
> Oct 31 12:01:36 node16 crmd: [7454]: info: process_lrm_event: LRM operation 
> oralsnr_oral_monitor_0 (call=14, rc=7, cib-update=37, confirmed=true) not 
> running
> Oct 31 12:01:36 node16 crmd: [7454]: info: match_graph_event: Action 
> oralsnr_oral_monitor_0 (16) confirmed on node16 (rc=0)
> Oct 31 12:01:36 node16 pengine: [7453]: notice: native_print: oralsnr_oral    
>   (ocf::heartbeat:oralsnr):       Stopped
> Oct 31 12:01:36 node16 pengine: [7453]: notice: RecurringOp:  Start recurring 
> monitor (10s) for oralsnr_oral on node16
> Oct 31 12:01:36 node16 pengine: [7453]: notice: LogActions: Start   
> oralsnr_oral        (node16)
> Oct 31 12:01:37 node16 crmd: [7454]: info: te_rsc_command: Initiating action 
> 82: start oralsnr_oral_start_0 on node16 (local)
> Oct 31 12:01:37 node16 crmd: [7454]: info: do_lrm_rsc_op: Performing 
> key=82:1:0:2e0ca45b-1b26-4a51-baf2-3d791097639f op=oralsnr_oral_start_0 )
> Oct 31 12:01:37 node16 lrmd: [7451]: info: rsc:oralsnr_oral:15: start
> Oct 31 12:01:40 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:start:stderr) 2012/10/31_12:01:40 INFO: 
> /oracle/db/10.2/exec/bin/tnsping oral failed:
> Oct 31 12:01:40 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:start:stderr) TNS-12560: TNS:protocol adapter error

tnsping failed. You should check the listener log files. And
sqlnet.ora.

> Oct 31 12:01:46 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:start:stderr) 2012/10/31_12:01:46 INFO: 
> /oracle/db/10.2/exec/bin/tnsping oral failed:
> Oct 31 12:01:46 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:start:stderr) 2012/10/31_12:01:46 ERROR: Listener LISTENER 
> appears to have started, but is not running properly:
> Oct 31 12:01:46 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:start:stderr) 2012/10/31_12:01:46 ERROR: Probable Oracle 
> configuration error
> Oct 31 12:01:49 node16 lrmd: [7451]: info: RA output: 
> (oralsnr_oral:start:stderr) 2012/10/31_12:01:49 ERROR: Oracle 
> /oracle/db/10.2/exec/bin/tnsping output:

There's no tnsping output captured. You can also try tnsping by
hand.

Thanks,

Dejan
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to