System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HP UX Syntax error at line 1 : `(' is not expected.

 
Allen Solley
Occasional Visitor

HP UX Syntax error at line 1 : `(' is not expected.

# /sbin/init.d/inetd start
/sbin/init.d/inetd[38]: Syntax error at line 1 : `(' is not expected.

I am getting the above error message while starting the daemon Also hostname also showing unknown. not able to telnet to the server.
2 REPLIES 2

Re: HP UX Syntax error at line 1 : `(' is not expected.

38 . /etc/rc.config

This indicates you have a garbage file in /etc/rc.config.d/. Don't leave "backup" or other files there.

Searching the ITRC, shows there are many threads on this issue:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1216844
Allen Solley
Occasional Visitor

Re: HP UX Syntax error at line 1 : `(' is not expected.

I will check this tomorrow. as we are on leave today.