- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rc error during init of the system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 07:35 AM
01-14-2003 07:35 AM
rc error during init of the system
Fore some reboots, I suffer from strange behaviour of /sbin/rc script, that normally executes startup tasks bu launching apropriate scripts with the dot (.) command.
For instance it executes
. /sbin/rc.utils
and other scripts.
And here is the problem: the dot (.) command instead reading into memory and than executin script, aborts and displays always the same message (here is the sample):
# . /sbin/rc1.d/K630named start
sh: Syntax error: `)' is not expected.
And so on and on during other scripts.
It results with the system without inetd started and other important things.
I suppose /sbin/sh is faulty of not executing dot (.) internal command well,but checked versions with other machines and it looks well.
Please help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 07:38 AM
01-14-2003 07:38 AM
Re: rc error during init of the system
If so, post some of it please.
Do the scripts run if done as root from the command line after boot?
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 07:45 AM
01-14-2003 07:45 AM
Re: rc error during init of the system
You are suffering from a faulty configuration script in /etc/rc.config.d.
Some of the startup scripts, named being one call /etc/rc.config. This calls most files in /etc/rc.config.d as subscripts in order to set environment variables. One of these has a syntax error.
Have a look at which configuration scripts have changed recently. Test each possible suspect script by running it e.g.
. /etc/rc.config.d/netconf
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 07:53 AM
01-14-2003 07:53 AM
Re: rc error during init of the system
Have a look in '/etc/rc.config.d/'. You probably have a bungled file therein. The files in this directory are sourced by '/etc/rc.config'. You can run this (and or modify a copy of it, having added an echo statement to announce the file it is analyzing in order to assist you in finding the culprit.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 08:13 AM
01-14-2003 08:13 AM
Re: rc error during init of the system
Initialize loadable modules***********************
Output from "/sbin/rc1.d/S112kminit start":
----------------------------
/sbin/rc1.d/S112kminit[207]: Syntax error at line 79 : `)' is not expected.
"/sbin/rc1.d/S112kminit start" SKIPPED
Configure system crash dumps
Setting hostnamein/rc1.d/S080crashconf start":
Output from "/sbin/rc1.d/S320hostname start":
----------------------------tart" SKIPPED
/sbin/rc1.d/S320hostname[36]: Syntax error at line 79 : `)' is not expected.
Start multicast routing daemon
Output from "/sbin/rc2.d/S490mrouted start":
----------------------------
/sbin/rc2.d/S490mrouted[38]: Syntax error at line 79 : `)' is not expected.
Start Internet services daemon
Output from "/sbin/rc2.d/S500inetd start":
----------------------------
/sbin/rc2.d/S500inetd[37]: Syntax error at line 79 : `)' is not expected.
Start dynamic routing daemon
Output from "/sbin/rc2.d/S510gated start":
----------------------------
/sbin/rc2.d/S510gated[37]: Syntax error at line 79 : `)' is not expected.
(HP/UX ver 11.00)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 08:21 AM
01-14-2003 08:21 AM
Re: rc error during init of the system
Try to execute :
$ sh -x /etc/rc.config
which sources all configuration files (no execution !) and see where and why it stops.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 08:23 AM
01-14-2003 08:23 AM
Re: rc error during init of the system
Line 207 of kminit reads:
. $ETC/rc.config
Line 36 of hostname reads:
. /etc/rc.config
So every error is caused by running the script /etc/rc.config.
You have a script in /etc/rc.config.d which has a syntax error at line 79. The fact that it has at least 79 lines should make it easy to isolate, most have less lines than that.
My guess would be netconf.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2003 01:02 AM
01-15-2003 01:02 AM
Re: rc error during init of the system
Surprisingly, it has been altered year ago and nobody noticed the trouble ?!