PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/oci8/tests/drcp_privileged.phpt ('DRCP: privileged connect')

Script

1: <?php
2:
3:
// Connecting as SYSDBA or SYSOPER through DRCP will give ORA-1031
4:
5:
require dirname(__FILE__)."/details.inc";
6:
var_dump(oci_connect($user,$password,$dbase,false,OCI_SYSDBA));
7:
var_dump(oci_connect($user,$password,$dbase,false,OCI_SYSOPER));
8:
var_dump(oci_new_connect($user,$password,$dbase,false,OCI_SYSDBA));
9:
var_dump(oci_new_connect($user,$password,$dbase,false,OCI_SYSOPER));
10:
var_dump(oci_pconnect($user,$password,$dbase,false,OCI_SYSDBA));
11:
var_dump(oci_pconnect($user,$password,$dbase,false,OCI_SYSOPER));
12:
13: echo 
"Done\n";
14:
15:
?>
16:

Expected

Warning: oci_connect(): ORA-01031: %s in %s on line %d
bool(false)

Warning: oci_connect(): ORA-01031: %s in %s on line %d
bool(false)

Warning: oci_new_connect(): ORA-01031: %s in %s on line %d
bool(false)

Warning: oci_new_connect(): ORA-01031: %s in %s on line %d
bool(false)

Warning: oci_pconnect(): ORA-01031: %s in %s on line %d
bool(false)

Warning: oci_pconnect(): ORA-01031: %s in %s on line %d
bool(false)
Done

Output

