Featured post

Quiz: Data PreProcessing

Tuesday, 27 September 2016

Solaris 11: Cluster Error: clreslogicalhostname: can't get adapter list on hostname

Got below error while trying to configure logical hostname resource.

ISSUE: hostname[390]# clreslogicalhostname create -g app-rg -h AUXXXMQ app-lh-rs
clreslogicalhostname:  can't get adapter list on hostname


Solution:

# svcs -xv
svc:/system/cluster/pnm:default (Public Network Management Daemon)
 State: maintenance since Wed Sep 28 14:53:53 2016
Reason: Restarting too quickly.
   See: http://support.oracle.com/msg/SMF-8000-L5
   See: man -M /usr/cluster/man -s 1M cl_pnmd
   See: /var/svc/log/system-cluster-pnm:default.log
Impact: 1 dependent service is not running:
        svc:/system/cluster/cl-svc-cluster-milestone:default

# svcadm clear svc:/system/cluster/pnm:default
# svcadm enable svc:/system/cluster/pnm:default
# svcs -xv

After this issue was resolved.

Monday, 19 September 2016

Solaris 11: Default router not getting saved

I came across a situation where below command is not able to retain the default router

route add default 10.XX.XXX.254 -ifp ipmp0

I tried below command and it worked, however don't know the reason. If someone knows please provide justification.

route -fp add default 10.XX.XXX.254 

Sunday, 18 September 2016

RedHat 6.7: Yum Repolist: Error: database is locked

Error: while running yum repolist database error is coming

#yum repolist
rhel6_vmware-25072016                                                                                                                   10/10
rscd-agent-rhel-x86_64-server-6                                                                           |  871 B     00:00
rscd-agent-rhel-x86_64-server-6/primary                                                                       | 1.1 kB     00:00
rscd-agent-rhel-x86_64-server-6                                                                                                2/2
Error: database is locked

Solution: run yum clean all to clean the cache and run yum repolist again

[u@h w] $ yum clean all
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Cleaning repos: output truncated

Cleaning up Everything

#yum repolist