Sponsored Content
Full Discussion: Unable to enable ncp
Operating Systems Solaris Unable to enable ncp Post 302820525 by HuaMin on Thursday 13th of June 2013 01:21:05 AM
Old 06-13-2013
Unable to enable ncp

Hi,
can You please advise why I cannot enable ncp below, in Solaris 11?

Code:
netcfg> create loc huamin.com
Created loc 'huamin.com'.  Walking properties ...
activation-mode (manual) [manual|conditional-any|conditional-all]> conditional-all
conditions> ncp huamin.com.ncp is active
nameservices (dns) [dns|files|nis|ldap]> dns,nis
nameservices-config-file ("/etc/nsswitch.dns")> /etc/nsswitch.huamin
dns-nameservice-configsrc (dhcp) [manual|dhcp]> manual
dns-nameservice-domain> 
dns-nameservice-servers> 192.168.168.21
dns-nameservice-search> ^Chuamin.com,hummin.com.hk,huamin.com.cn
dns-nameservice-sortlist> 
dns-nameservice-options> 
nis-nameservice-configsrc [manual|dhcp]> manual
nis-nameservice-servers> 192.168.168.21
default-domain> huamin.com
nfsv4-domain> 
ipfilter-config-file> 
ipfilter-v6-config-file> 
ipnat-config-file> 
ippool-config-file> 
ike-config-file> 
ipsecpolicy-config-file> 
netcfg:loc:huamin.com> list
loc:huamin.com
    activation-mode              conditional-all
    conditions                   "ncp huamin.com.ncp is active"
    enabled                      false
    nameservices                 dns,nis
    nameservices-config-file     "/etc/nsswitch.huamin"
    dns-nameservice-configsrc    manual
    dns-nameservice-servers      "192.168.168.21"
    dns-nameservice-search       "huamin.com","hummin.com.hk","huamin.com.cn"
    nis-nameservice-configsrc    manual
    nis-nameservice-servers      "192.168.168.21"
    default-domain               "huamin.com"
netcfg:loc:huamin.com> end
Committed changes
netcfg> end
root@SOL11I:/home/huamin# netadm enable huamin.com.ncp
netadm: no profile matched 'huamin.com.ncp'

 

10 More Discussions You Might Find Interesting

1. Solaris

How to enable rsh

HELP..... How to enable and disable RSH in solaris 8 (4 Replies)
Discussion started by: gini
4 Replies

2. UNIX for Dummies Questions & Answers

unable to login to zone after enable BSM

hi i am not able to the zones after i enable BSM, but i am able to login using "zlogin -S" option. is there any command which i can use to troubleshoot. thanks a lot! :cool: (0 Replies)
Discussion started by: legato
0 Replies

3. Solaris

enable log

dear all i want to enable the below logs can you help me /var/adm/xferlog /var/spool/uucp/.Admin thanx you (0 Replies)
Discussion started by: murad.jaber
0 Replies

4. Linux

How to enable Hibernate

Hi, I want to enable hibernate in my machine. when i click hibernate option, it is throwing message that hibernate is not enabled in kernel. earlier, i was hibernating in the same machine with windows os. any idea ? Thx in advance. Siva (0 Replies)
Discussion started by: Sivaswami
0 Replies

5. UNIX and Linux Applications

how do i enable messaging

hi guyz i work as a system administrator for some organization(am a newbie). one of the solaris machines is loaded with the messenger server...all configured by a former administrator. my task was to create user accounts for the mail and calendar services and as i checked its not working .....i... (0 Replies)
Discussion started by: henokia4j
0 Replies

6. AIX

How to enable XDMCP?

Hello everyone, I installed AIX the other day (several times!) but I can't get XDMCP to work. I remember from when I installed it the last time it worked out of the box. So why doesn't it work now? This is the error message I get: XDMCP fatal error: Session failed Session 2 failed for... (3 Replies)
Discussion started by: Kotzkroete
3 Replies

7. Fedora

Enable a Key

Hi team, Print Screen key is disabled in my machine. How can i enable it?? How do i do that via command line?? Or tell me in GUI.. Am using Linux Fedora 14 OS. (2 Replies)
Discussion started by: Adhi
2 Replies

8. SCO

Auditing: how to enable?

edit: solution found Auditing Quick Start and Compatibility Notes (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

9. UNIX for Dummies Questions & Answers

Unable to enable SeLinux on RHEL 7

I worked all night on creating an RHEL 7 template customized for our private cloud and almost had it ready. While doing the final part, enabling GDM, I made the blunder of disabling SELINUX. Now I am not able to re-enable or put into permissive mode again. Earlier, when this happened on RHEL 6... (3 Replies)
Discussion started by: satish51392111
3 Replies

10. UNIX for Advanced & Expert Users

Enable lpfc changes!

Hi Folks! I am writing a script which changes lpfc.conf if there it has been setup on RHEL BOXes, do I need to put dracut -f for enabling it? I am not sure, Can someone help! (6 Replies)
Discussion started by: nixhead
6 Replies
nsquery(1)						      General Commands Manual							nsquery(1)

NAME
nsquery - query the Name Service Switch backend libraries SYNOPSIS
lookup_type lookup_query [lookup_policy] DESCRIPTION
is used to find the Name Service that returned the response to a or function call. This application is Name Service Switch aware and fol- lows the lookup policies in The supported lookup_type values are: Used to resolve host name or IP Address lookups. Used to resolve user name or UID lookups. Assumes that a numeric value is a UID. This option is to be obsoleted. Use and instead. Used to resolve user name lookups. Used to resolve UID lookups. Used to resolve group name or GID lookups. Assumes that a numeric value is a GID. This option is to be obsoleted. Use and instead. Used to resolve group name lookups. Used to resolve GID lookups. Used to resolve host name or IP Address lookups. Only IPv6 and IPv4-mapped IPv6 address will be displayed for host name lookups. The lookup_query can either be a host name, IP Address (IPv4 only), user name, user ID, group name, or group ID. The lookup_policy must be a valid lookup policy described in nsswitch.conf(4). If the policy is invalid, the system default policy will be used. The default values for lookup_policy are: dns [NOTFOUND=return] nis [NOTFOUND=return] files files nis files nis dns [NOTFOUND=return] files will display the lookup policy being used, the name of the service being queried, and the result of the query. EXAMPLES
Lookup host hondo using the default hosts lookup policy. Lookup host with ip address 15.204.204.204 using "dns files" as the hosts lookup policy. Lookup user dog using "ldap" as the passwd lookup policy. Lookup user ID 105 using the default passwd lookup policy. Lookup group wayne using group lookup policy "nis [NOTFOUND=RETURN] files". Lookup group 22 using the default group lookup policy. Lookup host rio using "dns" as the ipnodes lookup policy. RETURN VALUE
returns the following values: Success. Invalid Usage. Unknown Action. No match found in any name services queried. WARNINGS
The and lookup_type values are to be obsoleted. For use or instead. For use or instead. AUTHOR
was developed by Hewlett-Packard. SEE ALSO
nsswitch.conf(4). nsquery(1)
All times are GMT -4. The time now is 11:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy