Operating System - HP-UX
1748159 Members
3900 Online
108758 Solutions
New Discussion юеВ

Re: Error When starting inetd

 
SOLVED
Go to solution
Stephen Grecni
Advisor

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 2
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...
Stephen Grecni
Advisor

Re: Error When starting inetd

I just found it and thats exactly what it was.

Thanks for the response