1833091 Members
3024 Online
110050 Solutions
New Discussion

dce deamon failed

 
sudhir_3
Advisor

dce deamon failed

Hi
dce deamon getting failed due to this opening new window or telneting to this system takes lot of time. Below mentioned is the error from rc.log. I tried starting manually but still it gives same error.
Beginning DCE startup...
Removing old rpcd endpoint database and security credentials...
Checking node time against cell time...
ERROR: "function check_server_time()" failed
and returned 1.

DCE startup failed.
"/sbin/rc2.d/S570dce start" FAILED


Please suggest
sudhir upadhyay
No end of technology
3 REPLIES 3
Clemens van Everdingen
Honored Contributor

Re: dce deamon failed

Hi,


A. DCE is misconfigured.

Check the contents of /etc/rc.config.d/dce.

Note: If DCED=1, and the other DCE flags are set to zero, then DCE is misconfigured.

Set DCED=0, and restart rpcd if it is not running:

HP-UX 10.x: '/sbin/init.d/ncs start'
HP-UX 11.0: '/sbin/init.d/Rpcd start'

If rpcd does not start, check
HP-UX 10.x: /etc/rc.config.d/ncs START_LLBD=1
HP-UX 11.x: /etc/rc.config.d/Rpcd START_RPCD=1

If rpcd is running, and the failing application is now running, then the application did not need DCE configured, it simply needed the rpcd functionality. Example applications would be IT/O agent and HAO daemons.

--OR--

B. DCE is properly configured.

If you have a valid DCE client or server running in a DCE cell (group of nodes needing DCE services), then dced cannot reach a
security server system to compare the server's time against its time.

The list of security servers is in the
/etc/opt/dce/security/pe_site file. Check that 'secd' is running on those servers, and that your node can communicate with those
servers (telnet host daytime; date). The time should be within two minutes.

C.


The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Alex Glennie
Honored Contributor

Re: dce deamon failed

what's the O/S and are you talking about problems with dced or rpcd ie is this a configured dce cell we have here ?

eitherway the above suggestions are good, I'd also check that theres a soft link from /opt/dcelocal/etc to /etc/opt/dce
John Bolene
Honored Contributor

Re: dce deamon failed

ERROR: "function check_server_time()" failed
and returned 1.


This means that your machine is more than the allowed out of sync time from the cell time. This time is 120 seconds or more out of sync.

You must change the time on this server before restarting DCE and also figure out why it does not have the correct cell time. Most times it is because dtsd has died at some point and the clock has drifted.

It is a good thing in DCE management to check on the status of the daemons on each server once a week. This may be no more than doing an /sbin/init.d/dce start and seeing if everything was running. This will only start any missing daemons.

Also the time on any server can be checked with the following

date;telnet master-server daytime

fill in the master-server name with yours

this will print out both dates
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com