Sponsored Content
Operating Systems HP-UX cmapplyconf >> Permission denied Post 302577652 by MazenH on Tuesday 29th of November 2011 03:35:19 PM
Old 11-29-2011
cmapplyconf >> Permission denied

Hi all,

I am totally new to HP-UX. Been going through books and documents, passed too many problems and they helped me learn. I am working on a test environment.

I have 2 nodes, hostnames Nde1HPUX and Nde2HPUX.
The /etc/hosts, .rhosts and /etc/cmcluster/cmclnodelist are properly configured on both nodes (I guess)

/etc/hosts
Code:
192.168.200.111 Nde1HPUX
127.0.0.1           localhost       loopback
192.168.200.121 Nde2HPUX

# cat .rhosts
Nde1HPUX        root
Nde2HPUX        root

# cd /etc/cmcluster
# cat cmclnodelist
Nde1HPUX        root
Nde2HPUX        root

I got to the point of cluster configuration. After applying the following commands on Nde1HPUX
Code:
	# cmquerycl -C cmclconf.ascii -n Nde1HPUX -n Nde2HPUX

	# vi cmclconf.ascii
      
        (modified the heartbeat and stationary IPs - checked the vglock,all is                 
         OK)


        # cmcheckconf -v -C cmclconf.ascii

...

Adding node Nde1HPUX to cluster cluster1
Adding node Nde2HPUX to cluster cluster1
cmcheckconf: Verification completed with no errors found.

	# cmapplyconf -v -C cmclconf.ascii

At the cmapplyconf, I got the following:
Code:
Checking cluster file: cmclconf.ascii
Note : a NODE_TIMEOUT value of 2000000 was found in line 125. For a
significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ascii file or Serviceguard
manual for more information on this parameter.
Checking nodes ... Done
Checking existing configuration ... Done
Gathering storage information
Found 3 devices on node Nde1HPUX
Found 3 devices on node Nde2HPUX
Analysis of 6 devices should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 2 volume groups on node Nde1HPUX
Found 2 volume groups on node Nde2HPUX
Analysis of 4 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Gathering network information
Beginning network probing (this may take a while)
Completed network probing
Checking for inconsistencies
Minimum network configuration requirements for the cluster have
not been met. Minimum network configuration requirements are:
 - 2 or more heartbeat networks OR
 - 1 heartbeat network with local switch (HP-UX Only) OR
 - 1 heartbeat network using APA with 2 trunk members (HP-UX Only) OR
 - 1 heartbeat network with serial line (HP-UX Only) OR
 - 1 heartbeat network using bonding (mode 1) with 2 slaves (Linux Only)
Adding node Nde1HPUX to cluster cluster1
Adding node Nde2HPUX to cluster cluster1
Marking/unmarking volume groups for use in the cluster
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Unable to verify cluster configuration change completion, proceeding anyway..
Cannot connect to configuration daemon (cmclconfd) on node Nde1HPUX
Cannot connect to configuration daemon (cmclconfd) on node Nde2HPUX
Completed the cluster creation

After that, nothing works.

I went to Nde2HPUX, files are created here.
Code:
# cd /etc/cmcluster
# ll
total 80
drwxr-xr-x   2 bin        bin           8192 Nov 16 18:34 cfs
-rw-------   1 root       root          8288 Nov 29 19:26 cmclconfig
-rw-------   1 root       root             0 Nov 29 19:26 cmclconfig.tmp
-rw-rw-rw-   1 root       sys             28 Nov 29 17:46 cmclnodelist
-r--------   1 bin        bin             70 Sep 23  2005 cmknowncmds
----------   1 root       root             0 Nov 29 19:24 config.lck

(I was comparing the /etc/hosts file with the a live system and the live one had an additional domain name column, got me to recall a message after configuring DNS during installation, that I have to register my HP-UX servers with DNS.. I am not sure if that is the problem or not)

I am a network engineer, so the first thing I did was pinging hostnames, and it works fine both ways.

I then continued the cluster configuration normally (since the cluster is already created as per message above)
Code:
# vgchange -a n /dev/vglock

# cmruncl -v
Permission denied to 192.168.200.121
cmruncl: Validating network configuration...
cmruncl: Network validation complete
Permission denied to Nde1HPUX
Permission denied to Nde2HPUX
Unable to validate the nodes in the cluster
cmruncl failed: No such file or directory

