System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

one pkg is down -very urgent

 
Sajjad Sahir
Honored Contributor

one pkg is down -very urgent

UNOWNED_PACKAGES

PACKAGE STATUS STATE AUTO_RUN NODE
nfs1 down halted disabled unowned
hp_data1#
see attached log file also
37 REPLIES 37
Sajjad Sahir
Honored Contributor

Re: one pkg is down -very urgent

hp_data1#cmrunpkg -n hp_data1 nfs1
cmrunpkg : Script failed with no restart: nfs1 should not be restarted.
Check the syslog on node hp_data1 and pkg log files for more detailed informatio
n.

if i am using this command i am getting this error so i checked log file i attached that one also

please give me solution
Sajjad Sahir
Matti_Kurkela
Honored Contributor

Re: one pkg is down -very urgent

As it says: "Examine the file /etc/cmcluster/nfsu02/nfs1.cntl.log for more details".

Without knowing more about the configuration of package nfs1, we cannot help you much.

At this point, it would be important to know what is the service PKG*33283 in the package nfs1 supposed to do. That service would be defined in the package control script: /etc/cmcluster/nfsu02/nfs1.cntl.

Any error messages produced by that service might also be very enlightening: they are in the nfs1.cntl.log file (the full path was stated above).

MK
MK
Jeeshan
Honored Contributor

Re: one pkg is down -very urgent

Hi Sajjad

chek your nfs daemon is working.and also check the pkg you specified which reside in file system is active.

run cmquerycl for status.
a warrior never quits
Sajjad Sahir
Honored Contributor

Re: one pkg is down -very urgent

hp_data1#tail -20 nfs1.cntl.log
HANFS -- May 11 16:21:31 - Node "hp_data1": Exporting filesystem on /u02
May 11 16:21:31 - Node "hp_data1": "hp_data1:/u02" was already mounted.
remshd: Account is disabled or expired.
ERROR: Function customer_defined_run_cmds
ERROR: Failed to RUN customer commands
May 11 16:21:32 - Node "hp_data1": Unmounting filesystem on hp_data1:/u02
WARNING: Running fuser to remove anyone using the file system directly
.
hp_data1:/u02: fuser: could not obtain file system ID for file hp_data1:/u02
umount: cannot find hp_data1:/u02 in /etc/mnttab
cannot unmount hp_data1:/u02
remshd: Account is disabled or expired.
HANFS -- May 11 16:21:32 - Node "hp_data1": Unexporting filesystem on /u02
killing rpc.lockd pid = 7220
killing rpc.statd pid = 7216
HANFS -- May 11 16:21:32 - Node "hp_data1": Restarting rpc.statd
HANFS -- May 11 16:21:32 - Node "hp_data1": Restarting rpc.lockd
May 11 16:21:32 - Node "hp_data1": Unmounting filesystem on /dev/vgarch1/lvarch
May 11 16:21:33 - Node "hp_data1": Deactivating volume group vgarch1
Deactivated volume group in Exclusive Mode.
Volume group "vgarch1" has been successfully changed.

please it is very urgent
Jeeshan
Honored Contributor

Re: one pkg is down -very urgent

Hello again

i think you have already found your action plan.

Hope to figure out!!!!
a warrior never quits
Sajjad Sahir
Honored Contributor

Re: one pkg is down -very urgent

Dear Ahsan
not solved nfs is running not that issue
only issue is one pkg is not running we have two node cluster
hp_data1#cmviewcl

CLUSTER STATUS
hp_data up

NODE STATUS STATE
hp_data1 up running

PACKAGE STATUS STATE AUTO_RUN NODE
orapkg1 up running enabled hp_data1

NODE STATUS STATE
hp_data2 up running

PACKAGE STATUS STATE AUTO_RUN NODE
orapkg2 up running enabled hp_data2
nfs2 up running enabled hp_data2

UNOWNED_PACKAGES

PACKAGE STATUS STATE AUTO_RUN NODE
nfs1 down halted disabled unowned
Jeeshan
Honored Contributor

Re: one pkg is down -very urgent

what is the output of this command?

#cmrunpkg -v -n hp_data2 nfs1
a warrior never quits
Sajjad Sahir
Honored Contributor

Re: one pkg is down -very urgent

hp_data1#cmrunpkg -n hp_data1 -v nfs1
Running package nfs1 on node hp_data1.
cmrunpkg : Script failed with no restart: nfs1 should not be restarted.
Check the syslog on node hp_data1 and pkg log files for more detailed informatio
n.
Matti_Kurkela
Honored Contributor

Re: one pkg is down -very urgent

remshd: Account is disabled or expired.
ERROR: Function customer_defined_run_cmds
ERROR: Failed to RUN customer commands

Looks like something in the customer_defined_run_cmds section of the package control script is trying to use remsh to access some other account (maybe in another server?), but that account is disabled or expired.

To fix the problem, you would need to read the
customer_defined_run_cmds section of the /etc/cmcluster/nfsu02/nfs1.cntl file, find out what it's trying to do with remsh, then fix the disabled/expired account as appropriate.

As you have not shown that file to us, we cannot identify the account for you.

In general, in situations like this, the important thing is to avoid panicking and read and understand all the messages the system is sending. The messages are there to help you.

MK
MK