1752798 Members
5698 Online
108789 Solutions
New Discussion юеВ

Re: Firewall

 
SOLVED
Go to solution
rustam_2
Super Advisor

Firewall

Hi everybody,
I installed DB Oracle, during installation i chose Enterprise Manager(EM) Tool. DB installed, but EM gave me error. I searched in metalink and found out that i got this because of ports for EM are closed and by firewall is installed by default on *nix OS.
I guess in my HP-UX 11i v3 firewall is running and ports for EM are closing.
So, how can i check is firewall running and how can i open\close required ports?
9 REPLIES 9
Srimalik
Valued Contributor

Re: Firewall

Did it list the port numbers it requires?
AFAIK on default HP-UX install no ports are blocked.
abandon all hope, ye who enter here..
rustam_2
Super Advisor

Re: Firewall

Srimalik, i'm not sure that ports are open.
Especially for EM i must have ports: 39, 55, ,5500 and 5519?

I got this error:

EM configuration failed due to the following error: Failed to allocate port(s) in the specified range(s) for the following proccesses JMS (5540-559), RMI (5520-5539), Database Control (5500-5519), EM Agent (3938) (1830-1849)
Refer to the log file at /u01/app/oracle/product/10.2.0./db_1/cfttoollogs/dbca/test/emConfig.log for more details.You can retry configuraing this Database with EM later by manually running /u01/app/oracle/product/10.2.0/db_1/bin/emca script

Regards,
Rustam
Viktor Balogh
Honored Contributor

Re: Firewall

>Especially for EM i must have ports: 39, 55, ,5500 and 5519?

you can check these ports with telnet:

from localhost:
# telnet localhost PORTNUM

from a remote host:
# telnet MACHINE PORTNUM
****
Unix operates with beer.
rustam_2
Super Advisor

Re: Firewall

Thanks, Viktor Balogh.

I did from local and remote host. But couldnt connect via telnet to those ports.
Then i run
LC_ALL=C netstat -an | greb LISTEN
but they are not runnung (nothing are listening\running on them).

Viktor Balogh
Honored Contributor

Re: Firewall

ok, back to your original question:

>So, how can i check is firewall running and how can i open\close required ports?

here's a link how could you check firewall in HP-UX:

http://viktorbalogh.net/blog/hp-ux/firewall-in-hp-ux
****
Unix operates with beer.
Azamat
Frequent Advisor
Solution

Re: Firewall

Dear gents and ladies,
fyi, pls:

netstat -a|grep -i "Port"
netstat -a | pg
LC_ALL=C netstat -an | grep LISTEN

also you can install lsof and run it:
# lsof

links were you can looking for this beautiful program :
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/
or
http://hpux.cae.wisc.edu


b.r., Azamat
Steven E. Protter
Exalted Contributor

Re: Firewall

Shalom,

From a Linux box you can do this to test HP-UX system. This util is something that with effort can be installed on an HP-UX host.

nmap hostname

This will list all open ports with listeners.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Viktor Balogh
Honored Contributor

Re: Firewall

Hi rustam,

Did you install nmap on linux? I'm just curious, because I get every day a reminder about this topic, and find no new posts to it.

Regards,
Viktor
****
Unix operates with beer.
Viktor Balogh
Honored Contributor

Re: Firewall

Rustam, I wrote a reply to my blog.. ;)
I don't know why your messages just get deleted from this topic.
****
Unix operates with beer.