1836396 Members
2862 Online
110100 Solutions
New Discussion

Rpcd failure on start up

 
SOLVED
Go to solution
John Connors
Occasional Contributor

Rpcd failure on start up

I am running HP 11 on 715/100 and on start up their is a failure which is
logged against rpcd.

The logfile states :

" starting the DCE RPC daemon
/opt/dce/sbin/rpcd
EXIT CODE 1
"/sbin/rc2.d/S590Rpcd start " failed


Preceding this the logfile does say that no DCE components are configured.

My understanding of this is minimal or less.


Additionally whin I attempt to logon using CDE I can't it loops back to the
log-on after offering the password.

The /var/dt/Xerrors file reads:

"AUDIT
6 REPLIES 6
Dario_1
Trusted Contributor

Re: Rpcd failure on start up

John

Did you check /etc/rc.log for errors?

DR
Ramkumar Devanathan
Honored Contributor

Re: Rpcd failure on start up

Hi,

You may run the script "/sbin/rc2.d/S590Rpcd start " in debug mode (sh -x)and find out exactly where it bails out. attach the trace here, if you want some more help.

When run as rpcd the dce services need not be configured on the host i.e. the host need not be configured as a dce cell - to make it more specific. when run as dced (one is a symbolic link to the other), however the host needs to be configured as dce cell.

So, that's ok about the log message as long as you are running it as rpcd. i believe the problem is somewhere in the startup script.

I don't feel there's a relation between your cde login failure and the above. although i don't claim to have a great knowledge in the area.

- ramd.
HPE Software Rocks!
Alex Glennie
Honored Contributor

Re: Rpcd failure on start up

rpcd/dced are one in the same, only difference is one is used in a true DCE enviroment hence the message re no DCE components.

Next thing to mention is a) check the syslog.log AND /var/opt/dce/svc/*.logs for a better understanding of why rpcd is failing ...I'd suspect the fatal.log is our most likely candidate.

Lastly for now check around for a core file .../opt/dce/sbin or bin maybe ?

check it's relevant ie timestamp, then run file core .... signal 11 ? If yes I think we have a known issue if you post the fatal log contents it would also help.

ps what media (date) did you install 11.X from ?

As to CDE ... that's the only other area I know well : not sure, it probably IS connected, I'd say lets get rpcd fixed first but running dr_dt (/usr/contrib/bin/X11) may also help isolate major problems if you have them.
John Connors
Occasional Contributor

Re: Rpcd failure on start up

rpcd/dced are one in the same, only difference is one is used in a true DCE enviroment hence the message re no DCE components.

Next thing to mention is a) check the syslog.log AND /var/opt/dce/svc/*.logs for a better understanding of why rpcd is failing ...I'd suspect the fatal.log is our most likely candidate.

Fatal log has an entry for each failure of the format:

" ------ dced FATAL dhd general main.c 718 0x7f768518 Cannot use '*all*' protocol sequence. No such file or directory.

I have one differing message from a day or two past:

"Initialissation ( global data ) failed status =0x----ff03"

Lastly for now check around for a core file .../opt/dce/sbin or bin maybe ?

I can't find a core file:
The only file that I can find in relation to the "dce" string with a timestamp of my recent boot is the ../../config/dce_config.log. I may need more help !!!!

check it's relevant ie timestamp, then run file core .... signal 11 ? If yes I think we have a known issue if you post the fatal log contents it would also help.
************************************
" ------ dced FATAL dhd general main.c 718 0x7f768518 Cannot use '*all*' protocol sequence. No such file or directory.

(repeated)
"Initialissation ( global data ) failed status =0x----ff03"


" ------ dced FATAL dhd general main.c 718 0x7f768518 Cannot use '*all*' protocol sequence. No such file or directory.
**************************************
ps what media (date) did you install 11.X from ?

It was on the box at the time I acquired it recently (last week). I think it was installed on March 27th

As to CDE ... that's the only other are I know well : not sure it probably IS connected, I'd say lets get rpcd fixed first but running dr_dt (/usr/contrib/bin/X11) may also help isolate major problems if you have them.

Thanks.
Alex Glennie
Honored Contributor
Solution

Re: Rpcd failure on start up

OK ...

please check if the environment variable RPC_SUPPORTED_NETADDRS is set or not.
and try the following:

# RPC_SUPPORTED_NETADDRS=ip:##.###.##.##
/opt/dce/sbin/rpcd

result ?

Also ensure your network interfaces are UP and this is connected to a network ?

Lastly ll /var/opt/dce/dced ..does it exist ?
does it contain any contents ?

Did you run at any time the /opt/dce/bin/dce_config utility ? If not don't ....

what's your patch level like wrt streams,arpa,dce and libc ? nb these are the most likely candidates but everything currently points to something netwk related or a missing dir structure ....

comment on the above and we'll keep trying
John Connors
Occasional Contributor

Re: Rpcd failure on start up

Alex,
success on rpcd and cde. I checked the ifconfig settings: looked OK but modified them in SAM with same values, and all seems well.


Thanks a million.

John