[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

inetd startup warns portmapper not running?



A long time ago, in a galaxy far... far away, Neil Darlow wrote:

> My potato system has started warning that portmapper isn't running
> during the execution of /etc/init.d/inetd at boot.

Further investigation shows that most of the time rpcinfo returns

  program 100000 not available

This is odd as portmap is started in rcS.d and inetd later in rc2.d.

I have a solution which seems to work. In /etc/init.d/inetd, change
one line in checkportmap,

From: if ! /usr/bin/rpcinfo -u localhost portmapper >/dev/null 
2>/dev/null
  To: if ! ps ax | grep -v grep | grep portmap >/dev/null

While this doesn't test that portmap is alive-and-kicking it at least
indicates that it was started.

I hope this is of use to anyone experiencing similar problems on their
systems. Perhaps the developers may come up with a better solution.

Regards,
Neil Darlow.



Reply to: