From: Alain Knaff <alain(a)knaff.lu>
Subject: Re: [Lilux-help] access to Oracle
To: "Michel-G. .Maria-Sube" <mgms1(a)yahoo.com>
Cc: lilux-help(a)linux.lu
Date: Tuesday, February 16, 2010, 6:51 PM
Michel-G. .Maria-Sube wrote:
Hello
--- On Tue, 2/16/10, Alain Knaff <alain(a)knaff.lu>
wrote:
> From: Alain Knaff <alain(a)knaff.lu>
> Subject: Re: [Lilux-help] access to Oracle
> To: "Michel-G. .Maria-Sube" <mgms1(a)yahoo.com>
> Cc: lilux-help(a)linux.lu
> Date: Tuesday, February 16, 2010, 1:23 PM
> On 16/02/10 11:40, Michel-G.
> .Maria-Sube wrote:
>> Hello,
>>
>> For several weeks I've installed both server
and
> client version of Oracle express 10g on my
laptop
and I
> reguraly encounter connection problem for
access
to the main
> page in graphical version; as it is indicated
in
the
> documentation acces is provided by navigating
at
adress
http://127.0.0.1:1154/apex, assuming appplication uses
> 1154 port, and browser is configurated to
don't
use proxy
> for 127.0.0.1; but sometimes it works,
sometimes
it
> doesn't!!! What could happend or what
else to do?
>> THank you in advance for suggestions
>> M-G
>>
_______________________________________________
>> Lilux-help mailing list
>> Lilux-help(a)lilux.lu
>>
http://lilux.lu/mailman/listinfo/lilux-help
> Can you describe concretely what happens when "it
doesn't"
> work? Any error
> messages? Or does it just hang? Or what exactly
happens?
By it doesn't work I mean: connection is refused
ok
Firefox cannot establish connection with server
either
at
address
http://127.0.0.1:1154 nor with address
http://localhost:1154; same problem occur with other
brrowsers
127.0.0.1 and localhost are actually the same thing...
hmmm, it looks like maybe the process handling this port
(1154) is crashed.
Does it occasionally happen that it works again a while
after it has
crashed (... or does it need a reboot or Oracle restart to
work again)?
What would be interesting to check is:
1. Find out what the process is called: do an lsof -i
tcp:1154 while it
works, and not the name of the process.
Ok, for practical aspect I will use port 1158 here because I have
the same problem on two machine running under Suse10.* (one in 32b
the other in 64b); on current machine http is configurated on port
1158.
lsof -i tcp:1158 gives no answer
When I'm launchig
firefox
and ps -ax|grep firefox I obtain:
6505 ? S 0:00 /bin/sh /usr/bin/firefox
6510 ? Sl 0:40 /usr/lib64/firefox/firefox
6749 pts/28 S+ 0:00 grep firefox
I don't find any log-file at the moment
Does it have any
log (use lsof
-p processnumber to check whether it has any files open
that look like
log files). With ps lww processnumber, you can find out the
parent
process' number, which you then can ps in turn.
2. When crashed, check with ps whether it is indeed gone
(or just
stopped listening for some reason?). Whether the parent
process is gone?
and samely if I check option 'no proxy'
of if I check
option
'no proxy for 127.0.0.1, localhost' etc
(in
preferences)
if you somehow don't trust your browser or its settings,
you can try to
telnet directly to the port:
telnet localhost 1154
Once again connection is refused:
#telnet localhost 1158
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
and check whether you get a "connection refused" there
too.
> Also, please watch your line length. In
general,
it is
custom to
stay under
80 characters.
Ok ok
:-)
Alain