Operating System - HP-UX
1847218 Members
2817 Online
110263 Solutions
New Discussion

Re: DCED/RPCD stop/start problem

 
SOLVED
Go to solution
Nisar Ahmad
Regular Advisor

DCED/RPCD stop/start problem

Hi there

I tried to /sbin/init.d/dce stop and it complaint that "no componant is configured" I tried to look at dce_config but it seems not a simple thing to use. I used /opt/dce/sbin/rpcd to run this daemon. I am not sure if the daemon will be stated up after system reboot ? I like to know the normal practice people follow.

Thanks

Nisar
4 REPLIES 4
T G Manikandan
Honored Contributor

Re: DCED/RPCD stop/start problem

Try using
for HPux11.0

/sbin/init.d/Rpcd stop

10.20

/sbin/init.d/ncs stop
/sbin/init.d/dce stop

Thanks
Alex Glennie
Honored Contributor

Re: DCED/RPCD stop/start problem

fyi : DCE will run as dced if the system in question is configured as part of a DCE cell using the dce_config utility.

Most people do not require this additional functionality and therefore DCE initially starts as rpcd (at boot) .... they are effectively the same daemon.

If rpcd does not start automatically run it manually , check for errors in the syslog.log and in /var/opt/dce/svc/*.log


# dced is part of DCE core client software at HP DCE 1.4 and later.
# When dced is installed, a symbolic link /opt/dce/sbin/rpcd -> dced
# is also installed. If invoked as "dced", the daemon supports a full
# range of DCE host services and requires that the local host be
# configured into a DCE cell. If invoked as "rpcd", the daemon
# supports only LLB and EP services and does not require DCE cell
# configuration.

# rpcd is part of DCE core client software at HP DCE 1.3 and earlier.
# It has no requirement that a DCE cell be configured.




Nisar Ahmad
Regular Advisor

Re: DCED/RPCD stop/start problem

Hi Alex

Thanks a lot for the help.

I have few questions for my clearence please:

1) What for we need DCE full functionality ?

2) How we configure dce_config ?

3) Which script is being run during 10.20 system startup to execute RPCD ?

Thanks

Nisar
Alex Glennie
Honored Contributor
Solution

Re: DCED/RPCD stop/start problem

1)http://www.opengroup.org/dce/index.html
gives a good description of what the full dce config provides. Generally it's used in conjunction with other vendors s/w such as IBM's Encina range of products : see http://www.transarc.ibm.com/Product/Txseries/Encina/ENCoverview.html

2) initial dce cell config using dce_config -> initially you'd want a security server running and probably CDS and DTS :
# /opt/dce/bin/dce_config


DCE Main Menu ( on hpbrc104 )


1. CONFIGURE -configure and start DCE daemons
2. START -re-start DCE daemons
3. STOP -stop DCE daemons
4. UNCONFIGURE -remove a host from CDS and SEC databases
5. REMOVE -stop DCE daemons and remove data files
created by DCE daemons


99. EXIT



selection: 1






DCE Configuration Menu ( on hpbrc104 )


1. Initial Cell Configuration
2. Additional Server Configuration
3. DCE Client
4. DFS Client


98. Return to previous menu
99. Exit



selection: 1
S:****** Configuring initial cell...






Initial Cell Configuration ( on hpbrc104 )


1. Initial Security Server
2. Initial CDS Server
3. Initial DTS Server


98. Return to previous menu
99. Exit



selection: 1
S:****** Configuring initial Security Server...

Do you wish to first remove all remnants of
previous DCE configurations for all components (y/n)?
You should do so only if you plan on re-configuring
as a client of a different cell: (n) y
S:****** Attempting to stop all running DCE daemons...
Reminder: Existing user credentials will be invalid
when DCE daemons are stopped and restarted
S:****** Daemon dced is being used by NCS. It will be restarted as rpcd.
S:****** Successfully stopped all running DCE daemons.
S:****** Attempting to remove all remnants of previous DCE configurations...
Reminder: Existing user credentials will be invalid
when DCE daemons are stopped and restarted
S:****** Daemon dced is being used by NCS. It will be restarted as rpcd.
S:****** Successfully removed all remnants of previous DCE configurations for
all components.


Enter the name of your cell (without /.../): test
S:****** Stopping rpcd...
S:****** Starting dced...
S:****** Initializing dced...
S:****** Since the glbd daemon was restarted and/or llbd and rpcd were replaced
by the end point mapper, NCS applications may need to be restarted.
Enter keyseed for initial database master key:


Enter desired principal name for the Cell Administrator: (cell_admin)
Enter desired password for the Cell Administrator:
Re-enter desired password:

S:****** The current highest UNIX ID for persons on this node is 51570.
Enter the starting point to be used for UNIX ID's that
are automatically generated by the Security Service
when a principal is added using "rgy_edit": (51670)
S:****** The current highest UNIX ID for groups is 77.
Enter the starting point to be used for UNIX ID's that
are automatically generated by the Security Service
when a group is added using "rgy_edit": (177)
S:****** Starting secd...
S:****** Checking for active sec_client service...
S:****** Starting sec_client service...
S:****** Checking for active sec_client service...
S:****** Initializing the registry database...






Initial Cell Configuration ( on hpbrc104 )


1. Initial Security Server
2. Initial CDS Server
3. Initial DTS Server


98. Return to previous menu
99. Exit



selection:

I'd strongly advise you to read :


http://docs.fc.hp.com/hpux/onlinedocs/B3190-90071/B3190-90071.html
before attempting to configure a dce cell.

3) Script for rpcd =

/sbin/init.d/ncs

script for dced

/sbin/init.d/dce.