- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Debugging startup process
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-13-2014 01:13 PM
03-13-2014 01:13 PM
We have a handful of servers that exhibit the same behavior. Not everything starts up (according to rc.log). Here is an example:
(root@sapsnd)# tail /etc/rc.log
Start LVM daemon
Output from "/sbin/rc3.d/S900lvm start":
----------------------------
Starting up the lvmpud daemon
/usr/sbin/lvmpud
Starting SAP Services
Output from "/sbin/rc3.d/S900sapinit start":
----------------------------
start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile
There are a few more things that should start but don't:
(root@sapsnd)# ls -al1 S9*
lrwxr-xr-x 1 root sys 21 Mar 18 2011 S900OVTrcSrv -> /sbin/init.d/OVTrcSrv
lrwxrwxrwx 1 bin bin 16 Mar 18 2011 S900lvm -> /sbin/init.d/lvm
lrwxr-x--- 1 root root 20 Apr 22 2013 S900sapinit -> /sbin/init.d/sapinit
lrwxr-xr-x 1 root sys 16 Mar 18 2011 S920sap -> /sbin/init.d/sap
lr-xr--r-- 1 bin bin 23 Mar 18 2011 S990dtlogin.rc -> /sbin/init.d/dtlogin.rc
lrwxr-xr-x 1 root sys 18 Mar 18 2011 S998amgrd -> /sbin/init.d/amgrd
lrwxr-xr-x 1 root sys 21 Feb 10 2012 S99prngd.rc -> /sbin/init.d/prngd.rc
lrwxr-xr-x 1 root sys 19 Feb 17 10:34 S99z0OVCtrl -> /sbin/init.d/OVCtrl
What is the best way to debug the process?
Thanks
vince
p.s. running HP-UX 11.31
Solved! Go to Solution.
- Tags:
- rc(1M)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-13-2014 04:41 PM - edited 03-13-2014 04:46 PM
03-13-2014 04:41 PM - edited 03-13-2014 04:46 PM
SolutionThe first place to start is with /etc/rc.config.d
This directory is unlike ANY other directory in HP-UX. EVERY file in this directory will be executed by every start script. That means that *NO* junk files or old files or different versions of files can be in that directory. Just before all the rc scripts are started, you may see all sorts of strange error messages due to bad files in that directory.
To debug, sort the files by time order, most recent at the bottom:
cd /etc/rc.config.d ls -lrt
The files at the bottom were recently created or changed. They are the most suspect. If you want to keep old copies of the control files, make a directory called old and move all the old files to old. The directory protects these files from being executed.
Then for each failed rc script, run the failed script manually. I did not see any error messages in your post. Are you saying that the sapinit scipt is failing? What happens when you run it manually?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-14-2014 09:11 AM
03-14-2014 09:11 AM
Re: Debugging startup process
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP