- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with /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-19-2000 04:50 AM
09-19-2000 04:50 AM
Problem with /etc/rc.log
We have 4 engines D220 HP-UX 10.20 with a C home-made application.
The daemons are launched from shell-scripts with nohup during the boot (links from /sbin/init.d to /etc/rc2.d)
All the logs on this application are on a /var/adm/syslog file or nohup.out files. But, on one machine, there is logs on /etc/rc.log file.
Do you have some ideas?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 04:58 AM
09-19-2000 04:58 AM
Re: Problem with /etc/rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 05:06 AM
09-19-2000 05:06 AM
Re: Problem with /etc/rc.log
/etc/rc.log receives the start/stop entries for all standard rc
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 05:07 AM
09-19-2000 05:07 AM
Re: Problem with /etc/rc.log
What mode the script is in is based on the exit value of the startup script. They are:
0 - no error, OK in checklist (rc.log)
1 - error, fail in checklist (rc.log)
2 - skipped, N/A in checklist (rc.log)
3 - reserved
These are the ONLY values acceptable. Any other value will appear as Skipped in checklist.
Take a look at the /sbin/init.d/template file which will explain this in more detail. All of your startup scripts should use this template for consistency.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 05:12 AM
09-19-2000 05:12 AM
Re: Problem with /etc/rc.log
There must be a difference in the way that you start your application on this one server or the application itself.
Are you not using nohup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 05:41 AM
09-19-2000 05:41 AM
Re: Problem with /etc/rc.log
The main script launch differents scripts, then these scripts launch binary programs with nohup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 06:13 AM
09-19-2000 06:13 AM
Re: Problem with /etc/rc.log
On all the machines are the scripts launched at the same point? I assume that syslogd is running, when the script in question is started? Perhaps you could post the startup script that is misbehaving, too.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2000 06:14 AM
09-19-2000 06:14 AM
Re: Problem with /etc/rc.log
LIST_MODE has 4 options. 0 is the default. 3 is the option which puts your script in raw mode notification and prints output only to the console.
Take a look at /etc/rc.config.d/list_mode file for this info.
It is probably unlikely that you are setting the LIST_MODE variable in your script but I just wanted to clarify the issue.
Tony