Operating System - HP-UX
1833777 Members
2139 Online
110063 Solutions
New Discussion

Re: error during startup of deamons

 
SOLVED
Go to solution
Davor Bira?
Frequent Advisor

error during startup of deamons

I have problem with startup of some demons.
Erros report during boot up looks like this:
/sbin/rc2.d/S590Rpcd[30]: B: not found.
/sbin/rc2.d/S600iforls[34]: B: not found.
/sbin/rc2.d/S605Dmisp[30]: B: not found.
/sbin/rc2.d/S648eus[43]: B: not found.
/sbin/rc2.d/S700acct[39]: B: not found.
/sbin/rc3.d/S825apache[74]: B: not found.
/sbin/rc: failed to read row and column info from screen

Deamons are starting up normally, and everything works OK, but this errors are still here.
Does anybody have any idea what could be a problem?

Thanks
14 REPLIES 14
Virgil Chereches_2
Frequent Advisor

Re: error during startup of deamons

You must have some errors in these scripts.
You must check with an editor in every scripts to see what appear at line indicated in [].
Please give me the line content and I'll help you.
Virgil
Pete Randall
Outstanding Contributor

Re: error during startup of deamons

Check your /etc/rc.config.d directory (and maybe your /sbin/rc?.d directories) for extraneous entries (possibly named "B"?). Any file within this directory will get sourced during startup.


Pete

Pete
Mark Grant
Honored Contributor

Re: error during startup of deamons

These are all when the script attempts to load the variables in /etc/rc.config.d It might be that each one of the files in /etc/rc.config.d have a "B" in them for some reason.
Never preceed any demonstration with anything more predictive than "watch this"
Davor Bira?
Frequent Advisor

Re: error during startup of deamons

This lines refers to if-loop:

if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi

Listing of /etc/rc.config.d is in attachment.
Mark Grant
Honored Contributor

Re: error during startup of deamons

Davor,

The "B" is probably in the files in /etc/rc.config.d directory for example /etc/rc.config.d/Rpcd
Never preceed any demonstration with anything more predictive than "watch this"
Davor Bira?
Frequent Advisor

Re: error during startup of deamons

In attachment is listing of /etc/rc.config.d/Rpcd and I don't see anywhere "B"
Ceesjan van Hattum
Esteemed Contributor

Re: error during startup of deamons

Likely, the /sbin/rc2.d/S590Rpcd is just a link to /sbin/init.d/Rpcd
This script contian the source: look at line 30 of this file.
.. same for other files, like:
line 39 of /sbin/init.d/acct
line 74 of /sbin/init.d/apache
and so on..

can you do a 'ls -la of /sbin/rc2.d/S700acct'
does it really point to /sbin/init.d/acct ?

Regards,
Ceesjan
Davor Bira?
Frequent Advisor

Re: error during startup of deamons


Links are OK.
Kenneth Platz
Esteemed Contributor

Re: error during startup of deamons

Try running /etc/rc.config by itself, and see if that generates any errors. I'm guessing that you have an error in one of your /etc/rc.config.d scripts.
I think, therefore I am... I think!
Fabio Ettore
Honored Contributor

Re: error during startup of deamons

Hi Davor,

please in next post insert output of

# ll /etc/rc.config.d
# ll /sbin/init.d

I think about the presence of strange files under there.

Best regards,
Ettore
WISH? IMPROVEMENT!
sinhass
Regular Advisor

Re: error during startup of deamons

Hi Can U just rename those files and see what happens -after rebooting ? Do u require those files to start at all (those r not starting the processos at all)? Did u tried to load any software and got the error after failing ?

-sinhass
Sridhar Bhaskarla
Honored Contributor
Solution

Re: error during startup of deamons

Hi,

Looks like you have a syntax error in one of teh files under /etc/rc.config.d/ directory.

To find out the problem do the following

cd /etc/rc.config.d
for i in `ls`
do
echo $i
. ./$i
done >> /tmp/rc.out


Look at /tmp/rc.out. You shoudl find the error B somewhere in the output. The file that appears just above it is the culprit.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Mark Grant
Honored Contributor

Re: error during startup of deamons

If there is no obvious "B" in "/sbin/init.d/Rpcd" or "/etc/rc.config.d/Rpcd" then I think we need to look at something less obvious. How about a root alias for "." being a "B" though I'm not sure if the startup scripts read a .profile. Type "alias" as root to see.

How's this for a long shot. I don't believe this is the case but it's worth a look. the last error "/sbin/rc: failed to read row and column info from screen" could suggest a cursor positioning string such as "ESC[B" that is being interpreted by the console as "ESC[" leaving the "B" interpreted as a command. If this is the case, you might need to change the personality of the console screen.

Never preceed any demonstration with anything more predictive than "watch this"
Davor Bira?
Frequent Advisor

Re: error during startup of deamons

Thanks to all for help.
There was entry "B" in /etc/rc.config.d/nfsconf.