Operating System - HP-UX
1748156 Members
4071 Online
108758 Solutions
New Discussion юеВ

Re: can't read /etc/sfd.pid: No such device or address.

 
SOLVED
Go to solution
S.N.S
Valued Contributor

can't read /etc/sfd.pid: No such device or address.

Hi All,

I have been getting this message for quite sometime:

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id: sfd "/sbin/sfd"

And, the SYSLOG repeatedly reads:
sfd[7959]: can't read /etc/sfd.pid: No such device or address.

Also the - MCA[0]:MCA occured -twice recently.

I did not/have not hashed the /etc/inittab entry:
sfd:123456:respawn:/sbin/sfd

Any guidance is appreciated.
Thank You.
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
22 REPLIES 22
mvpel
Trusted Contributor

Re: can't read /etc/sfd.pid: No such device or address.

Are you running 11.11? It sounds like you need patch PHCO_23920 - there's a defect in there that appears to match what you're seeing:

PHCO_23920:
1. JAGad37868 / SR 8606168590
The /sbin/sfd daemon fails to start, when the /etc/sfd.pid file contains a pid that does not correspond to the sfd process. This happens due to improper error handling when a 32 bit sfd daemon is run on a 64 bit OS.
---

For 11.31, the patch is PHCO_39485, and for 11.23 it's PHCO_31567, but neither of those have a pid-related defect.
S.N.S
Valued Contributor

Re: can't read /etc/sfd.pid: No such device or address.

Sorry, its a HP-UX 11.23 IA 64 node...

Also, the patch mentioned is already installed.

Can this error be in any remote way linked to a hardware issue?


Any guidance is appreciated.
Thank You.
SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
mvpel
Trusted Contributor

Re: can't read /etc/sfd.pid: No such device or address.

What happens when you create an empty sfd.pid file for the sfd process to read?

It's not a hardware issue, given that the sfd daemon is telling you what's wrong: it's trying to read /etc/sfd.pid and failing.

If you can't get it straightened out then you might consider just disabling the sfd process entirely, since all it does is run "insf" periodically on request from the kernel. If you're not adding new hardware to the system, there's nothing for it it do.

http://docs.hp.com/en/5992-2852/ch09s12.html
--
The /sbin/sfd daemon has been deprecated and will be obsolete in HP-UX 11i v3.
---
Viktor Balogh
Honored Contributor

Re: can't read /etc/sfd.pid: No such device or address.

Hi sns,

Is sfd daemon running on your system?

# ps -ef | grep sfd

What does that file contain?

# cat /etc/sfd.pid

It should contain the PID of the sfd process running.
****
Unix operates with beer.
S.N.S
Valued Contributor

Re: can't read /etc/sfd.pid: No such device or address.

Thank you both for the replies.

I havent accessed the server yet - will try it out, and accordingly assign points.

Both the strategies should work out- thanks!
"Genius is 1% inspiration, 99% Perspiration" - Edison
F Verschuren
Esteemed Contributor

Re: can't read /etc/sfd.pid: No such device or address.

if you stop / start sfd whit the /sbin/rc?.d/ scripts the error mostlickly wil be gone, this error is most lickely that some body started up the deamon whitout the proper start/stop scripts. ore that the file is gone...
S.N.S
Valued Contributor

Re: can't read /etc/sfd.pid: No such device or address.

Hi,

All you were helpful three were right:

The sfd process is not running.

Also, there was is/etc/sfd.pid (when I tried to cat it "cat: read error: No such file or directory")

I have created an empty file; but the same message is throwing up.

One more thing; since it just runs the insf, would it be because TELNET isnt possible due to its device files missing?

Any suggestions, before simply disabling it?

Thank You,
sns
(I am unable to find where I could assign U guys with points....May be U can point that out for me too)
"Genius is 1% inspiration, 99% Perspiration" - Edison
Dennis Handly
Acclaimed Contributor

Re: can't read /etc/sfd.pid: No such device or address.

>I am unable to find where I could assign you guys with points.

Here is how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
Viktor Balogh
Honored Contributor

Re: can't read /etc/sfd.pid: No such device or address.

>One more thing; since it just runs the insf, would it be because TELNET isnt possible due to its device files missing?

I think it is reverse: the device files for telnet are missing because of the failed/halted sfd daemon.
****
Unix operates with beer.