PHP & ORACLE Connectivity on Solaris
Hi all,
You can check this site for PHP and Oracle connection tutorial. It is intended to installing Apache and PHP with Oracle support and connecting and using Oracle via PHP.
Page URL :
http://gokmen.selcuk.edu.tr/tutor/orasol/ociphp.php
Additionally, You will see an alternative way escaping from ORA-12154 and ORA-12545 errors while Oracle connection via PHP.
Hope you find useful...
Mustafa GOKMEN
Hello,
My developers have changed all the API´s to OCI8 and the code is able to connect with oracle 10g with php4 but, i am still getting this warning .i.e
Warning: ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/English/tender_list.php on line 340
i am unable to figure it out, every thing is working fine but still i am getting it ?
thanks
Similar Messages
-
Php, oracle connectivity.
Hello All,
I have a webserver that has php4,apache1.3 and oci8 instant client installed, and have a seperate oracle 10g db server, the php-oracle connectivity is fine when i run php code from db server but it gives me connectivity error when it runs from web server, error " ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/.....php on line..." while even when i made telnet to my db server 1521 port from web server it shows that listener is working, any idea ? thanksHello,
My developers have changed all the API´s to OCI8 and the code is able to connect with oracle 10g with php4 but, i am still getting this warning .i.e
Warning: ocifreestatement(): supplied argument is not a valid OCI8-Statement resource in /apache/htdocs/English/tender_list.php on line 340
i am unable to figure it out, every thing is working fine but still i am getting it ?
thanks -
PHP Oracle connection randomly slow
Hello,
I have a very strange problem concerning the connection to a oracle database with php. Sometimes the same SQL-Statement takes a very long time to load for no obvious reason (more than 5 minutes). But if you try it later it pops up at once. During the waiting time Toad is just showing "SQL*Net message from client" for the session.
Here the code:
$db = "<connection string>";
$c = oci_connect("user", "pwd", $db);
$s = ociparse($c, "select content from database WHERE CATEGORY = '$category'");
if(ociexecute($s)) {
while (ocifetch($s))
echo ociresult($s, "CONTENT");
Maybe I should also mention that I'm using a page with frames with a navigation bar on the left which loads the code in the frame on the right with the variable $category. We are using Oracle9i Release 9.0.1 .
I would really appreciate any help.Perceived slowness is something that is dealt with by using process called "tuning". Tuning process requires an extensive knowledge because it should go from end to end, starting with the application. There may be an issue with your application, database, operating system, middle tier or network and one has to know all of the above to be able to tune the application properly. It's always the application one tunes, because it's the application that makes the end users unhappy. In your posts, there is not enough information to even begin thinking about tuning, so I will outline the tuning process for you. One always begins the tuning process by blaming the network and by letting the network engineers use sniffer and dig out the slow component. Typical response from the network people is "network is OK but the server XXX is slow with responses
and that's what causing the timeouts"). Now you know where the problem is so you can concentrate on a single server and figure out what the problem is. Whatever the problem is, it is usually solved by improving the cache hit ratio by increasing the SGA. Network engineers are
used to that and they do not mind, but if you want to be mr. nice guy, you can go directly to your boss and ask him for more memory. That is so called modified method C, by Cary Millsap. That is why it's called "method C". -
PHP- Oracle not working- Call to undefined function OCILogon() ERROR
Hi,
I am trying to just do a test program to test php - oracle connection,
My versions are: php5.2.1-Win32 and Oracle 10g
I have made the following settings:
1.) Uncommented the following lines in php.ini:
extension=php_oci8.dll
extension=php_oracle.dll
2.) Set extension_dir = "C:\php-5.2.1-Win32\ext"
Changed the httpd.conf file as: ADDED
1.)LoadModule php5_module C:/php-5.2.1-Win32/php5apache2.dll
2.)PHPIniDir "C:/Program Files/Apache Group/Apache2/conf-"
3.) LoadFile "C:/php/php5ts.dll"
4.)<IfModule php5_module>
<Location />
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
</Location>
</IfModule>
5.) AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
But when I am tryin to run the following program:
<?php
echo "<h1>OCI Test</h1>\n";
$conn=OCILogon("system", "sheetal16", "orcl");
$stmt = OCIParse($conn, "SELECT table_name FROM user_tables ORDER BY table_name");
OCIExecute($stmt, OCI_DEFAULT);
while (OCIFetch($stmt)) {
$table_name = OCIResult($stmt, "TABLE_NAME");
echo "$table_name<br />\n";
OCIFreeStatement($stmt);
OCILogoff($conn);
?>
I am getting the following error:
OCI Test
Fatal error: Call to undefined function OCILogon() in C:\Program Files\Apache Group\Apache2\htdocs\test2.php on line 3
Please help me to solve this problem.
Thanks,
SheetalSee Re: PHP- Oracle not working- Call to undefined function OCILogon() ERROR
-
How to install oracle connection manager on solaris 10
I have installed oracle application server 10.1.2 on solaris 10. How do i install oracle connection manager utility.
My end goal is to use applets/jdbc.
ThanksThank you Zettabyte!!
Folks, network printers should NOT BE configured like this:
lpadmin -p somequeue -s someprinter
that creates a remote style queue and puts all the I/O and processing capability on the basic LPD listener present on network printer interfaces. This will cause problems down the road, not to mention that you cannot control access, get any logging, filter content, or control banner pages.
Network printers should use any software (or PPD file) supplied by the vendor over the basic lpadmin/netstandard config.
You can install CUPS, but Oracle won't support it until it's part of the OS (S11, apparently).
The "System Administration Guide: Solaris Printing" is highly recommended for those administering printers on Solaris. -
Using php to connect to Oracle Database 11g Release 2 Enterprise Edition EE
Greetings everyone!
Please i dont know how to connect to Oracle Database 11g Release 2 Enterprise Edition with php even though i connected with php successfully with Oracle Database 11g Express Edition with the php code below. can someone help please...Note im referring to oracle EE not XE.
define('ORA_CON_UN', 'hr'); // User name
define('ORA_CON_PW', 'Adlibs14$'); // Password
define('ORA_CON_DB', '//localhost/EE'); // Connection identifier
// use constants defined in anyco_cn.inc
$conn = oci_pconnect(ORA_CON_UN, ORA_CON_PW, ORA_CON_DB);
if (!$conn) {
db_error(null, __FILE__, __LINE__);
Edited by: user11273096 on Jul 15, 2011 12:03 AMFind the hostname and service name of the database and use those values in the ORA_CON_DB constant.
Use 'lsnrctl status' on the database host to find the service name.
If you use a "tns" alias, you may need to create a tnsnames.ora file where PHP can access it.
Set the environment variable TNS_ADMIN (on Linux) to the directory containing the file.
See the section "Oracle Database Name Connection Identifiers" p 102 of the free book
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html -
Re: PHP and Oracle Connection
Are any specific links that will give me all knowledge regarding php and oracle connection? I am a new babie in this please help me out.
Hi,
I'm looking for specialists in PHP, Ajax and Oracle BPEL...
Pages are: Praxisbörse und Jobs für Arzt und Zahnarzt http://www.praxis-welt.de für Praxisangebote und Jobangebote für Ärzte
sowie auf http://www.berlin-umzug.net für Umzugsunternehmen aus Berlin für Umzüge, Klaviertransport und Tresortransport in Berlin.
Any ideas / information / knowhow?
Regards,
Mic -
SAP ECC6.0 SR3 on Oracl 10 g solaris 10 hangs during installation!!!
Hi,
I am installting SAP ECC 6.0 SR3 with DB oracle 10g OS solaris 10 jdk version java version "1.4.2_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_16-b05)
Java HotSpot(TM) Client VM (build 1.4.2_16-b05, mixed mode)
H/W : T6320 Blade server
Memory : 16GB
during installation at Import ABAP phase while importing last package SAPSSEXC it hung on me there were no error logs as such nor the FS was full...
it resumed after couple of hrs..
but hung again at IMport Java Dump phase
and again no error logs...
so, my concern here is that is there any bug in SR3 or i am not able to find the error logs
the logs i check are:
import_monitor.java.log:
tail -100f import_monitor.java.log
java version "1.4.2_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_16-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_16-b05, mixed mode)
Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
Loading of 'SAPSSEXC' import package: OK
Import Monitor jobs: running 0, waiting 1, completed 27, failed 0, total 28.
Import Monitor jobs: running 1, waiting 0, completed 27, failed 0, total 28.
Loading of 'SAPVIEW' import package: OK
Import Monitor jobs: running 0, waiting 0, completed 28, failed 0, total 28.
jload.java.log>>while import java dump phase:
tail -100f jload.java.log
INFO: trying to create table CAF_RT_NUMRNG
Sep 12, 2008 12:47:46 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_NUMRNG created
Sep 12, 2008 12:47:46 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_NUMRNG loaded (0 rows)
Sep 12, 2008 12:47:46 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_PERM_REL
Sep 12, 2008 12:47:47 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_PERM_REL created
Sep 12, 2008 12:47:47 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_PERM_REL loaded (0 rows)
Sep 12, 2008 12:47:47 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_PK_GEN
Sep 12, 2008 12:47:48 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_PK_GEN created
Sep 12, 2008 12:47:48 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_PK_GEN loaded (0 rows)
Sep 12, 2008 12:47:48 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_SRVMODULE
Sep 12, 2008 12:47:48 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_SRVMODULE created
Sep 12, 2008 12:47:48 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_SRVMODULE loaded (0 rows)
Sep 12, 2008 12:47:48 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_SVCCFG
Sep 12, 2008 12:47:49 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_SVCCFG created
Sep 12, 2008 12:47:49 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_SVCCFG loaded (0 rows)
Sep 12, 2008 12:47:49 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_SVCDEF
Sep 12, 2008 12:47:51 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_SVCDEF created
Sep 12, 2008 12:47:51 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_SVCDEF loaded (0 rows)
Sep 12, 2008 12:47:51 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_SVCLCK
Sep 12, 2008 12:47:51 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_SVCLCK created
Sep 12, 2008 12:47:51 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_SVCLCK loaded (0 rows)
Sep 12, 2008 12:47:51 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_SYSCFG
Sep 12, 2008 12:47:52 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_SYSCFG created
Sep 12, 2008 12:47:52 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_SYSCFG loaded (0 rows)
Sep 12, 2008 12:47:52 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TREX_ATTR
Sep 12, 2008 12:47:53 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TREX_ATTR created
Sep 12, 2008 12:47:53 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TREX_ATTR loaded (0 rows)
Sep 12, 2008 12:47:53 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TREX_FAILED
Sep 12, 2008 12:47:54 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TREX_FAILED created
Sep 12, 2008 12:47:54 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TREX_FAILED loaded (0 rows)
Sep 12, 2008 12:47:54 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TREX_IDX
Sep 12, 2008 12:47:55 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TREX_IDX created
Sep 12, 2008 12:47:55 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TREX_IDX loaded (0 rows)
Sep 12, 2008 12:47:55 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TREX_LINKS
Sep 12, 2008 12:47:56 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TREX_LINKS created
Sep 12, 2008 12:47:56 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TREX_LINKS loaded (0 rows)
Sep 12, 2008 12:47:56 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TYPCEL
Sep 12, 2008 12:47:57 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TYPCEL created
Sep 12, 2008 12:47:57 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TYPCEL loaded (0 rows)
Sep 12, 2008 12:47:57 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TYPCOT
Sep 12, 2008 12:47:58 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TYPCOT created
Sep 12, 2008 12:47:58 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TYPCOT loaded (0 rows)
Sep 12, 2008 12:47:58 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TYPELE
Sep 12, 2008 12:47:58 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TYPELE created
Sep 12, 2008 12:47:58 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TYPELE loaded (0 rows)
Sep 12, 2008 12:47:58 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TYPMES
Sep 12, 2008 12:48:00 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TYPMES created
Sep 12, 2008 12:48:00 PM com.sap.inst.jload.Jload dbImport
INFO: CAF_RT_TYPMES loaded (0 rows)
Sep 12, 2008 12:48:00 PM com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_RT_TYPMMP
Sep 12, 2008 12:48:00 PM com.sap.inst.jload.Jload dbImport
INFO: table CAF_RT_TYPMMP created
Sep 12, 2008 12:48:00 PM com.sap.inst.jload.Jload dbImport
jload.log>>while import java dump phase :
tail -100f jload.log
12.09.08 12:48:18 com.sap.inst.jload.Jload dbImport
INFO: CAF_UM_RELGR_MEMBS loaded (0 rows)
12.09.08 12:48:18 com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_UM_RELGR_TEXTS
12.09.08 12:48:19 com.sap.inst.jload.Jload dbImport
INFO: table CAF_UM_RELGR_TEXTS created
12.09.08 12:48:19 com.sap.inst.jload.Jload dbImport
INFO: CAF_UM_RELGR_TEXTS loaded (0 rows)
12.09.08 12:48:19 com.sap.inst.jload.Jload dbImport
INFO: trying to create table CAF_UM_RELGR_WORDS
12.09.08 12:48:20 com.sap.inst.jload.Jload dbImport
INFO: table CAF_UM_RELGR_WORDS created
12.09.08 12:48:20 com.sap.inst.jload.Jload dbImport
INFO: CAF_UM_RELGR_WORDS loaded (0 rows)
12.09.08 12:48:20 com.sap.inst.jload.Jload dbImport
INFO: trying to create table J2EE_CONFIG
12.09.08 12:48:21 com.sap.inst.jload.Jload dbImport
INFO: table J2EE_CONFIG created
12.09.08 12:48:49 com.sap.inst.jload.Jload dbImport
INFO: J2EE_CONFIG loaded (9195 rows)
12.09.08 12:48:49 com.sap.inst.jload.Jload dbImport
INFO: trying to create table J2EE_CONFIGENTRY
12.09.08 12:48:50 com.sap.inst.jload.Jload dbImport
INFO: table J2EE_CONFIGENTRY created
12.09.08 13:44:02 com.sap.inst.jload.Jload dbImport
INFO: J2EE_CONFIGENTRY loaded (20235 rows)
12.09.08 13:44:02 com.sap.inst.jload.Jload dbImport
INFO: trying to create table J2EE_KEYSEQUENCE
12.09.08 13:44:03 com.sap.inst.jload.Jload dbImport
INFO: table J2EE_KEYSEQUENCE created
12.09.08 13:44:03 com.sap.inst.jload.Jload dbImport
INFO: J2EE_KEYSEQUENCE loaded (1 rows)
12.09.08 13:44:03 com.sap.inst.jload.Jload dbImport
INFO: trying to create table SP_PLUG_IN_SAVES
12.09.08 13:44:04 com.sap.inst.jload.Jload dbImport
INFO: table SP_PLUG_IN_SAVES created
12.09.08 13:44:04 com.sap.inst.jload.Jload dbImport
INFO: SP_PLUG_IN_SAVES loaded (0 rows)
12.09.08 13:44:04 com.sap.inst.jload.Jload dbImport
INFO: trying to create table SP_RESULTS
12.09.08 13:44:04 com.sap.inst.jload.Jload dbImport
INFO: table SP_RESULTS created
12.09.08 13:44:04 com.sap.inst.jload.Jload dbImport
INFO: SP_RESULTS loaded (0 rows)
12.09.08 13:44:04 com.sap.inst.jload.Jload dbImport
INFO: trying to create table SP_STORAGE
12.09.08 13:44:05 com.sap.inst.jload.Jload dbImport
INFO: table SP_STORAGE created
12.09.08 13:44:06 com.sap.inst.jload.Jload dbImport
INFO: SP_STORAGE loaded (2 rows)
12.09.08 13:44:06 com.sap.inst.jload.Jload dbImport
INFO: trying to create table TC_WDRR_FGUID
12.09.08 13:44:07 com.sap.inst.jload.Jload dbImport
INFO: table TC_WDRR_FGUID created
12.09.08 13:44:07 com.sap.inst.jload.Jload dbImport
INFO: TC_WDRR_FGUID loaded (0 rows)
12.09.08 13:44:07 com.sap.inst.jload.Jload dbImport
INFO: trying to create table TC_WDRR_LAYERS
12.09.08 13:44:08 com.sap.inst.jload.Jload dbImport
INFO: table TC_WDRR_LAYERS created
12.09.08 13:44:08 com.sap.inst.jload.Jload dbImport
INFO: TC_WDRR_LAYERS loaded (2 rows)
12.09.08 13:44:08 com.sap.inst.jload.Jload dbImport
INFO: trying to create table TC_WDRR_MRO_FILES
12.09.08 13:44:09 com.sap.inst.jload.Jload dbImport
INFO: table TC_WDRR_MRO_FILES created
PLEASE HELP ASAP!!!!!!
Regards,
Sohal....Hi Ashok,
Thanks for prompt response
Yes Oracle is up....it bounced the Db once before performing Post Load activities...step
now, it resumed the installation and currently updating the DB statistics.
please chk the logs below:
tail -200f sapinst.log:
INFO 2008-09-12 14:12:05.250
Execution of the command "/oracle/RGP/102_64/bin/lsnrctl status LISTENER" finished with return code 0. Output:
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 12-SEP-2008 14:12:05
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=RGP.WORLD))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 11-SEP-2008 20:28:39
Uptime 0 days 17 hr. 43 min. 25 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/RGP/102_64/network/admin/listener.ora
Listener Log File /oracle/RGP/102_64/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=RGP.WORLD)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=RGP)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FLGPPSAP01)(PORT=1527)))
Services Summary...
Service "RGP" has 1 instance(s).
Instance "RGP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
INFO 2008-09-12 14:12:13.667
Execute step createOracleStatisticsSynonyms of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_ORA|ind|ind|ind|ind|0|0
INFO 2008-09-12 14:12:14.023
Account orargp already exists.
INFO 2008-09-12 14:12:14.033
Account 0 already exists.
INFO 2008-09-12 14:12:14.049
Account dba already exists.
INFO 2008-09-12 14:12:14.058
Account 104 already exists.
INFO 2008-09-12 14:12:14.078
Account 0 already exists.
INFO 2008-09-12 14:12:14.096
Account 105 already exists.
INFO 2008-09-12 14:12:15.836
Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/brconnect.log.
INFO 2008-09-12 14:12:15.972
Output of /usr/sap/RGP/SYS/exe/run/brconnect -u / -c -f crsyn -o SAPSR3 is written to the logfile brconnect.log.
INFO 2008-09-12 14:12:18.817
Execution of the command "/usr/sap/RGP/SYS/exe/run/brconnect -u / -c -f crsyn -o SAPSR3" finished with return code 0. Output:
BR0801I BRCONNECT 7.00 (32)
BR0280I BRCONNECT time stamp: 2008-09-12 14.12.17
BR0833I Creating public synonyms for database log owner SAPSR3...
BR0925I Public synonym SAP_SDBAH created successfully for table SAPSR3.SDBAH
BR0925I Public synonym SAP_SDBAD created successfully for table SAPSR3.SDBAD
BR0925I Public synonym SAP_MLICHECK created successfully for table SAPSR3.MLICHECK
BR0925I Public synonym SAP_SAPLIKEY created successfully for table SAPSR3.SAPLIKEY
BR0925I Public synonym SAP_DBAML created successfully for table SAPSR3.DBAML
BR0925I Public synonym SAP_DBARCL created successfully for table SAPSR3.DBARCL
BR0925I Public synonym SAP_DBAFID created successfully for table SAPSR3.DBAFID
BR0925I Public synonym SAP_DBAEXTL created successfully for table SAPSR3.DBAEXTL
BR0925I Public synonym SAP_DBAREOL created successfully for table SAPSR3.DBAREOL
BR0925I Public synonym SAP_DBABARL created successfully for table SAPSR3.DBABARL
BR0925I Public synonym SAP_DBADFL created successfully for table SAPSR3.DBADFL
BR0925I Public synonym SAP_DBAOPTL created successfully for table SAPSR3.DBAOPTL
BR0925I Public synonym SAP_DBASPAL created successfully for table SAPSR3.DBASPAL
BR0925I Public synonym SAP_DBABD created successfully for table SAPSR3.DBABD
BR0925I Public synonym SAP_DBABL created successfully for table SAPSR3.DBABL
BR0925I Public synonym SAP_DBATL created successfully for table SAPSR3.DBATL
BR0925I Public synonym SAP_DBAOBJL created successfully for table SAPSR3.DBAOBJL
BR0925I Public synonym SAP_DBAPHAL created successfully for table SAPSR3.DBAPHAL
BR0925I Public synonym SAP_DBAGRP created successfully for table SAPSR3.DBAGRP
BR0925I Public synonym SAP_DBAERR created successfully for table SAPSR3.DBAERR
BR0925I Public synonym SAP_DBATRIAL created successfully for table SAPSR3.DBATRIAL
BR0925I Public synonym SAP_SVERS created successfully for table SAPSR3.SVERS
BR0925I Public synonym SAP_TGORA created successfully for table SAPSR3.TGORA
BR0925I Public synonym SAP_IGORA created successfully for table SAPSR3.IGORA
BR0925I Public synonym SAP_TSORA created successfully for table SAPSR3.TSORA
BR0925I Public synonym SAP_TAORA created successfully for table SAPSR3.TAORA
BR0925I Public synonym SAP_IAORA created successfully for table SAPSR3.IAORA
BR0925I Public synonym SAP_DD02L created successfully for table SAPSR3.DD02L
BR0925I Public synonym SAP_DD09L created successfully for table SAPSR3.DD09L
BR0925I Public synonym SAP_DDNTT created successfully for table SAPSR3.DDNTT
BR0925I Public synonym SAP_DBCHK created successfully for table SAPSR3.DBCHK
BR0925I Public synonym SAP_DBDIFF created successfully for table SAPSR3.DBDIFF
BR0925I Public synonym SAP_DBSTATC created successfully for table SAPSR3.DBSTATC
BR0925I Public synonym SAP_DBSTATTORA created successfully for table SAPSR3.DBSTATTORA
BR0925I Public synonym SAP_DBSTATIORA created successfully for table SAPSR3.DBSTATIORA
BR0925I Public synonym SAP_DBSTATHORA created successfully for table SAPSR3.DBSTATHORA
BR0925I Public synonym SAP_DBSTAIHORA created successfully for table SAPSR3.DBSTAIHORA
BR0925I Public synonym SAP_DBCHECKORA created successfully for table SAPSR3.DBCHECKORA
BR0925I Public synonym SAP_DBMSGORA created successfully for table SAPSR3.DBMSGORA
BR0280I BRCONNECT time stamp: 2008-09-12 14.12.18
BR0834I Public synonyms for database log owner SAPSR3 created successfully
BR0280I BRCONNECT time stamp: 2008-09-12 14.12.18
BR0802I BRCONNECT completed successfully
INFO 2008-09-12 14:12:23.841
Execute step setOraclePasswords of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Postload|ind|ind|ind|ind|10|0|NW_Postload_ORA|ind|ind|ind|ind|0|0
INFO 2008-09-12 14:12:25.190
Account orargp already exists.
INFO 2008-09-12 14:12:25.194
Account dba already exists.
INFO 2008-09-12 14:12:25.198
Account orargp already exists.
INFO 2008-09-12 14:12:25.202
Account dba already exists.
INFO 2008-09-12 14:12:25.251
Removing file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/ora_query3_tmp0_1.sql.
INFO 2008-09-12 14:12:25.260
Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/ora_query3_tmp0_1.sql.
INFO 2008-09-12 14:12:28.279
Account orargp already exists.
INFO 2008-09-12 14:12:28.290
Account 0 already exists.
INFO 2008-09-12 14:12:28.305
Account dba already exists.
INFO 2008-09-12 14:12:28.315
Account 104 already exists.
INFO 2008-09-12 14:12:28.335
Account 0 already exists.
INFO 2008-09-12 14:12:28.353
Account 105 already exists.
INFO 2008-09-12 14:12:30.123
Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/brconnect.log.
INFO 2008-09-12 14:12:30.269
Output of /usr/sap/RGP/SYS/exe/run/brconnect -u / -c -f chpass -o SAPSR3 -p XXXXXX is written to the logfile brconnect.log.
INFO 2008-09-12 14:12:31.006
Execution of the command "/usr/sap/RGP/SYS/exe/run/brconnect -u / -c -f chpass -o SAPSR3 -p XXXXXX" finished with return code 0. Output:
BR0801I BRCONNECT 7.00 (32)
BR0280I BRCONNECT time stamp: 2008-09-12 14.12.30
BR0828I Changing password for database user SAPSR3
BR0280I BRCONNECT time stamp: 2008-09-12 14.12.30
BR0829I Password changed successfully in database for user SAPSR3
BR0830I Password inserted successfully into table OPS$RGPADM.SAPUSER for user SAPSR3
BR0280I BRCONNECT time stamp: 2008-09-12 14.12.30
BR0802I BRCONNECT completed successfully
INFO 2008-09-12 14:12:31.574
Account orargp already exists.
INFO 2008-09-12 14:12:31.578
Account dba already exists.
INFO 2008-09-12 14:12:31.583
Account orargp already exists.
INFO 2008-09-12 14:12:31.587
Account dba already exists.
INFO 2008-09-12 14:12:31.641
Removing file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/ora_query3_tmp1_1.sql.
INFO 2008-09-12 14:12:31.649
Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/ora_query3_tmp1_1.sql.
INFO 2008-09-12 14:12:33.918
Account orargp already exists.
INFO 2008-09-12 14:12:33.928
Account 0 already exists.
INFO 2008-09-12 14:12:33.944
Account dba already exists.
INFO 2008-09-12 14:12:33.953
Account 104 already exists.
INFO 2008-09-12 14:12:33.973
Account 0 already exists.
INFO 2008-09-12 14:12:33.991 -
I got error when I export database ORACLE 9i from solaris 9.
I want to export full database ORACLE 9i from SOLARIS 9 to import full database on ORACLE 9i on windows.
I set oracle environment and NSL_LANG with command:
bash-3.00$ export ORACLE_SID=TIS
bash-3.00$ export NLS_LANG=AMERICAN_AMERICA.TH8TISASCII
and then run command to export:
bash-3.00$ exp system/manager@TIS full=y file= /u03/dmp/TISfull.dmp log=/u03/dmp/exp_TIS.log
I got error message as:
Export: Release 9.2.0.1.0 - Production on Thu Oct 8 17:57:32 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Export done in TH8TISASCII character set and UTF8 NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 25153 encountered
ORA-25153: Temporary Tablespace is Empty
ORA-06512: at "SYS.DBMS_AW", line 42
ORA-06512: at "SYS.DBMS_AW", line 105
ORA-06512: at "SYS.DBMS_AW", line 221
ORA-06512: at "SYS.DBMS_AW_EXP", line 264
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
. exporting cluster definitions
EXP-00056: ORACLE error 25153 encountered
ORA-25153: Temporary Tablespace is Empty
ORA-06512: at "SYS.DBMS_LOB", line 424
ORA-06512: at "SYS.DBMS_METADATA", line 1140
ORA-06512: at line 1
EXP-00056: ORACLE error 25153 encountered
ORA-25153: Temporary Tablespace is Empty
ORA-06512: at "SYS.DBMS_LOB", line 424
ORA-06512: at "SYS.DBMS_METADATA", line 1140
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
How can I solve this problem?
Any suggestion?#### HOW to solve it.
## To check the default temporary tablespace of the database:
SQL> select property_name, property_value from database_properties;
## check DEFAULT_TEMP_TABLESPACE, if it use wrong temporary tablespace, run:
SQL> alter database default temporary tablespace temp;
## check user with temporary tablespace, run command:
SQL> select username, temporary_tablespace, account_status from dba_users;
## change temporary tablespace:
SQL> create temporary tablespace temp1 tempfile '/data/u01/app/oracle/oradata/TIS/temp_b.dbf' size 100m;
SQL> alter database default temporary tablespace temp1;
SQL> drop tablespace temp including contents and datafiles;
SQL> create temporary tablespace temp tempfile '/data/u01/app/oracle/oradata/TIS/temp01.dbf' size 100m autoextend off extent management local uniform size 1m;
SQL> alter database default temporary tablespace temp;
SQL> drop tablespace temp1 including contents and datafiles;
Thanks -
LRM -00109:could not open parameter file Oracle 10g in Solaris 10
Hallo! I have just installed Oracle 10g in Solaris 10.When I logged into sqlplus / as sysdba if found that I was connected to an idle instance. When I tried to startup open the db, the following error appeared
Connected to an idle instance.
SQL> startup open;
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/export/home/oracle/product/10.2.0/db_1/dbs/initsolaris.ora'
My pfile has the name init.ora and not initsolaris.ora.How can I change the settings to make the Oracle database start via pfile init.ora.
Eventually,I would like the db to read the spfile spfileorcl.ora during the startup.How can I achieve this?
Thanks4joey1 wrote:
Hallo! I have just installed Oracle 10g in Solaris 10.When I logged into sqlplus / as sysdba if found that I was connected to an idle instance. When I tried to startup open the db, the following error appeared
Connected to an idle instance.
SQL> startup open;
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/export/home/oracle/product/10.2.0/db_1/dbs/initsolaris.ora'
My pfile has the name init.ora and not initsolaris.ora.How can I change the settings to make the Oracle database start via pfile init.ora.
By default, oracle will look first for a spfile named "spfile<ORACLE_SID>.ora". Lacking that, it will try to find "init<ORACLE_SID>).ora.
Eventually,I would like the db to read the spfile spfileorcl.ora during the startup.How can I achieve this?
Once you have started the db (I believe a startup nomount will be sufficient) you can issue CREATE SPFILE ... Details are in the fine SQL Reference manual found at tahiti.oracle.com
BTW, "open" is the default behavior of "startup", so no need to specify it. A simple "startup" does the same thing.
Thanks -
PHP/Oracle/Apache on Windows mid tier
Hey,
I am trying to set up PHP to connect to my oracle instance using apache.
The PHP/Apache set up is on XP, which I also have a 9i client installed. I am trying to then connect to a database on a linux box. the 9i client works fine, SQL*Plus and everything else works great.
However, when I try to run my PHP I get the following error:
Fatal error: Call to undefined function: ocilogon() in c:\program files\apache group\apache\htdocs\pear\markondo\test.php on line 12
I have set the php.ini file to add oci extension but am not convinced that it is being pick up, hence the error !
Any help would be really appreciated,
Thanks,
MarkTry this link:
http://www.php.net/manual/en/install.windows.php
You're right, it probably means PHP is not loading the php_*.dll extension for whatever version of Oracle you are running. The link above has some good comments by users who are struggling with you're problem.
-Bryan -
Hi
I am not sure that it is correct forum to post my problem. I posted the same problem on Oracle JVM forum, and some one told me to post it in Linux forum. Any way I expect to get some help.
I am installing Oracle 8i on Solaris machine. I am able to connect to Oracle from client machine as long as the solaris server is up. Once i restart the Solaris machine, the Oracle can not be connected from client. Is there some configuration file for automatic start and shutdown of oracle when Solaris is restarted.
Any body knows the solution, please help.
With regards.
From Asad.
nullRefer to chapter 4 of the Solaris Installation guide (if you don't have this go to http://technet.oracle.com/docs/products/oracle8i/doc_index.htm )
null -
Hi Guys , i was wondering how to start oracle database in correct way in Solaris
Because i had a problem with it..
i start the Oracle 10 in Solaris ,
the database is up. then after few hours, it shut down / the database is down for no reason then i have to start again
I was wondering whether there is a timeout? if there is how do i check it?
below as my step to start the database.
1. go to Oracle_HOME/bin
2. type lsnrctl start
3. sqlplus /nolog
4. connect username/password as sysdba
5. startup
any better way to start it??
after step 5, it shows no error and the database is ready.
i can connect using sql plus and toad from other computer.
But after few hours , it shutdown for no reason again..
anyone can help me?
is there any better way to start the database??
can i use nohup command in solaris to start oracle? how to do that?
Because of that , after my database starts , my web applicaton always hit
java.sql.SQLException ioException Broken Pipe then i have to restart my app server...
i heard broken pipe happens because the database is down without telling the app server is it??
Thanks...All Seems okay...
do u know the keyword is there is an exception..
Below is my alert_SID.log
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
processes = 150
sga_max_size = 2097152000
__shared_pool_size = 134217728
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
sga_target = 620756992
control_files = /oracle/product/10.2.0/oradata/ILSDB/control01.ctl, /oracle/product/10.2.0/oradata/ILSDB/control02.ctl, /oracle/product/10.2.0/o
radata/ILSDB/control03.ctl
db_block_size = 8192
__db_cache_size = 436207616
compatible = 10.2.0.1.0
db_file_multiblock_read_count= 16
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
dispatchers = (PROTOCOL=TCP) (SERVICE=ILSDBXDB)
job_queue_processes = 10
background_dump_dest = /oracle/product/10.2.0/admin/ILSDB/bdump
user_dump_dest = /oracle/product/10.2.0/admin/ILSDB/udump
core_dump_dest = /oracle/product/10.2.0/admin/ILSDB/cdump
audit_file_dest = /oracle/product/10.2.0/admin/ILSDB/adump
db_name = ILSDB
open_cursors = 300
pga_aggregate_target = 203423744
awrflush_threshold_metrics= TRUE
PMON started with pid=2, OS id=755
PSP0 started with pid=3, OS id=758
MMAN started with pid=4, OS id=760
DBW0 started with pid=5, OS id=762
LGWR started with pid=6, OS id=764
CKPT started with pid=7, OS id=766
SMON started with pid=8, OS id=768
RECO started with pid=9, OS id=770
CJQ0 started with pid=10, OS id=772
MMON started with pid=11, OS id=774
MMNL started with pid=12, OS id=776
Thu Jul 20 15:46:26 2006
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 1 shared server(s) ...
Thu Jul 20 15:46:26 2006
DISM started, OS id=783
Thu Jul 20 15:46:27 2006
ALTER DATABASE MOUNT
Thu Jul 20 15:46:33 2006
Setting recovery target incarnation to 2
Thu Jul 20 15:46:33 2006
Successful mount of redo thread 1, with mount id 1643325139
Thu Jul 20 15:46:33 2006
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Thu Jul 20 15:46:33 2006
ALTER DATABASE OPEN
Thu Jul 20 15:46:34 2006
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Thu Jul 20 15:46:34 2006
Started redo scan
Thu Jul 20 15:46:35 2006
Completed redo scan
273 redo blocks read, 87 data blocks need recovery
Thu Jul 20 15:46:35 2006
Started redo application at
Thread 1: logseq 258, block 6373
Thu Jul 20 15:46:35 2006
Recovery of Online Redo Log: Thread 1 Group 2 Seq 258 Reading mem 0
Mem# 0 errs 0: /oracle/product/10.2.0/oradata/ILSDB/redo02.log
Thu Jul 20 15:46:35 2006
Completed redo application
Thu Jul 20 15:46:37 2006
Completed crash recovery at
Thread 1: logseq 258, block 6646, scn 66574356
87 data blocks read, 87 data blocks written, 273 redo blocks read
Thu Jul 20 15:46:38 2006
Thread 1 advanced to log sequence 259
Thread 1 opened at log sequence 259
Current log# 3 seq# 259 mem# 0: /oracle/product/10.2.0/oradata/ILSDB/redo03.log
Successful open of redo thread 1
Thu Jul 20 15:46:39 2006
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Thu Jul 20 15:46:39 2006
SMON: enabling cache recovery
Thu Jul 20 15:46:40 2006
Successfully onlined Undo Tablespace 1.
Thu Jul 20 15:46:40 2006
SMON: enabling tx recovery
Thu Jul 20 15:46:40 2006
Database Characterset is WE8ISO8859P1
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=18, OS id=1108
Thu Jul 20 15:46:46 2006
Completed: ALTER DATABASE OPEN
Thu Jul 20 15:53:52 2006
Memory Notification: Library Cache Object loaded into SGA
Heap size 2171K exceeds notification threshold (2048K)
KGL object name :select object_name from all_objects where object_name='TOAD_PROFILER' and object_type='PACKAGE'
Thu Jul 20 17:45:24 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as /oracle/product/10.2.0/dbs/arch
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Could it be possible because my tablespace running out of space
because i just check that the tablespace is fully utilized...
If i delete large data from the table and commit.
Will the tablespace free the memory??
If not , how do it free up the tablespace memory rather than increasing it?? -
Doubts intalling Oracle 10G in Solaris 10.
Hi Buddies;
I'm installing Oracle 10g, in Solaris 10, first I uncompressed this file 10gr2_db_sol.cpio. Now, when I execute runInstaller I got this message:
Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10 Passed
Checking Temp space: must be greater than 250 MB. Actual 13289 MB Passed
Checking swap space: must be greater than 500 MB. Actual 13492 MB Passed
Checking monitor: must be configured to display at least 256 colors
>>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Ch eck if the DISPLAY variable is set. Failed <<<<
Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,at which time they will be rechecked.
What I supposed to do? Thanks for your help.
AlHi,
look at:
Re: Problem in adding database
maybe it helps. It that thread I showed how I usually manage X11 window. Another way is to do everything silent with scripts as shown here:
http://www.oratoolkit.ch/knowledge/howto/installation/eeSrv-10g-R2-on-Solaris-10-sparc.php
That's my open source swiss army knife.
Cheers,
David
OCP 9i / 10g / 11g -
Openning oracle connection hangs in aspx page
I have an application(on win2k) which connnects to oracle database(on Solaris machine).Application connects to DB & executes a simple query. As .NET application it works fine.
if the same code is copied & pasted in a aspx page, page just hangs. Have created a DSN(ORAJOBINFO). Ran in debug Mode at statement connection.open() system hangs.
following is snipet of code:
string connString = "Provider=OraOLEDB.Oracle.1;DSN=ORAJOBINFO;system;manager";
OdbcCon = new OdbcConnection(connString);
OdbcCommand OdbcCom = new OdbcCommand(Query);
OdbcCom.Connection = OdbcCon;
OdbcCon.Open();
same code with DB2 DSN works fine.
can any one help me.try using
OleDBConnection con=new OleDBConnection("provider=MSDAORA.1;user id=system;password=manager;data source=<<connectionstring>>");
con.Open();
Maybe you are looking for
-
Would like to know how old my system is
Hi, I just bought my mac, I am having trouble finding things that are compatible with it on the internet, aka downloads, magic jack, and so on. I was at the apple store in Des Moines, Iowa at Jordan Creek Town-center this past week and they told me t
-
Getting Error while creating the proxy generator in Dot Net Connector 2003
Hi, While creating the proxy generator in Dot Net Connector 2003 i am getting following error: I am successfully able to login into the SAP system and able to select the SAP tables but during the final step of proxy generator wizard i am getting foll
-
Transaction FB50L - Item as profit center display General Ledger
Hi Dears, I am running transaction FB50L, and fill lines, but a item has profit center, other is blank, when saves document, in data entry view, field Profit Center line 1 is blank (OK), and line 2 is filled, but in display General Ledger is filled t
-
Charging icon only show the icon or not charging.
Since updating to snow leopard my battery icon even though being set to percentage only show the icon or not charging. Any suggestions
-
Hi all, Can anyone please tell me as to when we go for creating a New Context Node. Regards, Vijay