1833535 Members
3066 Online
110061 Solutions
New Discussion

running the package

 
NagarajSG
Occasional Advisor

running the package

HI All,

Hi When i am runnuing the package I am gettingthe following error

cpeiat14 /etc/cmcluster/pkg/v_ip#cmrunpkg VirtualIP
cmrunpkg : Script failed with no restart: VirtualIP should not be restarted.
Check the syslog on node cpeiat14 and pkg log files for more detailed information.


Regards
Nagaraj S G
7 REPLIES 7
Turgay Cavdar
Honored Contributor

Re: running the package

Hi,
Please have a look at package log file, so you can understand why package not start. Package log file is either in /var/adm/cmcluster/log or /etc/cmcluster/package_name .

Regards.
NagarajSG
Occasional Advisor

Re: running the package

Hi Thanks for ur quick reply.

The log file conatis following error

########### Node "cpeiat14": Starting package at Fri Apr 8 17:04:43 IST 2011 ###########
Apr 8 17:04:43 - Node "cpeiat14": Adding IP address 15.154.49.228 to subnet 15.154.48.0
cmmodnet : Unable to verify IP address 15.154.49.228.
cmmodnet : 15.154.49.228 might already be configured as a heartbeat IP address.
ERROR: Function add_ip_address
ERROR: Failed to add IP address to subnet
Apr 8 17:04:43 - Node "cpeiat14": Remove IP address 15.154.49.228 from subnet 15.154.48.0
###### Node "cpeiat14": Package start failed at Fri Apr 8 17:04:43 IST 2011 ######

Turgay Cavdar
Honored Contributor

Re: running the package

Can you please post "netstat -in" from all nodes?

Is your subnet value of the interface is the same with the package subnet value?
NagarajSG
Occasional Advisor

Re: running the package

Node1:
cpeiat14 /#netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 192.168.1.0 192.168.1.2 179271 0 348775 0 0
lan0 1500 15.154.48.0 15.154.49.228 505983 0 463473 0 0
lo0 4136 127.0.0.0 127.0.0.1 215139 0 215142 0 0

Node2:
cpeiat13 /#netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 192.168.1.0 192.168.1.1 348268 0 178965 0 0
lan0 1500 15.154.48.0 15.154.49.224 662880 0 286335 0 0
lo0 4136 127.0.0.0 127.0.0.1 5320667 0 5320669 0 0
Turgay Cavdar
Honored Contributor

Re: running the package

Can you please also post "netstat -nrv" on both nodes and package' ip config:
ip_subnet
ip_subnet_node
ip_address
John Bigg
Esteemed Contributor

Re: running the package

No need for that extra data turgay, the packlage log and netstat show the problem.

The primary address for lan0 is 15.154.49.228.
The package is defined to have a package IP address of 15.154.49.228.

This is a duplicate. Either the primary address of the lan is wrong, the package does not need an explicit package address or the package address itself is wrong. These two addresses should not be the same.

The error occurs because when the package starts it tries to add 15.154.49.228 to lan0 only to find it is already there.
Turgay Cavdar
Honored Contributor

Re: running the package

Yes John you are right.

Nagaraj you should change ip_address value in the package config. This ip address shouldnt be used anywhere on the network.