***********************************************************************
Fatal NI connect error 12541, connecting to:
 (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 17-JUN-2018 05:31:01
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

Warning: oci_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 6
    nt secondary err code: 111
    nt OS err code: 0
bool(false)


***********************************************************************
Fatal NI connect error 12541, connecting to:
 (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 17-JUN-2018 05:31:01
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

Warning: oci_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 7
    nt secondary err code: 111
    nt OS err code: 0
bool(false)


***********************************************************************
Fatal NI connect error 12541, connecting to:
 (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 17-JUN-2018 05:31:01
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

Warning: oci_new_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 8
    nt secondary err code: 111
    nt OS err code: 0
bool(false)


***********************************************************************
Fatal NI connect error 12541, connecting to:
 (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 17-JUN-2018 05:31:01
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

Warning: oci_new_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 9
    nt secondary err code: 111
    nt OS err code: 0
bool(false)


***********************************************************************
Fatal NI connect error 12541, connecting to:
 (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 17-JUN-2018 05:31:01
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

Warning: oci_pconnect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 10
    nt secondary err code: 111
    nt OS err code: 0
bool(false)


***********************************************************************
Fatal NI connect error 12541, connecting to:
 (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))

  VERSION INFORMATION:
	TNS for Linux: Version 11.2.0.2.0 - Beta
	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
  Time: 17-JUN-2018 05:31:02
  Tracing not turned on.
  Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

Warning: oci_pconnect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 11
    nt secondary err code: 111
    nt OS err code: 0
bool(false)
Done

Diff

001+ ***********************************************************************
002+ Fatal NI connect error 12541, connecting to:
003+  (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
001- Warning: oci_connect(): ORA-01031: %s in %s on line %d
002- bool(false)
004- Warning: oci_connect(): ORA-01031: %s in %s on line %d
005- bool(false)
005+   VERSION INFORMATION:
006+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
007+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
008+   Time: 17-JUN-2018 05:31:01
009+   Tracing not turned on.
010+   Tns error struct:
011+     ns main err code: 12541
012+     TNS-12541: TNS:no listener
013+     ns secondary err code: 12560
014+     nt main err code: 511
015+     TNS-00511: No listener
007- Warning: oci_new_connect(): ORA-01031: %s in %s on line %d
010- Warning: oci_new_connect(): ORA-01031: %s in %s on line %d
011- bool(false)
013- Warning: oci_pconnect(): ORA-01031: %s in %s on line %d
014- bool(false)
016- Warning: oci_pconnect(): ORA-01031: %s in %s on line %d
017+ Warning: oci_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 6
018+     nt secondary err code: 111
019+     nt OS err code: 0
018- Done
022+ 
023+ ***********************************************************************
024+ Fatal NI connect error 12541, connecting to:
025+  (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
027+   VERSION INFORMATION:
028+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
029+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
030+   Time: 17-JUN-2018 05:31:01
031+   Tracing not turned on.
032+   Tns error struct:
033+     ns main err code: 12541
034+     TNS-12541: TNS:no listener
035+     ns secondary err code: 12560
036+     nt main err code: 511
037+     TNS-00511: No listener
039+ Warning: oci_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 7
040+     nt secondary err code: 111
041+     nt OS err code: 0
043+ 
044+ 
045+ ***********************************************************************
046+ Fatal NI connect error 12541, connecting to:
047+  (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
048+ 
049+   VERSION INFORMATION:
050+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
051+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
052+   Time: 17-JUN-2018 05:31:01
053+   Tracing not turned on.
054+   Tns error struct:
055+     ns main err code: 12541
056+     TNS-12541: TNS:no listener
057+     ns secondary err code: 12560
058+     nt main err code: 511
059+     TNS-00511: No listener
060+ 
061+ Warning: oci_new_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 8
062+     nt secondary err code: 111
063+     nt OS err code: 0
064+ bool(false)
065+ 
066+ 
067+ ***********************************************************************
068+ Fatal NI connect error 12541, connecting to:
069+  (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
070+ 
071+   VERSION INFORMATION:
072+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
073+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
074+   Time: 17-JUN-2018 05:31:01
075+   Tracing not turned on.
076+   Tns error struct:
077+     ns main err code: 12541
078+     TNS-12541: TNS:no listener
079+     ns secondary err code: 12560
080+     nt main err code: 511
081+     TNS-00511: No listener
082+ 
083+ Warning: oci_new_connect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 9
084+     nt secondary err code: 111
085+     nt OS err code: 0
086+ bool(false)
087+ 
088+ 
089+ ***********************************************************************
090+ Fatal NI connect error 12541, connecting to:
091+  (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
092+ 
093+   VERSION INFORMATION:
094+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
095+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
096+   Time: 17-JUN-2018 05:31:01
097+   Tracing not turned on.
098+   Tns error struct:
099+     ns main err code: 12541
100+     TNS-12541: TNS:no listener
101+     ns secondary err code: 12560
102+     nt main err code: 511
103+     TNS-00511: No listener
104+ 
105+ Warning: oci_pconnect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 10
106+     nt secondary err code: 111
107+     nt OS err code: 0
108+ bool(false)
109+ 
110+ 
111+ ***********************************************************************
112+ Fatal NI connect error 12541, connecting to:
113+  (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=php)(HOST=nex2.php.net)(USER=nlopess)))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
114+ 
115+   VERSION INFORMATION:
116+ 	TNS for Linux: Version 11.2.0.2.0 - Beta
117+ 	TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.2.0 - Beta
118+   Time: 17-JUN-2018 05:31:02
119+   Tracing not turned on.
120+   Tns error struct:
121+     ns main err code: 12541
122+     TNS-12541: TNS:no listener
123+     ns secondary err code: 12560
124+     nt main err code: 511
125+     TNS-00511: No listener
126+ 
127+ Warning: oci_pconnect(): ORA-12541: TNS:no listener in /var/php_gcov/PHP_HEAD/ext/oci8/tests/drcp_privileged.php on line 11
128+     nt secondary err code: 111
129+     nt OS err code: 0
130+ bool(false)
131+ Done

 

Generated at Mon, 18 Jun 2018 17:33:50 +0000 (2 days ago)

Copyright © 2005-2018 The PHP Group
All rights reserved.