- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error in /etc/rc.log
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
09-21-2001 02:14 AM
09-21-2001 02:14 AM
Error in /etc/rc.log
Synatx error on line 7:"(" is not expected.
File systems are mounted without errors.
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:22 AM
09-21-2001 02:22 AM
Re: Error in /etc/rc.log
Have a look in /etc/rc.config.d and /etc/rc.config also for 'strange' things.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:28 AM
09-21-2001 02:28 AM
Re: Error in /etc/rc.log
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:30 AM
09-21-2001 02:30 AM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:38 AM
09-21-2001 02:38 AM
Re: Error in /etc/rc.log
Sounds like /etc/rc.config, since this is sourced in many, but not all of the startup scripts.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:42 AM
09-21-2001 02:42 AM
Re: Error in /etc/rc.log
the problem is in /etc/rc.config.d but no changes were made..So what could be the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:57 AM
09-21-2001 02:57 AM
Re: Error in /etc/rc.log
Run "sh -x /etc/rc.config" and see at what point the error occurs.
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 02:59 AM
09-21-2001 02:59 AM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 03:35 AM
09-21-2001 03:35 AM
Re: Error in /etc/rc.log
I'm sure we can pull out a script?
cd /sbin/init.d
head -l 8 * |more
cd /etc/rc.config.d
head -l 8 * |more
head -l 8 /etc/rc.config
Good luck,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 03:40 AM
09-21-2001 03:40 AM
Re: Error in /etc/rc.log
This will show you which files from the current dir have a ( in line 7
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 03:44 AM
09-21-2001 03:44 AM
Re: Error in /etc/rc.log
Is it still happening when you reboot.
What is immediately to the left of "Syntax error..."?
Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 04:02 AM
09-21-2001 04:02 AM
Re: Error in /etc/rc.log
1- startup follow a sequence of files, order by their names:
1- /sbin/rc1.d/S*
2 /sbin/rc2.d/S*
3- /sbin/rc3.d/S*
#####
Configure system crash dumps
Output from "/sbin/rc1.d/S080crashconf start":
----------------------------
EXIT CODE: 0
Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
#####
So you can scritp file following log.
2- You can check scripts file too.
cd /sbin/init.d
for file in *
do
echo $file
/sbin/sh -n $file
done
-n flag checks scripts for syntax errors, without execute them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 04:16 AM
09-21-2001 04:16 AM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 04:27 AM
09-21-2001 04:27 AM
Re: Error in /etc/rc.log
Not sure if this was mentioned, but did you check /etc/rc.config for this error.
Finally, the error doesn't have to be on line 7, there could be some other syntax error prior to that line or in some other file that's being source before that line.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 04:35 AM
09-21-2001 04:35 AM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 04:59 AM
09-21-2001 04:59 AM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 05:08 AM
09-21-2001 05:08 AM
Re: Error in /etc/rc.log
Can you let us know the exact error that you're seeing in rc.log, especially the beginning of the line.
Thanks, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 05:14 AM
09-21-2001 05:14 AM
Re: Error in /etc/rc.log
Have you changed default sh for root in /etc/passwd?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2001 05:30 AM
09-21-2001 05:30 AM
Re: Error in /etc/rc.log
Attach your /etc/rc.log file and /etc/rc.config file. You should have done that earlier. I see so many people asking you to attach /etc/rc.log, but i don't see any attachment. The two files should be easy to attach. IS there a problem ?.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 09:26 PM
09-23-2001 09:26 PM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 09:33 PM
09-23-2001 09:33 PM
Re: Error in /etc/rc.log
Atleast tell us what was the solution ?.
Thanks and have a nice day
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 11:13 PM
09-23-2001 11:13 PM
Re: Error in /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 11:28 PM
09-24-2001 11:28 PM
Re: Error in /etc/rc.log
I can't call it a solution for any situation, but our system administrator has found out that when a file with special characters is in the /etc/rc.config.d directory, there is a problem with sourcing. there was a file #ots and when the "#" was removed, everything was okay.
Thanks again