cancel
Showing results for 
Search instead for 
Did you mean: 

cmvielcl -v not working

Kranti Mahmud
Honored Contributor

cmvielcl -v not working

Hi All,

I hav a cluster environment where evrything is OK. Bt there is a small problem, cmviecl -v command is not executing on the active node, though its working at passive node. When I run cmviewcl, it shows output perfectly, bt whenever I cmviewcl -v, it get another prompt after 5-10 seconds.

Can any one suggest what to do?

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
11 REPLIES
Aneesh Mohan
Honored Contributor

Re: cmvielcl -v not working

Hi Kranti,

Please post the below output .

On the active node
-------------------
#what `which cmviewcl`
#ls -l `which cmviewcl`
#cmgetconf -v
#uname -a
#swlist |grep -i service


Thanks,
Aneesh


Avinash20
Honored Contributor

Re: cmvielcl -v not working

Hi,

As per my understanding you are having issue with # cmviewcl -v and not with cmviewcl
Please provide the output of

# whereis cmviewcl
# swlist -l file | grep
# cksum

Post the same output from both the nodes in the cluster
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Asif Sharif
Honored Contributor

Re: cmvielcl -v not working

cmviewcl -v -l
Kranti Mahmud
Honored Contributor

Re: cmvielcl -v not working

Hi Mohan & Rao,

Please check the attached output.

Dont look BACK as U will miss something INFRONT!
Aneesh Mohan
Honored Contributor

Re: cmvielcl -v not working

It sounds me like the problem with node authentication.

Please check
------------------

1) verify your hacl entries in /etc/inetd.conf and /etc/services
2) Check the host name resolution (/etc/hosts ).
3) Check /etc/cmcluster/cmclnodelist
4) Check the syslog errors

Thanks ,
Aneesh
Aneesh Mohan
Honored Contributor

Re: cmvielcl -v not working

addendum ..

cat /etc/inetd.conf |grep -i auth

Thanks,
Aneesh
Kranti Mahmud
Honored Contributor

Re: cmvielcl -v not working

Hi Annesh,

Attached is the output where I fail to find any error there. Secondly, there is no error messsage in syslog.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Jeeshan
Honored Contributor

Re: cmvielcl -v not working

hi Kranti

do you have any file like /etc/resolv.conf ?
a warrior never quits
Aneesh Mohan
Honored Contributor

Re: cmvielcl -v not working

Hi ,

1)Please add the 113 port entry in /etc/services

fyi
# grep -i auth /etc/services
ident 113/tcp authentication # RFC1413
# netstat -na |grep 113
tcp 0 0 *.113 *.* LISTEN

2) Please make the below entry in /etc/nsswitch.conf
ipnodes: files


Please get back to us ,after the changes.

Thanks,
Aneesh
Aneesh Mohan
Honored Contributor

Re: cmvielcl -v not working

Hi Kranti,

Please run the below command and check any errors in /tmp/scancl file.

#cmscancl -o /tmp/scancl

Thanks,
Aneesh
Avinash20
Honored Contributor

Re: cmvielcl -v not working

Hmm.. Strange.. cmviewcl shows the output while cmviewcl -v come to the hash prompt without any output//

Also the cksum of cmviewcl is perfect with the patch installed on the server. Hence there is no issue with the cmviewcl command.

I would check if the other command are working fine like

# cmviewcl -v -l package -p

replace with the package which you can see via cmviewcl

# cmviewcl -n

# cmviewcl -C

# cmviewcl -v -f line -l cluster | grep status | cut -d= -f2

Also while executing cmviewcl -v check if the command has executed successfully via

# echo $?

>> If it is 0 then the command has executed sucessfully
"Light travels faster than sound. That's why some people appear bright until you hear them speak."