Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't assign requested address (errno:227)

SOLVED
Go to solution
Mohd Azahari
Advisor

Can't assign requested address (errno:227)

Hi,

I have installed Oracle Reports Server on HPUX itanium 64 bit. But now I could not bring up the report server because of the error above. Checking the default multicast ip below gives me the error. How can I configure multicast?

$ /opt/java6/bin/IA64W/java -jar ./stage/Multicast/mcastserver.jar -ipaddress 228.5.6.7 -port 999 -delay 1000 -verbose -message "test"
Server running with multicast address [228.5.6.7:999]

Using Setings:
Multicast Address : 228.5.6.7
Multicast Port : 999
Message :test
Max Delay :1000
Random Delay :false
Verbose :true

Error: Can't assign requested address (errno:227)
java.net.SocketException: Can't assign requested address (errno:227)


/usr/sbin/ifconfig lan900
# /usr/sbin/ifconfig lan900
lan900: flags=1843
inet 10.66.130.14 netmask ff000000 broadcast 10.255.255.255

# nwmgr

Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 DOWN 0x001A4BF3DA6A iether 1000Base-T
lan1 DOWN 0x001A4BF3DA6B iether 1000Base-T
lan4 UP 0x002481772C91 iether 1000Base-T lan900
lan5 DOWN 0x001A4BF3DC6B iether 1000Base-T
lan2 DOWN 0x002481772C90 iether 1000Base-T
lan3 UP 0x002481772C91 iether 1000Base-T lan900
lan900 UP 0x002481772C91 hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/3/0/0/0/0 0x001A4BF3DA6A 0 UP lan0 snap0 1 ETHER Yes 119
0/3/0/0/0/1 0x001A4BF3DA6B 1 UP lan1 snap1 2 ETHER Yes 119
0/7/0/0/0/1 0x001A4BF3DC6B 5 UP lan5 snap5 4 ETHER Yes 119
0/4/2/0 0x002481772C90 2 UP lan2 snap2 5 ETHER Yes 119
LinkAgg0 0x002481772C91 900 UP lan900 snap900 8 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 9 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 10 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 11 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 12 ETHER Yes 119
4 REPLIES
VK2COT
Honored Contributor
Solution

Re: Can't assign requested address (errno:227)

Hello,

a) mcastserver.jar is a Multicast Checker.
It simply tests the setup.

b) In its simplest form, multicast address
is set up this way:

# route add 228.5.6.7 192.168.5.20 0

To add it permanently, the following lines
need to be added into
/etc/rc.config.d/netconf:

ROUTE_DESTINATION[X]=â 228.5.6.7â
ROUTE_GATEWAY[X]=â 192.168.5.20â
ROUTE_COUNT[X]=â 0â

X is an unused positive integer in network
setup.

In this example, I assume your local interface (lan3, lan4, or aggregate lan900)
has IP address 192.168.5.20.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Mohd Azahari
Advisor

Re: Can't assign requested address (errno:227)

Hi,

thanx for replying but I got the following error:

# route add 228.5.6.7 192.168.5.20 0
add host 228.5.6.7: gateway 192.168.5.20: Network is unreachable

Here's netstat -rn:

# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
10.66.130.14 10.66.130.14 UH 0 lan900 32808
10.0.0.0 10.66.130.14 U 2 lan900 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
VK2COT
Honored Contributor

Re: Can't assign requested address (errno:227)

Hello Mohd,

I think you misunderstood my example because
you did not provide your real IP addresses
in the original message.

Your IP address is different from my example,
so this is what should work:

# route add 228.5.6.7 10.66.130.14 0

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Mohd Azahari
Advisor

Re: Can't assign requested address (errno:227)

Hi,

Thanx a lot. It works now.