Operating System - HP-UX
1752793 Members
6274 Online
108789 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
S.N.S
Valued Contributor

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

Hi,

The issue remains...
Tried the insf -e to get the telnet drivers back..

Atleast, was able to assign U good folks with points...

Any ideas on why insf doesn't work to get the drivers back?

The issues do have a common culprit..

Any clue is welcomed.

Thanks for the time...

SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
Johnson Punniyalingam
Honored Contributor

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

man insf -> look for options -n


-n npty Install npty pty special files. This option only
applies to pty0 and pty1 special file installation.


HTH,

Johnson
Problems are common to all, but attitude makes the difference
Viktor Balogh
Honored Contributor
Solution

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

Hi sns,

Johnson has right. The man for insf -n says:

"If this option is omitted, npty defaults to 60 for the ptym and ptys drivers."

So if you issue the insf command without the -n switch it might causes you a problem of not enough device files. Try specifying the number of device files you want. (more than 60)
****
Unix operates with beer.
S.N.S
Valued Contributor

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

Sorry for thr delay; I just got to run the commands today.

The TELNET issue has been resolved - thanks Johnson & Vikrot..

What I did was :
insf -n 90
& then
insf -e

insf installed the special files for the pseudo drivers....

This made telnet working again!!

However, the message:
"INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id: sfd "/sbin/sfd" ----still comes.

The error message is not too pretty, esp. when it repeats every 5mins

Hope to rid the messages soon - many HP Genies out here, I know :-)


Thanks All..
"Genius is 1% inspiration, 99% Perspiration" - Edison
Viktor Balogh
Honored Contributor

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

Hi again,

I'm not a genie only a hard-trying apprentice, but maybe you should check your /etc/inittab file for any configuration errors. What did you change on your system right before the first message appeared?

Also try 'cat -v /etc/inittab' and look for nonprinting characters in it. One just never knows...
****
Unix operates with beer.
Viktor Balogh
Honored Contributor

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

How does your sfd-related line in your inittab look like? Mine looks like this:

sfd:123456:respawn:/sbin/sfd

Another idea: also check the integrity of /sbin/sfd , it might be corrected. Does it work like expected? You could kill manually the sfd process, and try to restart it from command line. Do you get any error message? Did you check syslog? Any suspicious in there?
****
Unix operates with beer.
S.N.S
Valued Contributor

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

Hi,

Please excuse the delay..

sfd isnt running at all; the /etc/inittab is the same as that in your file.

The syslog shows the same error message
"can't read /etc/sfd.pid: No such device or address"


But the file does exist..
and
file sfd.pid gives--->
sfd.pid: character specia l(100/6)\
& ll sfd.pid
crw-r--r-- 1 root root 100 0x000006 Feb 5 14:38 sfd.pid

The funny part is that this message only crops up when accessing the OS thru MP console :-)...

I dont think its an issue (though syslog keep saying it)...

Shall I close the thread folks?

Thank You again!

Merci/Dunke
SNS

"Genius is 1% inspiration, 99% Perspiration" - Edison
Viktor Balogh
Honored Contributor

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

Oh, that must be the problem. I think the file /etc/sfd.pid should be rather a general ascii file containing the process id of the running sfd daemon. But, don't have any HP-UX at hand currently, I would suggest you to check on another machine if I'm right.
****
Unix operates with beer.
S.N.S
Valued Contributor

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

Hi Victor,

What should be done to make this character dev file to an ascii file (yes, the /etc/sfd.pid is ascii)?

Thank you for your time...

SNS
"Genius is 1% inspiration, 99% Perspiration" - Edison
Dennis Handly
Acclaimed Contributor

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

>What should be done to make this character dev file to an ascii file?

Remove the file. (You may have to use rmsf(1M)?)
Then use vi or even touch to create an empty file. Then make sure it has the right permissions/owners.