- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- missing some scripts
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
Discussions
Discussions
Forums
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
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
тАО08-10-2006 08:05 AM
тАО08-10-2006 08:05 AM
/sbin/rc2.d/K177hpws_apache[46]: 1: not found.
/sbin/rc2.d/K177hpws_tomcat[46]: 1: not found.
/sbin/rc2.d/K177hpws_webmin[45]: 1: not found.
/sbin/rc2.d/K177hpws_webproxy[44]: 1: not found.
/sbin/rc2.d/K177hpws_xmltools[42]: 1: not found.
/sbin/rc1.d/K300acct [39]: 1: not found.
/sbin/rc1.d/K410Rpcd[30]: 1: not found.
/sbin/rc1.d/K604runner[21]: 1: not found.
and the error on startup:
/sbin/rc2.d/S130pfilboot[5]: 1: not found.
/sbin/rc2.d/S131ipfboot[6]: 1: not found.
/sbin/rc2.d/S590Rpcd[30]: 1: not found.
/sbin/rc2.d/S606runner[21]: 1: not found.
/sbin/rc2.d/S700acct[39]: 1: not found.
/sbin/rc3.d/S823hpws_apache[46]: 1: not found.
/sbin/rc3.d/S823hpws_tomcat[46]: 1: not found.
/sbin/rc3.d/S823hpws_webmin[45]: 1: not found.
/sbin/rc3.d/S823hpws_webproxy[44]: 1: not found.
/sbin/rc3.d/S823hpws_xmltools[42]: 1: not found.
Any one have an idea? why i am missing these files?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:16 AM
тАО08-10-2006 08:16 AM
Re: missing some scripts
swinstall (possibly one that failed)
swremove
recent patching?
it looks like either some web services were removed, or that they didn't get all the way installed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:16 AM
тАО08-10-2006 08:16 AM
Re: missing some scripts
I don't think, a file or command '1' is missing. I think, there is an invalid assignment to variables.
Look at this:
a= 1 # blank seperated
will result in
ksh: 1: not found
Check for such changes in
/etc/rc.config.d/*
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:19 AM
тАО08-10-2006 08:19 AM
Re: missing some scripts
I checked Apache it seems ok, no unusual swremove has been done different than the other server. maybe some changes in /etc/rc.config.d/nfsconf but nothing more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:20 AM
тАО08-10-2006 08:20 AM
Re: missing some scripts
Try the following (as just a normal user, not root):
set -x
. /etc/rc.config
See if the error pops up, and then see what fname= was immediately above it. The fname is a file, so look in /etc/rc.config.d at that file and see if there is a syntax issue somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:25 AM
тАО08-10-2006 08:25 AM
Re: missing some scripts
You don't have missing scripts but rather a corrupted file(s) in '/etc/rc.config.d/'.
If you look at the comments in '/etc/rc.config' you will see that files in this directory are expected to follow a strict naming convention if they are not to be processed during startup and shutdown.
When '/sbin/rc' runs, the '/etc/rc.config.d' directory is examined by the script '/etc/rc.config'. This script skips any file whose basename contains an "extension" that begins with the characters [.,~#].
Thus, it is permissible to have 'netconf' and 'netconf.old'. The '.old' backup will *not* be processed.
If, however, you had kept an old version of your 'netconf' file named as, 'oldnetconf', then *both* 'netconf' and 'oldnetconf' would be sourced. Since the letter "o" follows "n", the result would be undesirable insofar as the last variable declarations seen would be from the wrong file.
One way to find bogus files that cause prolems is to do:
# sh -vx /etc/rc.config 2>&1|more
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:30 AM
тАО08-10-2006 08:30 AM
Re: missing some scripts
/etc/rc.config.d
If you do an ls -l, I'd almost bet you will find it comes up with trash, like a filename w/ control characters or something along those lines, maybe a
this is related to your other post as well
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1050553
as the rpc daemons aren't coming up
the file listed are complaining about a file "1" not being found. The scripts referred to are running /etc/rc.config
which in turn tries to "source" files in /etc/rc.config.d.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:50 AM
тАО08-10-2006 08:50 AM
Re: missing some scripts
ls -l also did not show any particular error.
I am comparing with a different system, I am having the same scripts and file on both systems in the same location. Any other idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 08:54 AM
тАО08-10-2006 08:54 AM
Re: missing some scripts
# cd /etc/rc.config.d
# grep "= 1" *
And see what comes back. If anything is returned, the edit the script and remove the space between the = and the 1. There should never be and spaces between the variable names, the = signs and the values in any files. Everything should look like:
VAR=0
VAR=1