cancel
Showing results for 
Search instead for 
Did you mean: 

Error When starting inetd

SOLVED
Go to solution

Error When starting inetd

I'm working on a hpux 11.11 server and when starting inetd I get the following error:

/sbin/init.d# /sbin/init.d/inetd start
/sbin/init.d/inetd[38]: Syntax error at line 125 : `"' is not matched.

I checked sbin/init.d/inetd and /etc/rc.config.d/netconf but did not see any errors, any suggestions to what file might be in error ?

Thanks in advanced.
2 REPLIES
James R. Ferguson
Acclaimed Contributor
Solution

Re: Error When starting inetd

Hi Stephen:

You have probably put a backup or bogus file in the '/etc/rc.config.d' directory. You can keep backup copies of files here _ONLY_ if you follow the rules documented in '/etc/rc.config'.

One way to expose the problem is to do:

# sh -vx /etc/rc.config 2>&1|more

The actual filename will appear as 'fname=' in the traced output with clear syntax errors like you have seen.

Regards!

...JRF...

Re: Error When starting inetd

I just found it and thats exactly what it was.

Thanks for the response