I've been googling for hours now and I am stuck.Any help would be appreciated and bear with me my lack of knowledge in this domain. Smilie

Thank you.

Mazen

---------- Post updated at 08:35 PM ---------- Previous update was at 08:16 PM ----------
Code:
# cmviewcl -v
Permission denied to 192.168.200.121

CLUSTER        STATUS
cluster1       unknown

  NODE           STATUS       STATE
  Nde1HPUX       down         unknown

    Cluster_Lock_LVM:
    VOLUME_GROUP          PHYSICAL_VOLUME       STATUS
    /dev/vglock           /dev/dsk/c4t0d1       unknown

    Network_Parameters:
    INTERFACE    STATUS       PATH                NAME
    PRIMARY      unknown      0/1/2/0             lan0
    PRIMARY      unknown      0/2/1/1             lan2

  NODE           STATUS       STATE
  Nde2HPUX       unknown      unknown

    Cluster_Lock_LVM:
    VOLUME_GROUP          PHYSICAL_VOLUME       STATUS
    /dev/vglock           /dev/dsk/c4t0d2       unknown

    Network_Parameters:
    INTERFACE    STATUS       PATH                NAME
    PRIMARY      unknown      0/1/2/0             lan0
    PRIMARY      unknown      0/2/1/0/5/0         lan2

---------- Post updated at 09:35 PM ---------- Previous update was at 08:35 PM ----------

Update:

I checked the following after a search.

Code:
#more /etc/inetd.conf |grep auth
auth stream tcp6 wait bin /usr/lbin/identd identd

As per the research, I should change the 'bin' to 'root'. Did that, and still getting the 'Permission denied' (just tried to do a cmviewcl and got the permission denied - IP of 2nd node)

Last edited by Scott; 11-29-2011 at 03:50 PM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

permission denied??

i'm trying to set up my internet connection and i was told i need to edit the file /etc/ppp/pap-secrets but i get a permission denied message...why?? (6 Replies)
Discussion started by: justchillin
6 Replies

2. UNIX for Dummies Questions & Answers

./ Permission Denied.

Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks! (8 Replies)
Discussion started by: trouscaillon
8 Replies

3. UNIX for Dummies Questions & Answers

Permission Denied

I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You ... (0 Replies)
Discussion started by: howeezy
0 Replies

4. UNIX for Advanced & Expert Users

Permission denied

Hi, I can not execute a .env file $ . /Data/oracle/d03/mydbora/8.0.6/MYDB.env -bash: /Data/oracle/d03/mydbora/8.0.6/MYDB.env: Permission denied Even if : -rwxrwxrwx 1 oracle dba 2903 Mar 5 2007 /Data/oracle/d03/mydbora/8.0.6/MYDB.env Please help. Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies

5. UNIX for Dummies Questions & Answers

Why do I keep getting .:Permission denied?

I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Discussion started by: bbersani
12 Replies

6. UNIX for Dummies Questions & Answers

Permission denied

I would like to copy data from local mechine to cluster. Basically, I typed scp -r DVD/ acount@cluster:/ it shows Permission denied. Could anyone please give me a clue to write permission on cluster, please? The poperty of where on cluster I'd like to put is drwxr-xr-x Any idea would... (1 Reply)
Discussion started by: su_in99
1 Replies

7. Red Hat

Permission denied

Hi guys im new to this db i have a small prob while installing websphereportal6.1i think i was installed succesfully but the error im getting is while starting server. check this out # ./serverStatus.sh -all Error loading: /usr/wps61/AppServer/java/jre/bin/classic/libjvm.so: cannot... (1 Reply)
Discussion started by: varma917989
1 Replies

8. Shell Programming and Scripting

Permission denied

I created a user so that when he logs in he will be directed to a menu /etc/passwd user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies

9. Linux

Permission denied

I am using korn shell When I type in Telnet on cmd line, I get message "cannot execute" How can I get permission to execute command ? In which dir is telnet located ? I looked in /usr/bin dir. but its not there Thanks (1 Reply)
Discussion started by: paramshamnani
1 Replies

10. UNIX for Dummies Questions & Answers

Permission denied

when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies
All times are GMT -4. The time now is 09:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy