Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem z połączeniem przez www.
blacksoul
post 21.10.2011, 18:58:56
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 21.10.2011
Skąd: Łańcut

Ostrzeżenie: (0%)
-----


Witam,
Po instalacji Oracle 11g r2 Mam problem z połączeniem się przez stronę http://127.0.0.1:8080/apex/f?p=4950 z bazą , cały czas wyskakuje że nie można nawiązać połączenia z serwerem. Posiadam system windows 7 32 bit, kiedyś na XP z 10g chodziło ok. Natomiast z konsoli SQL dostaję odpowiedź że connected ..

Status listenera:
Cytat
C:\Users\Piotr>lsnrctl status

LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 21-PAĆ-2011 19:56
:12

Copyright © 1991, 2010, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 21-PAĆ-2011 17:09:48
Uptime 0 days 2 hr. 46 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\Piotr-Komputer\lis
tener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Piotr-Komputer)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully


Nie pojawia się nic na temat portu 8080. Proszę o pomoc smile.gif
Go to the top of the page
+Quote Post
serafin
post 22.10.2011, 13:44:59
Post #2





Grupa: Zarejestrowani
Postów: 56
Pomógł: 0
Dołączył: 23.11.2003
Skąd: Poznań

Ostrzeżenie: (0%)
-----


zapewne wystarczy w PHP dopisać:

  1. putenv("TNS_ADMIN=/katalog/z/tnsnames.ora");


z konsoli moze dzialac bo masz ustawione TNS_ADMIN, w serwerze nie koniecznie musi byc to przekazane poprawnie wink.gif

Ten post edytował serafin 22.10.2011, 13:45:19


--------------------
Making IT works
Go to the top of the page
+Quote Post
szczupak
post 16.07.2012, 20:20:40
Post #3





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 16.07.2012

Ostrzeżenie: (0%)
-----


Cytat(serafin @ 22.10.2011, 14:44:59 ) *
zapewne wystarczy w PHP dopisać:

  1. putenv("TNS_ADMIN=/katalog/z/tnsnames.ora");


z konsoli moze dzialac bo masz ustawione TNS_ADMIN, w serwerze nie koniecznie musi byc to przekazane poprawnie wink.gif


Cześć.
Mógłbyś napisać gdzie to dokładnie dodać?
Do jakiego pliku w jakim katalogu?

Ja mam Windows7 ultimate 32bit i ten sam problem.


Cytat
C:\oraclexe\app\oracle\product\11.2.0\server\bin>lsnrctl status

LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 16-LIP-2012 21:09
:04

Copyright © 1991, 2010, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 16-LIP-2012 20:53:54
Uptime 0 days 0 hr. 15 min. 14 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\Pavlo-Komputer\lis
tener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Pavlo-Komputer)(PORT=8080)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

C:\oraclexe\app\oracle\product\11.2.0\server\bin>


Ten post edytował szczupak 16.07.2012, 20:21:30
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 20.04.2024 - 03:39