Operating System - HP-UX
1751979 Members
4731 Online
108784 Solutions
New Discussion

Re: Help: "not found" error messages coming during HP-UX system servirc startup, during bo

 
SOLVED
Go to solution
rveri-admin
Frequent Advisor

Help: "not found" error messages comming during hp-ux system servirc startup ,during boot ?

Hi Experts,

I am getting below errors while system startup & i am suspecting some problem is somewhere...

I have seen similar thread earlier but not sure what is the fix, please help in fixing this issue,

 

OS=hp-ux 11.11

 

 

#########################################
Update kernel and loadable modules
Output from "/sbin/rc1.d/S110kmbuild start":
----------------------------
"/sbin/rc1.d/S110kmbuild start" SKIPPED

Initialize loadable modules
Output from "/sbin/rc1.d/S112kminit start":
----------------------------
/sbin/rc1.d/S112kminit[206]: 1:  not found.
/sbin/rc1.d/S112kminit[206]: 2:  not found.
/sbin/rc1.d/S112kminit[206]: 3:  not found.
/sbin/rc1.d/S112kminit[206]: 4:  not found.
/sbin/rc1.d/S112kminit[206]: 5:  not found.
/sbin/rc1.d/S112kminit[206]: 6:  not found.
/sbin/rc1.d/S112kminit[206]: 7:  not found.
/sbin/rc1.d/S112kminit[206]: 8:  not found.
/sbin/rc1.d/S112kminit[206]: 9:  not found.
/sbin/rc1.d/S112kminit[206]: 10:  not found.
       * All configured modules are registered successfully.
insf: Installing special files for ipmi instance 0 address 3/8/0
       * Module rng is loaded successfully.

---------------------------------------------------------------------

 

 

Why getting the "not found" errors.  Please help,

 

 

Thanks a lot,

 

6 REPLIES 6
Dennis Handly
Acclaimed Contributor
Solution

Re: Help: "not found" error messages coming during HP-UX system service startup, during boot

>/sbin/rc1.d/S112kminit[206]: 1:  not found.

 

You most likely left a garbage file in the /etc/rc.config.d/ directory.

What's on line 206 of S112kminit?  Most likely the rc.config script that sources everything in that directory.

 

Consult the tag cloud:

http://h30499.www3.hp.com/t5/tag/rc.config/tg-p/board-id/itrc-156

rveri-admin
Frequent Advisor

Re: Help: "not found" error messages coming during HP-UX system servirc startup, during bo

Dennis,

Thank you for quick response,

 

 

> What's on line 206 of S112kminit? 

 

-  Well seems it is pointing to the same directory ,

 

#cat -n S112kminit | grep 206
   206          . $ETC/rc.config
#/sbin/rc1.d#

 

 

- How to find the garbage file in /etc/rc.config.d/   directory . 

 

 

Thanks a lot again...

Patrick Wallek
Honored Contributor

Re: Help: "not found" error messages coming during HP-UX system servirc startup, during bo

Most time there should be NOTHING in /etc/rc.config.d that has an extension like .orig, .bak, .save, etc.

 

If you have doubts, post or attach the output of 'ls /etc/rc.config.d' and we can see what we can see.

Dennis Handly
Acclaimed Contributor

Re: Help: "not found" error messages coming during HP-UX system service startup, during boot

>How to find the garbage file in /etc/rc.config.d/   directory.

 

Look for files modified recently:

ll -t | head

 

Files that have that 1 ... 10 as in your error message

rveri-admin
Frequent Advisor

Re: Help: "not found" error messages coming during HP-UX system service startup, during bo

Thanks Patrick & Dennis,

 

I found the garbage file ,  it  was a file named "mapfile" stored under /etc/rc.config.d/ directory:

 

With this command it helped pointing it out quickly:

#  sh -vx /etc/rc.config 2>&1   

 

 

 

 

 

#--------------------------------------------------------------------

#sh -vx /etc/rc.config 2>&1 | more

+ fname=mapfile
+ [ -f /etc/rc.config.d/mapfile -a mapfile != core -a mapfile = mapfile ]
+ . /etc/rc.config.d/mapfile
+ 1 lvol1
/etc/rc.config[13]: 1:  not found.
+ 2 lvol2
/etc/rc.config[13]: 2:  not found.
+ 3 lvol3
/etc/rc.config[13]: 3:  not found.
+ 4 lvol4
/etc/rc.config[13]: 4:  not found.
+ 5 lvol5
/etc/rc.config[13]: 5:  not found.
+ 6 lvol6
/etc/rc.config[13]: 6:  not found.
+ 7 lvol7
/etc/rc.config[13]: 7:  not found.
+ 8 lvol8
/etc/rc.config[13]: 8:  not found.
+ 9 lvol9
/etc/rc.config[13]: 9:  not found.
+ 10 lvol10
/etc/rc.config[13]: 10:  not found.
+ fname=mwa
+ [ -f /etc/rc.config.d/mwa -a mwa != core -a mwa = mwa ]
+ . /etc/rc.config.d/mwa
+ MWA_START=1
+ MWA_START_COMMAND=/opt/perf/bin/mwa start
+ fname=namesvrs
+ [ -f /etc/rc.config.d/namesvrs -a namesvrs != core -a namesvrs = namesvrs ]
+ . /etc/rc.config.d/namesvrs
+ unset UNIX95
+ PRE_U95=true
+ export PRE_U95
+ NAMED=0
+ NAMED_ARGS=

.....

#----------------------------------------

 

 

Thanks again for all you guys helps on time.. , lot of kudos.

rveri-admin
Frequent Advisor

Re: Help: "not found" error messages coming during HP-UX system service startup, during bo

- A garbage file found in /etc/rc.config.d/   with name  "mapfile"  ,   removed and problem resolved. 

 

 

 

- #:/etc/rc.config.d#ls -l mapfile
-rw-r--r--   1 root       sys             82 Mar 26  2008 mapfile
eux911b:/etc/rc.config.d#

 


- #:/etc/rc.config.d#cat mapfile     ##### This is the garbage file found , was causing this problem:
1 lvol1
2 lvol2
3 lvol3
4 lvol4
5 lvol5
6 lvol6
7 lvol7
8 lvol8
9 lvol9
10 lvol10
#:/etc/rc.config.d#

 

 

 

- # rm /etc/rc.config.d/mapfile         ### Garbage file removed, some one created a long while, as the server was not rebooted since then.

 

 

-Garbage file removed, problem fixed.

No more error during script startup.

 

 

Thanks to Dennis & Patrick for all the helps.!!!